summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_parse_pslice.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix slice params for interlaced videoHarish Mahendrakar2016-07-081-2/+0
| | | | | | | Bug: 28165661 Ticket: CYNGNOS-3020 Change-Id: I912a86bd78ebf0617fd2bc6eb2b5a61afc17bf53 (cherry picked from commit d444647df03673c9309d8a6fe2b81ae4a20a5f65)
* Decoder: Initialize slice parameters before concealing error MBsHarish Mahendrakar2016-07-081-0/+9
| | | | | | | | | | | 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: 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)
* Return error when there are more mmco params than allocated sizeNaveen Kumar Ponnusamy2016-01-151-1/+8
|\ | | | | | | | | | | | | 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-131-1/+8
| | | | | | | | | | | | Bug: 25818142 Change-Id: I5c1b23985eeca5192b42703c627ca3d060e4e13d
* | Decoder Update mb count after mb map is set.Harish Mahendrakar2016-01-071-7/+4
|\| | | | | | | | | | | | | 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-071-7/+4
| | | | | | | | | | | | Bug: 25928803 Change-Id: Iccc58a7dd1c5c6ea656dfca332cfb8dddba4de37
* | Decoder: Once all the MBs in a picture are decoded ignore remaining bytesHarish Mahendrakar2015-10-161-2/+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: Reduced memory requirementsHarish Mahendrakar2015-09-231-5/+22
|/ | | | | | | | | | | 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
* Improved error resilience in decoderHamsalekha S2015-06-251-13/+27
| | | | | | | | Fixed buffer management for error cases Fixed end of picture detection logic for multiple slice error cases Fixed handling of incomplete frame, missing slices. Change-Id: Iae447667e4d88869a8bf992180cacd77870b9877
* Multithreading changes and better error resilienceMarco Nelissen2015-06-031-43/+441
| | | | | | | | | | | | Fixed the following bugs Issue 21145276 Issue 21144884 Issue 21181133 Issue 21181134 Decoder now returns error if the level in stream is higher than level at init Change-Id: I8892c62bd98f7854d046510330c05a1e9ca826b2
* fix file permissionsLajos Molnar2015-05-051-0/+0
| | | | Change-Id: Ia4f99d5b963acd8d8a1afc2fbdf06b122d898f63
* Initial versionHamsalekha S2015-04-021-0/+1760
Change-Id: I7efe9a589cd24edf86e8d086b40c27cbbf8b4017