summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/MediaCodecSource.h
Commit message (Collapse)AuthorAgeFilesLines
* video: Port AOSP fixesSurajit Podder2015-10-061-1/+1
| | | | | | | | | | | | Includes following fixes: f510d0c libstagefright: Disable multi slice mode for video encode ca46843 audio: Fix for failure in CTS MediaRecorderTest cases b4d0490 libstagefright: check the audio source when adding to MPEG4Writer 89c6c3f libstagefright: Allocate cached camera buffers for sw encoders f2c387b libstagefright: Choose target specific media_codecs.xml f3e7122 libstagefright: Implement fallback mechanism to SW decoder Change-Id: I90398b2fead1f4e163935bf1db342e24275f7933
* stagefright: ask for flex-YUV camera buffers for software encodersLajos Molnar2015-06-261-0/+3
| | | | | Bug: 13222807 Change-Id: I854b73a63cf9239311729598241725d84e8513aa
* MediaRecorder: implement persistent input surface APIsChong Zhang2015-05-011-0/+4
| | | | | | | Bug: 19127604 Bug: 19489395 Change-Id: I7dd8015a8fe029f9867fcdb52322629c77eff50b
* libmediaplayerservice: fix warnings, make warnings errors, use clangLajos Molnar2015-04-171-1/+1
| | | | Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
* stagefright: don't use ALooperRoster mutex for reply handlingLajos Molnar2015-03-101-1/+2
| | | | | | | | 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
* Stagefright: use MediaCodec in async mode for recordingPraveen Chavan2014-11-121-4/+0
| | | | | | | | | 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
* MediaRecorder: only dequeue available buffers from MediaCodecChong Zhang2014-10-031-1/+1
| | | | | Bug: 17514968 Change-Id: If232f92d163deb2440b927315c69e0c4d51ca290
* MediaCodecSource: stop puller from caller's thread instead of looperChong Zhang2014-08-041-2/+1
| | | | | | | | | | | | | | | | | | | | 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
* Change StagefrightRecorder to use MediaCodecChong Zhang2014-02-051-0/+134
Bug: 12305192 Change-Id: I72d7cb571be5bd348b58ad650f3269d24c15d350