summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed error concealment when no MBs are decoded in the current picstable/cm-13.0-ZNH2KBHarish Mahendrakar2016-09-081-0/+3
| | | | | | | | | CYNGNOS-3235 Bug: 29493002 Change-Id: I3fae547ddb0616b4e6579580985232bd3d65881e (cherry picked from commit b926905ee245644806e62bef92b61c8832c44fd8) (cherry picked from commit 74bd4fa6628b5ee4f76bbe0643147164557799b0)
* Fix slice params for interlaced videoHarish Mahendrakar2016-07-082-2/+1
| | | | | | | Bug: 28165661 Ticket: CYNGNOS-3020 Change-Id: I912a86bd78ebf0617fd2bc6eb2b5a61afc17bf53 (cherry picked from commit d444647df03673c9309d8a6fe2b81ae4a20a5f65)
* Decoder: Initialize slice parameters before concealing error MBsHarish Mahendrakar2016-07-083-2/+18
| | | | | | | | | | | Also memset ps_dec_op structure to zero. For error input, this ensures dimensions are initialized to zero Bug: 28165661 Ticket: CYNGNOS-3020 Change-Id: I66eb2ddc5e02e74b7ff04da5f749443920f37141 (cherry picked from commit a52b5f6890479576333de325be20c29e829122e7)
* Decoder: Memset few structures to zero to handle error clipsHarish Mahendrakar2016-07-081-0/+37
| | | | | | | | | Bug: 27907656 Ticket: CYNGNOS-3020 Change-Id: I671d135dd5c324c39b4ede990b7225d52ba882cd (cherry picked from commit 370bd8625d9167dc05a07bf4d02ab931d940e23a) (cherry picked from commit f3f17cef941acc44edd3b6f32a099eb725ffa7b5)
* Decoder: Fix for handling invalid intra modeHarish Mahendrakar2016-07-081-0/+2
| | | | | | | | | Bug: 28165659 Ticket: CYNGNOS-3020 Change-Id: I2291a287c27291695f4f3d6e753b6bbd7dfd9e42 (cherry picked from commit f38d14c5d9b3bd909dc2eecf7a0ac07dee4d75fe) (cherry picked from commit fe7eb2722bd1e2c858d4fe89fd71a93b38e99dc7)
* Decoder: Set u1_long_term_reference_flag to 0 for error concealmentHarish Mahendrakar2016-07-081-1/+1
| | | | | | | | | | | | For MBs which are in error, set u1_long_term_reference_flag to zero. This ensures latest frame is used for concealment Bug: 28470138 Ticket: CYNGNOS-3020 Change-Id: I58eab5bc1da277823f3dbb4103ba50867f8935dc (cherry picked from commit eacafb943c46399d648d0ce9ed01df7ed17686af) (cherry picked from commit c13a634044bd4df42f04f26f1e3475f702cbc2ab)
* Merge tag 'android-6.0.1_r24' into HEADJessica Wagantall2016-04-052-6/+21
|\ | | | | | | | | Ticket: CYNGNOS-2213 Android 6.0.1 release 24
| * merge in mnc-dr1.5-release history after reset to mnc-dr1.5-devThe Android Automerger2016-03-220-0/+0
| |\
| | * merge in mnc-dr1.5-release history after reset to mnc-dr1.5-devThe Android Automerger2016-03-170-0/+0
| | |\ | | |/ | |/|
| * | Decoder: Fix stack underflow in CAVLC 4x4 parse functionsHarish Mahendrakar2016-03-011-3/+15
| | | | | | | | | | | | | | | Bug: 26399350 Change-Id: Id768751672a7b093ab6e53d4fc0b3188d470920e
| * | Ensure ih264d_start_of_pic() is not repeated in ih264d_mark_err_slice_skip()Harish Mahendrakar2016-03-011-3/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | In case of error in handling MMCO commpands/reference list creation, ih264d_start_of_pic() was called again in ih264d_mark_err_slice_skip() resulting in leaking a picture or an MV buffer in buffer manager. To fix this, ensure prev_slice_err is set to 1 only if u4_pic_buf_got is zero, before calling ih264d_mark_err_slice_skip() at the end of picture decode. This will ensure ih264d_start_of_pic() is not repeated Bug: 25818142 Change-Id: I7d5a9179533581eec663bc6a19a2901e7cce6af3
* | Merge tag 'android-6.0.1_r22' of ↵staging/cm-13.0+r22Steve Kondik2016-03-104-4/+34
|\| | | | | | | | | | | https://android.googlesource.com/platform/external/libavc into cm-13.0 Android 6.0.1 release 22
| * Return error when there are more mmco params than allocated sizeNaveen Kumar Ponnusamy2016-01-154-4/+34
| |\ | | | | | | | | | | | | | | | | | | am: 943323f1d9 * commit '943323f1d9d3dd5c2634deb26cbe72343ca6b3db': Return error when there are more mmco params than allocated size
| | * Return error when there are more mmco params than allocated sizeNaveen Kumar Ponnusamy2016-01-134-4/+34
| | | | | | | | | | | | | | | | | | Bug: 25818142 Change-Id: I5c1b23985eeca5192b42703c627ca3d060e4e13d
| * | Decoder Update mb count after mb map is set.Harish Mahendrakar2016-01-072-11/+6
| |\| | | | | | | | | | | | | | | | | | | am: 4a524d3a8a * commit '4a524d3a8ae9aa20c36430008e6bd429443f8f1d': Decoder Update mb count after mb map is set.
| | * Decoder Update mb count after mb map is set.Harish Mahendrakar2016-01-072-11/+6
| | | | | | | | | | | | | | | | | | Bug: 25928803 Change-Id: Iccc58a7dd1c5c6ea656dfca332cfb8dddba4de37
| * | Remove __DATE__/__TIME__ from Android buildsDan Willemsen2015-10-302-0/+14
| | | | | | | | | | | | | | | | | | | | | This removes unnecessary changes from build to build. Bug: 24204119 Change-Id: I25258314fe56ea186d38d756fb5fb04aa689a812 (cherry picked from commit f197ccb7562bac6f5bae40c9cb9dbb46a77baeb5)
* | | Merge tag 'android-6.0.1_r17' into HEADJessica Wagantall2016-03-072-11/+6
|\ \ \ | | | | | | | | | | | | | | | | Android 6.0.1 release 17 Ticket: CYNGNOS-1854
| * | | Decoder Update mb count after mb map is set.Harish Mahendrakar2016-01-222-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 25928803 Change-Id: Iccc58a7dd1c5c6ea656dfca332cfb8dddba4de37
* | | | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-078-7/+165
|\| | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/external/libavc into HEAD Android 6.0.1 release 3
| * | | Remove __DATE__/__TIME__ from Android buildsDan Willemsen2015-11-032-0/+14
| |/ / | | | | | | | | | | | | | | | | | | This removes unnecessary changes from build to build. Bug: 24204119 Change-Id: I25258314fe56ea186d38d756fb5fb04aa689a812 (cherry picked from commit f197ccb7562bac6f5bae40c9cb9dbb46a77baeb5)
| * | Reconcile branch with master after mass cherrypicksMarco Nelissen2015-10-161-4/+0
| | | | | | | | | | | | Change-Id: Ib017480389cb9f5204e5437716653016da348dba
| * | Decoder: Memset 8 extra bytes at the end of internal bitstream bufferHarish Mahendrakar2015-10-161-0/+5
| | | | | | | | | | | | | | | | | | | | | Decoder may read 8 extra bytes at the end of this buffer, though it will never be used Setting it to zero will ensure unitialized reads are avoided Change-Id: I724239861cb9fa64f3a70cb5450e094cb3afa20c
| * | Decoder: Once all the MBs in a picture are decoded ignore remaining bytesHarish Mahendrakar2015-10-162-4/+0
| | | | | | | | | | | | | | | | | | | | | Once all the MBs are decoded, simply break from decode loops and do not signal an error This will handle cases where there may be extra bytes at the end of picture data Change-Id: I6d8ec918df5375f135e60f85b9a56ab2a5313a64
| * | Decoder: Exit gracefully in case of allocation failureHarish Mahendrakar2015-10-161-0/+3
| | | | | | | | | | | | | | | | | | Skip error concealment when allocation fails for decoder buffers Change-Id: I785f31cad5dca52c8c67cba78cdd330b7b4539e1
| * | Decoder: Added a check for unsupported resolutionsHarish Mahendrakar2015-10-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Decoder now returns an error for resolutions greater than 3840x2176 Bug: 24542936 Change-Id: I38be0e4c5cf2a980bfd4c781f3b49171f73b5ccb
| * | Encoder added support for VUI paramsHamsalekha S2015-10-095-6/+145
| | | | | | | | | | | | | | | | | | | | | SPS will now include vui params Removed a trailing space in ih264e_api.c Change-Id: I67a57741689206e571e9a83f7e3360149f87e06a
| * | Moved check for level after check for resolution change.Hamsalekha S2015-10-091-0/+4
| | | | | | | | | | | | | | | | | | This is required for DRC tests in CTS . Change-Id: Icd0fe10d97c6ee55f8358682a578bddb58590de4
| * | Fix a typo in gai4_ih264_max_luma_pic_sizeMartin Storsjo2015-10-091-1/+1
| | |
| * | Decoder: Fixed an issue in handling flushHarish Mahendrakar2015-09-252-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a NULL pointer reference, when flush is called before decoding any pictures. This was seen in following CTS test, android.media.cts.DecoderTest#testCodecResetsH264WithSurface Fixed code formatting issues in ih264d_set_flush_mode Updated the testbench to call flush before decoding starts Bug: 24405410 Change-Id: Ib04e0b15573b2482c9d5b43c8bc7dd30d8f8efdd
| * | Decoder: Fixed an out of bound read in intra pred buffersHarish Mahendrakar2015-09-251-3/+20
| | | | | | | | | | | | | | | | | | Bug: 23453762 Change-Id: I129e5a2ac8b9a28f3c894ebca0aef7063ca5934e (cherry picked from commit 040ec939c61f7dffb76c977b775b1bc1e82f2bde)
* | | Decoder: Once all the MBs in a picture are decoded ignore remaining bytesHarish Mahendrakar2015-11-072-4/+0
| | | | | | | | | | | | | | | | | | | | | Once all the MBs are decoded, simply break from decode loops and do not signal an error This will handle cases where there may be extra bytes at the end of picture data Change-Id: I6d8ec918df5375f135e60f85b9a56ab2a5313a64
* | | Decoder: Exit gracefully in case of allocation failureHarish Mahendrakar2015-11-071-0/+3
| | | | | | | | | | | | | | | | | | Skip error concealment when allocation fails for decoder buffers Change-Id: I785f31cad5dca52c8c67cba78cdd330b7b4539e1
* | | Decoder: Added a check for unsupported resolutionsHarish Mahendrakar2015-11-071-0/+6
| | | | | | | | | | | | | | | | | | Decoder now returns an error for resolutions greater than 3840x2176 Change-Id: I38be0e4c5cf2a980bfd4c781f3b49171f73b5ccb
* | | Decoder: Fixed an issue in handling flushHarish Mahendrakar2015-09-262-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a NULL pointer reference, when flush is called before decoding any pictures. This was seen in following CTS test, android.media.cts.DecoderTest#testCodecResetsH264WithSurface Fixed code formatting issues in ih264d_set_flush_mode Updated the testbench to call flush before decoding starts Bug: 24405410 Change-Id: Ib04e0b15573b2482c9d5b43c8bc7dd30d8f8efdd
* | | Decoder: Fixed an out of bound read in intra pred buffersHarish Mahendrakar2015-09-251-3/+20
| | | | | | | | | | | | | | | | | | Bug: 23453762 Change-Id: I129e5a2ac8b9a28f3c894ebca0aef7063ca5934e (cherry picked from commit 040ec939c61f7dffb76c977b775b1bc1e82f2bde)
* | | merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-09-240-0/+0
|\ \ \ | |/ / |/| |
| * | merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-09-220-0/+0
| |\ \ | | |/ | |/|
| | * Encoder: Fixed an issue in handling FPS greater than 60Harish Mahendrakar2015-08-031-2/+10
| | | | | | | | | | | | | | | | | | | | | FPS > 60 was resulting in an integer overflow, so using float now. Bug: 22504214 Change-Id: I4626ba6a43167c00c42dd6440df37bd1eb1f151a
| | * merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-08-010-0/+0
| | |\
| | | * merge in mnc-dr-release history after reset to mnc-dr-devThe Android Automerger2015-07-060-0/+0
| | | |\
| | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-06-170-0/+0
| | | | |\
| | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-06-040-0/+0
| | | | | |\
| | | | | | * merge in mnc-release history after reset to mnc-devThe Android Automerger2015-05-060-0/+0
| | | | | | |\
| | | | | | | * Fixed few issues seen in CTS testsHarish Mahendrakar2015-05-0510-98/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support for encoding non-multiple of 16 dimensions Added support for encoding dimensions smaller than 64x64 Aligned coeff data to 4 byte boundary Bug: 20554276 Change-Id: I111093950f94698296d8499a2845cfe2db6c557b
* | | | | | | | Decoder: Reduced memory requirementsHarish Mahendrakar2015-09-2320-3012/+1558
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Memory allocations are now done based on contents of SPS API changed to move allocations inside the library Also changed strlen to strnlen Bug: 24221026 Change-Id: I9130457f564cddb4da7ec6399cc9fe88ee871217
* | | | | | | Return error in SPS/PPS parsing when extra bytes are read from inputHarish Mahendrakar2015-09-181-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 24157524 Change-Id: I4b319ef8e23e1ba5f84f52b92f40ba7fb1429101
* | | | | | | Merge "Encoder: Fixed an issue in handling FPS greater than 60" into mnc-devRonghua Wu2015-08-031-2/+10
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Encoder: Fixed an issue in handling FPS greater than 60Harish Mahendrakar2015-08-031-2/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FPS > 60 was resulting in an integer overflow, so using float now. Bug: 22504214 Change-Id: I4626ba6a43167c00c42dd6440df37bd1eb1f151a
* | | | | | Support for level greater than level at init in DecoderHamsalekha S2015-07-314-12/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support to check num_ref_frames in SPS and num_reorder_frames in VUI before returning error for level Bug: 22860270 Change-Id: I392bab419385ca239836d200f9f2b064915a8a46