Go to the source code of this file.
|
static void | ath_init1 (uint8_t *ath, int sample_rate) |
|
static int | ath_init (uint8_t *ath, int type, int sample_rate) |
|
static unsigned | ceil2 (unsigned a, unsigned b) |
|
static av_cold int | decode_init (AVCodecContext *avctx) |
|
static void | run_imdct (HCAContext *c, ChannelContext *ch, int index, float *out) |
|
static void | apply_intensity_stereo (HCAContext *s, ChannelContext *ch1, ChannelContext *ch2, int index, unsigned band_count, unsigned base_band_count, unsigned stereo_band_count) |
|
static void | reconstruct_hfr (HCAContext *s, ChannelContext *ch, unsigned hfr_group_count, unsigned bands_per_hfr_group, unsigned start_band, unsigned total_band_count) |
|
static void | dequantize_coefficients (HCAContext *c, ChannelContext *ch) |
|
static void | unpack (HCAContext *c, ChannelContext *ch, unsigned hfr_group_count, int packed_noise_level, const uint8_t *ath) |
|
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) |
|
static av_cold int | decode_close (AVCodecContext *avctx) |
|
◆ ath_init1()
◆ ath_init()
◆ ceil2()
static unsigned ceil2 |
( |
unsigned |
a, |
|
|
unsigned |
b |
|
) |
| |
|
inlinestatic |
◆ decode_init()
◆ run_imdct()
◆ apply_intensity_stereo()
◆ reconstruct_hfr()
static void reconstruct_hfr |
( |
HCAContext * |
s, |
|
|
ChannelContext * |
ch, |
|
|
unsigned |
hfr_group_count, |
|
|
unsigned |
bands_per_hfr_group, |
|
|
unsigned |
start_band, |
|
|
unsigned |
total_band_count |
|
) |
| |
|
static |
◆ dequantize_coefficients()
◆ unpack()
◆ decode_frame()
◆ decode_close()
◆ ff_hca_decoder
Initial value:= {
.name = "hca",
}
static av_cold int init(AVCodecContext *avctx)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int decode_init(AVCodecContext *avctx)
AVSampleFormat
Audio sample formats.
static av_cold int decode_close(AVCodecContext *avctx)
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, 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 442 of file hcadec.c.