Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ivtv-streams.c File Reference
#include "ivtv-driver.h"
#include "ivtv-fileops.h"
#include "ivtv-queue.h"
#include "ivtv-mailbox.h"
#include "ivtv-ioctl.h"
#include "ivtv-irq.h"
#include "ivtv-yuv.h"
#include "ivtv-cards.h"
#include "ivtv-streams.h"
#include "ivtv-firmware.h"
#include <media/v4l2-event.h>

Go to the source code of this file.

Macros

#define IVTV_V4L2_DEC_MPG_OFFSET   16 /* offset from 0 to register decoder mpg v4l2 minors on */
 
#define IVTV_V4L2_ENC_PCM_OFFSET   24 /* offset from 0 to register pcm v4l2 minors on */
 
#define IVTV_V4L2_ENC_YUV_OFFSET   32 /* offset from 0 to register yuv v4l2 minors on */
 
#define IVTV_V4L2_DEC_YUV_OFFSET   48 /* offset from 0 to register decoder yuv v4l2 minors on */
 
#define IVTV_V4L2_DEC_VBI_OFFSET   8 /* offset from 0 to register decoder vbi input v4l2 minors on */
 
#define IVTV_V4L2_DEC_VOUT_OFFSET   16 /* offset from 0 to register vbi output v4l2 minors on */
 

Functions

int ivtv_streams_setup (struct ivtv *itv)
 
int ivtv_streams_register (struct ivtv *itv)
 
void ivtv_streams_cleanup (struct ivtv *itv, int unregister)
 
int ivtv_start_v4l2_encode_stream (struct ivtv_stream *s)
 
 EXPORT_SYMBOL (ivtv_start_v4l2_encode_stream)
 
int ivtv_start_v4l2_decode_stream (struct ivtv_stream *s, int gop_offset)
 
void ivtv_stop_all_captures (struct ivtv *itv)
 
int ivtv_stop_v4l2_encode_stream (struct ivtv_stream *s, int gop_end)
 
 EXPORT_SYMBOL (ivtv_stop_v4l2_encode_stream)
 
int ivtv_stop_v4l2_decode_stream (struct ivtv_stream *s, int flags, u64 pts)
 
int ivtv_passthrough_mode (struct ivtv *itv, int enable)
 

Macro Definition Documentation

#define IVTV_V4L2_DEC_MPG_OFFSET   16 /* offset from 0 to register decoder mpg v4l2 minors on */

Definition at line 76 of file ivtv-streams.c.

#define IVTV_V4L2_DEC_VBI_OFFSET   8 /* offset from 0 to register decoder vbi input v4l2 minors on */

Definition at line 80 of file ivtv-streams.c.

#define IVTV_V4L2_DEC_VOUT_OFFSET   16 /* offset from 0 to register vbi output v4l2 minors on */

Definition at line 81 of file ivtv-streams.c.

#define IVTV_V4L2_DEC_YUV_OFFSET   48 /* offset from 0 to register decoder yuv v4l2 minors on */

Definition at line 79 of file ivtv-streams.c.

#define IVTV_V4L2_ENC_PCM_OFFSET   24 /* offset from 0 to register pcm v4l2 minors on */

Definition at line 77 of file ivtv-streams.c.

#define IVTV_V4L2_ENC_YUV_OFFSET   32 /* offset from 0 to register yuv v4l2 minors on */

Definition at line 78 of file ivtv-streams.c.

Function Documentation

EXPORT_SYMBOL ( ivtv_start_v4l2_encode_stream  )
EXPORT_SYMBOL ( ivtv_stop_v4l2_encode_stream  )
int ivtv_passthrough_mode ( struct ivtv itv,
int  enable 
)

Definition at line 981 of file ivtv-streams.c.

int ivtv_start_v4l2_decode_stream ( struct ivtv_stream s,
int  gop_offset 
)

Definition at line 722 of file ivtv-streams.c.

int ivtv_start_v4l2_encode_stream ( struct ivtv_stream s)

Definition at line 489 of file ivtv-streams.c.

void ivtv_stop_all_captures ( struct ivtv itv)

Definition at line 775 of file ivtv-streams.c.

int ivtv_stop_v4l2_decode_stream ( struct ivtv_stream s,
int  flags,
u64  pts 
)

Definition at line 914 of file ivtv-streams.c.

int ivtv_stop_v4l2_encode_stream ( struct ivtv_stream s,
int  gop_end 
)

Definition at line 790 of file ivtv-streams.c.

void ivtv_streams_cleanup ( struct ivtv itv,
int  unregister 
)

Definition at line 355 of file ivtv-streams.c.

int ivtv_streams_register ( struct ivtv itv)

Definition at line 337 of file ivtv-streams.c.

int ivtv_streams_setup ( struct ivtv itv)

Definition at line 260 of file ivtv-streams.c.

Variable Documentation

int dma

Definition at line 87 of file ivtv-streams.c.

Definition at line 89 of file ivtv-streams.c.

const char* name

Definition at line 84 of file ivtv-streams.c.

int num_offset

Definition at line 86 of file ivtv-streams.c.

int pio

Definition at line 87 of file ivtv-streams.c.

u32 v4l2_caps

Definition at line 88 of file ivtv-streams.c.

int vfl_type

Definition at line 85 of file ivtv-streams.c.