Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cx231xx-vbi.h File Reference

Go to the source code of this file.

Macros

#define NTSC_VBI_START_LINE   10 /* line 10 - 21 */
 
#define NTSC_VBI_END_LINE   21
 
#define NTSC_VBI_LINES   (NTSC_VBI_END_LINE-NTSC_VBI_START_LINE+1)
 
#define PAL_VBI_START_LINE   6
 
#define PAL_VBI_END_LINE   23
 
#define PAL_VBI_LINES   (PAL_VBI_END_LINE-PAL_VBI_START_LINE+1)
 
#define VBI_STRIDE   1440
 
#define VBI_SAMPLES_PER_LINE   1440
 
#define CX231XX_NUM_VBI_PACKETS   4
 
#define CX231XX_NUM_VBI_BUFS   5
 

Functions

int cx231xx_init_vbi_isoc (struct cx231xx *dev, int max_packets, int num_bufs, int max_pkt_size, int(*bulk_copy)(struct cx231xx *dev, struct urb *urb))
 
void cx231xx_uninit_vbi_isoc (struct cx231xx *dev)
 
u32 cx231xx_get_vbi_line (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, u8 sav_eav, u8 *p_buffer, u32 buffer_size)
 
u32 cx231xx_copy_vbi_line (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, u8 *p_line, u32 length, int field_number)
 
void cx231xx_reset_vbi_buffer (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q)
 
int cx231xx_do_vbi_copy (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, u8 *p_buffer, u32 bytes_to_copy)
 
u8 cx231xx_is_vbi_buffer_done (struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q)
 

Variables

struct videobuf_queue_ops cx231xx_vbi_qops
 

Macro Definition Documentation

#define CX231XX_NUM_VBI_BUFS   5

Definition at line 39 of file cx231xx-vbi.h.

#define CX231XX_NUM_VBI_PACKETS   4

Definition at line 38 of file cx231xx-vbi.h.

#define NTSC_VBI_END_LINE   21

Definition at line 28 of file cx231xx-vbi.h.

#define NTSC_VBI_LINES   (NTSC_VBI_END_LINE-NTSC_VBI_START_LINE+1)

Definition at line 29 of file cx231xx-vbi.h.

#define NTSC_VBI_START_LINE   10 /* line 10 - 21 */

Definition at line 27 of file cx231xx-vbi.h.

#define PAL_VBI_END_LINE   23

Definition at line 32 of file cx231xx-vbi.h.

#define PAL_VBI_LINES   (PAL_VBI_END_LINE-PAL_VBI_START_LINE+1)

Definition at line 33 of file cx231xx-vbi.h.

#define PAL_VBI_START_LINE   6

Definition at line 31 of file cx231xx-vbi.h.

#define VBI_SAMPLES_PER_LINE   1440

Definition at line 36 of file cx231xx-vbi.h.

#define VBI_STRIDE   1440

Definition at line 35 of file cx231xx-vbi.h.

Function Documentation

u32 cx231xx_copy_vbi_line ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q,
u8 p_line,
u32  length,
int  field_number 
)

Definition at line 541 of file cx231xx-vbi.c.

int cx231xx_do_vbi_copy ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q,
u8 p_buffer,
u32  bytes_to_copy 
)

Definition at line 658 of file cx231xx-vbi.c.

u32 cx231xx_get_vbi_line ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q,
u8  sav_eav,
u8 p_buffer,
u32  buffer_size 
)

Definition at line 490 of file cx231xx-vbi.c.

int cx231xx_init_vbi_isoc ( struct cx231xx dev,
int  max_packets,
int  num_bufs,
int  max_pkt_size,
int(*)(struct cx231xx *dev, struct urb *urb bulk_copy 
)

Definition at line 386 of file cx231xx-vbi.c.

u8 cx231xx_is_vbi_buffer_done ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q 
)

Definition at line 699 of file cx231xx-vbi.c.

void cx231xx_reset_vbi_buffer ( struct cx231xx dev,
struct cx231xx_dmaqueue dma_q 
)

Definition at line 639 of file cx231xx-vbi.c.

void cx231xx_uninit_vbi_isoc ( struct cx231xx dev)

Definition at line 343 of file cx231xx-vbi.c.

Variable Documentation

struct videobuf_queue_ops cx231xx_vbi_qops

Definition at line 290 of file cx231xx-vbi.c.