vaapi deco cleanup: extract VaapiDecodeSurface into its own file
This CL extracts VaapiDecodeSurface out of VaapiVideoDecodeAccelerator into a file on its own, because vaapi_video_decode_accelerator.cc is quite large at 1902 lines. It also introduces =default and adds DISALLOW_COPY_AND_ASSIGN to the extracted class. Otherwise no new code, just moving things around. There's also a side bonus: VaapiVideoDecodeAccelerator::VaapiDecodeSurface uses are shortened in vaapi_video_decode_accelerator. Test: Compile and run in simplechrome on soraka. Ran vp8, vp9 videos of crosvideo.appspot.com, verified GpuVideoDecoder engaged. Bug: 717265 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: Ibd7c88357b2f993a5d72e45f65dfff5d67c4194a Reviewed-on: https://chromium-review.googlesource.com/922981 Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by:Emircan Uysaler <emircan@chromium.org> Cr-Commit-Position: refs/heads/master@{#537201}
Showing
Please register or sign in to comment