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.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
Synopsis
- newtype VideoTimeCodeConfig = VideoTimeCodeConfig (ManagedPtr VideoTimeCodeConfig)
- newZeroVideoTimeCodeConfig :: MonadIO m => m 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
Eq VideoTimeCodeConfig Source # | |
Defined in GI.GstVideo.Structs.VideoTimeCodeConfig Methods (==) :: VideoTimeCodeConfig -> VideoTimeCodeConfig -> Bool # (/=) :: VideoTimeCodeConfig -> VideoTimeCodeConfig -> Bool # | |
BoxedPtr VideoTimeCodeConfig Source # | |
Defined in GI.GstVideo.Structs.VideoTimeCodeConfig Methods boxedPtrCopy :: VideoTimeCodeConfig -> IO VideoTimeCodeConfig boxedPtrFree :: VideoTimeCodeConfig -> IO () | |
CallocPtr VideoTimeCodeConfig Source # | |
Defined in GI.GstVideo.Structs.VideoTimeCodeConfig Methods | |
ManagedPtrNewtype VideoTimeCodeConfig Source # | |
Defined in GI.GstVideo.Structs.VideoTimeCodeConfig Methods toManagedPtr :: VideoTimeCodeConfig -> ManagedPtr VideoTimeCodeConfig | |
tag ~ 'AttrSet => Constructible VideoTimeCodeConfig tag Source # | |
Defined in GI.GstVideo.Structs.VideoTimeCodeConfig Methods new :: MonadIO m => (ManagedPtr VideoTimeCodeConfig -> VideoTimeCodeConfig) -> [AttrOp VideoTimeCodeConfig tag] -> m VideoTimeCodeConfig |
newZeroVideoTimeCodeConfig :: MonadIO m => m VideoTimeCodeConfig Source #
Construct a VideoTimeCodeConfig
struct initialized to zero.
Methods
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
set
videoTimeCodeConfig [ #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
set
videoTimeCodeConfig [ #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
set
videoTimeCodeConfig [ #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
set
videoTimeCodeConfig [ #latestDailyJam:=
value ]