diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-18 02:08:00 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-18 02:08:00 +0000 |
commit | e6fc6686b645f9fccaefb3cee563571344ec7b2e (patch) | |
tree | 73c3905e1fb2cc11b30be7d583bb500e2cef452d /encoder/ixheaace_bits_count.c | |
parent | 68809fee6a051e4729360a217320da6fec700578 (diff) | |
parent | 49819412af46be1657ff041ca632d281acf9efac (diff) | |
download | libxaac-e6fc6686b645f9fccaefb3cee563571344ec7b2e.tar.gz |
Snap for 11117647 from 49819412af46be1657ff041ca632d281acf9efac to 24Q1-releaseandroid-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: Ie58f8858306c59dae920e0c0b10f11021553a504
Diffstat (limited to 'encoder/ixheaace_bits_count.c')
-rw-r--r-- | encoder/ixheaace_bits_count.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/encoder/ixheaace_bits_count.c b/encoder/ixheaace_bits_count.c index da938ef..6e5fa69 100644 --- a/encoder/ixheaace_bits_count.c +++ b/encoder/ixheaace_bits_count.c @@ -936,19 +936,13 @@ VOID ia_enhaacplus_enc_code_values(WORD16 *ptr_values, WORD32 width, WORD32 code } } -WORD32 ia_enhaacplus_enc_code_scale_factor_delta(WORD32 delta, - ixheaace_bit_buf_handle h_bitstream, - ixheaace_huffman_tables *pstr_huffman_tbl) { +VOID ia_enhaacplus_enc_code_scale_factor_delta(WORD32 delta, + ixheaace_bit_buf_handle h_bitstream, + ixheaace_huffman_tables *pstr_huffman_tbl) { WORD32 code_word, code_length; - if (abs32(delta) > CODE_BCK_SCF_LAV) { - return (1); - } - code_word = pstr_huffman_tbl->huff_ctabscf[delta + CODE_BCK_SCF_LAV]; code_length = pstr_huffman_tbl->huff_ltabscf[delta + CODE_BCK_SCF_LAV]; ixheaace_write_bits(h_bitstream, code_word, (UWORD8)code_length); - - return (0); } |