diff options
author | Ronghua Wu <ronghuawu@google.com> | 2014-09-02 10:55:41 -0700 |
---|---|---|
committer | Ronghua Wu <ronghuawu@google.com> | 2014-09-10 10:02:46 -0700 |
commit | bf220f3e6e799f28d1599c3c5106e9e15631a91d (patch) | |
tree | e1f2f0be8d5082470b1d8b18a73694636ae24216 /media/libstagefright/codecs/on2/h264dec/SoftAVC.h | |
parent | 9007305003e689362749a264af2eafea80eb12a0 (diff) | |
download | frameworks_av-bf220f3e6e799f28d1599c3c5106e9e15631a91d.zip frameworks_av-bf220f3e6e799f28d1599c3c5106e9e15631a91d.tar.gz frameworks_av-bf220f3e6e799f28d1599c3c5106e9e15631a91d.tar.bz2 |
stagefright: add adaptive playback support to SoftAVC decoder.
Also change SoftVPX decoder to use common handlePortSettingsChanged
and copyYV12FrameToOutputBuffer method.
Bug: 17326758
Change-Id: I6fb2ee8fb9291f69c70493b8558af341adc1f4b2
Diffstat (limited to 'media/libstagefright/codecs/on2/h264dec/SoftAVC.h')
-rw-r--r-- | media/libstagefright/codecs/on2/h264dec/SoftAVC.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/media/libstagefright/codecs/on2/h264dec/SoftAVC.h b/media/libstagefright/codecs/on2/h264dec/SoftAVC.h index ee69926..253a406 100644 --- a/media/libstagefright/codecs/on2/h264dec/SoftAVC.h +++ b/media/libstagefright/codecs/on2/h264dec/SoftAVC.h @@ -55,8 +55,6 @@ private: size_t mInputBufferCount; - uint32_t mPictureSize; - uint8_t *mFirstPicture; int32_t mFirstPictureId; @@ -75,8 +73,7 @@ private: void drainAllOutputBuffers(bool eos); void drainOneOutputBuffer(int32_t picId, uint8_t *data); void saveFirstOutputBuffer(int32_t pidId, uint8_t *data); - bool handleCropRectEvent(const CropParams* crop); - bool handlePortSettingChangeEvent(const H264SwDecInfo *info); + bool handleCropChange(const H264SwDecInfo& decInfo); DISALLOW_EVIL_CONSTRUCTORS(SoftAVC); }; |