mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
encoder: Export g_convert_to_bit correctly
It is a global table initialized in encoder.c and used all over the codebase.
This commit is contained in:
parent
db4402e8d6
commit
a6dfe79d16
|
@ -45,6 +45,7 @@
|
|||
double g_lambda_cost[55];
|
||||
double g_cur_lambda_cost;
|
||||
uint32_t* g_sig_last_scan[3][7];
|
||||
int8_t g_convert_to_bit[LCU_WIDTH + 1];
|
||||
|
||||
/* Local functions. */
|
||||
static void add_checksum(encoder_control* encoder);
|
||||
|
|
|
@ -130,7 +130,7 @@ void encode_block_residual(encoder_control *encoder,
|
|||
extern double g_lambda_cost[55];
|
||||
extern double g_cur_lambda_cost;
|
||||
extern uint32_t* g_sig_last_scan[3][7];
|
||||
int8_t g_convert_to_bit[LCU_WIDTH + 1];
|
||||
extern int8_t g_convert_to_bit[LCU_WIDTH + 1];
|
||||
static int8_t g_bitdepth = 8;
|
||||
static int8_t g_bit_increment = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue