diff options
author | Jeff Tinker <jtinker@google.com> | 2014-11-03 13:29:35 -0800 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2014-11-03 18:39:23 -0800 |
commit | 2514d080c8a54ff603a45d7e336de668fe7329db (patch) | |
tree | c02e8521f99240935f7c672c9d79846addd785cb /include/media/ICrypto.h | |
parent | 3c1285e8f86bd497e14c14fb6df7b42072ef52bd (diff) | |
download | frameworks_av-2514d080c8a54ff603a45d7e336de668fe7329db.zip frameworks_av-2514d080c8a54ff603a45d7e336de668fe7329db.tar.gz frameworks_av-2514d080c8a54ff603a45d7e336de668fe7329db.tar.bz2 |
Pass resolution to Crypto plugin on format change
Change-Id: I56cd557ce3525fe625db8c312d2557d3c8b51101
related-to-bug: 16034599
Diffstat (limited to 'include/media/ICrypto.h')
-rw-r--r-- | include/media/ICrypto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/ICrypto.h b/include/media/ICrypto.h index 9dcb8d9..07742ca 100644 --- a/include/media/ICrypto.h +++ b/include/media/ICrypto.h @@ -41,6 +41,8 @@ struct ICrypto : public IInterface { virtual bool requiresSecureDecoderComponent( const char *mime) const = 0; + virtual void notifyResolution(uint32_t width, uint32_t height) = 0; + virtual ssize_t decrypt( bool secure, const uint8_t key[16], @@ -64,4 +66,3 @@ struct BnCrypto : public BnInterface<ICrypto> { } // namespace android #endif // ANDROID_ICRYPTO_H_ - |