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

Go to the source code of this file.


#define MAX_YUV4_HEADER   80
#define MAX_FRAME_HEADER   80


static int yuv4_read_header (AVFormatContext *s)
static int yuv4_read_packet (AVFormatContext *s, AVPacket *pkt)
static int yuv4_read_seek (AVFormatContext *s, int stream_index, int64_t pts, int flags)
static int yuv4_probe (AVProbeData *pd)


AVInputFormat ff_yuv4mpegpipe_demuxer

Macro Definition Documentation

#define MAX_YUV4_HEADER   80

Definition at line 29 of file yuv4mpegdec.c.

Referenced by yuv4_read_header().

#define MAX_FRAME_HEADER   80

Definition at line 30 of file yuv4mpegdec.c.

Referenced by yuv4_read_packet().

Function Documentation

static int yuv4_read_header ( AVFormatContext s)

Definition at line 32 of file yuv4mpegdec.c.

static int yuv4_read_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 271 of file yuv4mpegdec.c.

static int yuv4_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  pts,
int  flags 

Definition at line 308 of file yuv4mpegdec.c.

static int yuv4_probe ( AVProbeData pd)

Definition at line 316 of file yuv4mpegdec.c.

Variable Documentation

AVInputFormat ff_yuv4mpegpipe_demuxer
Initial value:
= {
.name = "yuv4mpegpipe",
.long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"),
.read_probe = yuv4_probe,
.read_header = yuv4_read_header,
.read_packet = yuv4_read_packet,
.read_seek = yuv4_read_seek,
.extensions = "y4m",
static int yuv4_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: yuv4mpegdec.c:271
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static int yuv4_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags)
Definition: yuv4mpegdec.c:308
static int yuv4_read_header(AVFormatContext *s)
Definition: yuv4mpegdec.c:32
static int yuv4_probe(AVProbeData *pd)
Definition: yuv4mpegdec.c:316

Definition at line 325 of file yuv4mpegdec.c.