-
- Downloads
C2VdaBqBlockPool: Use GEM handle as the identifier of graphic buffers.
Originally we assume the buffers at BufferQueue are not moved to different slot. Then we could track the buffers by the slot index. However, MediaSync implementation detach buffers and attach back to BufferQueue. The slot index might be changed. This CL changes to use GEM handle as the identifier of graphic buffers. Because all the graphic buffers are allocated by gralloc, we could get the GEM handle by DRM. V4L2GraphicAllocator is not used anymore. Bug: 177484971 Test: android.media.cts.AdaptivePlaybackTest Change-Id: I6b7f3f9a6c1d6b97d0e44aa2a19bc71ad3bab880
Showing
- components/VideoFramePool.cpp 17 additions, 3 deletionscomponents/VideoFramePool.cpp
- components/include/v4l2_codec2/components/VideoFramePool.h 3 additions, 0 deletionscomponents/include/v4l2_codec2/components/VideoFramePool.h
- plugin_store/Android.bp 2 additions, 1 deletionplugin_store/Android.bp
- plugin_store/C2VdaBqBlockPool.cpp 92 additions, 20 deletionsplugin_store/C2VdaBqBlockPool.cpp
- plugin_store/C2VdaPooledBlockPool.cpp 17 additions, 4 deletionsplugin_store/C2VdaPooledBlockPool.cpp
- plugin_store/DrmGrallocHelpers.cpp 73 additions, 0 deletionsplugin_store/DrmGrallocHelpers.cpp
- plugin_store/V4L2GraphicAllocator.cpp 0 additions, 273 deletionsplugin_store/V4L2GraphicAllocator.cpp
- plugin_store/V4L2PluginStore.cpp 3 additions, 3 deletionsplugin_store/V4L2PluginStore.cpp
- plugin_store/include/v4l2_codec2/plugin_store/C2VdaBqBlockPool.h 2 additions, 0 deletions...store/include/v4l2_codec2/plugin_store/C2VdaBqBlockPool.h
- plugin_store/include/v4l2_codec2/plugin_store/C2VdaPooledBlockPool.h 4 additions, 0 deletions...e/include/v4l2_codec2/plugin_store/C2VdaPooledBlockPool.h
- plugin_store/include/v4l2_codec2/plugin_store/DrmGrallocHelpers.h 19 additions, 0 deletions...tore/include/v4l2_codec2/plugin_store/DrmGrallocHelpers.h
- plugin_store/include/v4l2_codec2/plugin_store/V4L2GraphicAllocator.h 0 additions, 58 deletions...e/include/v4l2_codec2/plugin_store/V4L2GraphicAllocator.h
Loading
Please register or sign in to comment