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

Unified Diff: media/video/picture.h

Issue 485103007: Revert of Pass decoded picture size from VDA to client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/filters/gpu_video_decoder.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 844e629ef310f6a187a38f47507d16e0765cbfa2..d5be2276f2be78ad037bfd045798ebd7f629defb 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -8,7 +8,6 @@
#include "base/basictypes.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "media/base/media_export.h"
-#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/size.h"
namespace media {
@@ -55,9 +54,7 @@
// This is the media-namespace equivalent of PP_Picture_Dev.
class MEDIA_EXPORT Picture {
public:
- Picture(int32 picture_buffer_id,
- int32 bitstream_buffer_id,
- const gfx::Rect& visible_rect);
+ Picture(int32 picture_buffer_id, int32 bitstream_buffer_id);
// Returns the id of the picture buffer where this picture is contained.
int32 picture_buffer_id() const {
@@ -73,15 +70,9 @@
bitstream_buffer_id_ = bitstream_buffer_id;
}
- // 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
- // Picture contained in the PictureBuffer.
- gfx::Rect visible_rect() const { return visible_rect_; }
-
private:
int32 picture_buffer_id_;
int32 bitstream_buffer_id_;
- gfx::Rect visible_rect_;
};
} // namespace media
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/video/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698