History log of /frameworks/av/media/libstagefright/SkipCutBuffer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7e34bf5af26f8752d4786d3098740cdf51e2438f 22-Aug-2016 Wonsik Kim <wonsik@google.com> MediaCodec refactoring part 1-a: buffers become separate class

MediaCodecBuffer is meant to replace ABuffer and MediaBuffer in
communication between framework components. As the first step, replace
use of ABuffer in MediaCodec with MediaCodecBuffer, and adjust related
classes accordingly.

MediaCodec.getBuffer() and related APIs now returns MediaCodecBuffers;
thus change MediaCodec clients to use MediaCodecBuffer accordingly.

Test: manually tested for key use cases (Camera, YouTube and Play Movies)
Change-Id: Iba7ce131645e75ce5ddbf497fb793ab38b7f245b
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
b1cf03160fa7e7bc6e5cf138db07a7e1ab2ecb26 17-Oct-2015 Marco Nelissen <marcone@google.com> Move overflow checks into SkipCutBuffer

Previously SkipCutBuffer would check its input parameters to ensure
they were sane, however since bogus values might be the result of
overflows, and overflow protection was recently turned on for
libstagefright, the compiler's overflow checks were performed before
SkipCutBuffer's, resulting in abort rather than just ignoring the
bogus values.
Moving the multiplication by framesize into SkipCutBuffer fixes this.

Change-Id: I1ad6744bb045a5212701bbf6ee44eecb5f318210
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
e1054e74bb02ad4789bfce1e3a04f04825a572db 19-Oct-2015 Marco Nelissen <marcone@google.com> Revert "Move overflow checks into SkipCutBuffer"

This reverts commit 6867e1a1e25d4ec5344eae070f0fbc284bb92876.

Change-Id: I90d479dac014c72ffa7151a30e79e68d9ce967ac
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
6867e1a1e25d4ec5344eae070f0fbc284bb92876 17-Oct-2015 Marco Nelissen <marcone@google.com> Move overflow checks into SkipCutBuffer

Previously SkipCutBuffer would check its input parameters to ensure
they were sane, however since bogus values might be the result of
overflows, and overflow protection was recently turned on for
libstagefright, the compiler's overflow checks were performed before
SkipCutBuffer's, resulting in abort rather than just ignoring the
bogus values.
Moving the multiplication by framesize into SkipCutBuffer fixes this.

Change-Id: I82497a05af17c91a8d271882f7354fae6497382a
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
d5fa8d5dcdf8742f03fdc165f7529d7627b0eb01 18-Aug-2015 Marco Nelissen <marcone@google.com> Sanity check padding/delay values for gapless playback

Bug: 23306638
Change-Id: Id77637eb897d9e484f1b32e022c99c51c1bd9a1e
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
a6cdabf38b29ee98bdb3e874b4e2978dbc409624 18-Sep-2013 Marco Nelissen <marcone@google.com> Fully reset SkipCutBuffer state in clear()

b/8543366

Change-Id: I1b90d56ba3d672fd12b4ee91fa9ba24c665126ed
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
ad4e408b8ea397caadbfee85e1e39515e7e08104 26-Oct-2012 Glenn Kasten <gkasten@google.com> Turn off executable bit on ordinary files

Change-Id: I0abea25b58fb1d03975bed9cca40f826fcd4c5e4
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
cb5b766bb0a3ed992998a5bd66de0ee1d2223b81 29-Mar-2012 Marco Nelissen <marcone@google.com> Add ABuffer support to SkipCutBuffer

Add support for ABuffer to SkipCutBuffer, and make it (re)allocate an
appropriately sized buffer when needed, rather then relying on the
caller to tell it ahead of time how big the buffers are going to be.

Change-Id: I8b5c9ba5dd2fc13ef8870b7d4fe93a1bfdc7a626
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp
a98478bfbcc0f7fb4b164d3dce40ca96df75667d 21-Mar-2012 Marco Nelissen <marcone@google.com> Support gapless playback for mp3 and m4a

Gapless playback for appropriately tagged mp3 and m4a files.
Currently this is implemented in OMXCodec, which most players
use, but should be easy to support in other players as well by
using the SkipCutBuffer utility class.

Change-Id: I748c669adc1cfbe5ee9a7dea2fad945d48882551
/frameworks/av/media/libstagefright/SkipCutBuffer.cpp