FFmpeg
Macros | Functions | Variables
vc1test.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Macros

#define VC1_EXTRADATA_SIZE   4
 

Functions

static int vc1t_probe (const AVProbeData *p)
 
static int vc1t_read_header (AVFormatContext *s)
 
static int vc1t_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_vc1t_demuxer
 

Detailed Description

VC1 test bitstream file demuxer by Konstantin Shishkov Format specified in SMPTE standard 421 Annex L

Definition in file vc1test.c.

Macro Definition Documentation

◆ VC1_EXTRADATA_SIZE

#define VC1_EXTRADATA_SIZE   4

Definition at line 34 of file vc1test.c.

Function Documentation

◆ vc1t_probe()

static int vc1t_probe ( const AVProbeData p)
static

Definition at line 36 of file vc1test.c.

◆ vc1t_read_header()

static int vc1t_read_header ( AVFormatContext s)
static

Definition at line 51 of file vc1test.c.

◆ vc1t_read_packet()

static int vc1t_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 95 of file vc1test.c.

Variable Documentation

◆ ff_vc1t_demuxer

const AVInputFormat ff_vc1t_demuxer
Initial value:
= {
.name = "vc1test",
.long_name = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"),
.read_probe = vc1t_probe,
.read_header = vc1t_read_header,
.read_packet = vc1t_read_packet,
.extensions = "rcv",
}

Definition at line 120 of file vc1test.c.

vc1t_probe
static int vc1t_probe(const AVProbeData *p)
Definition: vc1test.c:36
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:481
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:106
vc1t_read_header
static int vc1t_read_header(AVFormatContext *s)
Definition: vc1test.c:51
vc1t_read_packet
static int vc1t_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vc1test.c:95