Main Page | Modules | Data Structures | Data Fields | Related Pages | Examples

Sliced VBI data
[Raw VBI]

Definition of sliced VBI data. More...

Data Structures

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


Data service symbols

#define VBI_SLICED_NONE   0
#define VBI_SLICED_UNKNOWN   0
#define VBI_SLICED_ANTIOPE   0x00002000
#define VBI_SLICED_TELETEXT_A   0x00002000
#define VBI_SLICED_TELETEXT_B_L10_625   0x00000001
#define VBI_SLICED_TELETEXT_B_L25_625   0x00000002
#define VBI_SLICED_TELETEXT_B
#define VBI_SLICED_TELETEXT_B_625   VBI_SLICED_TELETEXT_B
#define VBI_SLICED_TELETEXT_C_625   0x00004000
#define VBI_SLICED_TELETEXT_D_625   0x00008000
#define VBI_SLICED_VPS   0x00000004
#define VBI_SLICED_VPS_F2   0x00001000
#define VBI_SLICED_CAPTION_625_F1   0x00000008
#define VBI_SLICED_CAPTION_625_F2   0x00000010
#define VBI_SLICED_CAPTION_625
#define VBI_SLICED_WSS_625   0x00000400
#define VBI_SLICED_CAPTION_525_F1   0x00000020
#define VBI_SLICED_CAPTION_525_F2   0x00000040
#define VBI_SLICED_CAPTION_525
#define VBI_SLICED_2xCAPTION_525   0x00000080
#define VBI_SLICED_TELETEXT_B_525   0x00010000
#define VBI_SLICED_NABTS   0x00000100
#define VBI_SLICED_TELETEXT_C_525   0x00000100
#define VBI_SLICED_TELETEXT_BD_525   0x00000200
#define VBI_SLICED_TELETEXT_D_525   0x00020000
#define VBI_SLICED_WSS_CPR1204   0x00000800
#define VBI_SLICED_VBI_625   0x20000000
#define VBI_SLICED_VBI_525   0x40000000

Functions

unsigned int vbi_sliced_payload_bits (unsigned int service)
const char * vbi_sliced_name (vbi_service_set service) _vbi_const
unsigned int vbi_sliced_payload_bits (vbi_service_set service) _vbi_const

Detailed Description

Definition of sliced VBI data.

The output of the libzvbi raw VBI decoder, and input to the data service decoder, is VBI data in binary format as defined in this section. It is similar to the output of hardware VBI decoders and VBI data transmitted in digital TV streams.


Define Documentation

#define VBI_SLICED_NONE   0
 

No data service, blank vbi_sliced structure.

#define VBI_SLICED_UNKNOWN   0
 

Unknown data service (vbi_dvb_demux).

Since:
0.2.10

#define VBI_SLICED_ANTIOPE   0x00002000
 

Antiope a.k.a. Teletext System A

Reference: ITU-R BT.653 "Teletext Systems"

vbi_sliced payload: Last 37 bytes, without clock run-in and framing code, lsb first transmitted.

Since:
0.2.10

#define VBI_SLICED_TELETEXT_A   0x00002000
 

Synonym of VBI_SLICED_ANTIOPE.

Since:
0.2.10

#define VBI_SLICED_TELETEXT_B
 

Value:

(VBI_SLICED_TELETEXT_B_L10_625 | \
                                         VBI_SLICED_TELETEXT_B_L25_625)
Teletext System B for 625 line systems

Note this is separated into Level 1.0 and Level 2.5+ since the latter permits occupation of scan line 6 which is frequently out of range of raw VBI capture drivers. Clients should request decoding of both, may then verify Level 2.5 is covered. vbi_sliced id can be VBI_SLICED_TELETEXT_B, _B_L10_625 or _B_L25_625 regardless of line number.

Reference: EN 300 706 "Enhanced Teletext specification", ITU-R BT.653 "Teletext Systems"

vbi_sliced payload: Last 42 of the 45 byte Teletext packet, that is without clock run-in and framing code, lsb first transmitted.

#define VBI_SLICED_TELETEXT_B_625   VBI_SLICED_TELETEXT_B
 

Synonym of VBI_SLICED_TELETEXT_B.

Since:
0.2.10

#define VBI_SLICED_TELETEXT_C_625   0x00004000
 

Teletext System C for 625 line systems

Reference: ITU-R BT.653 "Teletext Systems"

vbi_sliced payload: Last 33 bytes, without clock run-in and framing code, lsb first transmitted.

Since:
0.2.10

#define VBI_SLICED_TELETEXT_D_625   0x00008000
 

Teletext System D for 625 line systems

Reference: ITU-R BT.653 "Teletext Systems"

vbi_sliced payload: Last 34 bytes, without clock run-in and framing code, lsb first transmitted.

Since:
0.2.10

#define VBI_SLICED_VPS   0x00000004
 

Video Program System

Reference: ETS 300 231 "Specification of the domestic video Programme Delivery Control system (PDC)"</a>, <a href="http://www.irt.de"> IRT 8R2 "Video-Programm-System (VPS)".

