History log of /frameworks/av/media/libstagefright/bqhelper/GraphicBufferSource.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6c2d0add22ee72566623834bbfeb6170b4c94588 25-May-2018 Chong Zhang <chz@google.com> Notify GraphicBufferSource to disable framedrop logic

Change-Id: Icb00281b04084e1cb6d273aed0733265bd03a0de
Bug: 79699819
Test: camera's HeifWriterTest as attached to bug;
Manually test with HeifWriterDemo, and send a backward frame,
check the test still get all frames.
Cast Mirroring.

Change-Id: Icb00281b04084e1cb6d273aed0733265bd03a0de
/frameworks/av/media/libstagefright/bqhelper/GraphicBufferSource.cpp
2b0ee6728363723b8908bda4578aa27d2c77c29b 09-Mar-2018 Pawin Vongmasa <pawin@google.com> Stop GraphicBufferSource's looper without locking

Before this CL, the following sequence of events could cause a deadlock:
- Binder thread: Acquires the mutex (mMutex) inside release().
- Looper thread: Blocks inside onMessageReceived() as it tries to
acquire the mutex.
- Binder thread: Calls mLooper->stop() inside release(), which waits for
the looper thread to finish executing onMessageReceived().

Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 74170420
Change-Id: Ie63b19107f10937f7a301fe74b38f15076cc0ed9
/frameworks/av/media/libstagefright/bqhelper/GraphicBufferSource.cpp
82832ceb96670bf95013c7b42e22f32f58050131 27-Jan-2018 Wonsik Kim <wonsik@google.com> Move WGraphicBufferProducer from omx to bqhelper

In addition, make TWGraphicBufferProducer a template so that it can
inherit from any descendants of IGraphicBufferProducer so that it's
possible to avoid diamond inheritance while reusing the
implementation.

Test: adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Change-Id: Iad5479735af1ae83f2175b1968a3e040d77a3bc0
/frameworks/av/media/libstagefright/bqhelper/GraphicBufferSource.cpp