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
b/32915871
Change-Id: Ib07e2ed1bdcc600700d4e9e5d970f6cc2164ab1b
If an invalid slice_address was parsed, it was resulting in an incomplete
slice header during decode stage. Fix this by not incrementing slice_idx
for ignore slice error
Bug: 32322258
Change-Id: I8638d7094d65f4409faa9b9e337ef7e7b64505de
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
(cherry picked from commit 031b91dde5)
When VUI does not contain u1_matrix_coeffs, it should be set to 2
to signal that it is not present in the bitstream.
Bug: 29640760
Change-Id: I1f1217725f5c5dada2079e1487058381bfb00ef0
Change I59c996161053e313c873381c5bf6f8c36488483f aligned the number
of luma samples to 64byte boundaries when calculating and creating
the buffers. Unfortunately, it doesn't change all instances of that
calculation, leading to mismatches between creation/allocation/destruction.
Fixes android.media.cts.DecoderTest#testEOSBehaviorHEVC and
android.media.cts.DecoderTest#testCodecEarlyEOSHEVC
Bug: 24686670
Bug: 25070493
Bug: 25995793
Bug: 26217939
Bug: 26239053
Change-Id: I5b9dd682e08cfb03d2bc54829c4908976251dee7
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
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
Spec mandates these to be multiples of min_cb_size.
Bug fix: 22278703
Change-Id: I17f0c2242519a9277598b8fb5b05717e1ce7469b
(cherry picked from commit dde3d8a3c7)
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