Use VideoFrame::NumTextures ISO NumPlanes where needed
This CL sorts out a few points to clear the way for crrev.com/c/784330 to be landed again; these changes are, in a nutshell using NumTextures() ISO NumPlanes() where appropriate, and rewriting the service function NumGpuMemoryBuffers() for clarity and to allow for removing FinalVideoFormat(). TEST=all unittests working as before, Video playback in all platforms and with/without video deco acceleration running as on ToT. Bug: 791676 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;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: Ic8f0a646a7a0d9271d7233681cb0383e3f6f64ba Reviewed-on: https://chromium-review.googlesource.com/807366 Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Reviewed-by:
Fredrik Hubinette <hubbe@chromium.org> Cr-Commit-Position: refs/heads/master@{#521999}
Showing
Please register or sign in to comment