FFmpeg
Loading...
Searching...
No Matches
aaxdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.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  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 FFInputFormat 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 76 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 83 of file aaxdec.c.

Function Documentation

◆ aax_probe()

static int aax_probe ( const AVProbeData * p)
static

Definition at line 62 of file aaxdec.c.

◆ get_pts()

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

Definition at line 100 of file aaxdec.c.

Referenced by aax_read_packet().

◆ aax_read_header()

static int aax_read_header ( AVFormatContext * s)
static

Definition at line 113 of file aaxdec.c.

◆ aax_read_packet()

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

Definition at line 305 of file aaxdec.c.

◆ aax_read_close()

static int aax_read_close ( AVFormatContext * s)
static

Definition at line 377 of file aaxdec.c.

Variable Documentation

◆ ff_aax_demuxer

const FFInputFormat ff_aax_demuxer
Initial value:
= {
.p.name = "aax",
.p.long_name = NULL_IF_CONFIG_SMALL("CRI AAX"),
.p.extensions = "aax",
.p.flags = AVFMT_GENERIC_INDEX,
.priv_data_size = sizeof(AAXContext),
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
}
static int aax_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition aaxdec.c:305
static int aax_read_close(AVFormatContext *s)
Definition aaxdec.c:377
static int aax_probe(const AVProbeData *p)
Definition aaxdec.c:62
static int aax_read_header(AVFormatContext *s)
Definition aaxdec.c:113
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition avformat.h:499
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
Definition cdg.c:30
#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
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
static av_cold int read_close(AVFormatContext *ctx)
Definition libcdio.c:143

Definition at line 388 of file aaxdec.c.