diff options
author | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-02 00:20:34 +0000 |
---|---|---|
committer | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-02 00:20:34 +0000 |
commit | c5aee829d059e260b518a2229fdfed6359ec8f46 (patch) | |
tree | 2bc24bcb8ff9777680ee94d7c7b25432cf19369e /media/base/video_decoder_config.h | |
parent | c6051eb0778c0167a05edbd0851110458b0d8b85 (diff) | |
download | chromium_src-c5aee829d059e260b518a2229fdfed6359ec8f46.zip chromium_src-c5aee829d059e260b518a2229fdfed6359ec8f46.tar.gz chromium_src-c5aee829d059e260b518a2229fdfed6359ec8f46.tar.bz2 |
Remove VideoDecoderConfig::aspect_ratio_xxx methods.
BUG=122913
Review URL: https://chromiumcodereview.appspot.com/10830110
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/video_decoder_config.h')
-rw-r--r-- | media/base/video_decoder_config.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/media/base/video_decoder_config.h b/media/base/video_decoder_config.h index 9f5785c..93b1257 100644 --- a/media/base/video_decoder_config.h +++ b/media/base/video_decoder_config.h @@ -72,7 +72,7 @@ class MEDIA_EXPORT VideoDecoderConfig { VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, - int aspect_ratio_numerator, int aspect_ratio_denominator, + const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size); ~VideoDecoderConfig(); @@ -83,7 +83,7 @@ class MEDIA_EXPORT VideoDecoderConfig { VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, - int aspect_ratio_numerator, int aspect_ratio_denominator, + const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size, bool record_stats); @@ -119,13 +119,6 @@ class MEDIA_EXPORT VideoDecoderConfig { // into account. gfx::Size natural_size() const; - // Aspect ratio of the decoded video frame expressed as a fraction. - // - // TODO(scherkus): think of a better way to avoid having video decoders - // handle tricky aspect ratio dimension calculations. - int aspect_ratio_numerator() const; - int aspect_ratio_denominator() const; - // Optional byte data required to initialize video decoders, such as H.264 // AAVC data. uint8* extra_data() const; @@ -141,9 +134,6 @@ class MEDIA_EXPORT VideoDecoderConfig { gfx::Rect visible_rect_; gfx::Size natural_size_; - int aspect_ratio_numerator_; - int aspect_ratio_denominator_; - scoped_array<uint8> extra_data_; size_t extra_data_size_; |