History log of /external/libavc/decoder/ih264d_utils.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
73f6f18bfa4462f412a869a08330e53bfe1b2550 27-Dec-2017 Ritu Baldwa <ritu.baldwa@ittiam.com> Decoder: Fixed memory overflow in shared display mode.

The factor multiplication should happen only at the source,
not at the destination.

Bug: 71375536
Test: manual
Change-Id: Ib5f00b87150a0533880346fac5464b0b1a802c36
(cherry picked from commit c3b026a87d7da17ca5196e1973137b8691e60bde)
/external/libavc/decoder/ih264d_utils.c
f96761b52d94e5d45627b280f6dd6e5cf19e985b 15-Jul-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder: Fixed allocation of pv_map_ref_idx_to_poc_buf. am: a925a6b539 am: bf8b7083e9 am: ebae2ef7bd am: d5ad4f8c04 am: 6f82dff7b9 am: 0716eeeb7f am: 0b64261f4c am: d2e5daaede am: 61ddc9e202 am: 6d73354309
am: 79b56d80d5

Change-Id: Ic7cfdc087bf9c3de52c5d6cf9a25dfe25db4a936
61ddc9e202466a18a9c3db567e8efe447d5702e5 15-Jul-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder: Fixed allocation of pv_map_ref_idx_to_poc_buf. am: a925a6b539 am: bf8b7083e9 am: ebae2ef7bd am: d5ad4f8c04 am: 6f82dff7b9 am: 0716eeeb7f am: 0b64261f4c
am: d2e5daaede

Change-Id: Ic1a04ff426ec654e28d142ced625011b7ff9fbe1
a925a6b539642c8749c91a6f33e362eda8c4a5b6 21-Apr-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder: Fixed allocation of pv_map_ref_idx_to_poc_buf.

Increased allocation to include reference list1 also by
default. In the case of error, we could get B_SLICES
even in BASE_PROFILE. The initialization in the
dec_slice_struct_t slice structure has also been
modified accordingly.

Test: run poc with and without this patch
Bug: 38496660
Change-Id: I3451d79bbcd9f0d7a80981a9897f877b7f0812bd
/external/libavc/decoder/ih264d_utils.c
f15bb32866ccd413090594aa364b54d259099534 22-Jun-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder : Fix memory leak when sps changes.

ih264d_allocate_dynamic_bufs is now called only once
after every ih264d_init_decoder call. This is possible
since we support only identical( all the critical
parameters will be same) sps in our sps array.

Signal resolution change when u1_frame_mbs_only_flag
in SPS changes.

Bug: 62897300
Test: compilation, boot
Change-Id: I0cf71fe9de72b5dadca2d1daf881d821786f94e3
/external/libavc/decoder/ih264d_utils.c
109b5b422669b93905e4926d259b1b31dbe03128 02-Jun-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Merge "Decoder: Fixed allocation size of pred info buffer" into mnc-dr-dev am: 94660850f0 am: a09bbc27eb am: f838a72c3e am: c33c094303 am: 41b9730003 am: daeae82702 am: 7475b6d9ae
am: 56d23c97dc

Change-Id: Ib0f02533bb604ace34f4d2516fab9a00e0eb32fd
04882a6ea6e2ec085ad215676002d6d34d8eae2d 02-Jun-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Merge "Decoder: Fixed allocation size of pred info buffer" into mnc-dr-dev am: 94660850f0 am: a09bbc27eb am: f838a72c3e am: c33c094303 am: 41b9730003 am: daeae82702 am: 7475b6d9ae
am: 56d23c97dc

Change-Id: I81e77d7c248bf5c2951c81d85e0bfd7ed0f9d124
94660850f05520445eac66523527f54e97963e69 02-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Decoder: Fixed allocation size of pred info buffer" into mnc-dr-dev
9041bb17f70a94019e05459164b4756bde01edee 05-Apr-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder: Initialize MB info buffer to zero.

Initialize the buffer used to store inter mb info
(reference index, weights etc) to zero.

Bug: 36035683

Change-Id: I23561a6a7fe852c0563a631d7ec6ab022cd78ccc
(cherry picked from commit 2575ae6c989b133554f9b1267cf5dd694cf2aae6)
/external/libavc/decoder/ih264d_utils.c
b6433595df6fb261ab5972053bd8bd080ea4ce05 13-May-2017 Marco Nelissen <marcone@google.com> Merge "Decoder: Initialize MB info buffer to zero." into nyc-dev am: 31bd7f7fe6 am: 049aabf9c5 am: 3ff76c0667 am: e8c0283013
am: 27f44e43a4

Change-Id: I4ae4e3c8c5e6045cdbe10a2e850c41f8240fbe5a
1010c9a53c4ba18209ec4af26a6bc57ca911eb05 13-May-2017 Marco Nelissen <marcone@google.com> Merge "Decoder: Initialize MB info buffer to zero." into nyc-dev am: 31bd7f7fe6 am: 049aabf9c5 am: 3ff76c0667 am: e8c0283013
am: 27f44e43a4

