summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include
diff options
context:
space:
mode:
authorRonghua Wu <ronghuawu@google.com>2014-09-05 14:25:39 -0700
committerRonghua Wu <ronghuawu@google.com>2014-09-11 10:33:59 -0700
commita694dd0ce2caaf921f7bc894df87a5d52594b4eb (patch)
tree9ad4a1cbb711e3b2f81365e6163367c4cfb4b02b /media/libstagefright/include
parent971873179cf202ad8aa1ddc4ec737795f1e03ce3 (diff)
downloadframeworks_av-a694dd0ce2caaf921f7bc894df87a5d52594b4eb.zip
frameworks_av-a694dd0ce2caaf921f7bc894df87a5d52594b4eb.tar.gz
frameworks_av-a694dd0ce2caaf921f7bc894df87a5d52594b4eb.tar.bz2
stagefright: add adaptive playback support to SoftMPEG decoder.
This covers both MPEG4 and H263 adaptive playback. Bug: 17326758 Change-Id: I80a67b7f3ceab05e792f0a459439a8274bd78e20
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r--media/libstagefright/include/SoftVideoDecoderOMXComponent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libstagefright/include/SoftVideoDecoderOMXComponent.h b/media/libstagefright/include/SoftVideoDecoderOMXComponent.h
index 4a6ab63..8cb8ed7 100644
--- a/media/libstagefright/include/SoftVideoDecoderOMXComponent.h
+++ b/media/libstagefright/include/SoftVideoDecoderOMXComponent.h
@@ -66,7 +66,8 @@ protected:
virtual void updatePortDefinitions(bool updateCrop = true);
void handlePortSettingsChange(
- bool *portWillReset, uint32_t width, uint32_t height, bool cropChanged = false);
+ bool *portWillReset, uint32_t width, uint32_t height,
+ bool cropChanged = false, bool fakeStride = false);
void copyYV12FrameToOutputBuffer(
uint8_t *dst, const uint8_t *srcY, const uint8_t *srcU, const uint8_t *srcV,