libavformat/yuv4mpeg.c File Reference

#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  frame_attributes

Defines

#define Y4M_MAGIC   "YUV4MPEG2"
#define Y4M_FRAME_MAGIC   "FRAME"
#define Y4M_LINE_MAX   256
#define MAX_YUV4_HEADER   80
#define MAX_FRAME_HEADER   80

Functions

static int yuv4_generate_header (AVFormatContext *s, char *buf)
static int yuv4_write_packet (AVFormatContext *s, AVPacket *pkt)
static int yuv4_write_header (AVFormatContext *s)
static int yuv4_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int yuv4_read_packet (AVFormatContext *s, AVPacket *pkt)
static int yuv4_read_close (AVFormatContext *s)
static int yuv4_probe (AVProbeData *pd)


Define Documentation

#define MAX_FRAME_HEADER   80

Definition at line 186 of file yuv4mpeg.c.

Referenced by yuv4_read_packet().

#define MAX_YUV4_HEADER   80

Definition at line 185 of file yuv4mpeg.c.

Referenced by yuv4_read_header().

#define Y4M_FRAME_MAGIC   "FRAME"

Definition at line 24 of file yuv4mpeg.c.

Referenced by yuv4_read_packet(), and yuv4_write_packet().

#define Y4M_LINE_MAX   256

Definition at line 25 of file yuv4mpeg.c.

Referenced by yuv4_generate_header(), and yuv4_write_packet().

#define Y4M_MAGIC   "YUV4MPEG2"

Definition at line 23 of file yuv4mpeg.c.

Referenced by yuv4_generate_header(), yuv4_probe(), and yuv4_read_header().


Function Documentation

static int yuv4_generate_header ( AVFormatContext s,
char *  buf 
) [static]

Definition at line 32 of file yuv4mpeg.c.

Referenced by yuv4_write_packet().

static int yuv4_probe ( AVProbeData pd  )  [static]

Definition at line 380 of file yuv4mpeg.c.

static int yuv4_read_close ( AVFormatContext s  )  [static]

Definition at line 375 of file yuv4mpeg.c.

static int yuv4_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 188 of file yuv4mpeg.c.

static int yuv4_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 338 of file yuv4mpeg.c.

static int yuv4_write_header ( AVFormatContext s  )  [static]

Definition at line 147 of file yuv4mpeg.c.

static int yuv4_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 87 of file yuv4mpeg.c.


Generated on Sat Sep 6 21:25:15 2008 for ffmpeg by  doxygen 1.5.6