.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "VBI 3pm" .TH VBI 3pm "2018-11-01" "perl v5.28.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Video::Capture::VBI \- Functions to manipulate vbi fields & lines. .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& use Video::Capture::VBI; .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" .IP "new" 4 .IX Item "new" Create a new \s-1VBI\s0 decoder object. \s-1VBI\s0 decoding often requires state, which this object represents .IP "reset (\s-1NYI\s0)" 4 .IX Item "reset (NYI)" Reset the state (e.g. after switching a channel). .SH "CONSTANTS / MASK OPERATORS" .IX Header "CONSTANTS / MASK OPERATORS" The following constants are available (see \s-1ETS 300 706\s0 for a more thorough definition). .PP .Vb 1 \& VTX_SUB 0x003f7f # S1..S4 field mask \& \& VTX_C4 0x000080 # erase page \& VTX_C5 0x004000 # newsflash \& VTX_C6 0x008000 # subtitle \& VTX_C7 0x010000 # suppress header \& VTX_C8 0x020000 # update indicator \& VTX_C9 0x040000 # interrupted sequence \& VTX_C10 0x080000 # inhibit display \& VTX_C11 0x100000 # magazine serial \& \& VTX_C12 0x200000 # ... option ... \& VTX_C13 0x400000 # ... character ... \& VTX_C14 0x800000 # ... set .Ve .PP The following mask functions all take a single \*(L"\s-1CTRL\*(R"\s0 bitfield and return the corresponding subfield: .PP .Vb 5 \& VTX_S1 (shift )&15 } # S1 \& VTX_S2 (shift>> 4)& 7 } # S2 \& VTX_S3 (shift>> 8)&15 } # S3 \& VTX_S4 (shift>>12)& 3 } # S4 \& VTX_NOC (shift>>21)& 7 } # national character set... .Ve