v4l.c File Reference

Go to the source code of this file.

Classes

struct  VideoData

Functions

static int aiw_init (VideoData *s)
static int aiw_read_picture (VideoData *s, uint8_t *data)
static int aiw_close (VideoData *s)
static int grab_read_header (AVFormatContext *s1, AVFormatParameters *ap)
static int v4l_mm_read_picture (VideoData *s, uint8_t *buf)
static int grab_read_packet (AVFormatContext *s1, AVPacket *pkt)
static int grab_read_close (AVFormatContext *s1)

Variables

struct {
   int   palette
   int   depth
   enum PixelFormat   pix_fmt
video_formats []
AVInputFormat v4l_demuxer


Function Documentation

static int aiw_init ( VideoData s  )  [static]

Definition at line 386 of file v4l.c.

Referenced by grab_read_header().

static int aiw_read_picture ( VideoData s,
uint8_t *  data 
) [static]

Definition at line 647 of file v4l.c.

Referenced by grab_read_packet().

static int aiw_close ( VideoData s  )  [static]

Definition at line 847 of file v4l.c.

Referenced by grab_read_close().

static int grab_read_header ( AVFormatContext s1,
AVFormatParameters ap 
) [static]

Definition at line 77 of file v4l.c.

static int v4l_mm_read_picture ( VideoData s,
uint8_t *  buf 
) [static]

Definition at line 285 of file v4l.c.

Referenced by grab_read_packet().

static int grab_read_packet ( AVFormatContext s1,
AVPacket pkt 
) [static]

Definition at line 311 of file v4l.c.

static int grab_read_close ( AVFormatContext s1  )  [static]

Definition at line 353 of file v4l.c.


Variable Documentation

int palette

int depth

Definition at line 60 of file v4l.c.

Referenced by yuv4_read_header().

struct { ... } video_formats[]

Referenced by grab_read_header().

Initial value:

 {
    "video4linux",
    "video grab",
    sizeof(VideoData),
    NULL,
    grab_read_header,
    grab_read_packet,
    grab_read_close,
    .flags = AVFMT_NOFILE,
}

Definition at line 372 of file v4l.c.


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5