mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Remove struct rd_stats.
This commit is contained in:
parent
fe55961f84
commit
7bafd34cfa
|
@ -616,7 +616,13 @@ void rdoq(encoder_state_t * const encoder_state, coefficient *coef, coefficient
|
|||
int8_t found_last = 0;
|
||||
int32_t cg_scanpos, scanpos_in_cg;
|
||||
|
||||
coeffgroup_rd_stats rd_stats;
|
||||
struct {
|
||||
double coded_level_and_dist;
|
||||
double uncoded_dist;
|
||||
double sig_cost;
|
||||
double sig_cost_0;
|
||||
int32_t nnz_before_pos0;
|
||||
} rd_stats;
|
||||
|
||||
int32_t last_x_bits[32],last_y_bits[32];
|
||||
calc_last_bits(encoder_state, width, height, type,last_x_bits, last_y_bits);
|
||||
|
|
|
@ -31,15 +31,6 @@
|
|||
#include "encoderstate.h"
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double coded_level_and_dist;
|
||||
double uncoded_dist;
|
||||
double sig_cost;
|
||||
double sig_cost_0;
|
||||
int32_t nnz_before_pos0;
|
||||
} coeffgroup_rd_stats;
|
||||
|
||||
extern const uint32_t g_go_rice_range[5];
|
||||
extern const uint32_t g_go_rice_prefix_len[5];
|
||||
|
||||
|
|
Loading…
Reference in a new issue