FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
yuv4mpeg.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/pixdesc.h"

Go to the source code of this file.

Data Structures

struct  frame_attributes
 

Macros

#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_read_header (AVFormatContext *s)
 
static int yuv4_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int yuv4_probe (AVProbeData *pd)
 

Macro Definition Documentation

#define Y4M_MAGIC   "YUV4MPEG2"

Definition at line 25 of file yuv4mpeg.c.

Referenced by yuv4_probe(), and yuv4_read_header().

#define Y4M_FRAME_MAGIC   "FRAME"

Definition at line 26 of file yuv4mpeg.c.

Referenced by yuv4_read_packet().

#define Y4M_LINE_MAX   256

Definition at line 27 of file yuv4mpeg.c.

#define MAX_YUV4_HEADER   80

Definition at line 313 of file yuv4mpeg.c.

Referenced by yuv4_read_header().

#define MAX_FRAME_HEADER   80

Definition at line 314 of file yuv4mpeg.c.

Referenced by yuv4_read_packet().

Function Documentation

static int yuv4_read_header ( AVFormatContext s)
static

Definition at line 316 of file yuv4mpeg.c.

static int yuv4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 551 of file yuv4mpeg.c.

static int yuv4_probe ( AVProbeData pd)
static

Definition at line 598 of file yuv4mpeg.c.