diff options
author | Naveen Kumar Ponnusamy <naveenkumar.p@ittiam.com> | 2014-07-01 15:10:40 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-07-12 15:08:58 -0700 |
commit | f6ef963fecde3b63696028fadce4bcfb5b998db0 (patch) | |
tree | b89d84674d29a372f5cec35939d242f2625d2d3d /media/libstagefright/codecs/hevcdec/SoftHEVC.h | |
parent | e71dcef63a746970d5c11c83207201fe8de02a78 (diff) | |
download | frameworks_av-f6ef963fecde3b63696028fadce4bcfb5b998db0.zip frameworks_av-f6ef963fecde3b63696028fadce4bcfb5b998db0.tar.gz frameworks_av-f6ef963fecde3b63696028fadce4bcfb5b998db0.tar.bz2 |
Resolution reinitialization changes
Decoder initialized to 320x240. When higher resolution comes,
the decoder reinitialized to the resolution.
Bug: 14571712
Change-Id: I6b6ad17dd87f0112ce7ccf4f6c17bb4c65b5d8af
Diffstat (limited to 'media/libstagefright/codecs/hevcdec/SoftHEVC.h')
-rw-r--r-- | media/libstagefright/codecs/hevcdec/SoftHEVC.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/hevcdec/SoftHEVC.h b/media/libstagefright/codecs/hevcdec/SoftHEVC.h index 20db0e1..233db0c 100644 --- a/media/libstagefright/codecs/hevcdec/SoftHEVC.h +++ b/media/libstagefright/codecs/hevcdec/SoftHEVC.h @@ -103,11 +103,19 @@ private: status_t initDecoder(); status_t deInitDecoder(); status_t setFlushMode(); - status_t setParams(WORD32 stride, IVD_VIDEO_DECODE_MODE_T decMode); - status_t getVersion(); + status_t setParams(size_t stride); + void logVersion(); status_t setNumCores(); status_t resetDecoder(); status_t resetPlugin(); + status_t reInitDecoder(); + + void setDecodeArgs(ivd_video_decode_ip_t *ps_dec_ip, + ivd_video_decode_op_t *ps_dec_op, + OMX_BUFFERHEADERTYPE *inHeader, + OMX_BUFFERHEADERTYPE *outHeader, + size_t sizeY, + size_t timeStampIx); DISALLOW_EVIL_CONSTRUCTORS (SoftHEVC); }; |