Change-Id: I4b407d9c77c859893079bf8d63df4b689b07caa5
31bd7f7fe64daf4f7224f5635b69880ef9c9ce42 13-May-2017 Marco Nelissen <marcone@google.com> Merge "Decoder: Initialize MB info buffer to zero." into nyc-dev
9008aed514f7211f6fcad328277ce464b042f622 08-May-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder: Fixed allocation size of pred info buffer

Buffer allocation size for pred info was increased
in the case number reference frames equal to 1.

Bug: 36998372
Change-Id: I1f84a16703422109d40bed8436f35d0c2069c088
/external/libavc/decoder/ih264d_utils.c
2575ae6c989b133554f9b1267cf5dd694cf2aae6 05-Apr-2017 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder: Initialize MB info buffer to zero.

Initialize the buffer used to store inter mb info
(reference index, weights etc) to zero.

Bug: 36035683

Change-Id: I23561a6a7fe852c0563a631d7ec6ab022cd78ccc
/external/libavc/decoder/ih264d_utils.c
b21679eaf8517d1a465d10c24347b8e14b7bccd9 14-Mar-2017 Ray Essick <essick@google.com> Merge "Decoder: Fixed error handling for dangling fields" into mnc-dev am: 78334b2a24 am: cd5ebec24a am: f48987d2fc am: 1cbcdd7f16 am: 3a669baf18 am: 691577d923 am: 979ad81ebd am: db0571cb3d
am: 2c1d937449

Change-Id: I092a8ae67d4746e134f006ebcbe4af4ec442026f
cd5ebec24a0d3acb321639d6dc45e3e22992acdc 14-Mar-2017 Ray Essick <essick@google.com> Merge "Decoder: Fixed error handling for dangling fields" into mnc-dev
am: 78334b2a24

Change-Id: Id5cb9826e72c59890526300ad9e8833b61691c20
78334b2a244d2a2560727a87fcbbf083467a256a 14-Mar-2017 Ray Essick <essick@google.com> Merge "Decoder: Fixed error handling for dangling fields" into mnc-dev
57f60a16d5de8526750a3f0f9b7b5783b142cff6 15-Dec-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixed error handling for dangling fields

In case of dangling fields with gaps in frames enabled,
field pic in cur_slice was wrongly set to 0.

This would cause dangling field to be concealed as a frame, which would
result in a number of MB mismatch and hence a hang.

Bug: 34097672
Change-Id: Ia9b7f72c4676188c45790b2dfbb4fe2c2d2c01f8
/external/libavc/decoder/ih264d_utils.c
74f03b639e48a31c1c7e21583a244d6e1db1b97f 13-Jan-2017 Harish Mahendrakar <harish.mahendrakar@ittiam.com> DO NOT MERGE Decoder: Increase memory allocation for weights & offsets for interlaced clips

Bug: 33816782
Change-Id: I10f8b2a7691aeb55365901c166e765ab22ec6106
/external/libavc/decoder/ih264d_utils.c
1a13168ca3510ba91274d10fdee46b3642cc9554 15-Dec-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixed error handling for dangling fields

In case of dangling fields with gaps in frames enabled,
field pic in cur_slice was wrongly set to 0.

This would cause dangling field to be concealed as a frame, which would
result in a number of MB mismatch and hence a hang.

Bug: 34097672
Change-Id: Ia9b7f72c4676188c45790b2dfbb4fe2c2d2c01f8
/external/libavc/decoder/ih264d_utils.c
ef0f9380bd21d13566636361368e36b819966a40 06-Jan-2017 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row am: 9b095de571 am: ccd57d9029 am: 4ec0548b97 am: 6e50592ca9 am: c54813cf06 am: 22261bd5c3
am: 000ca8c68c

Change-Id: I978c2ff4af86543226f8ef4e899b51dffa59de31
9b095de571621463a7ee46a6750f79cfc6738975 15-Dec-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row

This needs an additional row of data to hold top row
Issue is seen only for MBAff error cases which start with a field
at lower resolutions

Bug: 33139050
/external/libavc/decoder/ih264d_utils.c
93059ecf3c6b66e72c0fc73ed8929a5d55ec5ab9 19-Oct-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixes in handling errors in Mbaff clips. am: 6676aeb419 am: fab0729908 am: 05bd0e8d4c am: 69b2803e55 am: dcb099e183 am: 80f3b06d90 am: a6aa08d1dc
am: f416648c29

Change-Id: Ic52a5b4acfe095179a89e71b44569d77b0806079
fab0729908e4c337d3f92150074858791161c1a7 19-Oct-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixes in handling errors in Mbaff clips.
am: 6676aeb419

