diff options
author | Pin-chih Lin <johnylin@google.com> | 2018-05-09 20:54:02 +0800 |
---|---|---|
committer | Pin-chih Lin <johnylin@google.com> | 2018-05-16 21:16:55 +0800 |
commit | fec9858bc46a83fc361574cb71bf3bfa240321aa (patch) | |
tree | 32849769d09653e393f1c330d26ee1435704c4b7 /Android.mk | |
parent | 1ca0d0b761fd3074c538f3d31487f1b524e096da (diff) | |
download | v4l2_codec2-fec9858bc46a83fc361574cb71bf3bfa240321aa.tar.gz |
codec2: add dequeue thread loop to recycle output buffers
The dequeue thread is implemented for C2VDAComponent to process a routine to
dequeue buffer from C2VDABQBlockPool. When a buffer (along with its slot index)
is dequeued and obtained from block pool, C2VDAComponent has the map of slot
index to buffer id, and the corresponding buffer is then reusable for VDA.
Note: this change will break C2VDAComponent_test, need to fix it
Note: this only support output surface mode, we need another solution for
byte-buffer mode
Bug: 79239042
Test: CtsMediaTestCases android.media.cts.MediaPlayerTest#testLocalVideo_MP4_H264_480x360_1000kbps_25fps_AAC_Stereo_128kbps_44110Hz
Change-Id: Icb0ed0361eb39c067dc57d28462dad031a6319c3
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ LOCAL_SHARED_LIBRARIES := libbinder \ liblog \ libmedia \ libstagefright \ + libstagefright_bufferqueue_helper \ libstagefright_codec2 \ libstagefright_codec2_vndk \ libstagefright_foundation \ |