History log of /frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
590fce51b958ab882e6e43f79151382fcef22623 08-Apr-2016 Wonsik Kim <wonsik@google.com> Merge "codecs: check OMX buffer size before use in (h263|h264)dec" into lmp-dev
am: c3cd9ea

* commit 'c3cd9ea24d2eef42881f948f5b0278c6cd9023bb':
codecs: check OMX buffer size before use in (h263|h264)dec

Change-Id: I93a3b15a6a7804502638b484bb6b45790cd374fc
3a3c3f7fc658ef874f82e46857ad9df3616aac95 20-Mar-2016 Wonsik Kim <wonsik@google.com> codecs: check OMX buffer size before use in (h263|h264)dec

Bug: 27833616
Change-Id: I0fd599b3da431425d89236ffdd9df423c11947c0
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
a0940a569f2bc24b00dc10ce0fa7658b1dc3a3a5 24-Sep-2014 Lajos Molnar <lajos@google.com> stagefright: misc fixes to software video encoders (and decoders)

- 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
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
d5a2f55034022f2d0425fa0701894d0c4787b726 24-Sep-2014 Ronghua Wu <ronghuawu@google.com> stagefright: fix cropping handling for SoftAVC and SoftMEPEG4.

Bug: 17326758
Change-Id: I9b0c281d92cf1803e275b1768e9edab9404ea577
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
bf220f3e6e799f28d1599c3c5106e9e15631a91d 02-Sep-2014 Ronghua Wu <ronghuawu@google.com> stagefright: add adaptive playback support to SoftAVC decoder.

Also change SoftVPX decoder to use common handlePortSettingsChanged
and copyYV12FrameToOutputBuffer method.

Bug: 17326758
Change-Id: I6fb2ee8fb9291f69c70493b8558af341adc1f4b2
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
84333e0475bc911adc16417f4ca327c975cf6c36 08-Feb-2014 Andreas Huber <andih@google.com> warnings be gone.

Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
2309d1a1ff016a31d9aa68272bcb471e64a26cfa 14-Jun-2013 Andreas Huber <andih@google.com> The software avc decoder would silently drop output frames if not

enough room was available in the output queue at the time they were
available. No more.

Change-Id: I5957290d40ba31bda7944271ec7f2aa0f1f7043c
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
7f616d3cc5366a4b8af20d3d0c768e3de1df0666 05-Jun-2013 Lajos Molnar <lajos@google.com> stagefright: created SoftVideoDecoderOMXComponent

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>
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
d94e716af0e49d775f0c0c4f36dd2c136ba5f2b2 04-Jun-2013 Andreas Huber <andih@google.com> Fix our software decoders to reset (more of) their internal state

properly on a transition from idle->loaded.

Change-Id: I56ccfeef24c391e50e42b522194206e35c7ab700
related-to-bug: 9105408
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
4c44e9fed87ff6363393f2559b150291242da247 20-Dec-2012 Marco Nelissen <marcone@google.com> Ensure proper EOS behavior

If a buffer is tagged with EOS but has data in it, decode that data
instead of ignoring it.

Change-Id: Ie41c8485c3ad7fe7d9c64f0752c2e7601d91d602
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
2961a85f5f00343c115ac8e5dc17de631694fb6e 09-Nov-2011 Andreas Huber <andih@google.com> There's no point in trying to continue to decode after an error was signalled.

Change-Id: I2a2410cac9444eadd85be5d104799703171f1a24
related-to-bug: 5588658
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
457116d3a01618acf9a875020ca5860551ba03a6 11-Jul-2011 James Dong <jdong@google.com> Support profile and level query for SW video decoders

Change-Id: I9c20db128be96cd36cf2083e08e8c21f5e6d1fdf
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
486247017e0bfb9db9994a53a28c0dacfebf8567 18-Jun-2011 James Dong <jdong@google.com> Reduce the number of output buffers and force output buffers in display order for SoftAVC decoder

Change-Id: I9ec6d8205e7a56e42d5b5799a6c2e31076d24b81
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
639ffaca514deb9de538bc2dc6e712380db68fd3 09-Jun-2011 James Dong <jdong@google.com> Correctly handle crop rect event in SoftAVC.cpp

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
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp
0c1bc742181ded4930842b46e9507372f0b1b963 01-Jun-2011 James Dong <jdong@google.com> Initial-checkin for ON2 Software AVC/H264 decoder

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
/frameworks/av/media/libstagefright/codecs/on2/h264dec/SoftAVC.cpp