Wire Up Max-Res Plumbing

(This is a port of http://go/wvgerrit/11556 from the Widevine CDM
repo.)

This wires up the new method on the crypto interface with the core
code that handles the max-res decode.

Bug: 16034599
Change-Id: Id2ea5635bf732eabf1fd33712ff8bab6cf1a1745
This commit is contained in:
John "Juce" Bruce
2014-10-30 23:40:03 -07:00
parent 12821d5968
commit e4252f3861
10 changed files with 41 additions and 2 deletions

View File

@@ -22,6 +22,8 @@ class WVCryptoPlugin : public android::CryptoPlugin {
virtual bool requiresSecureDecoderComponent(const char* mime) const;
virtual void notifyResolution(uint32_t width, uint32_t height);
virtual ssize_t decrypt(bool secure, const uint8_t key[16],
const uint8_t iv[16], Mode mode, const void* srcPtr,
const SubSample* subSamples, size_t numSubSamples,