Go to the source code of this file.
|
int | ff_dca_set_channel_layout (AVCodecContext *avctx, int *ch_remap, int dca_mask) |
|
static uint16_t | crc16 (const uint8_t *data, int size) |
|
int | ff_dca_check_crc (GetBitContext *s, int p1, int p2) |
|
void | ff_dca_downmix_to_stereo_fixed (DCADSPContext *dcadsp, int32_t **samples, int *coeff_l, int nsamples, int ch_mask) |
|
void | ff_dca_downmix_to_stereo_float (AVFloatDSPContext *fdsp, float **samples, int *coeff_l, int nsamples, int ch_mask) |
|
static int | convert_bitstream (const uint8_t *src, int src_size, uint8_t *dst, int max_size) |
|
static int | dcadec_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) |
|
static av_cold void | dcadec_flush (AVCodecContext *avctx) |
|
static av_cold int | dcadec_close (AVCodecContext *avctx) |
|
static av_cold int | dcadec_init (AVCodecContext *avctx) |
|
#define MIN_PACKET_SIZE 16 |
#define MAX_PACKET_SIZE 0x104000 |
int ff_dca_set_channel_layout |
( |
AVCodecContext * |
avctx, |
|
|
int * |
ch_remap, |
|
|
int |
dca_mask |
|
) |
| |
static uint16_t crc16 |
( |
const uint8_t * |
data, |
|
|
int |
size |
|
) |
| |
|
static |
Definition at line 97 of file dcadec.c.
Referenced by chs_parse_header(), ff_dca_exss_parse(), parse_aux_data(), parse_coding_header(), parse_common_header(), parse_navi_table(), parse_optional_info(), parse_x96_coding_header(), parse_x96_frame_exss(), parse_xbr_frame(), and parse_xxch_frame().
void ff_dca_downmix_to_stereo_fixed |
( |
DCADSPContext * |
dcadsp, |
|
|
int32_t ** |
samples, |
|
|
int * |
coeff_l, |
|
|
int |
nsamples, |
|
|
int |
ch_mask |
|
) |
| |
void ff_dca_downmix_to_stereo_float |
( |
AVFloatDSPContext * |
fdsp, |
|
|
float ** |
samples, |
|
|
int * |
coeff_l, |
|
|
int |
nsamples, |
|
|
int |
ch_mask |
|
) |
| |
static int convert_bitstream |
( |
const uint8_t * |
src, |
|
|
int |
src_size, |
|
|
uint8_t * |
dst, |
|
|
int |
max_size |
|
) |
| |
|
static |
Initial value:
Definition at line 388 of file dcadec.c.
Initial value:= {
.class_name = "DCA decoder",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption dcadec_options[]
Definition at line 393 of file dcadec.c.
Initial value:= {
.name = "dca",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static const AVClass dcadec_class
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static av_cold int dcadec_init(AVCodecContext *avctx)
static av_cold int dcadec_close(AVCodecContext *avctx)
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
static av_cold void dcadec_flush(AVCodecContext *avctx)
static int dcadec_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
AVSampleFormat
Audio sample formats.
const AVProfile ff_dca_profiles[]
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
static enum AVSampleFormat sample_fmts[]
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 401 of file dcadec.c.