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

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: cleanup Created 9 years, 7 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 f9611bd7afc8e995fe64c13bbc5f489e73301370..1c24fc8483e8b21272831a71ad934c2ab3971e7c 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -93,8 +93,7 @@ class SysmemBuffer {
// 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);
Picture(const PP_Picture_Dev& picture);
// Returns the id of the picture buffer where this picture is contained.
@@ -108,21 +107,9 @@ class Picture {
return 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_;
Ville-Mikko Rautio 2011/05/17 08:58:49 After removing these how do we plan to handle situ
vrk (LEFT CHROMIUM) 2011/05/23 18:20:29 If the decoded picture size changes, the decoder w
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698