FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Variables
twinvq_data.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  twinvq_data
 TwinVQ codebooks. More...
 

Variables

static const uint16_t bark_tab_l08_512 []
 
static const uint16_t bark_tab_l11_512 []
 
static const uint16_t bark_tab_l16_1024 []
 
static const uint16_t bark_tab_l22_1024 []
 
static const uint16_t bark_tab_l22_512 []
 
static const uint16_t bark_tab_l44_2048 []
 
static const uint16_t bark_tab_m08_256 []
 
static const uint16_t bark_tab_m11_256 []
 
static const uint16_t bark_tab_m16_512 []
 
static const uint16_t bark_tab_m22_256 []
 
static const uint16_t bark_tab_m22_512 []
 
static const uint16_t bark_tab_m44_512 []
 
static const uint16_t bark_tab_s08_64 []
 
static const uint16_t bark_tab_s11_64 []
 
static const uint16_t bark_tab_s16_128 []
 
static const uint16_t bark_tab_s22_128 []
 
static const uint16_t bark_tab_s44_128 []
 
static const struct twinvq_data tab
 
static const uint8_t tab7 [][35]
 
static const uint8_t tab8 [][5]
 
static const uint8_t tab9 [][45]
 
static const uint8_t tab10 [][25]
 
static const uint8_t tab11 [][55]
 
static const uint8_t tab12 [][15]
 
struct {
   int   size
 
