summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/ACodec.cpp
Commit message (Collapse)AuthorAgeFilesLines
* media: switch to new AMessage handlingLajos Molnar2015-03-051-18/+18
| | | | | Bug: 19607784 Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
* stagefright: add support for limiting framerate in GraphicBufferSourceRonghua Wu2015-02-121-0/+20
| | | | | Bug: 19014096 Change-Id: I6de781e4d140a247dfd8fd8f12c3ddd7baa39ad4
* am 5dc38beb: am 41d3f579: Fix GSM WAV playbackMarco Nelissen2015-02-071-0/+17
|\ | | | | | | | | * commit '5dc38bebd45edbcc17b2f5cf3c3b2929b5842f3c': Fix GSM WAV playback
| * Fix GSM WAV playbackMarco Nelissen2015-02-061-0/+17
| | | | | | | | | | Bug:19289381 Change-Id: If7bbf1ecf1cb8796188e61bc2c42f8a099510424
* | am c5a6db8d: am 5a52a060: stagefright: set consumer usage flags and desribe ↵Lajos Molnar2015-02-061-4/+51
|\ \ | |/ | | | | | | | | | | YV12 HAL format * commit 'c5a6db8de459f25c72b0ca7b55942ddd4f90b1a8': stagefright: set consumer usage flags and desribe YV12 HAL format
| * stagefright: set consumer usage flags and desribe YV12 HAL formatLajos Molnar2015-02-051-4/+51
| | | | | | | | | | | | | | Bug: 17906609 Bug: 19179288 Bug: 19179927 Change-Id: I3713d4e894d3350d46e25dc0206b21c0ff3b9009
* | am bcd22f0f: am 0662f5b0: Merge "stagefright: add fallback for native ↵Lajos Molnar2015-02-061-16/+74
|\ \ | |/ | | | | | | | | | | flex-YUV support" into lmp-mr1-dev * commit 'bcd22f0f3a4cd5f78e03af23aafadb2d1aec6794': stagefright: add fallback for native flex-YUV support
| * stagefright: add fallback for native flex-YUV supportLajos Molnar2015-02-041-16/+74
| | | | | | | | | | | | | | Use software renderer if codec cannot support flex-YUV on a surface Bug: 17906609 Change-Id: I3d0e3ff5fee7d7b3e2416892968fa18f6139598a
* | am 7b66f713: am 57f75272: Merge "stagefright: add support for native ↵Lajos Molnar2015-02-041-35/+88
|\ \ | |/ | | | | | | | | | | flex-YUV formats" into lmp-mr1-dev * commit '7b66f713fc53ee81453763788c02f3c741d19520': stagefright: add support for native flex-YUV formats
| * stagefright: add support for native flex-YUV formatsLajos Molnar2015-02-041-35/+88
| | | | | | | | | | Bug: 17906609 Change-Id: I14116796eaa94aa8ae62dcc29f67cb7d2c060d34
* | am 0d8e85f9: am 77f877f8: Merge "Acodec: reset sideband handle for all non ↵Rachad2015-02-021-0/+9
|\ \ | |/ | | | | | | | | | | tunneled mode video playback" into lmp-mr1-dev * commit '0d8e85f929f0257a3af5ec743365b0140b5e75b4': Acodec: reset sideband handle for all non tunneled mode video playback
| * Acodec: reset sideband handle for all non tunneled mode video playbackRachad2015-01-311-0/+9
| | | | | | | | | | Bug: 19202023 Change-Id: I414847d72a3c9fd79f858c4ee457270ec65470b6
* | am c9e11696: am 36dca156: Merge "Acodec: Send framerate information to OMX ↵Rachad2015-02-021-2/+15
|\ \ | |/ | | | | | | | | | | decoder if available" into lmp-mr1-dev * commit 'c9e11696c4f80e9803f7e65e29af962f199a574d': Acodec: Send framerate information to OMX decoder if available
| * Acodec: Send framerate information to OMX decoder if availableRachad2015-01-291-2/+15
| | | | | | | | | | Bug: 19110889 Change-Id: Ia8dbe1b77aaac421ec9415884e1248b9b68168dc
* | am 26c73acb: am 0b460ad7: Merge "ACodec: Added support for E-AC3 decoders" ↵Rachad2015-01-101-0/+67
|\ \ | |/ | | | | | | | | | | into lmp-mr1-dev * commit '26c73acb73b5af94cb27e5d285d1708d25eb6892': ACodec: Added support for E-AC3 decoders
| * Merge "ACodec: Added support for E-AC3 decoders" into lmp-mr1-devRachad2015-01-101-0/+67
| |\
| | * ACodec: Added support for E-AC3 decodersRachad2014-12-231-0/+67
| | | | | | | | | | | | | | | | | | Bug: 17883772 Change-Id: I05f674c33522eec0e6ceeece88dd800b1857b3ab
* | | am e0344754: am 468977f0: Merge "mark any copyrighted content as protected ↵Chong Zhang2015-01-081-1/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | to disable capture" into lmp-mr1-dev * commit 'e03447548d1c56fa9875cac7d500f1012a6b5c26': mark any copyrighted content as protected to disable capture
| * | mark any copyrighted content as protected to disable captureChong Zhang2015-01-071-1/+12
| |/ | | | | | | | | bug: 18916274 Change-Id: I23f096b51433bf18a10dc5fe6dc6b75c3881c340
* | am aff13ad4: am 8ddb0223: Merge "Tunneled video Playback/Max resolution: ↵Rachad2014-12-131-1/+15
|\ \ | |/ | | | | | | | | | | Call mOmx->prepareForAdaptivePlayback() to provide max resolution information to tunneled OMX component." into lmp-mr1-dev * commit 'aff13ad4e639316bca12827d68a4f0a6ac54cd02': Tunneled video Playback/Max resolution: Call mOmx->prepareForAdaptivePlayback() to provide max resolution information to tunneled OMX component.
| * Tunneled video Playback/Max resolution:Rachad2014-12-121-1/+15
| | | | | | | | | | | | | | | | Call mOmx->prepareForAdaptivePlayback() to provide max resolution information to tunneled OMX component. bug: 17883772 Change-Id: I8f634824103e66483527828993bb24f65e68e419
* | resolved conflicts for merge of 6571ed31 to lmp-mr1-dev-plus-aospLajos Molnar2014-12-111-1/+2
|\ \ | |/ | | | | Change-Id: Ibaea3a0766f75a61964615482a9ef28651a42b37
| * stagefright: misc fixes to software video encoders (and decoders)Lajos Molnar2014-12-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move logic to set encoder parameters to common encoder class (similarly to what was done for decoders) - set compressed buffer size based on frame size and compression ratio, and codec-specific minimum size - set raw buffer size based on frame size and metadata mode - do not set stride and slice height on compressed ports - advertise only QCIF support for google H263 encoder - set large-enough input size for video decoders to support adaptive playback - do not change input buffer size on output port reconfiguration, as no input buffer reallocation takes place - do not return empty buffers with EOS after EOS has been signaled Bug: 18513091 Bug: 18639027 Change-Id: Ib13492ef66adf331aa4572c67d2b283ea020cb41
* | am 6874ed79: am a9d2f9fb: Merge "stagefright: preserve output format flags ↵Lajos Molnar2014-12-081-2/+5
|\ \ | |/ | | | | | | | | | | on format change" into lmp-mr1-dev * commit '6874ed79fd525cf5d6ec8a953475c14f5a185cb4': stagefright: preserve output format flags on format change
| * stagefright: preserve output format flags on format changeLajos Molnar2014-12-051-2/+5
| | | | | | | | | | | | | | | | Some flags are only set in configure, and get lost when output format changes. Bug: 17383204 Change-Id: I2011bce70920c4ee46fccc378da3b428f3395c11
* | am 93f5b333: am 050ff19e: Merge "libstagefright: defer kWhatSetParameters in ↵Lajos Molnar2014-12-041-0/+1
|\ \ | | | | | | | | | | | | | | | | | | OutputPortSettingsChangedState" * commit '93f5b333d31fd5fe425faa01b25d1b4d3115a8e6': libstagefright: defer kWhatSetParameters in OutputPortSettingsChangedState
| * \ Merge "libstagefright: defer kWhatSetParameters in ↵Lajos Molnar2014-12-041-0/+1
| |\ \ | | | | | | | | | | | | OutputPortSettingsChangedState"
| | * | libstagefright: defer kWhatSetParameters in OutputPortSettingsChangedStatePer Persson2014-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9719f1698bf411914eb753d3c349a15b9fbf9df6 Signed-off-by: Per Persson <per.persson@intel.com> Signed-off-by: Persson, Mikael <mikael.persson@intel.com> Signed-off-by: Fagerstedt, Axel <axel.fagerstedt@intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com>
* | | | resolved conflicts for merge of e5ba80c5 to lmp-mr1-dev-plus-aospAndreas Gampe2014-11-271-3/+0
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: Iea12c8a6cabf84584e4a89ad80e298c1f4ea3dd7
| * | | Stagefright: Fix unused variables, functions, valuesAndreas Gampe2014-11-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For build-system CFLAGS clean-up, remove unused functions and variables. Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
* | | | am 6597c00f: stagefright: add (temporary) support for automatic video frcLajos Molnar2014-11-201-0/+18
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | automerge: 73c5c94 * commit '73c5c94ab53bf0c14fffe5edc62706865cff271d': stagefright: add (temporary) support for automatic video frc
| * | | stagefright: add (temporary) support for automatic video frcLajos Molnar2014-11-191-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use MediaFormat.setInteger("auto-frc", 1) to turn this feature on. If supported, this feature will show up in codec.getOutputFormat().getInteger("auto-frc") Otherwise, this key will not be present. Bug: 17383204 Change-Id: I03549b3ede4de156e9e2d81b3883010360bb42ae
* | | | resolved conflicts for merge of e78a27ca to lmp-mr1-dev-plus-aospMarco Nelissen2014-11-171-2/+2
|\ \ \ \ | | |/ / | |/| | | | | | Change-Id: If10a9cc17245f95d5e10b1507445abbb4020670e
| * | | Update calls to IInterface::asBinder()Marco Nelissen2014-11-171-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a Conflicts: media/libmedia/IAudioFlinger.cpp media/libmedia/IMediaPlayer.cpp media/libstagefright/CameraSource.cpp
| * | am 447898bc: Merge "ACodec: only check crop rect on output port" into lmp-devLajos Molnar2014-10-141-2/+10
| |\ \ | | | | | | | | | | | | | | | | * commit '447898bca790fae2fdae304073162e980d816b79': ACodec: only check crop rect on output port
| * \ \ am 801a3ff8: Merge "handle case OMX_AUDIO_CodingG711 in ↵Chong Zhang2014-10-131-0/+26
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ACodec::getPortFormat" into lmp-dev * commit '801a3ff80c36aa9b55dc9b360d0e59f863011a39': handle case OMX_AUDIO_CodingG711 in ACodec::getPortFormat
| * \ \ \ am 7225187b: Merge "ACodec: process deferred messages when entering Loaded ↵Wei Jia2014-10-131-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | state." into lmp-dev * commit '7225187b5126b921e40f0221db158a16c366344e': ACodec: process deferred messages when entering Loaded state.
| * \ \ \ \ am 380757ba: Merge "Revert "handle case OMX_AUDIO_CodingG711 in ↵Guang Zhu2014-10-131-21/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ACodec::getPortFormat"" into lmp-dev * commit '380757ba5c927015d403e3b97cc418413330453e': Revert "handle case OMX_AUDIO_CodingG711 in ACodec::getPortFormat"
| * \ \ \ \ \ am aec1dbfd: Merge "handle case OMX_AUDIO_CodingG711 in ↵Chong Zhang2014-10-101-0/+21
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ACodec::getPortFormat" into lmp-dev * commit 'aec1dbfd10150da3f28b64471b4dc249a58a104e': handle case OMX_AUDIO_CodingG711 in ACodec::getPortFormat
| * \ \ \ \ \ \ am 584c14c3: Merge "stagefright: do not allocate output buffers for tunneled ↵Rachad2014-10-071-1/+28
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | playback" into lmp-dev * commit '584c14c370f141685b7e8963a13ed91584383ca1': stagefright: do not allocate output buffers for tunneled playback
| * \ \ \ \ \ \ \ am fc93499e: Merge "mediarecorder: set level if setting default profile" ↵Lajos Molnar2014-10-021-0/+53
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-dev * commit 'fc93499e83403d5959693efa040cb29fd6825abb': mediarecorder: set level if setting default profile
| * \ \ \ \ \ \ \ \ am d0b9efe7: Merge "add AAC audio decoder params for PCM limiter enable" ↵Chong Zhang2014-10-011-2/+10
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-dev * commit 'd0b9efe7d8300e48f7a99c1dd746d60060206b3c': add AAC audio decoder params for PCM limiter enable
| * \ \ \ \ \ \ \ \ \ am 4a34b9a4: Merge "stagefright: use frame height if slice height is 0" into ↵Lajos Molnar2014-09-251-7/+14
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-dev * commit '4a34b9a4759d7dcc2d2ad5bd96ea8477915dd67a': stagefright: use frame height if slice height is 0
| * \ \ \ \ \ \ \ \ \ \ am 0079b331: Merge "MediaBuffer: ABuffer will release MediaBuffer when it\'s ↵Wei Jia2014-09-221-17/+6
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | destructed." into lmp-dev * commit '0079b331227fc1555d7c5305f33917a570d44890': MediaBuffer: ABuffer will release MediaBuffer when it's destructed.
* | \ \ \ \ \ \ \ \ \ \ \ Merge "libstagefright: set actual stride info for SW encoder input port" ↵Lajos Molnar2014-10-281-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev automerge: 701b964 automerge: 294c7f3 * commit '294c7f36e6a92419017e7fe2a204fba1284cdc08': libstagefright: set actual stride info for SW encoder input port
| * | | | | | | | | | | | libstagefright: set actual stride info for SW encoder input portLajos Molnar2014-10-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes encoding flexible YUV content using SW encoders. Also skip setting input color format if it is flexible YUV, as it has already been translated to a color format supported by the codec. Bug: 18124320 Change-Id: I423782936986f4d6cf65ea9ef89ae77a92e30140
* | | | | | | | | | | | | am edcff417: am 42aae0c4: am f04e8b5e: am 25842048: Merge "stagefright: try ↵Lajos Molnar2014-10-221-0/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to free codec instance if MediaCodec.release hangs" into lmp-dev * commit 'edcff417bbb2e76245b559e7c9a8b98c2a60e102': stagefright: try to free codec instance if MediaCodec.release hangs
| * | | | | | | | | | | | stagefright: try to free codec instance if MediaCodec.release hangsLajos Molnar2014-10-211-0/+24
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18033275 Change-Id: If86cd26566d7b75941976f37829bbec619800778
* | | | | | | | | | | | am 6bbf27e5: am e86f4be5: am 447898bc: Merge "ACodec: only check crop rect ↵Lajos Molnar2014-10-151-2/+10
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on output port" into lmp-dev * commit '6bbf27e5a3beeca3046caef70e4e5acc487dd062': ACodec: only check crop rect on output port
| * | | | | | | | | | | Merge "ACodec: only check crop rect on output port" into lmp-devLajos Molnar2014-10-141-2/+10
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |