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

Unified Diff: media/video/picture.h

Issue 2399133002: Revert of Attach color space information to hardware decoded NV12 video frames. (Closed)
Patch Set: 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/gpu/vt_video_decode_accelerator_mac.cc ('k') | media/video/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/picture.h
diff --git a/media/video/picture.h b/media/video/picture.h
index 56d47609fdde6f35a848b067a97110373b5c1020..1da3fdaa41fff864f348d343586e2858f49eda8e 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -11,7 +11,6 @@
#include "gpu/command_buffer/common/mailbox.h"
#include "media/base/media_export.h"
-#include "ui/gfx/color_space.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
@@ -74,7 +73,6 @@
Picture(int32_t picture_buffer_id,
int32_t bitstream_buffer_id,
const gfx::Rect& visible_rect,
- const gfx::ColorSpace& color_space,
bool allow_overlay);
// Returns the id of the picture buffer where this picture is contained.
@@ -86,9 +84,6 @@
void set_bitstream_buffer_id(int32_t bitstream_buffer_id) {
bitstream_buffer_id_ = bitstream_buffer_id;
}
-
- // Returns the color space of the picture.
- const gfx::ColorSpace& color_space() const { return color_space_; }
// Returns the visible rectangle of the picture. Its size may be smaller
// than the size of the PictureBuffer, as it is the only visible part of the
@@ -109,7 +104,6 @@
int32_t picture_buffer_id_;
int32_t bitstream_buffer_id_;
gfx::Rect visible_rect_;
- gfx::ColorSpace color_space_;
bool allow_overlay_;
bool size_changed_;
};
« no previous file with comments | « media/gpu/vt_video_decode_accelerator_mac.cc ('k') | media/video/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698