   const uint8_t *   tab
 
tabs []
 

Variable Documentation

const uint16_t bark_tab_l08_512[]
static
Initial value:
= {
7, 8, 7, 8, 8, 8, 8, 8, 8, 9,
9, 10, 10, 11, 11, 12, 12, 14, 15, 16,
18, 19, 21, 24, 27, 30, 35, 40, 46, 53
}

Definition at line 41 of file twinvq_data.h.

const uint16_t bark_tab_l11_512[]
static
Initial value:
= {
6, 6, 6, 6, 6, 6, 7, 6, 7, 7,
8, 8, 8, 9, 10, 10, 11, 13, 13, 15,
17, 18, 21, 25, 27, 33, 38, 45, 54, 66
}

Definition at line 47 of file twinvq_data.h.

const uint16_t bark_tab_l16_1024[]
static
Initial value:
= {
9, 9, 8, 9, 10, 9, 10, 10, 10, 12,
11, 13, 13, 14, 16, 17, 19, 20, 24, 26,
30, 35, 40, 48, 56, 68, 83, 102, 128, 165
}

Definition at line 53 of file twinvq_data.h.

const uint16_t bark_tab_l22_1024[]
static
Initial value:
= {
6, 7, 6, 6, 7, 7, 7, 7, 7, 8,
9, 8, 10, 10, 11, 12, 13, 15, 16, 18,
21, 24, 27, 33, 38, 46, 55, 68, 84, 107,
140, 191
}

Definition at line 59 of file twinvq_data.h.

const uint16_t bark_tab_l22_512[]
static
Initial value:
= {
3, 3, 3, 4, 3, 3, 4, 3, 4, 4,
4, 5, 4, 5, 6, 6, 7, 7, 8, 9,
10, 12, 14, 16, 20, 22, 28, 34, 42, 53,
71, 95
}

Definition at line 66 of file twinvq_data.h.

const uint16_t bark_tab_l44_2048[]
static
Initial value:
= {
5, 6, 5, 6, 5, 6, 6, 6, 6, 6,
7, 7, 7, 8, 8, 9, 9, 10, 11, 11,
13, 14, 16, 17, 19, 22, 25, 29, 33, 39,
46, 54, 64, 79, 98, 123, 161, 220, 320, 512
}

Definition at line 73 of file twinvq_data.h.

const uint16_t bark_tab_m08_256[]
static
Initial value:
= {
6, 5, 6, 6, 6, 6, 7, 7, 8, 8,
9, 10, 11, 13, 15, 18, 20, 25, 31, 39
}

Definition at line 80 of file twinvq_data.h.

const uint16_t bark_tab_m11_256[]
static
Initial value:
= {
4, 5, 4, 5, 5, 5, 6, 5, 7, 7,
8, 9, 10, 12, 15, 17, 22, 28, 35, 47
}

Definition at line 85 of file twinvq_data.h.

const uint16_t bark_tab_m16_512[]
static
Initial value:
= {
7, 6, 7, 7, 7, 8, 9, 9, 10, 11,
14, 15, 18, 22, 27, 34, 44, 59, 81, 117
}

Definition at line 90 of file twinvq_data.h.

const uint16_t bark_tab_m22_256[]
static
Initial value:
= {
3, 2, 3, 2, 3, 3, 4, 3, 4, 5,
5, 7, 8, 9, 13, 16, 22, 30, 44, 70
}

Definition at line 95 of file twinvq_data.h.

const uint16_t bark_tab_m22_512[]
static
Initial value:
= {
5, 5, 5, 6, 5, 7, 6, 7, 9, 9,
11, 13, 15, 20, 24, 33, 43, 61, 88, 140
}

Definition at line 100 of file twinvq_data.h.

const uint16_t bark_tab_m44_512[]
static
Initial value:
= {
3, 2, 3, 3, 3, 4, 3, 5, 4, 6,
7, 8, 10, 14, 18, 25, 36, 55, 95, 208
}

Definition at line 105 of file twinvq_data.h.

const uint16_t bark_tab_s08_64[]
static
Initial value:
= {
3, 3, 3, 3, 4, 5, 6, 8, 12, 17
}

Definition at line 110 of file twinvq_data.h.

const uint16_t bark_tab_s11_64[]
static
Initial value:
= {
2, 3, 2, 3, 3, 4, 6, 8, 12, 21
}

Definition at line 114 of file twinvq_data.h.

const uint16_t bark_tab_s16_128[]
static
Initial value:
= {
3, 4, 4, 4, 5, 7, 10, 16, 26, 49
}

Definition at line 118 of file twinvq_data.h.

const uint16_t bark_tab_s22_128[]
static
Initial value:
= {
3, 2, 3, 4, 4, 6, 9, 14, 26, 57
}

Definition at line 122 of file twinvq_data.h.

const uint16_t bark_tab_s44_128[]
static
Initial value:
= {
1, 2, 1, 2, 3, 4, 6, 10, 23, 76
}

Definition at line 126 of file twinvq_data.h.

const uint8_t* tab
static
const uint8_t tab7[][35]
static

Definition at line 10993 of file twinvq_data.h.

const uint8_t tab8[][5]
static
Initial value:
= {
{ 0, 0, 0, 1, 1 },
{ 0, 1, 0, 0, 1 },
{ 1, 1, 0, 0, 0 },
{ 1, 0, 0, 1, 0 },
{ 0, 0, 0, 1, 1 },
{ 0, 1, 0, 0, 1 },
{ 1, 1, 0, 0, 0 },
{ 1, 0, 0, 1, 0 },
{ 0, 0, 0, 1, 1 },
{ 0, 1, 0, 0, 1 },
{ 1, 1, 0, 0, 0 },
{ 0, 0, 0, 0, 0 },
{ 0, 1, 0, 1, 0 }
}

Definition at line 11029 of file twinvq_data.h.

const uint8_t tab9[][45]
static
Initial value:
= {
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0 },
{ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1 },
}

Definition at line 11119 of file twinvq_data.h.

Definition at line 11134 of file twinvq_data.h.

const { ... } tabs[]
Initial value:
= {
{ 0, NULL },
{ 5, &tab8[0][0] }, { 5, &tab8[0][0] }, { 15, &tab12[0][0] },
{ 5, &tab8[0][0] }, { 25, &tab10[0][0] }, { 15, &tab12[0][0] },
{ 35, &tab7[0][0] }, { 5, &tab8[0][0] }, { 45, &tab9[0][0] },
{ 25, &tab10[0][0] }, { 55, &tab11[0][0] }, { 15, &tab12[0][0] }
}
#define NULL
Definition: coverity.c:32
static const uint8_t tab11[][55]
static const uint8_t tab9[][45]
static const uint8_t tab7[][35]
static const uint8_t tab8[][5]
static const uint8_t tab10[][25]
static const uint8_t tab12[][15]