diff options
author | Lynne <dev@lynne.ee> | 2024-05-15 00:13:49 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-06-02 18:34:43 +0200 |
commit | 0f2303f629078f3704323b5a3d97c68512eacdf5 (patch) | |
tree | a0db4d7e069ecb66d18bccb14c0513c8e5bd196f /libavcodec/aac/aacdec.h | |
parent | 39b8d84b53f108005890fe170d00adcfe39ce773 (diff) | |
download | ffmpeg-0f2303f629078f3704323b5a3d97c68512eacdf5.tar.gz |
aacdec: expose channel layout related functions
Diffstat (limited to 'libavcodec/aac/aacdec.h')
-rw-r--r-- | libavcodec/aac/aacdec.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/libavcodec/aac/aacdec.h b/libavcodec/aac/aacdec.h index bbb7ea358f..bea0578e92 100644 --- a/libavcodec/aac/aacdec.h +++ b/libavcodec/aac/aacdec.h @@ -39,6 +39,7 @@ #include "libavutil/tx.h" #include "libavcodec/aac.h" +#include "libavcodec/avcodec.h" #include "libavcodec/mpeg4audio.h" typedef struct AACDecContext AACDecContext; @@ -343,10 +344,22 @@ struct AACDecContext { #define fdsp RENAME_FIXED(fdsp) #endif -int ff_aac_decode_init(struct AVCodecContext *avctx); -int ff_aac_decode_init_float(struct AVCodecContext *avctx); -int ff_aac_decode_init_fixed(struct AVCodecContext *avctx); +int ff_aac_decode_init(AVCodecContext *avctx); +int ff_aac_decode_init_float(AVCodecContext *avctx); +int ff_aac_decode_init_fixed(AVCodecContext *avctx); + int ff_aac_decode_ics(AACDecContext *ac, SingleChannelElement *sce, GetBitContext *gb, int common_window, int scale_flag); +int ff_aac_set_default_channel_config(AACDecContext *ac, AVCodecContext *avctx, + uint8_t (*layout_map)[3], + int *tags, + int channel_config); + +int ff_aac_output_configure(AACDecContext *ac, + uint8_t layout_map[MAX_ELEM_ID * 4][3], int tags, + enum OCStatus oc_type, int get_new_frame); + +ChannelElement *ff_aac_get_che(AACDecContext *ac, int type, int elem_id); + #endif /* AVCODEC_AAC_AACDEC_H */ |