media/gpu VDA unittest: Enable testing resolution change videos
In VDA unittest, the video frame size is given as input, and the unittest checks that the visible size does not change. To enable resolution changing videos, set the frame size dynamically when a resolution change happens (i.e. ProvidePictureBuffers()). BUG=chromium:834170 TEST= on kevin $ ./video_decode_accelerator_unittest --test_video_data=switch_720p_1080p_240frames.h264:1920:1080:240:240:24:24:1 --ozone-platform=gbm $ ./video_decode_accelerator_unittest --test_video_data=resolution_change_500frames-vp8.ivf:640:360:500:500:30:30:11 --ozone-platform=gbm $ ./video_decode_accelerator_unittest --test_video_data=resolution_change_500frames-vp9.ivf:640:360:500:500:30:30:12 --ozone-platform=gbm Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I803afb16bc3a706ea9f806ac1f1372c24f80c341 Reviewed-on: https://chromium-review.googlesource.com/1027690 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Pawel Osciak <posciak@chromium.org> Cr-Commit-Position: refs/heads/master@{#557422}
Showing
File added
File added
File added
Please register or sign in to comment