| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.GstVideo.Structs.VideoResampler
Description
VideoResampler is a structure which holds the information
required to perform various kinds of resampling filtering.
Since: 1.6
Synopsis
- newtype VideoResampler = VideoResampler (ManagedPtr VideoResampler)
- newZeroVideoResampler :: MonadIO m => m VideoResampler
- videoResamplerClear :: (HasCallStack, MonadIO m) => VideoResampler -> m ()
- videoResamplerInit :: (HasCallStack, MonadIO m) => VideoResampler -> VideoResamplerMethod -> [VideoResamplerFlags] -> Word32 -> Word32 -> Double -> Word32 -> Word32 -> Structure -> m Bool
- getVideoResamplerInSize :: MonadIO m => VideoResampler -> m Int32
- setVideoResamplerInSize :: MonadIO m => VideoResampler -> Int32 -> m ()
- getVideoResamplerMaxTaps :: MonadIO m => VideoResampler -> m Word32
- setVideoResamplerMaxTaps :: MonadIO m => VideoResampler -> Word32 -> m ()
- getVideoResamplerNPhases :: MonadIO m => VideoResampler -> m Word32
- setVideoResamplerNPhases :: MonadIO m => VideoResampler -> Word32 -> m ()
- getVideoResamplerNTaps :: MonadIO m => VideoResampler -> m Word32
- setVideoResamplerNTaps :: MonadIO m => VideoResampler -> Word32 -> m ()
- getVideoResamplerOffset :: MonadIO m => VideoResampler -> m Word32
- setVideoResamplerOffset :: MonadIO m => VideoResampler -> Word32 -> m ()
- getVideoResamplerOutSize :: MonadIO m => VideoResampler -> m Int32
- setVideoResamplerOutSize :: MonadIO m => VideoResampler -> Int32 -> m ()
- getVideoResamplerPhase :: MonadIO m => VideoResampler -> m Word32
- setVideoResamplerPhase :: MonadIO m => VideoResampler -> Word32 -> m ()
- getVideoResamplerTaps :: MonadIO m => VideoResampler -> m Double
- setVideoResamplerTaps :: MonadIO m => VideoResampler -> Double -> m ()
Exported types
newtype VideoResampler Source #
Memory-managed wrapper type.
Constructors
| VideoResampler (ManagedPtr VideoResampler) |
Instances
| Eq VideoResampler Source # | |
Defined in GI.GstVideo.Structs.VideoResampler Methods (==) :: VideoResampler -> VideoResampler -> Bool # (/=) :: VideoResampler -> VideoResampler -> Bool # | |
| BoxedPtr VideoResampler Source # | |
Defined in GI.GstVideo.Structs.VideoResampler | |
| CallocPtr VideoResampler Source # | |
Defined in GI.GstVideo.Structs.VideoResampler Methods | |
| ManagedPtrNewtype VideoResampler Source # | |
Defined in GI.GstVideo.Structs.VideoResampler Methods toManagedPtr :: VideoResampler -> ManagedPtr VideoResampler | |
| tag ~ 'AttrSet => Constructible VideoResampler tag Source # | |
Defined in GI.GstVideo.Structs.VideoResampler Methods new :: MonadIO m => (ManagedPtr VideoResampler -> VideoResampler) -> [AttrOp VideoResampler tag] -> m VideoResampler | |
newZeroVideoResampler :: MonadIO m => m VideoResampler Source #
Construct a VideoResampler struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
clear
Arguments
| :: (HasCallStack, MonadIO m) | |
| => VideoResampler |
|
| -> m () |
Clear a previously initialized VideoResampler resampler.
Since: 1.6
init
videoResamplerInit :: (HasCallStack, MonadIO m) => VideoResampler -> VideoResamplerMethod -> [VideoResamplerFlags] -> Word32 -> Word32 -> Double -> Word32 -> Word32 -> Structure -> m Bool Source #
No description available in the introspection data.
Properties
inSize
the input size
getVideoResamplerInSize :: MonadIO m => VideoResampler -> m Int32 Source #
Get the value of the “in_size” field.
When overloading is enabled, this is equivalent to
get videoResampler #inSize
setVideoResamplerInSize :: MonadIO m => VideoResampler -> Int32 -> m () Source #
Set the value of the “in_size” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #inSize:=value ]
maxTaps
the maximum number of taps
getVideoResamplerMaxTaps :: MonadIO m => VideoResampler -> m Word32 Source #
Get the value of the “max_taps” field.
When overloading is enabled, this is equivalent to
get videoResampler #maxTaps
setVideoResamplerMaxTaps :: MonadIO m => VideoResampler -> Word32 -> m () Source #
Set the value of the “max_taps” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #maxTaps:=value ]
nPhases
the number of phases
getVideoResamplerNPhases :: MonadIO m => VideoResampler -> m Word32 Source #
Get the value of the “n_phases” field.
When overloading is enabled, this is equivalent to
get videoResampler #nPhases
setVideoResamplerNPhases :: MonadIO m => VideoResampler -> Word32 -> m () Source #
Set the value of the “n_phases” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #nPhases:=value ]
nTaps
array with new number of taps for each phase
getVideoResamplerNTaps :: MonadIO m => VideoResampler -> m Word32 Source #
Get the value of the “n_taps” field.
When overloading is enabled, this is equivalent to
get videoResampler #nTaps
setVideoResamplerNTaps :: MonadIO m => VideoResampler -> Word32 -> m () Source #
Set the value of the “n_taps” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #nTaps:=value ]
offset
array with the source offset for each output element
getVideoResamplerOffset :: MonadIO m => VideoResampler -> m Word32 Source #
Get the value of the “offset” field.
When overloading is enabled, this is equivalent to
get videoResampler #offset
setVideoResamplerOffset :: MonadIO m => VideoResampler -> Word32 -> m () Source #
Set the value of the “offset” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #offset:=value ]
outSize
the output size
getVideoResamplerOutSize :: MonadIO m => VideoResampler -> m Int32 Source #
Get the value of the “out_size” field.
When overloading is enabled, this is equivalent to
get videoResampler #outSize
setVideoResamplerOutSize :: MonadIO m => VideoResampler -> Int32 -> m () Source #
Set the value of the “out_size” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #outSize:=value ]
phase
array with the phase to use for each output element
getVideoResamplerPhase :: MonadIO m => VideoResampler -> m Word32 Source #
Get the value of the “phase” field.
When overloading is enabled, this is equivalent to
get videoResampler #phase
setVideoResamplerPhase :: MonadIO m => VideoResampler -> Word32 -> m () Source #
Set the value of the “phase” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #phase:=value ]
taps
the taps for all phases
getVideoResamplerTaps :: MonadIO m => VideoResampler -> m Double Source #
Get the value of the “taps” field.
When overloading is enabled, this is equivalent to
get videoResampler #taps
setVideoResamplerTaps :: MonadIO m => VideoResampler -> Double -> m () Source #
Set the value of the “taps” field.
When overloading is enabled, this is equivalent to
setvideoResampler [ #taps:=value ]