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

◆ Y4M_LINE_MAX

#define Y4M_LINE_MAX   256

Definition at line 27 of file yuv4mpegenc.c.

Function Documentation

◆ yuv4_generate_header()

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

Definition at line 29 of file yuv4mpegenc.c.

Referenced by yuv4_write_packet().

◆ yuv4_write_packet()

static int yuv4_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 180 of file yuv4mpegenc.c.

◆ yuv4_write_header()

static int yuv4_write_header ( AVFormatContext s)
static

Definition at line 282 of file yuv4mpegenc.c.

Variable Documentation

◆ ff_yuv4mpegpipe_muxer

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,
}

Definition at line 354 of file yuv4mpegenc.c.

yuv4_write_packet
static int yuv4_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: yuv4mpegenc.c:180
AV_CODEC_ID_WRAPPED_AVFRAME
@ AV_CODEC_ID_WRAPPED_AVFRAME
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: avcodec.h:708
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
yuv4_write_header
static int yuv4_write_header(AVFormatContext *s)
Definition: yuv4mpegenc.c:282
write_packet
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:690
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: avcodec.h:216
write_header
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:337
int
int
Definition: ffmpeg_filter.c:191