History log of /hardware/google/av/codec2/vndk/include/C2AllocatorGralloc.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/include/C2AllocatorGralloc.h
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/include/C2AllocatorGralloc.h
8060cb241e5091bc325599b0d609fd36360942e9 17-Apr-2018 Sungtak Lee <taklee@google.com> Use C2BufferQueueBlockPool

Implements BlockPool management API.
And uses C2BufferQueueBlockPool from Decoders.

Bug: 74077399
Change-Id: Iab9efc1c08f7cdd14501166d17f3eef2e754f9f8
/hardware/google/av/codec2/vndk/include/C2AllocatorGralloc.h
39d6e9366df0bd14dda1f97c9e6a43032dead1b0 28-Mar-2018 Sungtak Lee <taklee@google.com> BufferQueue backed C2BlockPool

IGBP based BlockPool is implemented. Without IGBP the BlockPool behaves
exactly same as C2BasicGraphicBlockPool.

After IGBP is registered, the BlockPool gives a block based on graphic
buffer of the IGBP. IGBP id and slot id is given via ExtraData of
C2Handle. The information can be used to decide whether to attach the
buffer or not.

Bug: 74077399
Change-Id: Id12f183b8e7853bfd993588016f8f35faaca716c
/hardware/google/av/codec2/vndk/include/C2AllocatorGralloc.h
529c781ab507a1b6edc4460491e86cdfe29fb012 03-Apr-2018 Lajos Molnar <lajos@google.com> Codec2: propagate memory usage for gralloc buffers

Bug: 64121714
Test: stagefright and screenrecord
Change-Id: Ib70bd31a1ad9e52cea773b29cc9a899d1ded3a66
/hardware/google/av/codec2/vndk/include/C2AllocatorGralloc.h
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/include/C2AllocatorGralloc.h