diff options
author | hubbe <hubbe@chromium.org> | 2016-02-08 16:01:14 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-09 00:02:31 +0000 |
commit | 82ba0a1a9f120c5376a7978f1c6ba995b7c819f6 (patch) | |
tree | 213cc743a3737a3b474a21c92844513c5d72d6e1 /content/browser/media | |
parent | 486e98700f552d7a5c4fbc1b3a9b5e9f2a6cf934 (diff) | |
download | chromium_src-82ba0a1a9f120c5376a7978f1c6ba995b7c819f6.zip chromium_src-82ba0a1a9f120c5376a7978f1c6ba995b7c819f6.tar.gz chromium_src-82ba0a1a9f120c5376a7978f1c6ba995b7c819f6.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
Committed: https://crrev.com/074c4287f2625860b2a9eb437b97f1f1788f8f4b
Cr-Commit-Position: refs/heads/master@{#373691}
Review URL: https://codereview.chromium.org/1599533002
Cr-Commit-Position: refs/heads/master@{#374221}
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); } |