libxaac/encoder/ixheaace_huffman_rom.c
bmdivya100655 088122e748
Combined Workspace for Encoder and Decoder (#33)
* Combined Workspace for Encoder and Decoder

* Addressed review comments and some minor edits

---------

Co-authored-by: Divya B M <100655@ittiam.com>
2023-05-22 20:11:52 +05:30

45 lines
2.7 KiB
C

/******************************************************************************
* *
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*****************************************************************************
* Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
*/
#include "iusace_type_def.h"
const WORD32 iusace_huffman_code_table[121][2] = {
{18, 262120}, {18, 262118}, {18, 262119}, {18, 262117}, {19, 524277}, {19, 524273},
{19, 524269}, {19, 524278}, {19, 524270}, {19, 524271}, {19, 524272}, {19, 524284},
{19, 524285}, {19, 524287}, {19, 524286}, {19, 524279}, {19, 524280}, {19, 524283},
{19, 524281}, {18, 262116}, {19, 524282}, {18, 262115}, {17, 131055}, {17, 131056},
{16, 65525}, {17, 131054}, {16, 65522}, {16, 65523}, {16, 65524}, {16, 65521},
{15, 32758}, {15, 32759}, {14, 16377}, {14, 16373}, {14, 16375}, {14, 16371},
{14, 16374}, {14, 16370}, {13, 8183}, {13, 8181}, {12, 4089}, {12, 4087},
{12, 4086}, {11, 2041}, {12, 4084}, {11, 2040}, {10, 1017}, {10, 1015},
{10, 1013}, {9, 504}, {9, 503}, {8, 250}, {8, 248}, {8, 246},
{7, 121}, {6, 58}, {6, 56}, {5, 26}, {4, 11}, {3, 4},
{1, 0}, {4, 10}, {4, 12}, {5, 27}, {6, 57}, {6, 59},
{7, 120}, {7, 122}, {8, 247}, {8, 249}, {9, 502}, {9, 505},
{10, 1012}, {10, 1014}, {10, 1016}, {11, 2037}, {11, 2036}, {11, 2038},
{11, 2039}, {12, 4085}, {12, 4088}, {13, 8180}, {13, 8182}, {13, 8184},
{14, 16376}, {14, 16372}, {16, 65520}, {15, 32756}, {16, 65526}, {15, 32757},
{18, 262114}, {19, 524249}, {19, 524250}, {19, 524251}, {19, 524252}, {19, 524253},
{19, 524254}, {19, 524248}, {19, 524242}, {19, 524243}, {19, 524244}, {19, 524245},
{19, 524246}, {19, 524274}, {19, 524255}, {19, 524263}, {19, 524264}, {19, 524265},
{19, 524266}, {19, 524267}, {19, 524262}, {19, 524256}, {19, 524257}, {19, 524258},
{19, 524259}, {19, 524260}, {19, 524261}, {19, 524247}, {19, 524268}, {19, 524276},
{19, 524275},
};