FFmpeg
Loading...
Searching...
No Matches
aacenctab.c
Go to the documentation of this file.
1/*
2 * AAC encoder data
3 * Copyright (c) 2015 Rostislav Pehlivanov ( atomnuker gmail com )
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22#include "aacenctab.h"
23
24static const uint8_t swb_size_128_96[] = {
25 4, 4, 4, 4, 4, 4, 8, 8, 8, 16, 28, 36
26};
27
28#define swb_size_128_64 swb_size_128_96
29
30static const uint8_t swb_size_128_48[] = {
31 4, 4, 4, 4, 4, 8, 8, 8, 12, 12, 12, 16, 16, 16
32};
33
34static const uint8_t swb_size_128_24[] = {
35 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 12, 12, 16, 16, 20
36};
37
38static const uint8_t swb_size_128_16[] = {
39 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 12, 12, 16, 20, 20
40};
41
42static const uint8_t swb_size_128_8[] = {
43 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 12, 16, 20, 20
44};
45
46static const uint8_t swb_size_1024_96[] = {
47 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8,
48 12, 12, 12, 12, 12, 16, 16, 24, 28, 36, 44,
49 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64
50};
51
52static const uint8_t swb_size_1024_64[] = {
53 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8,
54 12, 12, 12, 16, 16, 16, 20, 24, 24, 28, 36,
55 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40
56};
57
58static const uint8_t swb_size_1024_48[] = {
59 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8,
60 12, 12, 12, 12, 16, 16, 20, 20, 24, 24, 28, 28,
61 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
62 96
63};
64
65static const uint8_t swb_size_1024_32[] = {
66 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8,
67 12, 12, 12, 12, 16, 16, 20, 20, 24, 24, 28, 28,
68 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32
69};
70
71static const uint8_t swb_size_1024_24[] = {
72 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
73 12, 12, 12, 12, 16, 16, 16, 20, 20, 24, 24, 28, 28,
74 32, 36, 36, 40, 44, 48, 52, 52, 64, 64, 64, 64, 64
75};
76
77static const uint8_t swb_size_1024_16[] = {
78 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
79 12, 12, 12, 12, 12, 12, 12, 12, 12, 16, 16, 16, 16, 20, 20, 20, 24, 24, 28, 28,
80 32, 36, 40, 40, 44, 48, 52, 56, 60, 64, 64, 64
81};
82
83static const uint8_t swb_size_1024_8[] = {
84 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
85 16, 16, 16, 16, 16, 16, 16, 20, 20, 20, 20, 24, 24, 24, 28, 28,
86 32, 36, 36, 40, 44, 48, 52, 56, 60, 64, 80
87};
88
96
static const uint8_t swb_size_128_8[]
Definition aacenctab.c:42
static const uint8_t swb_size_1024_24[]
Definition aacenctab.c:71
static const uint8_t swb_size_128_96[]
Definition aacenctab.c:24
static const uint8_t swb_size_1024_8[]
Definition aacenctab.c:83
static const uint8_t swb_size_1024_32[]
Definition aacenctab.c:65
static const uint8_t swb_size_128_48[]
Definition aacenctab.c:30
static const uint8_t swb_size_1024_96[]
Definition aacenctab.c:46
const uint8_t *const ff_aac_swb_size_1024[]
Definition aacenctab.c:97
#define swb_size_128_64
Definition aacenctab.c:28
static const uint8_t swb_size_1024_48[]
Definition aacenctab.c:58
const uint8_t *const ff_aac_swb_size_128[]
Definition aacenctab.c:89
static const uint8_t swb_size_1024_64[]
Definition aacenctab.c:52
static const uint8_t swb_size_128_24[]
Definition aacenctab.c:34
static const uint8_t swb_size_1024_16[]
Definition aacenctab.c:77
static const uint8_t swb_size_128_16[]
Definition aacenctab.c:38
AAC encoder data.