Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria ([email protected]) |
Safe Haskell | None |
Language | Haskell2010 |
GI.GstVideo.Structs.VideoResampler
Contents
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
- noVideoResampler :: Maybe 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
WrappedPtr VideoResampler Source # | |
Defined in GI.GstVideo.Structs.VideoResampler Methods wrappedPtrCalloc :: IO (Ptr 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.
noVideoResampler :: Maybe VideoResampler Source #
A convenience alias for Nothing
:: Maybe
VideoResampler
.
Methods
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
set
videoResampler [ #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
set
videoResampler [ #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
set
videoResampler [ #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
set
videoResampler [ #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
set
videoResampler [ #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
set
videoResampler [ #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
set
videoResampler [ #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
set
videoResampler [ #taps:=
value ]