FFmpeg
Data Structures | Enumerations | Functions | Variables
aaxdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  AAXColumn
 
struct  AAXSegment
 
struct  AAXContext
 

Enumerations

enum  ColumnFlag { COLUMN_FLAG_NAME = 0x1, COLUMN_FLAG_DEFAULT = 0x2, COLUMN_FLAG_ROW = 0x4, COLUMN_FLAG_UNDEFINED = 0x8 }
 
enum  ColumnType {
  COLUMN_TYPE_UINT8 = 0x00, COLUMN_TYPE_SINT8 = 0x01, COLUMN_TYPE_UINT16 = 0x02, COLUMN_TYPE_SINT16 = 0x03,
  COLUMN_TYPE_UINT32 = 0x04, COLUMN_TYPE_SINT32 = 0x05, COLUMN_TYPE_UINT64 = 0x06, COLUMN_TYPE_SINT64 = 0x07,
  COLUMN_TYPE_FLOAT = 0x08, COLUMN_TYPE_DOUBLE = 0x09, COLUMN_TYPE_STRING = 0x0a, COLUMN_TYPE_VLDATA = 0x0b,
  COLUMN_TYPE_UINT128 = 0x0c, COLUMN_TYPE_UNDEFINED = -1
}
 

Functions

static int aax_probe (const AVProbeData *p)
 
static int64_t get_pts (AVFormatContext *s, int64_t pos, int size)
 
static int aax_read_header (AVFormatContext *s)
 
static int aax_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int aax_read_close (AVFormatContext *s)
 

Variables

const AVInputFormat ff_aax_demuxer
 

Enumeration Type Documentation

◆ ColumnFlag

enum ColumnFlag
Enumerator
COLUMN_FLAG_NAME 
COLUMN_FLAG_DEFAULT 
COLUMN_FLAG_ROW 
COLUMN_FLAG_UNDEFINED 

Definition at line 74 of file aaxdec.c.

◆ ColumnType

enum ColumnType
Enumerator
COLUMN_TYPE_UINT8 
COLUMN_TYPE_SINT8 
COLUMN_TYPE_UINT16 
COLUMN_TYPE_SINT16 
COLUMN_TYPE_UINT32 
COLUMN_TYPE_SINT32 
COLUMN_TYPE_UINT64 
COLUMN_TYPE_SINT64 
COLUMN_TYPE_FLOAT 
COLUMN_TYPE_DOUBLE 
COLUMN_TYPE_STRING 
COLUMN_TYPE_VLDATA 
COLUMN_TYPE_UINT128 
COLUMN_TYPE_UNDEFINED 

Definition at line 81 of file aaxdec.c.

Function Documentation

◆ aax_probe()

static int aax_probe ( const AVProbeData p)
static

Definition at line 60 of file aaxdec.c.

◆ get_pts()

static int64_t get_pts ( AVFormatContext s,
int64_t  pos,
int  size 
)
static

Definition at line 98 of file aaxdec.c.

Referenced by aax_read_packet().

◆ aax_read_header()

static int aax_read_header ( AVFormatContext s)
static

Definition at line 111 of file aaxdec.c.

◆ aax_read_packet()

static int aax_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 297 of file aaxdec.c.

◆ aax_read_close()

static int aax_read_close ( AVFormatContext s)
static

Definition at line 368 of file aaxdec.c.

Variable Documentation

◆ ff_aax_demuxer

const AVInputFormat ff_aax_demuxer
Initial value:
= {
.name = "aax",
.long_name = NULL_IF_CONFIG_SMALL("CRI AAX"),
.priv_data_size = sizeof(AAXContext),
.flags_internal = FF_FMT_INIT_CLEANUP,
.extensions = "aax",
}

Definition at line 379 of file aaxdec.c.

FF_FMT_INIT_CLEANUP
#define FF_FMT_INIT_CLEANUP
For an AVInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
Definition: internal.h:49
aax_probe
static int aax_probe(const AVProbeData *p)
Definition: aaxdec.c:60
read_close
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:141
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:476
aax_read_packet
static int aax_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: aaxdec.c:297
aax_read_close
static int aax_read_close(AVFormatContext *s)
Definition: aaxdec.c:368
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
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:117
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
aax_read_header
static int aax_read_header(AVFormatContext *s)
Definition: aaxdec.c:111
AAXContext
Definition: aaxdec.c:40
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:561