mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 13:59:51 +02:00
encoder: misc rate-related fixes
* fix VP8FixedCostsI4ÆÅ table (the constant cost '211' was erronenously included) * use the rd-score for '211' correctly (calling SetRDScore() for good) * count partition0 bits separately during rd-opt No meaningful difference in rd-curve. Change-Id: I6c49a150cf28928d9a92c32fff097600d7145ca4
This commit is contained in:
@ -257,7 +257,8 @@ typedef struct {
|
||||
// Handy transcient struct to accumulate score and info during RD-optimization
|
||||
// and mode evaluation.
|
||||
typedef struct {
|
||||
score_t D, SD, R, score; // Distortion, spectral distortion, rate, score.
|
||||
score_t D, SD; // Distortion, spectral distortion
|
||||
score_t H, R, score; // header bits, rate, score.
|
||||
int16_t y_dc_levels[16]; // Quantized levels for luma-DC, luma-AC, chroma.
|
||||
int16_t y_ac_levels[16][16];
|
||||
int16_t uv_levels[4 + 4][16];
|
||||
|
Reference in New Issue
Block a user