summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-04-30 14:38:12 -0700
committerJames Dong <jdong@google.com>2012-05-01 10:30:58 -0700
commit4f6eed0d1c7972a983c075bdcf03089569e13fe1 (patch)
tree6eebbc397b99bf33e8c9991fada609d86d144caf /media/libstagefright/include
parent27431de020e535c31365884316f656bc60b4fe4f (diff)
downloadframeworks_av-4f6eed0d1c7972a983c075bdcf03089569e13fe1.zip
frameworks_av-4f6eed0d1c7972a983c075bdcf03089569e13fe1.tar.gz
frameworks_av-4f6eed0d1c7972a983c075bdcf03089569e13fe1.tar.bz2
Impl for supporting two video scaling modes
o allows the video scaling mode to change at any time o also remove the scaling mode logic in OMXCodec.cpp o related-to-bug: 5454345 Change-Id: I6f1714eb0c2774591ce650d56c1e779b8afd085f
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r--media/libstagefright/include/AwesomePlayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h
index a2e2e85..1409dc7 100644
--- a/media/libstagefright/include/AwesomePlayer.h
+++ b/media/libstagefright/include/AwesomePlayer.h
@@ -175,6 +175,7 @@ private:
int32_t mDisplayWidth;
int32_t mDisplayHeight;
+ int32_t mVideoScalingMode;
uint32_t mFlags;
uint32_t mExtractorFlags;
@@ -318,6 +319,8 @@ private:
Vector<TrackStat> mTracks;
} mStats;
+ status_t setVideoScalingMode(int32_t mode);
+ status_t setVideoScalingMode_l(int32_t mode);
status_t getTrackInfo(Parcel* reply) const;
// when select is true, the given track is selected.