This repository has been archived by the owner on Jul 18, 2018. It is now read-only.
forked from ChromiumWebApps/chromium
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vaapi: extend VP9Parser for 10-bit per channel VP9
This CL extends |kDcQLookup| and |kAcQLookup| for 10-bit VP9 formats (they are also reformatted to suit the definition on the Spec [1] -- hence the "clang format off". The tables are moved to the anonymous namespace at the top of the file. This CL also adds a new ivf file and extends vp9_parser_unittest.cc (Vp9ParserTest) accordingly. libva (via vaapi_* files) is the only client that supports VP9.2 and only supports 10 bits per component formats, so there's no point in supporting 12 bits per component now (see https://github.com/01org/libva/issues/137). Method Vp9Parser::SetupSegmentationDequant() is changed to return a boolean which is false if e.g. the VP9 has an unsupported bit depth. ToT has only a DLOG_IF(ERROR...). [1] https://www.webmproject.org/vp9/#draft-vp9-bitstream-and-decoding-process-specification Bug: 778093 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: I4179c2849160f8486252e48b8e648ab78eff92e0 Reviewed-on: https://chromium-review.googlesource.com/740762 Reviewed-by: Fredrik Hubinette <[email protected]> Reviewed-by: Kuang-che Wu <[email protected]> Commit-Queue: Miguel Casas <[email protected]> Cr-Commit-Position: refs/heads/master@{#515405}
- Loading branch information
Showing
5 changed files
with
209 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.