diff options
author | Clément Bœsch <clement@stupeflix.com> | 2016-06-29 16:03:12 +0300 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2016-06-29 16:03:12 +0300 |
commit | d7a2451688442d2736f4811267277c7051f414a6 (patch) | |
tree | f5dcfebd6432f892a763de6c4bcdfc7f1ad1cb5f /libavcodec/h264_refs.c | |
parent | 7f607120d99762b07b94e97ce3e32a60b8d114a2 (diff) | |
parent | b16e9b9ac9db449cae2242767dd3c3fc309357c4 (diff) |
Merge commit 'b16e9b9ac9db449cae2242767dd3c3fc309357c4'
* commit 'b16e9b9ac9db449cae2242767dd3c3fc309357c4':
h264: move initialising the explicit pred weight table for MBAFF
Merged-by: Clément Bœsch <clement@stupeflix.com>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 2f80de12a5..b6bb8f2a87 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -422,13 +422,6 @@ void ff_h264_fill_mbaff_ref_list(H264SliceContext *sl) field[1].data[j] += frame->parent->f->linesize[j]; field[1].reference = PICT_BOTTOM_FIELD; field[1].poc = field[1].parent->field_poc[1]; - - sl->pwt.luma_weight[16 + 2 * i][list][0] = sl->pwt.luma_weight[16 + 2 * i + 1][list][0] = sl->pwt.luma_weight[i][list][0]; - sl->pwt.luma_weight[16 + 2 * i][list][1] = sl->pwt.luma_weight[16 + 2 * i + 1][list][1] = sl->pwt.luma_weight[i][list][1]; - for (j = 0; j < 2; j++) { - sl->pwt.chroma_weight[16 + 2 * i][list][j][0] = sl->pwt.chroma_weight[16 + 2 * i + 1][list][j][0] = sl->pwt.chroma_weight[i][list][j][0]; - sl->pwt.chroma_weight[16 + 2 * i][list][j][1] = sl->pwt.chroma_weight[16 + 2 * i + 1][list][j][1] = sl->pwt.chroma_weight[i][list][j][1]; - } } } } |