History log of /hardware/google/av/codec2/vndk/C2Buffer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2cc26aada0fc1c80eb2564eb19f1b085380d07b9 30-May-2018 Pawin Vongmasa <pawin@google.com> cancelBuffer() when bufferqueue-based block dies

Test: adb shell setprop debug.stagefright.ccodec 3
adb shell setprop debug.stagefright.c2-poolmask 327680
adb shell setprop debug.stagefright.omx_default_rank 1000
adb shell killall mediaserver
* Then, play videos.

Bug: 32691050
Bug: 64121714
Bug: 79838609

Change-Id: Idc0a997897e2cd8677d6eb030f0964beab1d3625
/hardware/google/av/codec2/vndk/C2Buffer.cpp
da9d245365644c12eaa95b4c043cc7e357cdf7d7 15-May-2018 Sungtak Lee <taklee@google.com> bufferpool: Close inactive bufferpool connections

Close bufferpool connections which are inactive for long time without
having any active buffer references and caches.
Also Implement cache eviction on bufferpool and show allocation
information of used bufferpools every 5 seconds.

Bug: 72651719
Change-Id: I2362c9b62f5494fd7e022b025d423f3f97a3b4b2
/hardware/google/av/codec2/vndk/C2Buffer.cpp
546fd714e7c4e53e6c05a9e5fb5c04c3c7ad381e 17-May-2018 Sungtak Lee <taklee@google.com> bufferpool: Do not expose IAccessor

Use connection Id instead of IAccessor.

Bug: 72651719
Change-Id: Icc984b14dfeac4f4014153ed60c0c24a81a69997
/hardware/google/av/codec2/vndk/C2Buffer.cpp
4a3e4577f5c1c9bd9f52f23f42fbc92a1c869b79 16-May-2018 Pawin Vongmasa <pawin@google.com> Add gralloc support for BufferPool-based blockpool

Test: adb shell setprop debug.stagefright.ccodec true
adb shell setprop debug.stagefright.omx_default_rank 1000
adb shell killall mediaserver
* Then, play videos.

Test: adb shell setprop debug.stagefright.ccodec true
adb shell setprop debug.stagefright.omx_default_rank 1000
adb shell killall mediaserver
adb shell mkdir -p /sdcard/videos
adb shell screenrecord --codec-name c2.android.avc.encoder \
--time-limit 10 /sdcard/videos/screenrecord.mp4
adb pull /sdcard/videos/screenrecord.mp4

Bug: 64121714
Bug: 79736865

Change-Id: I4d14ae81859b6ab2cdd69dc993c055a3b7f8708b
/hardware/google/av/codec2/vndk/C2Buffer.cpp
dec0d49536acd2fb3df7380f989d1b63104eae14 22-May-2018 Lajos Molnar <lajos@google.com> c2: track C2Buffer infos by core index, and add getter

C2Buffer infos are unscoped, so track them by core index instead of
type. Keep using C2Param::Type to allow to get a scoped version in the
future.

Bug: 79493409
Change-Id: I9864f3a8e6dc7f13c0a6ae61cabca1f946f4df68
/hardware/google/av/codec2/vndk/C2Buffer.cpp
8466db50f14989d9413ef13a7da97ca987480194 13-May-2018 Sungtak Lee <taklee@google.com> Handle unwanted resource creations & leaks

Bug: 72651719
Change-Id: I21ffd969c3b57d52a89a31415253a5fcdc8346f8
/hardware/google/av/codec2/vndk/C2Buffer.cpp
38a50ccb2fac6c65d252fb4088b7dfac54c2fd37 04-May-2018 Sungtak Lee <taklee@google.com> c2 bqbbp: Minor cleanup

Remove native_handle from BufferPoolData.
Add a platform allocator id for bufferqueue backed graphic buffer
allocation.

Bug: 64121714
Bug: 74526534
Change-Id: I4f78de0b680797ed7551161c2b3a6ed2618ab6ad
/hardware/google/av/codec2/vndk/C2Buffer.cpp
878e45a7f16a9a68b322f7bdb369bf653a0f66cb 24-Apr-2018 Sungtak Lee <taklee@google.com> Provide a way to receive transferred buffers via C2BlockPool

Each C2BlockPool implementation varies much and requires different
informations in order to handle transfer and ownership. Provide a way
to receive and release buffers regardless of C2BlockPool's underlying
implementation.

Test: adb shell setprop debug.stagefright.ccodec true
adb shell setprop debug.stagefright.omx_default_rank 1000
adb shell killall mediaserver
* Then, play videos.

Bug: 64121714
Bug: 78483665
Change-Id: Ib61b7e147604df8b3a92131d540a34a37e31102e
/hardware/google/av/codec2/vndk/C2Buffer.cpp
c406604d66cd8aa7ead7fdb7647d90ccae0a1a29 01-May-2018 Lajos Molnar <lajos@google.com> c2: fix up enum types

Bug: 64121714
Change-Id: I99ee72df265d2d6c2920efd73ec4f43f05f70184
/hardware/google/av/codec2/vndk/C2Buffer.cpp
6c65f54ce728454162b5bafc100aec023fcac6e1 19-Apr-2018 Sungtak Lee <taklee@google.com> Refactor BufferPool

Introduce bufferpool sub path for header inclusion in order to avoid
name collision. And minor code cleaning.

Bug: 72651719
Change-Id: I369dc7bf2e634a74d1ebd285cafdb3a1400acdc8
/hardware/google/av/codec2/vndk/C2Buffer.cpp
d13c51caeec5e2104e33a4dca34eeb8ad2f3d804 04-Apr-2018 Lajos Molnar <lajos@google.com> Codec2: add virtual destructor to 2D block implementation classes

These are at times used as the base class so ensure proper
destruction.

Bug: 64121714
Test: screenrecord and stagefright
Change-Id: Id747be56f7a1c4b149089969fa4914fc510fc20c
/hardware/google/av/codec2/vndk/C2Buffer.cpp
4344f091aebaf3aee3ff062a95a05273bd2b1c57 22-Mar-2018 Wonsik Kim <wonsik@google.com> Move codec2 out of frameworks/av

Bug: 74403547
Test: builds
Change-Id: I4d4e9beb700082f41c88166d31032c823352cf27
/hardware/google/av/codec2/vndk/C2Buffer.cpp