diff options
author | Steve Kondik <steve@cyngn.com> | 2015-11-25 16:54:19 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-25 16:54:19 -0800 |
commit | 17c160c29793a049c1af12ac88a0921a0db62234 (patch) | |
tree | b66850643cd0509e369f1f81f603963cfa5df877 /include | |
parent | 92d5d4863030d35117c43104fdf8e4c38af90ff7 (diff) | |
download | frameworks_av-17c160c29793a049c1af12ac88a0921a0db62234.zip frameworks_av-17c160c29793a049c1af12ac88a0921a0db62234.tar.gz frameworks_av-17c160c29793a049c1af12ac88a0921a0db62234.tar.bz2 |
stagefright: Support hardware codecs with FFMPEG extractor
* Quite often we'll be using our custom extractor to handle
container formats which aren't supported by any other means,
but the codecs used inside the container are hardware supported.
* For QC specifically we need to send a few magical incantations,
so add support for this. Software codecs will be used if
hardware support is unavailable.
Change-Id: I917b674142fdab0b009e066e9511648c2695ec4b
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/FFMPEGSoftCodec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/stagefright/FFMPEGSoftCodec.h b/include/media/stagefright/FFMPEGSoftCodec.h index 83373d0..2f31e72 100644 --- a/include/media/stagefright/FFMPEGSoftCodec.h +++ b/include/media/stagefright/FFMPEGSoftCodec.h @@ -62,7 +62,8 @@ struct FFMPEGSoftCodec { static status_t setVideoFormat( const sp<AMessage> &msg, const char* mime, sp<IOMX> OMXhandle,IOMX::node_id nodeID, - bool isEncoder, OMX_VIDEO_CODINGTYPE *compressionFormat); + bool isEncoder, OMX_VIDEO_CODINGTYPE *compressionFormat, + const char* componentName); static status_t getAudioPortFormat( OMX_U32 portIndex, int coding, |