FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
aptxdec.c File Reference
#include "avformat.h"
#include "rawdec.h"

Go to the source code of this file.

Data Structures

struct  AptXDemuxerContext
 

Macros

#define APTX_BLOCK_SIZE   4
 
#define APTX_PACKET_SIZE   (256*APTX_BLOCK_SIZE)
 
#define APTX_HD_BLOCK_SIZE   6
 
#define APTX_HD_PACKET_SIZE   (256*APTX_HD_BLOCK_SIZE)
 

Functions

static AVStreamaptx_read_header_common (AVFormatContext *s)
 
static int aptx_read_header (AVFormatContext *s)
 
static int aptx_hd_read_header (AVFormatContext *s)
 
static int aptx_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int aptx_hd_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const AVOption aptx_options []
 

Macro Definition Documentation

#define APTX_BLOCK_SIZE   4

Definition at line 26 of file aptxdec.c.

Referenced by aptx_read_header().

#define APTX_PACKET_SIZE   (256*APTX_BLOCK_SIZE)

Definition at line 27 of file aptxdec.c.

Referenced by aptx_read_header(), and aptx_read_packet().

#define APTX_HD_BLOCK_SIZE   6

Definition at line 29 of file aptxdec.c.

Referenced by aptx_hd_read_header().

#define APTX_HD_PACKET_SIZE   (256*APTX_HD_BLOCK_SIZE)

Definition at line 30 of file aptxdec.c.

Referenced by aptx_hd_read_header(), and aptx_hd_read_packet().

Function Documentation

static AVStream* aptx_read_header_common ( AVFormatContext s)
static

Definition at line 37 of file aptxdec.c.

Referenced by aptx_hd_read_header(), and aptx_read_header().

static int aptx_read_header ( AVFormatContext s)
static

Definition at line 51 of file aptxdec.c.

static int aptx_hd_read_header ( AVFormatContext s)
static

Definition at line 63 of file aptxdec.c.

static int aptx_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 75 of file aptxdec.c.

static int aptx_hd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 80 of file aptxdec.c.

Variable Documentation

const AVOption aptx_options[]
static
Initial value:
= {
{ "sample_rate", "", 0x42, AV_OPT_TYPE_INT, {.i64 = 48000}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },
}
#define NULL
Definition: coverity.c:32
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:277

Definition at line 85 of file aptxdec.c.