Data Structures | |
struct | vbi_bit_slicer |
Bit slicer context. More... | |
struct | vbi_raw_decoder |
Raw vbi decoder context. More... | |
Typedefs | |
typedef vbi_bit_slicer | vbi_bit_slicer |
Bit slicer context. | |
typedef vbi_raw_decoder | vbi_raw_decoder |
Raw vbi decoder context. | |
Enumerations | |
enum | vbi_pixfmt { VBI_PIXFMT_YUV420 = 1, VBI_PIXFMT_YUYV, VBI_PIXFMT_YVYU, VBI_PIXFMT_UYVY, VBI_PIXFMT_VYUY, VBI_PIXFMT_PAL8, VBI_PIXFMT_RGBA32_LE = 32, VBI_PIXFMT_RGBA32_BE, VBI_PIXFMT_BGRA32_LE, VBI_PIXFMT_BGRA32_BE, VBI_PIXFMT_ABGR32_BE = 32, VBI_PIXFMT_ABGR32_LE, VBI_PIXFMT_ARGB32_BE, VBI_PIXFMT_ARGB32_LE, VBI_PIXFMT_RGB24, VBI_PIXFMT_BGR24, VBI_PIXFMT_RGB16_LE, VBI_PIXFMT_RGB16_BE, VBI_PIXFMT_BGR16_LE, VBI_PIXFMT_BGR16_BE, VBI_PIXFMT_RGBA15_LE, VBI_PIXFMT_RGBA15_BE, VBI_PIXFMT_BGRA15_LE, VBI_PIXFMT_BGRA15_BE, VBI_PIXFMT_ARGB15_LE, VBI_PIXFMT_ARGB15_BE, VBI_PIXFMT_ABGR15_LE, VBI_PIXFMT_ABGR15_BE } |
Image format used as source to vbi_bit_slice() and vbi_raw_decode(). More... | |
enum | vbi_modulation { VBI_MODULATION_NRZ_LSB, VBI_MODULATION_NRZ_MSB, VBI_MODULATION_BIPHASE_LSB, VBI_MODULATION_BIPHASE_MSB } |
Modulation used for VBI data transmission. More... | |
Functions | |
void | vbi_bit_slicer_init (vbi_bit_slicer *slicer, int raw_samples, int sampling_rate, int cri_rate, int bit_rate, unsigned int cri_frc, unsigned int cri_mask, int cri_bits, int frc_bits, int payload, vbi_modulation modulation, vbi_pixfmt fmt) |
_vbi_inline vbi_bool | vbi_bit_slice (vbi_bit_slicer *slicer, uint8_t *raw, uint8_t *buf) |
void | vbi_raw_decoder_init (vbi_raw_decoder *rd) |
void | vbi_raw_decoder_reset (vbi_raw_decoder *rd) |
void | vbi_raw_decoder_destroy (vbi_raw_decoder *rd) |
unsigned int | vbi_raw_decoder_add_services (vbi_raw_decoder *rd, unsigned int services, int strict) |
unsigned int | vbi_raw_decoder_check_services (vbi_raw_decoder *rd, unsigned int services, int strict) |
unsigned int | vbi_raw_decoder_remove_services (vbi_raw_decoder *rd, unsigned int services) |
void | vbi_raw_decoder_resize (vbi_raw_decoder *rd, int *start, unsigned int *count) |
unsigned int | vbi_raw_decoder_parameters (vbi_raw_decoder *rd, unsigned int services, int scanning, int *max_rate) |
int | vbi_raw_decode (vbi_raw_decoder *rd, uint8_t *raw, vbi_sliced *out) |
The libzvbi already offers hardware interfaces to obtain sliced VBI data for further processing. However if you want to write your own interface or decode data services not covered by libzvbi you can use these lower level functions.
|
Bit slicer context. The contents of this structure are private, use vbi_bit_slicer_init() to initialize. |
|
Raw vbi decoder context. Only the sampling parameters are public. See vbi_raw_decoder_parameters() and vbi_raw_decoder_add_services() for usage. |
|
Image format used as source to vbi_bit_slice() and vbi_raw_decode().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VBI_PIXFMT_YUV420 , rd->bytes_per_line set accordingly to a reasonable minimum. This function can be used to initialize hardware prior to calling vbi_raw_decoder_add_service().
|
|
Note this function attempts to learn which lines carry which data service, or none, to speed up decoding. You should avoid using the same vbi_raw_decoder structure for different sources.
|