#include "avformat.h"
Go to the source code of this file.
Data Structures | |
struct | frame_attributes |
Defines | |
#define | Y4M_MAGIC "YUV4MPEG2" |
#define | Y4M_FRAME_MAGIC "FRAME" |
#define | Y4M_LINE_MAX 256 |
#define | MAX_YUV4_HEADER 80 |
#define | MAX_FRAME_HEADER 80 |
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) |
static int | yuv4_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | yuv4_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | yuv4_probe (AVProbeData *pd) |
Variables | |
AVOutputFormat | ff_yuv4mpegpipe_muxer |
AVInputFormat | ff_yuv4mpegpipe_demuxer |
#define MAX_FRAME_HEADER 80 |
Definition at line 193 of file yuv4mpeg.c.
Referenced by yuv4_read_packet().
#define MAX_YUV4_HEADER 80 |
Definition at line 192 of file yuv4mpeg.c.
Referenced by yuv4_read_header().
#define Y4M_FRAME_MAGIC "FRAME" |
Definition at line 24 of file yuv4mpeg.c.
Referenced by yuv4_read_packet(), and yuv4_write_packet().
#define Y4M_LINE_MAX 256 |
Definition at line 25 of file yuv4mpeg.c.
Referenced by yuv4_generate_header(), and yuv4_write_packet().
#define Y4M_MAGIC "YUV4MPEG2" |
Definition at line 23 of file yuv4mpeg.c.
Referenced by yuv4_generate_header(), yuv4_probe(), and yuv4_read_header().
static int yuv4_generate_header | ( | AVFormatContext * | s, | |
char * | buf | |||
) | [static] |
Definition at line 33 of file yuv4mpeg.c.
Referenced by yuv4_write_packet().
static int yuv4_probe | ( | AVProbeData * | pd | ) | [static] |
Definition at line 398 of file yuv4mpeg.c.
static int yuv4_read_header | ( | AVFormatContext * | s, | |
AVFormatParameters * | ap | |||
) | [static] |
Definition at line 195 of file yuv4mpeg.c.
static int yuv4_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
Definition at line 351 of file yuv4mpeg.c.
static int yuv4_write_header | ( | AVFormatContext * | s | ) | [static] |
Definition at line 150 of file yuv4mpeg.c.
static int yuv4_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
Definition at line 90 of file yuv4mpeg.c.
{ "yuv4mpegpipe", NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"), sizeof(struct frame_attributes), yuv4_probe, yuv4_read_header, yuv4_read_packet, .extensions = "y4m" }
Definition at line 408 of file yuv4mpeg.c.
{ "yuv4mpegpipe", NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"), "", "y4m", sizeof(int), CODEC_ID_NONE, CODEC_ID_RAWVIDEO, yuv4_write_header, yuv4_write_packet, .flags = AVFMT_RAWPICTURE, }
Definition at line 177 of file yuv4mpeg.c.