summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/SoftVideoEncoderOMXComponent.h
Commit message (Collapse)AuthorAgeFilesLines
* stagefright: misc fixes to software video encoders (and decoders)Lajos Molnar2014-12-101-0/+38
| | | | | | | | | | | | | | | | | | | - move logic to set encoder parameters to common encoder class (similarly to what was done for decoders) - set compressed buffer size based on frame size and compression ratio, and codec-specific minimum size - set raw buffer size based on frame size and metadata mode - do not set stride and slice height on compressed ports - advertise only QCIF support for google H263 encoder - set large-enough input size for video decoders to support adaptive playback - do not change input buffer size on output port reconfiguration, as no input buffer reallocation takes place - do not return empty buffers with EOS after EOS has been signaled Bug: 18513091 Bug: 18639027 Change-Id: Ib13492ef66adf331aa4572c67d2b283ea020cb41
* stagefright: fix surface input handling of software encodersLajos Molnar2014-10-131-0/+67
- added SoftVideoEncoder for common color conversion and extension handling logic - fix YUV420 SemiPlanar handling that should be NV12 not NV21 Bug: 17935149 Change-Id: I9b8d05678b1862dd37bf349ea83d67bdf1bb5560