History log of /frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8437f4e9094567affaa72ba7bfab654e12e78399 31-May-2017 Ram Mohan M <ram.mohan@ittiam.com> Bug fix: timestamp deviation fail test

In mpeg2/avc/hevc decoder, after resolution change, old timestamps
are still retained by the plugin. In mpeg2 decoder these old timestamps
are being sent for the new sequence. This is corrected.

Test: Small CtsMediaTestCases
Bug: 62273493

Change-Id: Ie464e3b48df6c8f21b1dbb9d45cb3726d53285ca
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
f293e928dcd53a0bba40865698864d45ea214015 21-Dec-2016 Marco Nelissen <marcone@google.com> Use monotonic system time instead of gettimeofday

to avoid overflows when the clock changes during video decoding.

Bug: 33796695
Change-Id: Ie050c188915e80ab869721eca80249f975b4ea20
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
9270397b832d7acd670ed704008290f7f96f81a8 26-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "stagefright: report only highest levels of a profile for soft codec"
ba46fa9310d66239d7f4e0d1d7097b41c0e5869e 25-Oct-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Merge "SoftAVCDec: Handle interlaced streams where two fields are sent in one input"
am: 460dcb750d

Change-Id: I8dc483438793d73cbe2b403c085da5310740562f
dd6e6a250846653a7661219fe7033b87d1181eb5 20-Oct-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> SoftAVCDec: Handle interlaced streams where two fields are sent in one input

When both fields are sent in a single input buffer, only the first field was
being decoded. Fix this by not releasing input buffer when some bytes are still
left unused in the input buffer.
If both fields are sent in a separate call, decoder handles that correctly and
returns an output frame for every two fields

Bug: 32364044
Test: Manually tested by decoding clip attached in the above bug

Change-Id: Idab5acd9cbaefc5d2560a70d375f3a532d9e78eb
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
792997afead8fefe6978cf59940e74bb68e71824 24-Oct-2016 Chong Zhang <chz@google.com> stagefright: report only highest levels of a profile for soft codec

bug: 32378519
Change-Id: If42d8fb1114c9af060bff27bd4237623a6f2d8a4
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
a6bfb5060824f01041f956c733fec141504c280b 09-Jul-2016 Hangyu Kuang <hkuang@google.com> media: Optimize thumbnail extraction.

When extracting thumbnail image from a video, try to allocate single buffer
in both input and output ports.

Bug:29197670
Change-Id: I7c0722e7fe6f1ecd5f0b8addedeeda8d3b03249f
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
c2e98f5f60460890195b33abe40e376f800b242e 17-Jun-2016 Hangyu Kuang <hkuang@google.com> media: Add colorAspect support to SoftAVC decoder.

Bug: 27442922
Change-Id: Iad48c1b9dad76cb65530bef274d0d3c5e710e627
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
d971f83dda9605b1dcd05746b94d2800ebd8595c 26-May-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> DO NOT MERGE Codecs: Fix EOS handling in soft codecs

When EOS is sent along with non-zero length input buffer and if decoder
was still not producing output, due to initial latency, then decoder
would not produce any output. For eg. When only one input buffer with EOS
set is sent to the decoder, decoder was not producing any output.

Applies for SoftHEVC, SoftAVC and SoftMpeg2 decoders.

Bug: 28965335

Change-Id: Ic3a3bb479f9612042afcf02e6fda05c63ce84d70
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
714a433c874f8607b6bc7d127e4d83915259c74f 27-May-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Merge "Codecs: Fix EOS handling in soft codecs" am: 3156b5dc70
am: b46b3b7d0f

* commit 'b46b3b7d0f949a1cc1da0a998749415fa861f10d':
Codecs: Fix EOS handling in soft codecs

Change-Id: Ib3056b91a268bf69ebae61d8eb26f1e6d97d8163
0faa814f89c91e69fbaff16f68ebc5ce9df4e0dd 26-May-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Codecs: Fix EOS handling in soft codecs