Change-Id: If83edf15d904c166661b3ab6065c5230269231dd
5d794693d59f300ccecaafc1c60bce40751b13f6 19-Oct-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Ignore few dpb errors
am: 026745ef04

Change-Id: Ibd9e7f2c7936fcd1f8bea8a84b99eb9780947feb
6676aeb4195e7c7379915c0972f3d209410f0641 14-Oct-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixes in handling errors in Mbaff clips.

Fixes mb_x, mb_y and first_mb_in_slice for Mbaff error streams

Bug: 30481714

Change-Id: Ie99f3b57e48a620a4bc7aee88031955a2e1b6753
/external/libavc/decoder/ih264d_utils.c
026745ef046e646b8d04f4f57d8320042f6b29b0 26-Apr-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Ignore few dpb errors

Ignore dpb errors, where decoder fails to release a non-existing picture
from reference lists. This is needed to decode streams where few pictures
are missing.

Change-Id: I8ece68cb1fa22473029e16158cd86ce7a197027a
/external/libavc/decoder/ih264d_utils.c
daefcde2ed0e77cda4baa1964aac255ff41a9b1d 23-Jun-2016 Ray Essick <essick@google.com> DO NOT MERGE ANYWHERE: Remove several memset() calls which overwrote buffers initialized
in buf_mgr_init(). Affects 6.0 only.
/external/libavc/decoder/ih264d_utils.c
27b7a14f48a300acaf8baae18e963c2be0675e3d 26-Apr-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Ignore few dpb errors

Ignore dpb errors, where decoder fails to release a non-existing picture
from reference lists. This is needed to decode streams where few pictures
are missing.

Change-Id: I8ece68cb1fa22473029e16158cd86ce7a197027a
/external/libavc/decoder/ih264d_utils.c
bd67b746432b8a3fa81e5410776d95c2d63e90fc 26-Apr-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Increment p_ctxt_inc_mb_map immediately after allocation

This is needed to ensure free does not get a wrong address in case of allocation
failure.

Change-Id: I1818f2a8ae3cce8dd4e2293510ff63e617b83c5f
/external/libavc/decoder/ih264d_utils.c
43a1cf620f7c26f04d2c17772e25c94ac826577f 11-May-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> DO NOT MERGE. AVC decoder: init structures

Memset few structures to zero to handle error clips

Bug: 27907656
Change-Id: I517841fc8b6d674f7e4e3ebaf60dd2e42f1152ae
/external/libavc/decoder/ih264d_utils.c
07ae78bd274d4e042be340239de71ed046b16023 26-Aug-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Fixed an out of bound read in intra pred buffers

Bug: 23453762
Change-Id: I129e5a2ac8b9a28f3c894ebca0aef7063ca5934e
(cherry picked from commit 040ec939c61f7dffb76c977b775b1bc1e82f2bde)
/external/libavc/decoder/ih264d_utils.c
251b007eccf5a0ddac897ce27de88d3901bc5d00 04-Aug-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Decoder: Reduced memory requirements

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
/external/libavc/decoder/ih264d_utils.c
8a50328131307b53ebde95e9af87a408c4011559 28-Jul-2015 Hamsalekha S <hamsalekha.s@ittiam.com> Support for level greater than level at init in Decoder

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
/external/libavc/decoder/ih264d_utils.c
e789d1d2e2f9a8fca00a7bf8fab1afa892422127 10-Jul-2015 Hamsalekha S <hamsalekha.s@ittiam.com> Decoder: Fixed issues shown by Valgrind

The slice header structure has now been initialized to 0
Fixed bug in closing of threads in the case of error.

Bug: 22860270

Change-Id: I777e0b73ad2f083c72be179984f5c1cb00ededb6
/external/libavc/decoder/ih264d_utils.c
9327d0ea03d9b286139cf1e7062a4166a6a0783c 20-May-2015 Hamsalekha S <hamsalekha.s@ittiam.com> Added support for level 52

Change-Id: Ib2fa0b02b408a7bb21b3115e5b1c1317706a7354
/external/libavc/decoder/ih264d_utils.c
8ef4c3f6142028732a155cbfc1febd6ef5da72fd 03-Jun-2015 Marco Nelissen <marcone@google.com> Multithreading changes and better error resilience

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
/external/libavc/decoder/ih264d_utils.c
a2b49e5f0574dee76f81507f288143d83a4b7c1a 18-Apr-2015 Lajos Molnar <lajos@google.com> fix file permissions

Change-Id: Ia4f99d5b963acd8d8a1afc2fbdf06b122d898f63
/external/libavc/decoder/ih264d_utils.c
8d3d303c7942ced6a987a52db8977d768dc3605f 13-Mar-2015 Hamsalekha S <hamsalekha.s@ittiam.com> Initial version

Change-Id: I7efe9a589cd24edf86e8d086b40c27cbbf8b4017
/external/libavc/decoder/ih264d_utils.c