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:
Luca Barbato 2014-02-22 18:02:09 +01:00
parent db4402e8d6
commit a6dfe79d16
2 changed files with 2 additions and 1 deletions

View file

@ -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);

View file

@ -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;