mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 10:34:05 +00:00
fix compiler warnings
This commit is contained in:
parent
14b7a75713
commit
84615e406a
|
@ -372,7 +372,6 @@ static double get_ctu_bits(encoder_state_t * const state, vector2d_t pos) {
|
||||||
double temp_lambda = state->frame->lambda;
|
double temp_lambda = state->frame->lambda;
|
||||||
double taylor_e3 = 0.0;
|
double taylor_e3 = 0.0;
|
||||||
int iter = 0;
|
int iter = 0;
|
||||||
double est_lambda = temp_lambda;
|
|
||||||
|
|
||||||
for (int i = index; i < num_ctu; i++) {
|
for (int i = index; i < num_ctu; i++) {
|
||||||
total_weight += state->frame->lcu_stats[i].weight;
|
total_weight += state->frame->lcu_stats[i].weight;
|
||||||
|
|
|
@ -938,7 +938,7 @@ void kvz_search_lcu(encoder_state_t * const state, const int x, const int y, con
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start search from depth 0.
|
// Start search from depth 0.
|
||||||
double cost = search_cu(state, x, y, 0, work_tree);
|
search_cu(state, x, y, 0, work_tree);
|
||||||
|
|
||||||
// Save squared cost for rate control.
|
// Save squared cost for rate control.
|
||||||
// kvz_get_lcu_stats(state, x / LCU_WIDTH, y / LCU_WIDTH)->weight = cost * cost;
|
// kvz_get_lcu_stats(state, x / LCU_WIDTH, y / LCU_WIDTH)->weight = cost * cost;
|
||||||
|
|
Loading…
Reference in a new issue