gi-gstvideo-1.0.25: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Structs.VideoVBIParser

Description

A parser for detecting and extracting gstVideoAncillary data from Vertical Blanking Interval lines of component signals.

Since: 1.16

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

addLine, copy, free.

Getters

getAncillary.

Setters

None.

addLine

videoVBIParserAddLine Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoVBIParser

parser: a VideoVBIParser

-> Ptr Word8

data: The line of data to parse

-> m () 

Provide a new line of data to the parser. Call videoVBIParserGetAncillary to get the Ancillary data that might be present on that line.

Since: 1.16

copy

videoVBIParserCopy :: (HasCallStack, MonadIO m) => VideoVBIParser -> m VideoVBIParser Source #

No description available in the introspection data.

free

videoVBIParserFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoVBIParser

parser: a VideoVBIParser

-> m () 

Frees the parser.

Since: 1.16

getAncillary

videoVBIParserGetAncillary Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoVBIParser

parser: a VideoVBIParser

-> m (VideoVBIParserResult, VideoAncillary)

Returns: VideoVBIParserResultOk if ancillary data was found and anc was filled. VideoVBIParserResultDone if there wasn't any data.

Parse the line provided previously by videoVBIParserAddLine.

Since: 1.16

new

videoVBIParserNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoFormat

format: a VideoFormat

-> Word32

pixelWidth: The width in pixel to use

-> m VideoVBIParser

Returns: The new VideoVBIParser or Nothing if the format and/or pixelWidth is not supported.

Create a new VideoVBIParser for the specified format and pixelWidth.

Since: 1.16