Commit 0da36bb2 authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Commit Bot

vaapi_video_decode_accelerator: stop using deprecated fields

These 3 fields are needed for FMO, which libva did not and will never
implement. As a result libva 2.0.0 has deprecated these fields. Stop
using them to avoid compiler warnings are we upgrade to it.

BUG=chromium:785754
TEST=made sure h264 HW decoding was still working after this CL.

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I69310b37a50e7ceb74b347f0b727e01102d46df0
Reviewed-on: https://chromium-review.googlesource.com/774340Reviewed-by: default avatarPawel Osciak <posciak@chromium.org>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517303}
parent a55394e7
......@@ -1206,9 +1206,6 @@ bool VaapiVideoDecodeAccelerator::VaapiH264Accelerator::SubmitFrameMetadata(
#undef FROM_SPS_TO_PP_SF2
#define FROM_PPS_TO_PP(a) pic_param.a = pps->a
FROM_PPS_TO_PP(num_slice_groups_minus1);
pic_param.slice_group_map_type = 0;
pic_param.slice_group_change_rate_minus1 = 0;
FROM_PPS_TO_PP(pic_init_qp_minus26);
FROM_PPS_TO_PP(pic_init_qs_minus26);
FROM_PPS_TO_PP(chroma_qp_index_offset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment