mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Rename struct bit_table to bit_table_t.
This commit is contained in:
parent
8cd8240f7a
commit
5d8498dc88
|
@ -59,7 +59,7 @@ void printf_bitstream(char *msg, ...)
|
|||
}
|
||||
#endif
|
||||
|
||||
const bit_table *g_exp_table;
|
||||
const bit_table_t *g_exp_table;
|
||||
|
||||
//From wikipedia
|
||||
//http://en.wikipedia.org/wiki/Binary_logarithm#Algorithm
|
||||
|
@ -85,8 +85,8 @@ int init_exp_golomb(const uint32_t len)
|
|||
uint32_t code_num;
|
||||
uint8_t M;
|
||||
uint32_t info;
|
||||
bit_table *exp_table;
|
||||
exp_table = (bit_table*)malloc(len*sizeof(bit_table));
|
||||
bit_table_t *exp_table;
|
||||
exp_table = (bit_table_t*)malloc(len*sizeof(bit_table_t));
|
||||
if(!exp_table)
|
||||
return 0;
|
||||
|
||||
|
|
|
@ -64,9 +64,9 @@ typedef struct
|
|||
{
|
||||
uint8_t len;
|
||||
uint32_t value;
|
||||
} bit_table;
|
||||
} bit_table_t;
|
||||
|
||||
extern const bit_table *g_exp_table;
|
||||
extern const bit_table_t *g_exp_table;
|
||||
|
||||
int bitstream_init(bitstream_t * stream, bitstream_type type);
|
||||
int bitstream_finalize(bitstream_t * stream);
|
||||
|
|
Loading…
Reference in a new issue