ref: c17d6997cd6babd8dbd805deb1f1d104c9324a36
parent: 26b9d085911ff5e83406d1f464dfc562708eaad5
parent: 632ee6aa76df257a90430387eca6a6e79780491f
author: Yaowu Xu <yaowu@google.com>
date: Wed Dec 19 15:57:24 EST 2018
Merge "Correct condition for skip"
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2892,7 +2892,7 @@
memcpy(x->skip_txfm, skip_txfm, sizeof(skip_txfm));
memcpy(x->bsse, bsse, sizeof(bsse));
- if (!skip_txfm_sb) {
+ if (!skip_txfm_sb || xd->lossless) {
int skippable_y, skippable_uv;
int64_t sseuv = INT64_MAX;
int64_t rdcosty = INT64_MAX;