FFmpeg
Loading...
Searching...
No Matches
vc1testenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "mux.h"

Go to the source code of this file.

Data Structures

struct  RCVContext
 

Functions

static int vc1test_write_header (AVFormatContext *s)
 
static int vc1test_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int vc1test_write_trailer (AVFormatContext *s)
 

Variables

const FFOutputFormat ff_vc1t_muxer
 

Function Documentation

◆ vc1test_write_header()

static int vc1test_write_header ( AVFormatContext * s)
static

Definition at line 29 of file vc1testenc.c.

◆ vc1test_write_packet()

static int vc1test_write_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 53 of file vc1testenc.c.

◆ vc1test_write_trailer()

static int vc1test_write_trailer ( AVFormatContext * s)
static

Definition at line 68 of file vc1testenc.c.

Variable Documentation

◆ ff_vc1t_muxer

const FFOutputFormat ff_vc1t_muxer
Initial value:
= {
.p.name = "vc1test",
.p.long_name = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"),
.p.extensions = "rcv",
.priv_data_size = sizeof(RCVContext),
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_WMV3,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.write_header = vc1test_write_header,
.write_packet = vc1test_write_packet,
.write_trailer = vc1test_write_trailer,
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH |
}
@ AV_CODEC_ID_NONE
Definition codec_id.h:48
@ AV_CODEC_ID_WMV3
Definition codec_id.h:121
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
Definition mux.h:50
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
Definition mux.h:59
static int vc1test_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition vc1testenc.c:53
static int vc1test_write_trailer(AVFormatContext *s)
Definition vc1testenc.c:68
static int vc1test_write_header(AVFormatContext *s)
Definition vc1testenc.c:29

Definition at line 80 of file vc1testenc.c.