summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* codecs: check OMX buffer size before use in (h263|h264)decWonsik Kim2016-04-211-5/+21
| | | | | Bug: 27833616 Change-Id: I0fd599b3da431425d89236ffdd9df423c11947c0
* stagefright: misc fixes to software video encoders (and decoders)Lajos Molnar2014-12-101-2/+4
| | | | | | | | | | | | | | | | | | | - 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 cropping handling for SoftAVC and SoftMEPEG4.Ronghua Wu2014-09-241-6/+8
| | | | | Bug: 17326758 Change-Id: I9b0c281d92cf1803e275b1768e9edab9404ea577
* stagefright: add adaptive playback support to SoftAVC decoder.Ronghua Wu2014-09-101-45/+36
| | | | | | | | Also change SoftVPX decoder to use common handlePortSettingsChanged and copyYV12FrameToOutputBuffer method. Bug: 17326758 Change-Id: I6fb2ee8fb9291f69c70493b8558af341adc1f4b2
* warnings be gone.Andreas Huber2014-02-111-1/+1
| | | | Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
* The software avc decoder would silently drop output frames if notAndreas Huber2013-06-141-35/+30
| | | | | | | enough room was available in the output queue at the time they were available. No more. Change-Id: I5957290d40ba31bda7944271ec7f2aa0f1f7043c
* stagefright: created SoftVideoDecoderOMXComponentLajos Molnar2013-06-051-240/+9
| | | | | | | | Created common base class for all software video decoders to make adding new features easier. Change-Id: Id89964e572d5cc5add02662273e6ae96c6b7eb12 Signed-off-by: Lajos Molnar <lajos@google.com>
* Fix our software decoders to reset (more of) their internal stateAndreas Huber2013-06-031-0/+5
| | | | | | | properly on a transition from idle->loaded. Change-Id: I56ccfeef24c391e50e42b522194206e35c7ab700 related-to-bug: 9105408
* Ensure proper EOS behaviorMarco Nelissen2012-12-201-7/+3
| | | | | | | If a buffer is tagged with EOS but has data in it, decode that data instead of ignoring it. Change-Id: Ie41c8485c3ad7fe7d9c64f0752c2e7601d91d602
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-2/+2
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* There's no point in trying to continue to decode after an error was signalled.Andreas Huber2011-11-091-8/+9
| | | | | Change-Id: I2a2410cac9444eadd85be5d104799703171f1a24 related-to-bug: 5588658
* Support profile and level query for SW video decodersJames Dong2011-07-111-0/+42
| | | | Change-Id: I9c20db128be96cd36cf2083e08e8c21f5e6d1fdf
* Reduce the number of output buffers and force output buffers in display ↵James Dong2011-06-261-1/+2
| | | | | | order for SoftAVC decoder Change-Id: I9ec6d8205e7a56e42d5b5799a6c2e31076d24b81
* Correctly handle crop rect event in SoftAVC.cppJames Dong2011-06-091-8/+10
| | | | | | | | Width and height of the video frame was incorrectly overwritten when a cropping need was detected. Using a separate crop width and crop height resolves the problem. Change-Id: I8a371c7fe7f8417a7995d7a7fe231120274ea0c8 related-to-bug: 4575591
* Initial-checkin for ON2 Software AVC/H264 decoderJames Dong2011-06-021-0/+515
o when neon is present, the performance gain of On2 AVC software decoder over PV software decoder is more than 30%. o In addition, it fixes some known PV software decoder issues like missing output frames o allow both pv and on2 software avc to be available for easy comparision o change output frames from 8 to 16 Change-Id: I567ad1842025ead7092f0c47e3513d6d9ca232dd