FFmpeg  4.0
Macros | Functions | Variables
vc1test.c File Reference

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

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Macros

#define VC1_EXTRADATA_SIZE   4
 

Functions

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

Variables

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 33 of file vc1test.c.

Referenced by vc1t_read_header().

Function Documentation

◆ vc1t_probe()

static int vc1t_probe ( AVProbeData p)
static

Definition at line 35 of file vc1test.c.

◆ vc1t_read_header()

static int vc1t_read_header ( AVFormatContext s)
static

Definition at line 45 of file vc1test.c.

◆ vc1t_read_packet()

static int vc1t_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 86 of file vc1test.c.

Variable Documentation

◆ ff_vc1t_demuxer

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,
}
static int vc1t_probe(AVProbeData *p)
Definition: vc1test.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int vc1t_read_header(AVFormatContext *s)
Definition: vc1test.c:45
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470
static int vc1t_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vc1test.c:86

Definition at line 111 of file vc1test.c.