Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2018-11-13 05:24:28 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-11-13 05:24:42 +0300
commit7ef74ca1005785f0791874d52217aecc76f190cd (patch)
tree9104ee40d64e5ad08ecf99cfb99becc4b53341ab
parent4a646a0ca25a22a809bfcb743332f6b6646d86a3 (diff)
Align block size to bw/bh for z2 filter extension
-rw-r--r--src/recon_tmpl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/recon_tmpl.c b/src/recon_tmpl.c
index ad4235f..d87c8c5 100644
--- a/src/recon_tmpl.c
+++ b/src/recon_tmpl.c
@@ -767,8 +767,8 @@ void bytefn(dav1d_recon_b_intra)(Dav1dTileContext *const t, const enum BlockSize
dsp->ipred.intra_pred[m](dst, f->cur.p.stride[0], edge,
t_dim->w * 4, t_dim->h * 4,
angle | sm_fl,
- f->cur.p.p.w - 4 * t->bx,
- f->cur.p.p.h - 4 * t->by);
+ 4 * f->bw - 4 * t->bx,
+ 4 * f->bh - 4 * t->by);
if (DEBUG_BLOCK_INFO && DEBUG_B_PIXELS) {
hex_dump(edge - t_dim->h * 4, t_dim->h * 4,
@@ -984,9 +984,9 @@ void bytefn(dav1d_recon_b_intra)(Dav1dTileContext *const t, const enum BlockSize
uv_t_dim->w * 4,
uv_t_dim->h * 4,
angle | sm_uv_fl,
- (f->cur.p.p.w + ss_hor -
+ (4 * f->bw + ss_hor -
4 * (t->bx & ~ss_hor)) >> ss_hor,
- (f->cur.p.p.h + ss_ver -
+ (4 * f->bh + ss_ver -
4 * (t->by & ~ss_ver)) >> ss_ver);
if (DEBUG_BLOCK_INFO && DEBUG_B_PIXELS) {
hex_dump(edge - uv_t_dim->h * 4, uv_t_dim->h * 4,