diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-05-14 16:38:53 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-05-14 16:38:53 -0400 |
commit | dc96c0f9fc96bf4167633befc074394062793322 (patch) | |
tree | 00a7c2154014b139087990c0ec0a4c50151b897b /libavcodec/vp9_mc_template.c | |
parent | e12188e1438b09fb1304cadd404dd3aabbb660ac (diff) | |
download | ffmpeg-dc96c0f9fc96bf4167633befc074394062793322.tar.gz |
vp9: read all 4x4 blocks in sub8x8 blocks individually with scalability.
Diffstat (limited to 'libavcodec/vp9_mc_template.c')
-rw-r--r-- | libavcodec/vp9_mc_template.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/vp9_mc_template.c b/libavcodec/vp9_mc_template.c index 250e0a691c..5e6ee870b8 100644 --- a/libavcodec/vp9_mc_template.c +++ b/libavcodec/vp9_mc_template.c @@ -53,6 +53,7 @@ static void FN(inter_pred)(AVCodecContext *ctx) if (b->bs > BS_8x8) { VP56mv uvmv; +#if SCALED == 0 if (b->bs == BS_8x4) { mc_luma_dir(s, mc[3][b->filter][0], s->dst[0], ls_y, ref1->data[0], ref1->linesize[0], tref1, @@ -201,7 +202,9 @@ static void FN(inter_pred)(AVCodecContext *ctx) &b->mv[1][1], 4, 8 >> s->ss_v, w2, h2, 1); } } - } else { + } else +#endif + { av_assert2(b->bs == BS_4x4); // FIXME if two horizontally adjacent blocks have the same MV, |