3e328782f1e1061d08ea0c45b855cc418a2d9ea6 |
|
09-May-2016 |
Lajos Molnar <lajos@google.com> |
stagefright: untangle metadata-mode handling - specify requested metadata mode from producers to OMX - (pass requested metadata in IOMX::storeMetadataInBuffers) - use correct logic for native handle source - use native handle source for encoded meta buffers Bug: 22775369 Change-Id: I58b03acd3e9a5367d5010d7f87b7af5cae23362c
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
ee0eba046f666303741a5a5f70afad17030cc8b1 |
|
22-Mar-2016 |
Lajos Molnar <lajos@google.com> |
stagefright: MediaCodecSource: protect output format updates avoid race condition between format updates and reads. Bug: 27477022 Change-Id: Ie4aee2d902296db8a8c055a7016acd1b879f437a
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
b77d03b62cb743d0faf74b54aa466b4d220b5e61 |
|
03-Mar-2016 |
Lajos Molnar <lajos@google.com> |
stagefright: connect color aspects and surface dataspace 1. Keep configuration format as video decoder and encoder will need it to reset their default color aspects on mode/size change. 2. Separate color aspect handling for decoder and encoder as they are quite different. Update decoder and encoder color aspect setting to latest policy. 3. propagate dataspace to GraphicBufferSource, MediaCodecSource, CameraSource and SoftwareRenderer Bug: 25684127 Change-Id: Ie9a7528af36ed44605a7ce3e69b5794ef16b1c66
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
6a3a56fbcd6c01c3895f14e43858971b0edca9b2 |
|
03-Feb-2016 |
Lajos Molnar <lajos@google.com> |
stagefright: rework MediaCodecSource Redesigned MediaCodecSource to fix issues with source::stop(), where there were still outstanding input buffers when the input source was closed. - moved input queue and state inside Puller - Puller::pause, resume and stop is now atomic from caller's thread - input source is accessed from Puller's looper, unless a blocked read operation is detected. - added stop timeout, so if Puller's looper is blocked, but it is not yet detected, input source->stop is still called. - using Mutexed helper class to ensure locked member access Bug: 26964806 Change-Id: Icd6d4fc42a7c8e08b54e856c028f3d1fed5ae32d (cherry picked from commit 6d26518f0c3872bc54ececb0fbbba0c006d72553)
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
16fcc47c113e63efa69f5af5decf1ad46ec653a9 |
|
05-Feb-2016 |
Lajos Molnar <lajos@google.com> |
stagefright: add PREFER_SOFTWARE_CODEC flag to MediaCodecSource Bug: 17108024 Change-Id: I553d7ccf9df9d4eb3d8bffa2f11ae32d03b9d6c3
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
d008275796ac4cccf85fefce53cef733a49bc1fa |
|
31-Aug-2015 |
Wonsik Kim <wonsik@google.com> |
Implement pause/resume functionality to MediaRecorder Bug: 20092236 Change-Id: Ia0e92ff246302fd5fdef53c4f961d6645cc26a86
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
c93a13669ce1b5a9e6527b4c86c9d8f5e92be828 |
|
26-Jun-2015 |
Lajos Molnar <lajos@google.com> |
stagefright: ask for flex-YUV camera buffers for software encoders Bug: 13222807 Change-Id: I854b73a63cf9239311729598241725d84e8513aa
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
e2a2dfcbf0c9d6bb7139263ecf0d8e53b4ca1049 |
|
01-May-2015 |
Chong Zhang <chz@google.com> |
MediaRecorder: implement persistent input surface APIs Bug: 19127604 Bug: 19489395 Change-Id: I7dd8015a8fe029f9867fcdb52322629c77eff50b
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
6d339f1f764bbd32e3381dae7bfa7c6c575bb493 |
|
18-Apr-2015 |
Lajos Molnar <lajos@google.com> |
libmediaplayerservice: fix warnings, make warnings errors, use clang Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
3f27436a9346f043f52265da1e6a74cde2bffd4d |
|
05-Mar-2015 |
Lajos Molnar <lajos@google.com> |
stagefright: don't use ALooperRoster mutex for reply handling Change replyID-s from uint32_t to an object Move reply handling into the loopers (to reuse a common mutex) Bug: 19607784 Change-Id: Iaa035b846c424c5687ed17ce1079b325e86c54be
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
1099188151eb63af24ecf542b58d4257bbb8236a |
|
16-Oct-2014 |
Praveen Chavan <pchavan@codeaurora.org> |
Stagefright: use MediaCodec in async mode for recording Async mode reduces the number of messages posted between MediaCodec and MediaCodecSource. This reduces thread wakeups and helps reduce CPU utilization. Bug: 18246026 Change-Id: I4b0837f309fdd12e323c1dfa72525f5a31971a03
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
f2a64852a4a48c5a3d8a08ffcda20d6884586672 |
|
04-Oct-2014 |
Chong Zhang <chz@google.com> |
MediaRecorder: only dequeue available buffers from MediaCodec Bug: 17514968 Change-Id: If232f92d163deb2440b927315c69e0c4d51ca290
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
16e79115e497386eaf010af388627f94314a55a3 |
|
01-Aug-2014 |
Chong Zhang <chz@google.com> |
MediaCodecSource: stop puller from caller's thread instead of looper Currently CameraSource/AudioSource's stop() and read() are both called from the puller's looper. This works if source operates normally (i.e. read() returns regularly before source is stopped), as the stop() will eventually be handled by the looper. However, if for some reason the source hang, it will get stuck in read(), and the stop() will never be processed, which could lead to ANR (in addition to the source hang). We need to move the source's stop out of the puller's looper. It also can't be on MediaCodecSource's looper, because the source's stop synchrounously waits for all outstanding buffers to return, these are only returned when MediaCodecSource's looper processes the buffer. This change moves the stop to MediaCodecSource::stop, after encoder is shutdown. Bug: 16522726 Change-Id: Ie91f563c5d8a98ab091bf1945af4e51f662b9403
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|
72cecca17d735db6532c45f0a7e10c47ee6f065a |
|
26-Dec-2013 |
Chong Zhang <chz@google.com> |
Change StagefrightRecorder to use MediaCodec Bug: 12305192 Change-Id: I72d7cb571be5bd348b58ad650f3269d24c15d350
/frameworks/av/include/media/stagefright/MediaCodecSource.h
|