Remove unnecessary initialization
loop_filter_level is always reset in loop_filter_frame() later in encoder. Change-Id: I608e03d905a6b23e7d5025ca747e4784c665007e
This commit is contained in:
parent
581aee001e
commit
c905c42ad8
@ -3700,10 +3700,8 @@ static void encode_frame_internal(VP9_COMP *cpi) {
|
|||||||
#endif // CONFIG_VP9_HIGHBITDEPTH
|
#endif // CONFIG_VP9_HIGHBITDEPTH
|
||||||
x->itxm_add = xd->lossless ? vp9_iwht4x4_add : vp9_idct4x4_add;
|
x->itxm_add = xd->lossless ? vp9_iwht4x4_add : vp9_idct4x4_add;
|
||||||
|
|
||||||
if (xd->lossless) {
|
if (xd->lossless)
|
||||||
x->optimize = 0;
|
x->optimize = 0;
|
||||||
cm->lf.filter_level = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
cm->tx_mode = select_tx_mode(cpi, xd);
|
cm->tx_mode = select_tx_mode(cpi, xd);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user