When EOS is sent along with non-zero length input buffer and if decoder
was still not producing output, due to initial latency, then decoder
would not produce any output. For eg. When only one input buffer with EOS
set is sent to the decoder, decoder was not producing any output.

Applies for SoftHEVC, SoftAVC and SoftMpeg2 decoders.

Bug: 28965335

Change-Id: Ic3a3bb479f9612042afcf02e6fda05c63ce84d70
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
a34a5cca7791d80bdbfe0ef9659e1f991ad23e78 13-Apr-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> codecs: fix AVC decoder resolution change

Bug: 28679582
Change-Id: I55f931b39fbeb78b908c5658fca5a11fe7a61380
(cherry picked from commit 8e749bc7a29044529792b8f32e37b349647855bc)
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
29c9121904ca8f6b230ead9a8967996df9ac0a06 13-Apr-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> codecs: fix AVC decoder resolution change

Change-Id: I55f931b39fbeb78b908c5658fca5a11fe7a61380
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
ff64ea33382081f46d4b1061df00298bbbe3dd65 01-Apr-2016 Wonsik Kim <wonsik@google.com> codecs: fix wrong bug reference

Bug: 27833616
Change-Id: If5f1828ccff1e06aef2040234b86e73cbeba3326
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
87fdee0bc9e3ac4d2a88ef0a8e150cfdf08c161d 20-Mar-2016 Wonsik Kim <wonsik@google.com> codecs: check OMX buffer size before use in (avc|hevc|mpeg2)dec

Bug: 27833616
Change-Id: Ic4045a3f56f53b08d0b1264b2a91b8f43e91b738
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
2720c8b094cfa58de314daa8e5e4fb4fa81fe3b2 29-Feb-2016 Marco Nelissen <marcone@google.com> Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
c7e892937448915a89d3aaef369ecfe3999bd4eb 02-Oct-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> SoftAVCDec: Exit gracefully when memory allocation fails in the decoder

Change-Id: Ib6e16be3f128e4fc97f8f05b794da980341c81cc
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
85949f65a78d101c33195337bf051d39d74c5f9c 08-Oct-2015 Marco Nelissen <marcone@google.com> Merge "SoftAVCDec: Added a check for unsupported resolutions"
99e5e3b00291f2f7010a96dcdf014f4aa337ee23 02-Oct-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> SoftAVCDec: Added a check for unsupported resolutions

Change-Id: I97203353c7d026e02c8aad0f2c820a641e453c7c
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
de29bee23b2de8347f24287f4b04be89a7f55dab 21-Aug-2015 Marco Nelissen <marcone@google.com> resolved conflicts for merge of 69a4f949 to mnc-dev-plus-aosp

Change-Id: I7eada1ff8c56c06d9de16009136b35115bc4a43a
4d29fa302b4a93de9f4fc92b8054bae7b42688ac 04-Aug-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> SoftAVCDec: Reduced memory requirements

Change-Id: I2aaaf88e7dc9a30156764f83a81fc0cad00142f9
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
9a2f829633be47369139ffa036336248f360283c 28-Jul-2015 Marco Nelissen <marcone@google.com> am 20c63346: am 8fddd03a: Merge "Don\'t include ithread.h in decoder omx wrappers"

* commit '20c63346c29d9dacc472b9459574630fd26c216c':
Don't include ithread.h in decoder omx wrappers
8fddd03a20d6e4c0a339d68387933135a08873da 28-Jul-2015 Marco Nelissen <marcone@google.com> Merge "Don't include ithread.h in decoder omx wrappers"
87aed14c3d1462eaa92ddd00ca0b1167a2e5749e 21-Jul-2015 Chong Zhang <chz@google.com> SoftAVCDec: init decoder using updated size

