Merge "Use correct bit cost while static-thresh is on"
This commit is contained in:
commit
9fd2767200
@ -2916,8 +2916,8 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
|
|||||||
(sse_v - var_v < thresh_dc || sse_v == var_v)) {
|
(sse_v - var_v < thresh_dc || sse_v == var_v)) {
|
||||||
x->skip = 1;
|
x->skip = 1;
|
||||||
|
|
||||||
*rate2 = 500;
|
// The cost of skip bit needs to be added.
|
||||||
*rate_uv = 0;
|
*rate2 += vp9_cost_bit(vp9_get_pred_prob_mbskip(cm, xd), 1);
|
||||||
|
|
||||||
// Scaling factor for SSE from spatial domain to frequency domain
|
// Scaling factor for SSE from spatial domain to frequency domain
|
||||||
// is 16. Adjust distortion accordingly.
|
// is 16. Adjust distortion accordingly.
|
||||||
|
Loading…
Reference in New Issue
Block a user