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 146 of file yuv4mpegenc.c.

static int yuv4_write_header ( AVFormatContext s)
static

Definition at line 240 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 int yuv4_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: yuv4mpegenc.c:146
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: avcodec.h:649
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:498
static int yuv4_write_header(AVFormatContext *s)
Definition: yuv4mpegenc.c:240
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
Definition: v4l2enc.c:86

Definition at line 304 of file yuv4mpegenc.c.