Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cx18-streams.c File Reference
#include "cx18-driver.h"
#include "cx18-io.h"
#include "cx18-fileops.h"
#include "cx18-mailbox.h"
#include "cx18-i2c.h"
#include "cx18-queue.h"
#include "cx18-ioctl.h"
#include "cx18-streams.h"
#include "cx18-cards.h"
#include "cx18-scb.h"
#include "cx18-dvb.h"

Go to the source code of this file.

Macros

#define CX18_DSP0_INTERRUPT_MASK   0xd0004C
 
#define CX18_V4L2_ENC_TS_OFFSET   16
 
#define CX18_V4L2_ENC_PCM_OFFSET   24
 
#define CX18_V4L2_ENC_YUV_OFFSET   32
 
#define VB_MIN_BUFFERS   32
 
#define VB_MIN_BUFSIZE   4147200
 

Functions

void cx18_dma_free (struct videobuf_queue *q, struct cx18_stream *s, struct cx18_videobuf_buffer *buf)
 
int cx18_streams_setup (struct cx18 *cx)
 
int cx18_streams_register (struct cx18 *cx)
 
void cx18_streams_cleanup (struct cx18 *cx, int unregister)
 
void cx18_stream_rotate_idx_mdls (struct cx18 *cx)
 
void cx18_out_work_handler (struct work_struct *work)
 
int cx18_start_v4l2_encode_stream (struct cx18_stream *s)
 
 EXPORT_SYMBOL (cx18_start_v4l2_encode_stream)
 
void cx18_stop_all_captures (struct cx18 *cx)
 
int cx18_stop_v4l2_encode_stream (struct cx18_stream *s, int gop_end)
 
 EXPORT_SYMBOL (cx18_stop_v4l2_encode_stream)
 
u32 cx18_find_handle (struct cx18 *cx)
 
struct cx18_streamcx18_handle_to_stream (struct cx18 *cx, u32 handle)
 

Macro Definition Documentation

#define CX18_DSP0_INTERRUPT_MASK   0xd0004C

Definition at line 37 of file cx18-streams.c.

#define CX18_V4L2_ENC_PCM_OFFSET   24

Definition at line 52 of file cx18-streams.c.

#define CX18_V4L2_ENC_TS_OFFSET   16

Definition at line 50 of file cx18-streams.c.

#define CX18_V4L2_ENC_YUV_OFFSET   32

Definition at line 54 of file cx18-streams.c.

#define VB_MIN_BUFFERS   32

Definition at line 183 of file cx18-streams.c.

#define VB_MIN_BUFSIZE   4147200

Definition at line 184 of file cx18-streams.c.

Function Documentation

void cx18_dma_free ( struct videobuf_queue q,
struct cx18_stream s,
struct cx18_videobuf_buffer buf 
)

Definition at line 100 of file cx18-streams.c.

u32 cx18_find_handle ( struct cx18 cx)

Definition at line 1029 of file cx18-streams.c.

struct cx18_stream* cx18_handle_to_stream ( struct cx18 cx,
u32  handle 
)
read

Definition at line 1043 of file cx18-streams.c.

void cx18_out_work_handler ( struct work_struct work)

Definition at line 736 of file cx18-streams.c.

int cx18_start_v4l2_encode_stream ( struct cx18_stream s)

Definition at line 788 of file cx18-streams.c.

void cx18_stop_all_captures ( struct cx18 cx)

Definition at line 965 of file cx18-streams.c.

int cx18_stop_v4l2_encode_stream ( struct cx18_stream s,
int  gop_end 
)

Definition at line 979 of file cx18-streams.c.

void cx18_stream_rotate_idx_mdls ( struct cx18 cx)

Definition at line 666 of file cx18-streams.c.

void cx18_streams_cleanup ( struct cx18 cx,
int  unregister 
)

Definition at line 499 of file cx18-streams.c.

int cx18_streams_register ( struct cx18 cx)

Definition at line 477 of file cx18-streams.c.

int cx18_streams_setup ( struct cx18 cx)

Definition at line 384 of file cx18-streams.c.

EXPORT_SYMBOL ( cx18_start_v4l2_encode_stream  )
EXPORT_SYMBOL ( cx18_stop_v4l2_encode_stream  )

Variable Documentation

int dma

Definition at line 60 of file cx18-streams.c.

const char* name

Definition at line 57 of file cx18-streams.c.

int num_offset

Definition at line 59 of file cx18-streams.c.

int vfl_type

Definition at line 58 of file cx18-streams.c.