Add bit depth information to PlanarYuvBuffer
For HDR codecs, we expect to receive input that has 10-bit color depth. But
currently, WebRTC assumes only 8-bit input and output. This CL adds k010
format that represent this input.
Bug: webrtc:9376
Change-Id: Ie7df64b0eddb0752b493e0457a49083a1e87ba51
Reviewed-on: https://webrtc-review.googlesource.com/81920
Commit-Queue: Emircan Uysaler <emircan@webrtc.org>
Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23749}
diff --git a/common_video/BUILD.gn b/common_video/BUILD.gn
index 0f4d400..7b08e42 100644
--- a/common_video/BUILD.gn
+++ b/common_video/BUILD.gn
@@ -95,8 +95,8 @@
"h264/sps_parser_unittest.cc",
"h264/sps_vui_rewriter_unittest.cc",
"i420_buffer_pool_unittest.cc",
- "i420_video_frame_unittest.cc",
"libyuv/libyuv_unittest.cc",
+ "video_frame_unittest.cc",
]
if (!build_with_chromium && is_clang) {
@@ -107,6 +107,7 @@
deps = [
":common_video",
"../api/video:video_frame",
+ "../api/video:video_frame_i010",
"../api/video:video_frame_i420",
"../modules/video_capture:video_capture",
"../rtc_base:rtc_base",