FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 137 of file yuv4mpegenc.c.

static int yuv4_write_header ( AVFormatContext s)
static

Definition at line 233 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,
.video_codec = AV_CODEC_ID_RAWVIDEO,
}

Definition at line 297 of file yuv4mpegenc.c.