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 231 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,
}
static int yuv4_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: yuv4mpegenc.c:137
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
#define AVFMT_RAWPICTURE
Format wants AVPicture structure for raw picture data.
Definition: avformat.h:468
static int flags
Definition: cpu.c:47
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:493
static int yuv4_write_header(AVFormatContext *s)
Definition: yuv4mpegenc.c:231
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
Definition: v4l2enc.c:86

Definition at line 295 of file yuv4mpegenc.c.