vbi_sliced payload: Byte number 3 to 15 according to ETS 300 231 Figure 9, lsb first transmitted.

#define VBI_SLICED_VPS_F2   0x00001000
 

Pseudo-VPS signal transmitted on field 2

vbi_sliced payload: 13 bytes.

Since:
0.2.10

#define VBI_SLICED_CAPTION_625
 

Value:

(VBI_SLICED_CAPTION_625_F1 | \
                                         VBI_SLICED_CAPTION_625_F2)
Closed Caption for 625 line systems

Note this is split into field one and two services since for basic caption decoding only field one is required. vbi_sliced id can be VBI_SLICED_CAPTION_625, _625_F1 or _625_F2 regardless of line number.

Reference: EIA 608 "Recommended Practice for Line 21 Data Service".

vbi_sliced payload: First and second byte including parity, lsb first transmitted.

#define VBI_SLICED_WSS_625   0x00000400
 

Wide Screen Signalling for 625 line systems

Reference: EN 300 294 "625-line television Wide Screen Signalling (WSS)".

vbi_sliced payload:

Byte 0 1 msb lsb msb lsb bit 7 6 5 4 3 2 1 0 x x 13 12 11 10 9 8
according to EN 300 294, Table 1, lsb first transmitted.

#define VBI_SLICED_CAPTION_525
 

Value:

(VBI_SLICED_CAPTION_525_F1 | \
                                         VBI_SLICED_CAPTION_525_F2)
Closed Caption for 525 line systems (NTSC).

Note this is split into field one and two services since for basic caption decoding only field one is required. vbi_sliced id can be VBI_SLICED_CAPTION_525, _525_F1 or _525_F2 regardless of line number.

VBI_SLICED_CAPTION_525 also covers XDS (Extended Data Service), V-Chip data and ITV / WebTV data.

Reference: EIA 608 "Recommended Practice for Line 21 Data Service".

vbi_sliced payload: First and second byte including parity, lsb first transmitted.

#define VBI_SLICED_2xCAPTION_525   0x00000080
 

Closed Caption at double bit rate for 525 line systems.

Reference: ?

vbi_sliced payload: First to fourth byte including parity bit, lsb first transmitted.

#define VBI_SLICED_TELETEXT_B_525   0x00010000
 

Teletext System B for 525 line systems

Reference: ITU-R BT.653 "Teletext Systems"

vbi_sliced payload: Last 34 bytes, without clock run-in and framing code, lsb first transmitted.

Since:
0.2.10

#define VBI_SLICED_NABTS   0x00000100
 

North American Basic Teletext Specification a.k.a. Teletext System C for 525 line systems

Reference: EIA-516 "North American Basic Teletext Specification (NABTS)", ITU-R BT.653 "Teletext Systems"

vbi_sliced payload: Last 33 bytes, without clock run-in and framing code, lsb first transmitted.

Since:
0.2.10

#define VBI_SLICED_TELETEXT_C_525   0x00000100
 

Synonym of VBI_SLICED_NABTS.

Since:
0.2.10

#define VBI_SLICED_TELETEXT_BD_525   0x00000200
 

Misdefined.

vbi_sliced payload: 34 bytes.

Deprecated:
This service was misdefined. Use VBI_SLICED_TELETEXT_B_525 or VBI_SLICED_TELETEXT_D_525 in new code.

#define VBI_SLICED_TELETEXT_D_525   0x00020000
 

Teletext System D for 525 line systems

Reference: ITU-R BT.653 "Teletext Systems"

vbi_sliced payload: Last 34 bytes, without clock run-in and framing code, lsb first transmitted.

Since:
0.2.10

#define VBI_SLICED_WSS_CPR1204   0x00000800
 

Wide Screen Signalling for NTSC Japan

Reference: EIA-J CPR-1204

vbi_sliced payload:

Byte 0 1 2 msb lsb msb lsb msb lsb bit 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 x x x x 19 18 17 16

#define VBI_SLICED_VBI_625   0x20000000
 

No actual data service. This symbol is used to request capturing of all PAL/SECAM VBI data lines from the libzvbi driver interface, as opposed to just those lines used to transmit the requested data services.

#define VBI_SLICED_VBI_525   0x40000000
 

No actual data service. This symbol is used to request capturing of all NTSC VBI data lines from the libzvbi driver interface, as opposed to just those lines used to transmit the requested data services.


Function Documentation

unsigned int vbi_sliced_payload_bits unsigned int  service  ) 
 

Parameters:
service A data service identifier, for example from a vbi_sliced structure.
Returns:
Number of payload bits, 0 if the service is unknown.

const char* vbi_sliced_name vbi_service_set  service  ) 
 

$ingroup Sliced $param service A data service identifier, for example from a vbi_sliced structure.

$return Name of the $a service, in ASCII, or $c NULL if unknown.


Generated on Mon Jun 9 21:44:14 2008 for ZVBI Library by doxygen 1.3.5