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

Unified Diff: media/video/picture.h

Issue 7021020: Clean up video frame sizes, types in Video Decode API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 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
Index: media/video/picture.h
diff --git a/media/video/picture.h b/media/video/picture.h
index 012600287725d164010b2a2af56c617ee10a5838..cc71741296ed2b1367bb77b93b42903872cafacc 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -73,8 +73,7 @@ class SysmemBuffer : public BaseBuffer {
// This is the media-namespace equivalent of PP_Picture_Dev.
class Picture {
public:
- Picture(int32 picture_buffer_id, int32 bitstream_buffer_id,
- gfx::Size visible_size, gfx::Size decoded_size);
+ 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 {
@@ -90,21 +89,9 @@ class Picture {
bitstream_buffer_id_ = bitstream_buffer_id;
}
- // Returns the visible size of the decoded picture in pixels.
- gfx::Size visible_size() const {
- return visible_size_;
- }
-
- // Returns the decoded size of the decoded picture in pixels.
- gfx::Size decoded_size() const {
- return decoded_size_;
- }
-
private:
int32 picture_buffer_id_;
int32 bitstream_buffer_id_;
- gfx::Size visible_size_;
- gfx::Size decoded_size_;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698