FFmpeg
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.

Functions

static int yuv4_write_header (AVFormatContext *s)
 
static int yuv4_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int yuv4_init (AVFormatContext *s)
 

Variables

AVOutputFormat ff_yuv4mpegpipe_muxer
 

Function Documentation

static int yuv4_write_header ( AVFormatContext s)
static

Definition at line 27 of file yuv4mpegenc.c.

static int yuv4_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 183 of file yuv4mpegenc.c.

static int yuv4_init ( AVFormatContext s)
static

Definition at line 269 of file yuv4mpegenc.c.

Variable Documentation

AVOutputFormat ff_yuv4mpegpipe_muxer
Initial value:
= {
.name = "yuv4mpegpipe",
.long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"),
.extensions = "y4m",
.audio_codec = AV_CODEC_ID_NONE,
.init = yuv4_init,
.write_header = yuv4_write_header,
.write_packet = yuv4_write_packet,
}
static int yuv4_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: yuv4mpegenc.c:183
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:115
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: codec_id.h:571
static int yuv4_init(AVFormatContext *s)
Definition: yuv4mpegenc.c:269
static int yuv4_write_header(AVFormatContext *s)
Definition: yuv4mpegenc.c:27

Definition at line 338 of file yuv4mpegenc.c.