shithub: libvpx

Download patch

ref: 7f6cddb58ff317875677d7259f846cede0ecd6ad
parent: 0d51a97ae9b35faaffc1c32f6fd6b16897172e69
author: Jingning Han <[email protected]>
date: Wed Jun 17 04:49:02 EDT 2015

Take out assertion for block_yrd in rtc coding flow

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

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -913,8 +913,6 @@
   // 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);