From 2514d080c8a54ff603a45d7e336de668fe7329db Mon Sep 17 00:00:00 2001 From: Jeff Tinker Date: Mon, 3 Nov 2014 13:29:35 -0800 Subject: Pass resolution to Crypto plugin on format change Change-Id: I56cd557ce3525fe625db8c312d2557d3c8b51101 related-to-bug: 16034599 --- include/media/ICrypto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 { } // namespace android #endif // ANDROID_ICRYPTO_H_ - -- cgit v1.1