]> granicus.if.org Git - libvpx/commitdiff
Take out assertion for block_yrd in rtc coding flow
authorJingning Han <jingning@google.com>
Wed, 17 Jun 2015 15:49:02 +0000 (08:49 -0700)
committerJingning Han <jingning@google.com>
Wed, 17 Jun 2015 15:51:16 +0000 (08:51 -0700)
The internal behavior of block_yrd differs in high bit depth
settings from 8-bit one. This causes the assertion condition not
true for high bit depth.

Change-Id: I15dc02e7162d27cabe78c451941d769d488b1174

vp9/encoder/vp9_pickmode.c

index 944a34e3c814aed811c52ebc33daf64668b0a1e6..3eaa99054ce22cdbbe7281293f53dacfcd1ccc46 100644 (file)
@@ -913,8 +913,6 @@ static void estimate_block_intra(int plane, int block, BLOCK_SIZE plane_bsize,
   // TODO(jingning): This needs further refactoring.
   block_yrd(cpi, x, &rate, &dist, &is_skippable, &this_sse, 0,
             bsize_tx, MIN(tx_size, TX_16X16));
-  // this_sse is a dummy variable here. Its value should remain INT64_MAX.
-  assert(this_sse == INT64_MAX);
   x->skip_txfm[0] = is_skippable;
   rate += vp9_cost_bit(vp9_get_skip_prob(&cpi->common, xd), is_skippable);