diff options
author | hubbe <hubbe@chromium.org> | 2016-02-04 16:50:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-05 00:52:41 +0000 |
commit | 074c4287f2625860b2a9eb437b97f1f1788f8f4b (patch) | |
tree | 7b08834a7069d24277c1d8a36614c83a653f8a63 /content/browser/media | |
parent | 4534b3e37c7f273314371ed65fa36583cb755c37 (diff) | |
download | chromium_src-074c4287f2625860b2a9eb437b97f1f1788f8f4b.zip chromium_src-074c4287f2625860b2a9eb437b97f1f1788f8f4b.tar.gz chromium_src-074c4287f2625860b2a9eb437b97f1f1788f8f4b.tar.bz2 |
Add support for 9- and 10-bit h264 videos.
Videos are uploaded to GPU using half-floats if supported, otherwise
they are downshifted to regular 8-bit textures before uploading. No
dithering is done, except for whatever GL_DITHER might do. (Which
is probably nothing.)
BUG=445071
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1599533002
Cr-Commit-Position: refs/heads/master@{#373691}
Diffstat (limited to 'content/browser/media')
-rw-r--r-- | content/browser/media/media_browsertest.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/browser/media/media_browsertest.cc b/content/browser/media/media_browsertest.cc index 43db9ad..c90be2e 100644 --- a/content/browser/media/media_browsertest.cc +++ b/content/browser/media/media_browsertest.cc @@ -131,6 +131,10 @@ IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearMp4) { PlayVideo("bear.mp4", GetParam()); } +IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearHighBitDepthMp4) { + PlayVideo("bear-320x180-hi10p.mp4", GetParam()); +} + IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearSilentMp4) { PlayVideo("bear_silent.mp4", GetParam()); } @@ -259,6 +263,10 @@ IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pRec709H264) { RunColorFormatTest("yuv420p_rec709.mp4", kEnded); } +IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pHighBitDepth) { + RunColorFormatTest("yuv420p_hi10p.mp4", kEnded); +} + IN_PROC_BROWSER_TEST_F(MediaTest, Yuvj420pH264) { RunColorFormatTest("yuvj420p.mp4", kEnded); } |