FFmpeg
Macros | Functions | Variables
yuv4mpegdec.c File Reference
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "yuv4mpeg.h"

Go to the source code of this file.

Macros

#define MAX_YUV4_HEADER   128
 
#define MAX_FRAME_HEADER   80
 
#define MAX_PIX_FMT_LENGTH   8
 
#define MAX_PIX_FMT_LENGTH   8
 

Functions

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 (const AVProbeData *pd)
 

Variables

const FFInputFormat ff_yuv4mpegpipe_demuxer
 

Macro Definition Documentation

◆ MAX_YUV4_HEADER

#define MAX_YUV4_HEADER   128

Definition at line 31 of file yuv4mpegdec.c.

◆ MAX_FRAME_HEADER

#define MAX_FRAME_HEADER   80

Definition at line 32 of file yuv4mpegdec.c.

◆ MAX_PIX_FMT_LENGTH [1/2]

#define MAX_PIX_FMT_LENGTH   8

◆ MAX_PIX_FMT_LENGTH [2/2]

#define MAX_PIX_FMT_LENGTH   8

Function Documentation

◆ yuv4_read_header()

static int yuv4_read_header ( AVFormatContext s)
static

Definition at line 34 of file yuv4mpegdec.c.

◆ yuv4_read_packet()

static int yuv4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 266 of file yuv4mpegdec.c.

◆ yuv4_read_seek()

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

Definition at line 302 of file yuv4mpegdec.c.

◆ yuv4_probe()

static int yuv4_probe ( const AVProbeData pd)
static

Definition at line 318 of file yuv4mpegdec.c.

Variable Documentation

◆ ff_yuv4mpegpipe_demuxer

const FFInputFormat ff_yuv4mpegpipe_demuxer
Initial value:
= {
.p.name = "yuv4mpegpipe",
.p.long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"),
.p.extensions = "y4m",
.read_probe = yuv4_probe,
.read_header = yuv4_read_header,
.read_packet = yuv4_read_packet,
.read_seek = yuv4_read_seek,
}

Definition at line 327 of file yuv4mpegdec.c.

yuv4_probe
static int yuv4_probe(const AVProbeData *pd)
Definition: yuv4mpegdec.c:318
yuv4_read_packet
static int yuv4_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: yuv4mpegdec.c:266
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:106
yuv4_read_header
static int yuv4_read_header(AVFormatContext *s)
Definition: yuv4mpegdec.c:34
yuv4_read_seek
static int yuv4_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags)
Definition: yuv4mpegdec.c:302