FFmpeg
Macros | Functions | Variables
yuv4mpegenc.c File Reference
#include "libavutil/pixdesc.h"
#include "avformat.h"
#include "internal.h"
#include "yuv4mpeg.h"

Go to the source code of this file.

Macros

#define Y4M_LINE_MAX   256
 

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)
 

Variables

AVOutputFormat ff_yuv4mpegpipe_muxer
 

Macro Definition Documentation

#define Y4M_LINE_MAX   256

Definition at line 27 of file yuv4mpegenc.c.

Referenced by yuv4_generate_header(), and yuv4_write_packet().

Function Documentation

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

Definition at line 29 of file yuv4mpegenc.c.

Referenced by yuv4_write_packet().

static int yuv4_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 180 of file yuv4mpegenc.c.

static int yuv4_write_header ( AVFormatContext s)
static

Definition at line 282 of file yuv4mpegenc.c.

Variable Documentation

AVOutputFormat ff_yuv4mpegpipe_muxer
Initial value:
= {
.name = "yuv4mpegpipe",
.long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"),
.extensions = "y4m",
.priv_data_size = sizeof(int),
.audio_codec = AV_CODEC_ID_NONE,
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:689
static int yuv4_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: yuv4mpegenc.c:180
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: avcodec.h:711
int
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:349
static int yuv4_write_header(AVFormatContext *s)
Definition: yuv4mpegenc.c:282

Definition at line 354 of file yuv4mpegenc.c.