Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Video Ancillary data, according to SMPTE-291M specification.
Note that the contents of the data are always stored as 8bit data (i.e. do not contain the parity check bits).
Since: 1.16
Synopsis
- newtype VideoAncillary = VideoAncillary (ManagedPtr VideoAncillary)
- newZeroVideoAncillary :: MonadIO m => m VideoAncillary
- getVideoAncillaryDID :: MonadIO m => VideoAncillary -> m Word8
- setVideoAncillaryDID :: MonadIO m => VideoAncillary -> Word8 -> m ()
- getVideoAncillaryDataCount :: MonadIO m => VideoAncillary -> m Word8
- setVideoAncillaryDataCount :: MonadIO m => VideoAncillary -> Word8 -> m ()
- getVideoAncillarySDIDBlockNumber :: MonadIO m => VideoAncillary -> m Word8
- setVideoAncillarySDIDBlockNumber :: MonadIO m => VideoAncillary -> Word8 -> m ()
Exported types
newtype VideoAncillary Source #
Memory-managed wrapper type.
VideoAncillary (ManagedPtr VideoAncillary) |
Instances
Eq VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary (==) :: VideoAncillary -> VideoAncillary -> Bool (/=) :: VideoAncillary -> VideoAncillary -> Bool | |
BoxedPtr VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary boxedPtrCopy :: VideoAncillary -> IO VideoAncillary boxedPtrFree :: VideoAncillary -> IO () | |
CallocPtr VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary boxedPtrCalloc :: IO (Ptr VideoAncillary) | |
ManagedPtrNewtype VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary toManagedPtr :: VideoAncillary -> ManagedPtr VideoAncillary | |
tag ~ 'AttrSet => Constructible VideoAncillary tag Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary new :: MonadIO m => (ManagedPtr VideoAncillary -> VideoAncillary) -> [AttrOp VideoAncillary tag] -> m VideoAncillary |
newZeroVideoAncillary :: MonadIO m => m VideoAncillary Source #
Construct a VideoAncillary
struct initialized to zero.
Methods
Overloaded methods
Properties
dID
The Data Identifier
getVideoAncillaryDID :: MonadIO m => VideoAncillary -> m Word8 Source #
Get the value of the “DID
” field.
When overloading is enabled, this is equivalent to
get
videoAncillary #dID
setVideoAncillaryDID :: MonadIO m => VideoAncillary -> Word8 -> m () Source #
Set the value of the “DID
” field.
When overloading is enabled, this is equivalent to
set
videoAncillary [ #dID:=
value ]
dataCount
The amount of data (in bytes) in data
(max 255 bytes)
getVideoAncillaryDataCount :: MonadIO m => VideoAncillary -> m Word8 Source #
Get the value of the “data_count
” field.
When overloading is enabled, this is equivalent to
get
videoAncillary #dataCount
setVideoAncillaryDataCount :: MonadIO m => VideoAncillary -> Word8 -> m () Source #
Set the value of the “data_count
” field.
When overloading is enabled, this is equivalent to
set
videoAncillary [ #dataCount:=
value ]
sDIDBlockNumber
The Secondary Data Identifier (if type 2) or the Data Block Number (if type 1)
getVideoAncillarySDIDBlockNumber :: MonadIO m => VideoAncillary -> m Word8 Source #
Get the value of the “SDID_block_number
” field.
When overloading is enabled, this is equivalent to
get
videoAncillary #sDIDBlockNumber
setVideoAncillarySDIDBlockNumber :: MonadIO m => VideoAncillary -> Word8 -> m () Source #
Set the value of the “SDID_block_number
” field.
When overloading is enabled, this is equivalent to
set
videoAncillary [ #sDIDBlockNumber:=
value ]