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

Unified Diff: media/video/picture.cc

Issue 2345123002: Attach color space information to hardware decoded NV12 video frames. (Closed)
Patch Set: minor bugfix Created 4 years, 2 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/video/picture.h ('k') | ui/gfx/ipc/color/gfx_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/picture.cc
diff --git a/media/video/picture.cc b/media/video/picture.cc
index 6722176f9f4a52765f0753354f197851a5e5fba2..51398850d9c6a04bad45a9d472766652f628a7e9 100644
--- a/media/video/picture.cc
+++ b/media/video/picture.cc
@@ -41,10 +41,12 @@ PictureBuffer::~PictureBuffer() {}
Picture::Picture(int32_t picture_buffer_id,
int32_t bitstream_buffer_id,
const gfx::Rect& visible_rect,
+ const gfx::ColorSpace& color_space,
bool allow_overlay)
: picture_buffer_id_(picture_buffer_id),
bitstream_buffer_id_(bitstream_buffer_id),
visible_rect_(visible_rect),
+ color_space_(color_space),
allow_overlay_(allow_overlay),
size_changed_(false) {}
« no previous file with comments | « media/video/picture.h ('k') | ui/gfx/ipc/color/gfx_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698