ZVBI Library  0.2.33
Data Fields
vbi_sliced Struct Reference

This structure holds one scan line of sliced vbi data. More...

Data Fields

uint32_t id
uint32_t line
uint8_t data [56]

Detailed Description

This structure holds one scan line of sliced vbi data.

For example the contents of NTSC line 21, two bytes of Closed Caption data. Usually an array of vbi_sliced is used, covering all VBI lines of the two fields of a video frame.

Examples:
examples/network.c, examples/rawout.c, and examples/wss.c.

Field Documentation

uint32_t vbi_sliced::id

A VBI_SLICED_ symbol identifying the data service. Under cirumstances (see VBI_SLICED_TELETEXT_B) this can be a set of VBI_SLICED_ symbols.

uint32_t vbi_sliced::line

Source line number according to the ITU-R line numbering scheme, a value of 0 if the exact line number is unknown. Note that some data services cannot be reliable decoded without line number.

zvbi_625.gif
ITU-R PAL/SECAM line numbering scheme
zvbi_525.gif
ITU-R NTSC line numbering scheme
uint8_t vbi_sliced::data[56]

The actual payload. See the documentation of VBI_SLICED_ symbols for details.