Commit graph

20 commits

Author SHA1 Message Date
Harish Mahendrakar
ed6770a725 Return error if SPS parsing reads more bytes than the nal length am: 232bbe1908 am: 2f206ceb72 am: c7ddfff98c am: cac2f841ae am: c30ceb1eea am: 81d057f43b am: ad7cfee8f0
am: ae08a88344

Change-Id: I74bd99870abd3700a8e652bf729fdb8f3a4cb4be
2017-03-11 00:38:33 +00:00
Harish Mahendrakar
c30ceb1eea Return error if SPS parsing reads more bytes than the nal length am: 232bbe1908 am: 2f206ceb72 am: c7ddfff98c
am: cac2f841ae

Change-Id: Ia64c6417947483e25847c147e33cc1ee7d6fa6b9
2017-03-11 00:23:32 +00:00
Harish Mahendrakar
cac2f841ae Return error if SPS parsing reads more bytes than the nal length am: 232bbe1908 am: 2f206ceb72
am: c7ddfff98c

Change-Id: I26b7a8bc565dd186f551ec1dd615c812c199fb3a
2017-03-11 00:20:02 +00:00
Harish Mahendrakar
232bbe1908 Return error if SPS parsing reads more bytes than the nal length
Bug: 35039946

Change-Id: Ia97fa8711f313d0029d2b13e6d150d5e46b2bb99
(cherry picked from commit a6c58e18a49a1ea4929f8345b3c59f900d5813f5)
2017-03-03 11:22:24 -08:00
Harish Mahendrakar
dba11e3fa8 Handle invalid num_reorder_pics & max_dec_pic_buffering in SPS am: 1ab5ce7e42 am: cb6fa6a0d4 am: f5674af080 am: b3169d93df am: 0c49980418 am: 4b4a16e22a am: 93b2398b29
am: a5596a2b1d

Change-Id: I03c132a41a95b54a73dc0d46a58a2600ab952965
2017-02-14 21:53:57 +00:00
Harish Mahendrakar
0c49980418 Handle invalid num_reorder_pics & max_dec_pic_buffering in SPS am: 1ab5ce7e42 am: cb6fa6a0d4 am: f5674af080
am: b3169d93df

Change-Id: I7c41a408e6018502208024b77f168d81e1b514d4
2017-02-14 21:43:30 +00:00
Harish Mahendrakar
b3169d93df Handle invalid num_reorder_pics & max_dec_pic_buffering in SPS am: 1ab5ce7e42 am: cb6fa6a0d4
am: f5674af080

Change-Id: Ie8e9156ead63e23579db23873a8bba10b939e144
2017-02-14 21:41:26 +00:00
Harish Mahendrakar
1ab5ce7e42 Handle invalid num_reorder_pics & max_dec_pic_buffering in SPS
Bug: 33864300
Change-Id: I920e45c3420a1a41a366ad45bd4186c5f6af6d6b
2017-02-13 20:21:01 +00:00
Harish Mahendrakar
0512afdf72 Added check for invalid log2_max_transform_block_size in SPS am: b5cae8181e am: 4b6511b432 am: c6bda6e3d2 am: 1a50b8aefc
am: ddb188785b

Change-Id: Ie45d90fcff42d787bf60f08cf5c31ff109f4598b
2017-01-18 18:26:43 +00:00
Harish Mahendrakar
4b6511b432 Added check for invalid log2_max_transform_block_size in SPS
am: b5cae8181e

Change-Id: I9815920b27437a30688686a74efb8a070d679751
2017-01-18 18:18:40 +00:00
Harish Mahendrakar
b5cae8181e Added check for invalid log2_max_transform_block_size in SPS
Bug: 33918236
Bug: 33964497
Bug: 33965905
Bug: 33862021
Change-Id: If121221d0f6e983c05d95d123af9bed378d1961f
2017-01-17 15:38:38 -08:00
Harish Mahendrakar
9ac16cede8 DO NOT MERGE Initialize u1_matrix_coeffs to 2 to signal unspecified value
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
2016-06-29 13:27:44 -07:00
Harish Mahendrakar
e3d6224dca Reduced memory requirements
Memory allocations are now done based on contents of SPS
API changed to move allocations inside the library

Change-Id: Ia4333cc2c01d7402dfe05e55e3c8a770a86be693
2015-10-09 11:44:26 -07:00
Harish Mahendrakar
4d73ab3ec9 Reduced memory requirements
Memory allocations are now done based on contents of SPS
API changed to move allocations inside the library

Change-Id: Ia4333cc2c01d7402dfe05e55e3c8a770a86be693
2015-10-08 22:24:51 +00:00
Harish Mahendrakar
2b67e53265 Align pic_width_in_luma_samples and pic_width_in_luma_samples to 8
Spec mandates these to be multiples of min_cb_size.
Bug fix: 22278703

Change-Id: I17f0c2242519a9277598b8fb5b05717e1ce7469b
(cherry picked from commit dde3d8a3c7)
2015-08-14 23:48:15 +00:00
Harish Mahendrakar
dde3d8a3c7 Align pic_width_in_luma_samples and pic_width_in_luma_samples to 8
Spec mandates these to be multiples of min_cb_size.
Bug fix: 22278703

Change-Id: I17f0c2242519a9277598b8fb5b05717e1ce7469b
2015-07-31 12:25:43 -07:00
Naveen Kumar Ponnusamy
221aaccb7a Few bug fixes in loop filter
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
2015-07-31 01:59:55 +00:00
Naveen Kumar Ponnusamy
6c166a9e18 Source files clean up
Cleaned up source files for redundant and inactive #if directives
2014-07-12 15:09:24 -07:00
Harish Mahendrakar
707042fda9 Few bug fixes and warnings removed
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
2014-06-06 06:42:02 -07:00
Harish Mahendrakar
0d8951cef4 Initial Version of HEVC decoder
Compliant to reference software HM11.0 onwards

Bug: 14571712
Change-Id: I8af25c1221cc6ab70440141c4d9b48c1ac69696a
2014-05-21 18:14:55 -07:00