On some A72 based devices, data shared between cores was found to be
inconsistent which was resulting in an infinite loop.
Adding memory barriers before marking a CTB as parsed/processed,
all the pending memory operations are guaranteed to be completed.
Change-Id: I6e3bb11123a3c12ba7e69c4bfcd38960616f9fb5
Out of bound reads in the following variables are fixed
scaling_mat_offset in ihevcd_iquant_itrans_recon_ctb()
ai1_offset_y, ai1_offset_cb and ai1_offset_cr in ihevcd_sao_shift_ctb()
These values were read but not used
Change-Id: Ib07e2ed1bdcc600700d4e9e5d970f6cc2164ab1b
Aligned the size of au1_ref_sub_out to ensure SSE42 modules do not
result in stack buffer overflow
Change-Id: I5ecd75b4979140eb4d89bf8f0380ed8c7d9bff01
This removes unnecessary changes from build to build.
Bug: 24204119
Change-Id: I1a787012c7e5dc4320c0760a00608c9472c2ab39
(cherry picked from commit 9863d8f802)
stmia was resulting in SEGV_MAPERR when ps_pic_pu is not aligned to 4 bytes
Bugfix: 24686670, 21468583
Change-Id: I07672d4a790f73cf27964983350181e66edc4d57
Memory allocations are now done based on contents of SPS
API changed to move allocations inside the library
Change-Id: Ia4333cc2c01d7402dfe05e55e3c8a770a86be693
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: Id7bf81ea73718a677c326e352ad3f4dc1756601a
Removed few unused functions
Fixed an issue in 420P output in shared mdoe
Few bug fixes in handling loop filter corner cases in multi-tile multi-slice clips
Renamed few elements in mv_buf_t for consistency
Bug: 22860270
Change-Id: I8d179b9ad3c7ee3ad27972ee02ea2658fd2c3c25
This allows them to be built with clang's internal assembler.
Also, pass -I flags to the assembler explicitly and stop disabling
clang.
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: I67dfd0d1b44217af6cf159f4d8810b3c2173702b
Added support for returning coded width and height along with display dimensions
Fixed few macros for mips
Removed signed comparison warnings
Removed few files that are not needed
Fixed an issue in handling more than 256 slices in a picture
Bug: 14571712
Change-Id: Ie485aaae3a13744bc9acff8aa699efbbc31f94f1