Remove struct rd_stats.

This commit is contained in:
Ari Koivula 2015-03-04 13:58:24 +02:00
parent fe55961f84
commit 7bafd34cfa
2 changed files with 7 additions and 10 deletions

View file

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

View file

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