bug: 22451704
Change-Id: I29ba0c1e280f57ba9abc86ddd7eef6fb46df6d19
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
11addc1d922efa0bf12e261481bba11024c7c7ab 10-Jul-2015 Wei Jia <wjia@google.com> Merge "SimpleSoftOMXComponent: change CHECK to error notification." into mnc-dev
90599b61289fbeda8312e6633c551a6e3d1a0ada 25-Jun-2015 Hamsalekha S <hamsalekha.s@ittiam.com> SoftAVCDec: fail gracefully in onQueueFilled

Bug: 21942104
Change-Id: Ia3b16b39b53c3a4678f4bba9e80dd0a715409520
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
fd866b3aa0d97375de08f8888b95669026c83361 07-Jul-2015 Wei Jia <wjia@google.com> SimpleSoftOMXComponent: change CHECK to error notification.

SoftAVCDec, SoftMPEG4: fix handling of zero-byte input buffer.

ACodec: do not send empty input buffer without EOS to the omx component.

Bug: 22199127
Change-Id: I0bbcf5778f969ba6e30d0db31770c4289e2b64a4
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
f3a5cf243fc2608c0d5dc4984806a4a8176455cf 25-Jun-2015 Robert Shih <robertshih@google.com> SoftAVCDec: fail gracefully in onQueueFilled

Bug: 21942104
Change-Id: Ia3b16b39b53c3a4678f4bba9e80dd0a715409520
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
3f0aae62ca3660a90647f08087de7a70a12cfd70 01-Jul-2015 Martin Storsjo <martin@martin.st> Don't include ithread.h in decoder omx wrappers

ithread.h probably should be considered an internal, private header.
These omx wrappers don't use anything from this header anyway, so
stop including it.

Change-Id: I5f14f3eae86c6b5f6ffa193d4b97f483d9be6fb0
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
defb2374a0e0adbd3714a2cd02be3c309cde4875 09-Jun-2015 Martin Storsjo <martin@martin.st> Clear the executable bit from source files

The executable bit was accidentally set on these files in commits
eedcd5cccc and ec7398f37.

Change-Id: I057e8841ad12561b05c4dc9553ca1cd664c7f59c
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
3ecc9db40b1fb9c7f807a5892e5c9625aac1fb06 16-Jun-2015 Marco Nelissen <marcone@google.com> Fix software video decoder buffer size calculation

Various software video decoders would specify the buffer size as if it were
fully cropped, which then failed a sanity check in SoftwareRenderer.
They now return the full buffer size.

Bug: 21717327
Bug: 21443020
Change-Id: I19fcd091827ebd52a95a5509281a07ccc156e0e5
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
7ad1667690966b620f2e2912b970f2a815449bfe 09-Jun-2015 Martin Storsjo <martin@martin.st> Clear the executable bit from source files

The executable bit was accidentally set on these files in commits
eedcd5cccc and ec7398f37.

Change-Id: I057e8841ad12561b05c4dc9553ca1cd664c7f59c
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
11aaefb57fdd0076eb5484c3c5bd3bff5f6cb5e0 03-Jun-2015 Marco Nelissen <marcone@google.com> SoftAVCDec: Added support for level greater than level at init

Bug: 21144884

Change-Id: Idda3fbf6c30e99d6df2b1e53a1f65c8ec55586ce
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
eedcd5cccc2be322e34d725759c2d01c227b89e4 19-May-2015 Hamsalekha S <hamsalekha.s@ittiam.com> SoftAVCDec: Added support for level greater than level at init

Bugfix: 21144884

Change-Id: Idda3fbf6c30e99d6df2b1e53a1f65c8ec55586ce
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
ee4e1b1a63758941460ae79a064249d3a5189443 17-Apr-2015 Lajos Molnar <lajos@google.com> stagefright: warnings be gone, some are now errors, use clang

Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp
e5b9b3db87a55d3430f881ba59ba95f7d6ae41d0 02-Apr-2015 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> stagefright: add SoftAVCDec using libavc

Change-Id: Ie808aa82c624dbbcaeb6b41662c9b7770bc80bd9
/frameworks/av/media/libstagefright/codecs/avcdec/SoftAVCDec.cpp