| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GstVideo.Structs.VideoTimeCodeConfig
Description
Supported frame rates: 30000/1001, 60000/1001 (both with and without drop frame), and integer frame rates e.g. 25/1, 30/1, 50/1, 60/1.
The configuration of the time code.
Since: 1.10
- newtype VideoTimeCodeConfig = VideoTimeCodeConfig (ManagedPtr VideoTimeCodeConfig)
- newZeroVideoTimeCodeConfig :: MonadIO m => m VideoTimeCodeConfig
- noVideoTimeCodeConfig :: Maybe VideoTimeCodeConfig
- getVideoTimeCodeConfigFlags :: MonadIO m => VideoTimeCodeConfig -> m [VideoTimeCodeFlags]
- setVideoTimeCodeConfigFlags :: MonadIO m => VideoTimeCodeConfig -> [VideoTimeCodeFlags] -> m ()
- getVideoTimeCodeConfigFpsD :: MonadIO m => VideoTimeCodeConfig -> m Word32
- setVideoTimeCodeConfigFpsD :: MonadIO m => VideoTimeCodeConfig -> Word32 -> m ()
- getVideoTimeCodeConfigFpsN :: MonadIO m => VideoTimeCodeConfig -> m Word32
- setVideoTimeCodeConfigFpsN :: MonadIO m => VideoTimeCodeConfig -> Word32 -> m ()
- clearVideoTimeCodeConfigLatestDailyJam :: MonadIO m => VideoTimeCodeConfig -> m ()
- getVideoTimeCodeConfigLatestDailyJam :: MonadIO m => VideoTimeCodeConfig -> m (Maybe DateTime)
- setVideoTimeCodeConfigLatestDailyJam :: MonadIO m => VideoTimeCodeConfig -> Ptr DateTime -> m ()
Exported types
newtype VideoTimeCodeConfig Source #
Memory-managed wrapper type.
Constructors
| VideoTimeCodeConfig (ManagedPtr VideoTimeCodeConfig) |
Instances
| WrappedPtr VideoTimeCodeConfig Source # | |
| (~) AttrOpTag tag AttrSet => Constructible VideoTimeCodeConfig tag Source # | |
newZeroVideoTimeCodeConfig :: MonadIO m => m VideoTimeCodeConfig Source #
Construct a VideoTimeCodeConfig struct initialized to zero.
noVideoTimeCodeConfig :: Maybe VideoTimeCodeConfig Source #
A convenience alias for Nothing :: Maybe VideoTimeCodeConfig.
Properties
flags
the corresponding VideoTimeCodeFlags
getVideoTimeCodeConfigFlags :: MonadIO m => VideoTimeCodeConfig -> m [VideoTimeCodeFlags] Source #
Get the value of the “flags” field.
When overloading is enabled, this is equivalent to
get videoTimeCodeConfig #flags
setVideoTimeCodeConfigFlags :: MonadIO m => VideoTimeCodeConfig -> [VideoTimeCodeFlags] -> m () Source #
Set the value of the “flags” field.
When overloading is enabled, this is equivalent to
setvideoTimeCodeConfig [ #flags:=value ]
fpsD
Denominator of the frame rate
getVideoTimeCodeConfigFpsD :: MonadIO m => VideoTimeCodeConfig -> m Word32 Source #
Get the value of the “fps_d” field.
When overloading is enabled, this is equivalent to
get videoTimeCodeConfig #fpsD
setVideoTimeCodeConfigFpsD :: MonadIO m => VideoTimeCodeConfig -> Word32 -> m () Source #
Set the value of the “fps_d” field.
When overloading is enabled, this is equivalent to
setvideoTimeCodeConfig [ #fpsD:=value ]
fpsN
Numerator of the frame rate
getVideoTimeCodeConfigFpsN :: MonadIO m => VideoTimeCodeConfig -> m Word32 Source #
Get the value of the “fps_n” field.
When overloading is enabled, this is equivalent to
get videoTimeCodeConfig #fpsN
setVideoTimeCodeConfigFpsN :: MonadIO m => VideoTimeCodeConfig -> Word32 -> m () Source #
Set the value of the “fps_n” field.
When overloading is enabled, this is equivalent to
setvideoTimeCodeConfig [ #fpsN:=value ]
latestDailyJam
The latest daily jam information, if present, or NULL
clearVideoTimeCodeConfigLatestDailyJam :: MonadIO m => VideoTimeCodeConfig -> m () Source #
Set the value of the “latest_daily_jam” field to Nothing.
When overloading is enabled, this is equivalent to
clear #latestDailyJam
getVideoTimeCodeConfigLatestDailyJam :: MonadIO m => VideoTimeCodeConfig -> m (Maybe DateTime) Source #
Get the value of the “latest_daily_jam” field.
When overloading is enabled, this is equivalent to
get videoTimeCodeConfig #latestDailyJam
setVideoTimeCodeConfigLatestDailyJam :: MonadIO m => VideoTimeCodeConfig -> Ptr DateTime -> m () Source #
Set the value of the “latest_daily_jam” field.
When overloading is enabled, this is equivalent to
setvideoTimeCodeConfig [ #latestDailyJam:=value ]