| 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.VideoAncillary
Description
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.
Constructors
| VideoAncillary (ManagedPtr VideoAncillary) |
Instances
| Eq VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary Methods (==) :: VideoAncillary -> VideoAncillary -> Bool # (/=) :: VideoAncillary -> VideoAncillary -> Bool # | |
| BoxedPtr VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary | |
| CallocPtr VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary Methods | |
| ManagedPtrNewtype VideoAncillary Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary Methods toManagedPtr :: VideoAncillary -> ManagedPtr VideoAncillary | |
| tag ~ 'AttrSet => Constructible VideoAncillary tag Source # | |
Defined in GI.GstVideo.Structs.VideoAncillary Methods 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
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
setvideoAncillary [ #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
setvideoAncillary [ #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
setvideoAncillary [ #sDIDBlockNumber:=value ]