FFmpeg
Data Structures | Functions | Variables
apvdec.c File Reference
#include "libavcodec/apv.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  APVHeaderInfo
 

Functions

static int apv_extract_header_info (APVHeaderInfo *info, GetByteContext *gbc)
 
static int apv_probe (const AVProbeData *p)
 
static int apv_read_header (AVFormatContext *s)
 
static int apv_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static enum AVPixelFormat apv_format_table [5][5]
 
const FFInputFormat ff_apv_demuxer
 

Function Documentation

◆ apv_extract_header_info()

static int apv_extract_header_info ( APVHeaderInfo info,
GetByteContext gbc 
)
static

Definition at line 53 of file apvdec.c.

Referenced by apv_probe(), and apv_read_header().

◆ apv_probe()

static int apv_probe ( const AVProbeData p)
static

Definition at line 117 of file apvdec.c.

◆ apv_read_header()

static int apv_read_header ( AVFormatContext s)
static

Definition at line 155 of file apvdec.c.

◆ apv_read_packet()

static int apv_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 213 of file apvdec.c.

Variable Documentation

◆ apv_format_table

enum AVPixelFormat apv_format_table[5][5]
static

◆ ff_apv_demuxer

const FFInputFormat ff_apv_demuxer
Initial value:
= {
.p.name = "apv",
.p.long_name = NULL_IF_CONFIG_SMALL("APV raw bitstream"),
.p.extensions = "apv",
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
.read_probe = apv_probe,
.read_header = apv_read_header,
.read_packet = apv_read_packet,
}

Definition at line 239 of file apvdec.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
AV_PIX_FMT_YUVA444P16
#define AV_PIX_FMT_YUVA444P16
Definition: pixfmt.h:580
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
AV_PIX_FMT_GRAY16
#define AV_PIX_FMT_GRAY16
Definition: pixfmt.h:511
AV_PIX_FMT_YUV444P10
#define AV_PIX_FMT_YUV444P10
Definition: pixfmt.h:531
AV_PIX_FMT_YUV422P16
#define AV_PIX_FMT_YUV422P16
Definition: pixfmt.h:540
AV_PIX_FMT_YUV444P16
#define AV_PIX_FMT_YUV444P16
Definition: pixfmt.h:541
AV_PIX_FMT_YUVA444P12
#define AV_PIX_FMT_YUVA444P12
Definition: pixfmt.h:577
AV_PIX_FMT_GRAY14
#define AV_PIX_FMT_GRAY14
Definition: pixfmt.h:510
apv_read_packet
static int apv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: apvdec.c:213
AV_PIX_FMT_GRAY10
#define AV_PIX_FMT_GRAY10
Definition: pixfmt.h:508
FF_INFMT_FLAG_INIT_CLEANUP
#define FF_INFMT_FLAG_INIT_CLEANUP
For an FFInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
Definition: demux.h:35
apv_probe
static int apv_probe(const AVProbeData *p)
Definition: apvdec.c:117
AV_PIX_FMT_YUV422P10
#define AV_PIX_FMT_YUV422P10
Definition: pixfmt.h:529
AV_PIX_FMT_GRAY8
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
Definition: pixfmt.h:81
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:94
AV_PIX_FMT_YUV422P12
#define AV_PIX_FMT_YUV422P12
Definition: pixfmt.h:533
AV_PIX_FMT_YUV444P12
#define AV_PIX_FMT_YUV444P12
Definition: pixfmt.h:535
AV_PIX_FMT_YUVA444P
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
Definition: pixfmt.h:174
AV_PIX_FMT_YUVA444P10
#define AV_PIX_FMT_YUVA444P10
Definition: pixfmt.h:575
AV_PIX_FMT_YUV444P
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: pixfmt.h:78
AV_PIX_FMT_YUV422P
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
Definition: pixfmt.h:77
apv_read_header
static int apv_read_header(AVFormatContext *s)
Definition: apvdec.c:155
AV_PIX_FMT_GRAY12
#define AV_PIX_FMT_GRAY12
Definition: pixfmt.h:509