summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2019-03-19 16:06:23 -0700
committerJerome Jiang <jianj@google.com>2019-03-19 16:06:23 -0700
commit633cd97ee9af34ca1a0d4f3ce0d751c07334eace (patch)
treec2173323aeb3692e361030df2ed38b97c8006c8f
parent60f76593e344dcef468752b49cf79be19b5adb0d (diff)
downloadlibvpx-633cd97ee9af34ca1a0d4f3ce0d751c07334eace.tar
libvpx-633cd97ee9af34ca1a0d4f3ce0d751c07334eace.tar.gz
libvpx-633cd97ee9af34ca1a0d4f3ce0d751c07334eace.tar.bz2
libvpx-633cd97ee9af34ca1a0d4f3ce0d751c07334eace.zip
vp9: remove condition on high bitdepth using simple block yrd.
Speed is similar between non HBD vs 8bit with HBD build. BUG=webm:1541 Change-Id: I8b5f7eff87ec7dc4710d31744155a60e50b0f0a9
-rw-r--r--vp9/encoder/vp9_pickmode.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c
index b69b269fd..59fecba7c 100644
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -680,25 +680,6 @@ static void block_yrd(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *this_rdc,
const int bw = 4 * num_4x4_w;
const int bh = 4 * num_4x4_h;
-#if CONFIG_VP9_HIGHBITDEPTH
- // TODO(jingning): Implement the high bit-depth Hadamard transforms and
- // remove this check condition.
- // TODO(marpan): Use this path (model_rd) for 8bit under certain conditions
- // for now, as the vp9_quantize_fp below for highbitdepth build is slow.
- if (xd->bd != 8 ||
- (cpi->oxcf.speed > 5 && cpi->common.frame_type != KEY_FRAME &&
- bsize < BLOCK_32X32)) {
- unsigned int var_y, sse_y;
- (void)tx_size;
- if (!rd_computed)
- model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist,
- &var_y, &sse_y);
- *sse = INT_MAX;
- *skippable = 0;
- return;
- }
-#endif
-
if (cpi->sf.use_simple_block_yrd && cpi->common.frame_type != KEY_FRAME &&
(bsize < BLOCK_32X32 ||
(cpi->use_svc &&