summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
Commit message (Collapse)AuthorAgeFilesLines
* Merge "MediaCodecList: handle binder death" into lmp-mr1-devLajos Molnar2014-12-151-1/+12
|\
| * MediaCodecList: handle binder deathLajos Molnar2014-12-121-1/+12
| | | | | | | | | | Bug: 18691591 Change-Id: Icc402d6ea9b0de4ac642c3b403fb64e865481b2e
* | Merge "NuPlayer: send NOT_SEEKABLE media info to client when the source is ↵Wei Jia2014-12-151-2/+2
|\ \ | |/ |/| | | not seekable." into lmp-mr1-dev
| * NuPlayer: send NOT_SEEKABLE media info to client when the source is not ↵Wei Jia2014-12-121-2/+2
| | | | | | | | | | | | | | | | | | seekable. LiveSession: return -1 for duration when it's not available. Bug: 18599325 Change-Id: Iecd040f48750806f98d1799e2aaab2f90c6f3887
* | Merge "Tunneled video Playback/Max resolution: Call ↵Rachad2014-12-131-1/+15
|\ \ | | | | | | | | | mOmx->prepareForAdaptivePlayback() to provide max resolution information to tunneled OMX component." into lmp-mr1-dev
| * | 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
* | | stagefright: advertise 8kHz AAC decoder supportLajos Molnar2014-12-131-1/+2
|/ / | | | | | | Bug: 18738266 Change-Id: I1e5a1dc04b4deabfac069e70e4f730be6023a8ef
* | stagefright: misc fixes to software video encoders (and decoders)Lajos Molnar2014-12-1018-997/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitionsBernhard Rosenkränzer2014-12-092-3/+3
| | | | | | | | | | | | | | | | | | An overloaded function should take the same parameters as the function it is overloading. Bug: 18639027 Change-Id: I8327fe1b363917515cf76c8f76bdbc05b2c0fbf0 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* | Merge "Fix AAC recording issue" into lmp-mr1-devMarco Nelissen2014-12-091-1/+2
|\ \ | |/ |/|
| * Fix AAC recording issueMarco Nelissen2014-12-091-1/+2
| | | | | | | | | | | | | | | | Fix uninitialized variable that caused ADTS recording to incorrectly specify LTP object in the header. Bug: 17895547 Change-Id: I75650f4963f4f371cd191bc635e32c9ab17fa8c9
* | 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
* Merge "avc_util: try to find the first start code prefix 0x000001 even ↵Wei Jia2014-12-052-17/+15
|\ | | | | | | though there is non-zero byte at the beginning of the buffer." into lmp-mr1-dev
| * avc_util: try to find the first start code prefix 0x000001 even though there ↵Wei Jia2014-12-042-17/+15
| | | | | | | | | | | | | | | | | | is non-zero byte at the beginning of the buffer. ESQueue: allow one PES playload contains multiple ADTS AAC frames. Bug: 18532335 Change-Id: I1f42017cff139d5e932e0aaa3e7d33164d1a48e7
* | media_codecs.xml: extend vorbis sample rate to 8-96kHzLajos Molnar2014-12-041-1/+1
|/ | | | | Bug: 18615604 Change-Id: I0245556b8164959dd52fe677901cbfc517627cb4
* ESQueue: add frame length checking in validation of ADTS header.Wei Jia2014-12-031-4/+19
| | | | | | | | This allows an invalid ADTS buffer to be abandoned when frame length in the header exceeds buffer size. Bug: 18532335 Change-Id: I8057db525d06ff00ca24afd075a7c6c17b87eaa8
* Merge "MediaCodec: resume codec if state is FLUSHED in async mode" into ↵Chong Zhang2014-11-261-0/+2
|\ | | | | | | lmp-mr1-dev
| * MediaCodec: resume codec if state is FLUSHED in async modeChong Zhang2014-11-261-0/+2
| | | | | | | | | | | | bug: 18513091 Change-Id: I192625c61834584f711de76db788c2c0332ae774
* | stagefright: add graceful handling when setting port definitionLajos Molnar2014-11-251-12/+12
|/ | | | | | | | | - don't crash when count of buffers is incorrect, or when the buffer size decreases. This allows configuring SW video encoders for smaller than QCIF size. Bug: 18513091 Change-Id: Ibfcd6b883a892156e408e94fbc329103b9ac09ac
* 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
* Merge "HLS: fix live lock after missing the boat during configuration ↵Robert Shih2014-11-191-0/+20
|\ | | | | | | change" into lmp-mr1-dev
| * HLS: fix live lock after missing the boat during configuration changeRobert Shih2014-11-181-0/+20
| | | | | | | | | | Bug:17488643 Change-Id: I4f5de42f86d6c616a67dc803f35c026b35347983
* | Don't autoloop notificationsMarco Nelissen2014-11-181-0/+10
|/ | | | | | | | Some apps think it's cool to use ringtones as notification sounds, but ringtones often loop, which is not appropriate for notifications. Bug: 15929273 Change-Id: I77c4277801cb2561743f8c676ef76ab4d1668b08
* Merge "NuPlayer HTTPLiveSource: impl getSelectedTrack" into lmp-mr1-devRobert Shih2014-11-174-0/+47
|\
| * NuPlayer HTTPLiveSource: impl getSelectedTrackRobert Shih2014-11-064-0/+47
| | | | | | | | | | Bug: 17514665 Change-Id: I81c62553f2c5acb4d2436a9d8f04c10fdbe315d0
* | Merge "NuPlayer: tunnel decoder with renderer for data buffer passing." into ↵Wei Jia2014-11-151-1/+1
|\ \ | | | | | | | | | lmp-mr1-dev
| * | NuPlayer: tunnel decoder with renderer for data buffer passing.Wei Jia2014-11-141-1/+1
| | | | | | | | | | | | | | | | | | Bug: 18342383 Change-Id: I182928007814c146c01a86196c4fda1d46e74ea4
* | | Merge "PlaylistFetcher: handle sporadic fetch erros" into lmp-mr1-devRobert Shih2014-11-151-27/+37
|\ \ \
| * | | PlaylistFetcher: handle sporadic fetch errosRobert Shih2014-11-131-27/+37
| | | | | | | | | | | | | | | | | | | | Bug: 17490472 Change-Id: I2c04e2352f13db762b845f4d35db0a8b851a148c
* | | | Merge "stagefright: add runtime debug support" into lmp-mr1-devLajos Molnar2014-11-149-440/+764
|\ \ \ \
| * | | | stagefright: add runtime debug supportLajos Molnar2014-11-129-440/+764
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18285408 Change-Id: I56346f4652b2c5f7ef5fa3003fd8676051339384
* | | | | Merge "Stagefright: use MediaCodec in async mode for recording" into lmp-mr1-devChong Zhang2014-11-131-164/+105
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Stagefright: use MediaCodec in async mode for recordingPraveen Chavan2014-11-121-164/+105
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Async mode reduces the number of messages posted between MediaCodec and MediaCodecSource. This reduces thread wakeups and helps reduce CPU utilization. Bug: 18246026 Change-Id: I4b0837f309fdd12e323c1dfa72525f5a31971a03
* | | | Merge "AnotherPacketSource: need reset some members before returning from ↵Wei Jia2014-11-131-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | queueDiscontinuity()." into lmp-mr1-dev
| * | | | AnotherPacketSource: need reset some members before returning from ↵Wei Jia2014-11-131-4/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | queueDiscontinuity(). Bug: 18355014 Bug: 17511837 Change-Id: I4b623d3bc4fbeaf0e8bf4ddd96661469d17afe7a
* | | | Merge "PlaylistFetcher: check ts program streams before disabling a/v" into ↵Robert Shih2014-11-133-6/+32
|\ \ \ \ | |_|_|/ |/| | | | | | | lmp-mr1-dev
| * | | PlaylistFetcher: check ts program streams before disabling a/vRobert Shih2014-11-123-6/+32
| | | | | | | | | | | | | | | | | | | | Bug: 14648838 Change-Id: Ibf2b2cbb235f3d80bc33013e2afc053f13b9035f
* | | | Merge "Fix Ogg Vorbis packet timestamps" into lmp-mr1-devMarco Nelissen2014-11-121-14/+61
|\ \ \ \
| * | | | Fix Ogg Vorbis packet timestampsMarco Nelissen2014-11-111-14/+61
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17586090 Change-Id: Iea88f7cc1f623cbea5df24169ea76181925fbb13
* | | | | Merge "MediaCodec: Prevent stop() in the UNINITIALIZED state" into lmp-mr1-devAndy Hung2014-11-111-2/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | MediaCodec: Prevent stop() in the UNINITIALIZED stateAndy Hung2014-11-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return INVALID_OPERATION instead. This is a corner case when the decoder is still allocated, occurring after codec error. Bug: 18121124 Change-Id: If87e44dd40db48f63f965b765205f1e733663efd
* | | | | Merge "MatroskaExtractor: use GetTrackByNumber instead of GetTrackByIndex" ↵Robert Shih2014-11-111-4/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into lmp-mr1-dev
| * | | | | MatroskaExtractor: use GetTrackByNumber instead of GetTrackByIndexRobert Shih2014-11-081-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 18297854 Change-Id: I5e14a358576d9c7d25b7e421cd22428fb17a6e06
* | | | | | Merge "PlaylistFetcher: clear mStartup for .aac playlists after seek" into ↵Robert Shih2014-11-111-0/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | lmp-mr1-dev
| * | | | | PlaylistFetcher: clear mStartup for .aac playlists after seekRobert Shih2014-11-071-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | Bug: 18296856 Change-Id: I26beabee338312eb2125b69284052c61aef611f0
* | | | | Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-devDan Stoza2014-11-073-3/+3
|\ \ \ \ \
| * | | | | Add a BufferItem parameter to onFrameAvailableDan Stoza2014-11-043-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passes the BufferItem for the queued buffer to the onFrameAvailable callback so the consumer can track the BufferQueue's contents. Bug: 18111837 Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
* | | | | Merge "AnotherPacketSource.cpp: Do not queue discontinity signal buffer ↵Wei Jia2014-11-064-4/+6
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | resulted from seek." into lmp-mr1-dev
| * | | | AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted ↵Wei Jia2014-11-064-4/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from seek. This will remove the unnecessary flush for seek. Bug: 17511837 Change-Id: I4b7acfc71a410372f5c630afb94b6a95d09d8974
* | | | Merge "Pass resolution to Crypto plugin on format change" into lmp-mr1-devJeff Tinker2014-11-061-0/+10
|\ \ \ \ | |/ / / |/| | |