diff options
author | Yaowu Xu <yaowu@google.com> | 2016-05-25 19:58:18 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-05-25 19:58:18 +0000 |
commit | e5b7f14ea762ffaf09b2db3ebfe83cc57b895847 (patch) | |
tree | 72863e1cdbde61c40087ee5476752df539527f7f /vp9 | |
parent | 75b6cfe1c50e749a0edb5460a491ca5ac947aff5 (diff) | |
parent | ba8651d474d09bead393cc81b139607210374bb8 (diff) | |
download | libvpx-e5b7f14ea762ffaf09b2db3ebfe83cc57b895847.tar libvpx-e5b7f14ea762ffaf09b2db3ebfe83cc57b895847.tar.gz libvpx-e5b7f14ea762ffaf09b2db3ebfe83cc57b895847.tar.bz2 libvpx-e5b7f14ea762ffaf09b2db3ebfe83cc57b895847.zip |
Merge "Fix comments in build_intra_predictors_high()"
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/common/vp9_reconintra.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vp9/common/vp9_reconintra.c b/vp9/common/vp9_reconintra.c index c4d91c825..445785835 100644 --- a/vp9/common/vp9_reconintra.c +++ b/vp9/common/vp9_reconintra.c @@ -142,6 +142,7 @@ static void build_intra_predictors_high(const MACROBLOCKD *xd, // 129 C D .. W X // 129 E F .. U V // 129 G H .. S T T T T T + // For 10 bit and 12 bit, 127 and 129 are replaced by base -1 and base + 1. // Get current frame pointer, width and height. if (plane == 0) { @@ -177,7 +178,6 @@ static void build_intra_predictors_high(const MACROBLOCKD *xd, left_col[i] = ref[i * ref_stride - 1]; } } else { - // TODO(Peter): this value should probably change for high bitdepth vpx_memset16(left_col, base + 1, bs); } } @@ -239,7 +239,6 @@ static void build_intra_predictors_high(const MACROBLOCKD *xd, vpx_memset16(above_row + r, above_row[r - 1], x0 + 2 * bs - frame_width); } - // TODO(Peter) this value should probably change for high bitdepth above_row[-1] = left_available ? above_ref[-1] : (base + 1); } else { /* faster path if the block does not need extension */ @@ -251,13 +250,11 @@ static void build_intra_predictors_high(const MACROBLOCKD *xd, memcpy(above_row + bs, above_ref + bs, bs * sizeof(above_row[0])); else vpx_memset16(above_row + bs, above_row[bs - 1], bs); - // TODO(Peter): this value should probably change for high bitdepth above_row[-1] = left_available ? above_ref[-1] : (base + 1); } } } else { vpx_memset16(above_row, base - 1, bs * 2); - // TODO(Peter): this value should probably change for high bitdepth above_row[-1] = base - 1; } } |