Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: media/video/video_decode_accelerator.h

Issue 2708353004: Propagate color space from the container to the codec. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/gpu/ipc/common/media_param_traits_macros.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index ff18007634a42e3c4f27be85fd75797630b3bf77..97af30bba0066f42b474015d6bac1a5ea9143242 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -169,6 +169,9 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
// Each SPS and PPS is prefixed with the Annex B framing bytes: 0, 0, 0, 1.
std::vector<uint8_t> sps;
std::vector<uint8_t> pps;
+
+ // Color space specified by the container.
+ gfx::ColorSpace color_space;
};
// Interface for collaborating with picture interface to provide memory for
« no previous file with comments | « media/gpu/ipc/common/media_param_traits_macros.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698