NAME
Video::Capture::VBI - Functions to manipulate vbi fields & lines.
SYNOPSIS
use Video::Capture::VBI;
DESCRIPTION
- new
-
Create a new VBI decoder object. VBI decoding often requires state, which this object represents
- reset (NYI)
-
Reset the state (e.g. after switching a channel).
CONSTANTS / MASK OPERATORS
The following constants are available (see ETS 300 706 for a more thorough definition).
VTX_SUB 0x003f7f # S1..S4 field maskVTX_C4 0x000080 # erase pageVTX_C5 0x004000 # newsflashVTX_C6 0x008000 # subtitleVTX_C7 0x010000 # suppress headerVTX_C8 0x020000 # update indicatorVTX_C9 0x040000 # interrupted sequenceVTX_C10 0x080000 # inhibit displayVTX_C11 0x100000 # magazine serialVTX_C12 0x200000 # ... option ...VTX_C13 0x400000 # ... character ...VTX_C14 0x800000 # ... set
The following mask functions all take a single "CTRL" bitfield and return the corresponding subfield:
VTX_S1 (shift )&15 } # S1VTX_S2 (shift>> 4)& 7 } # S2VTX_S3 (shift>> 8)&15 } # S3VTX_S4 (shift>>12)& 3 } # S4VTX_NOC (shift>>21)& 7 } # national character set...