History log of /external/libmpeg2/decoder/impeg2d_api_main.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
730a09f966eda041ff503605266f97afc062490d 07-Mar-2018 Venkatarama NG. Avadhani <venkatarama.avadhani@ittiam.com> [automerger] Adding Internal Input Buffer am: 1532e41489 am: 974d1dc27b am: f54ed6ae77 am: 979fc6b8ef am: 8c398249d2 am: 9cbd87204d am: aa76611f16 am: 407b955087 am: f93a617de1
am: b295fd5ae4

Change-Id: If9e8c0e3b1469f1d775f53ed2ecf43532498f201
8c398249d2d6240662069f0bd1811e4c88bd6164 26-Feb-2018 Android Build Merger (Role) <noreply-android-build-merger@google.com> [automerger] Adding Internal Input Buffer am: 1532e41489 am: 974d1dc27b am: f54ed6ae77 am: 979fc6b8ef

Change-Id: I411e86ae5f0a0f78ba43892b2447dde4a9d3f45b
1532e414898ae7c0abc44cab66681054edceb1f7 15-Feb-2018 Venkatarama NG. Avadhani <venkatarama.avadhani@ittiam.com> Adding Internal Input Buffer

Allocating a input buffer in the decoder context and copying all input
to this buffer before using. This will ensure that we do not access
memory out of bounds because of our bit read optimisations.

Bug: 72764648
Test: poc before/after
Change-Id: Ide6c58291fa1d0472a9589c95aba231d13122a19
/external/libmpeg2/decoder/impeg2d_api_main.c
b728daee531794847281d91b2670b485a15516f3 08-Jan-2018 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Adding Error Check for Output Buffer Size" into mnc-dev am: 3f4f265255 am: 385836df25 am: 6357821b9b am: bab1b91ab6 am: d479565898 am: 27b272fe56 am: b6a6c5f7a8 am: 30c43b20a1 am: 8a9eb79e3b am: 05884f74db
am: 33a9a4b9da

Change-Id: I81fc9043d4c7914bae70c5c06eeea0ffb3ff33f6
1e67e403f53afa02c8d1bab07ff3dbf6a47b29bf 08-Jan-2018 Ray Essick <essick@google.com> Merge "Correcting Buffer Allocation for Shared Display" into mnc-dev am: 6d1537bc60 am: 5410ce3f8e am: 4ef14ee04c am: fec92270b0 am: 19ec51d851 am: 39804d4487 am: 85a0181cef am: 47b0de3bee am: c7a50efa36 am: 58018eda51
am: 81d474d08f

Change-Id: Ic2c670b571cd65b360e3c98a35d8b3e79c070109
27b272fe5620f8be640cdb07dafd517e95682204 08-Jan-2018 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Adding Error Check for Output Buffer Size" into mnc-dev am: 3f4f265255 am: 385836df25 am: 6357821b9b am: bab1b91ab6
am: d479565898

Change-Id: I7e037f1ee186331f2348f6e7d69bed7ce61b2f7d
39804d4487fad8301cb4c36ade5fb17aaf2f225b 08-Jan-2018 Ray Essick <essick@google.com> Merge "Correcting Buffer Allocation for Shared Display" into mnc-dev am: 6d1537bc60 am: 5410ce3f8e am: 4ef14ee04c am: fec92270b0
am: 19ec51d851

Change-Id: Icf6301e1128b314b4915482c3b716da4742bc3d1
385836df2534397bae8e1b9d5658518aa98249e5 08-Jan-2018 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Adding Error Check for Output Buffer Size" into mnc-dev
am: 3f4f265255

Change-Id: Ief25234b04ff9bc58ce52b339b21bde50b701f7f
5410ce3f8ed272a36b7b0322e4a9c4bd84ae49f6 08-Jan-2018 Ray Essick <essick@google.com> Merge "Correcting Buffer Allocation for Shared Display" into mnc-dev
am: 6d1537bc60

Change-Id: If852c0f7e9c0816ecd2b48e196916fef00e7a17e
3f4f265255a2561cfce45e34a98e051e767f48fd 08-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding Error Check for Output Buffer Size" into mnc-dev
7c88212153fbff998b337e899b496e2e382af54c 08-Aug-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Adding Error Check for Output Buffer Size

The output buffer size given by the application, needs to be checked
in every process call. This is required in the case of resolution
change.

Bug: 70399408
Test: manual
Change-Id: Id0d615e44d30f61702b3839be7b679d7d77a2411
/external/libmpeg2/decoder/impeg2d_api_main.c
5c1ed47b1fc1a0f763c251d62db14f3d74cb3141 18-Dec-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Correcting Buffer Allocation for Shared Display

In case of shared display mode, the picture buffer allocated has to be
larger to accomodate the incorrect half pel reference to the last row in
the picture. Adding memory for the same.

Bug: 70350015
Bug: 70349694
Bug: 70349612
Bug: 70349754
Bug: 70349868
Bug: 70526352
Bug: 70350086
Test: manual
Change-Id: I41905d101093ae20ab14193c21669b8c4a24f30c
/external/libmpeg2/decoder/impeg2d_api_main.c
64f448373ab8b701e9383475927437da4dd174b9 09-Oct-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Reject Multiple seq_hdr With Different Dimensions" into mnc-dev am: 6892f2edff am: 73bd0acdaa am: c76249bc32 am: f5154dd959 am: e55abcba52 am: ac20155318 am: 1f84737ca1 am: a99d0e0026 am: 194200cf57 am: 0329367aa8
am: 9c0d9adbba

Change-Id: I2f7aaf3d4313bbef089d9a674e5c87d2362301b8
ac20155318d61eef59e34e58e3f75bbc84e80c0a 09-Oct-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Reject Multiple seq_hdr With Different Dimensions" into mnc-dev am: 6892f2edff am: 73bd0acdaa am: c76249bc32 am: f5154dd959
am: e55abcba52

Change-Id: I090fc4d134b39f975ab849003552e7a855e13dd8
73bd0acdaa8cd131bb99c9f9f1239551e0470b3e 09-Oct-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Reject Multiple seq_hdr With Different Dimensions" into mnc-dev
am: 6892f2edff

Change-Id: Ib82cf27a7635493cee0ab3163f05e20bf274b350
60c4d957db5e18da39ec943f15171547b53305d6 31-Aug-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Reject Multiple seq_hdr With Different Dimensions

If the decoder gets multiple sequence headers and there is a change in
resolution in the second header (after a reset call), the decoder will now
return an error.

Bug: 65717533
Test: poc before/after on mnc-dev/hammerhead
Change-Id: I4cb9a5f945fc1150f8ae0714bae4a87b07f0945f
/external/libmpeg2/decoder/impeg2d_api_main.c
624020300e0ea67344f58c598308db025d9088dc 14-Sep-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Fix Half Pel MC on Last Ref Row" into mnc-dev am: 966202d1f1 am: e3d6c6a8e7 am: a8d0665bf3 am: ceafb1805e am: 0b848e47ec am: 8c6e85313a am: eb74780394 am: 2bd7b66043 am: 3269cb43af am: 7141db4480
am: bf578eaa66

Change-Id: I75b7847f141bb72b9557e63ece94d5800d2190c5
8c6e85313a607c02f2a6c2bbd3af15c53aff5473 13-Sep-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Fix Half Pel MC on Last Ref Row" into mnc-dev am: 966202d1f1 am: e3d6c6a8e7 am: a8d0665bf3 am: ceafb1805e
am: 0b848e47ec

Change-Id: I0d67f33b5dee83933c7eef54009e557f84096b60
e3d6c6a8e7098d7625368aead892d2dee0d69560 13-Sep-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Merge "Fix Half Pel MC on Last Ref Row" into mnc-dev
am: 966202d1f1

Change-Id: Id9a472273fecaf909e46ef11b0116fbab7ab0365
8c0289c09cddd378cd9a321ccdb1c62e7b80f626 19-Jul-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Fix Half Pel MC on Last Ref Row

If MC is referring to the last MB row, in case of field pictures,
it could incorrectly read up to 8 extra rows in the reference
buffer and 9 rows in case of half_y prediction.

Bug: 63873837
Test: ran POC on patched ASAN-enabled code
Change-Id: I83af03b3c6b7e08a984f7b383bedf706422f6354
/external/libmpeg2/decoder/impeg2d_api_main.c
f52fe4ff5c35dd7fcd7e21b84ff9f3c8797ac65b 04-May-2017 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Fix Memory Records Count in retrieve_mem_rec

The count was not being updated after deinterlacer memory blocks'
retrieval.

Bug: 62432026
Test: manual trace
Change-Id: I3b4f7c74edbdff13d74a0b9f137cd76d66b4997e
/external/libmpeg2/decoder/impeg2d_api_main.c
8db92f2f39de138bfbcbb09d6592288ae50c7d3a 13-Mar-2017 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Fix in handling header decode errors am: c2395cd7cc am: d6bee5d613 am: 802ef62de4 am: c80619d268
am: cc0bf707c4

Change-Id: I53126ef39e5fee3df42d7ac6702e1b193b65f7df
d6bee5d6130070060edc34ee8931c60e2af449ed 13-Mar-2017 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Fix in handling header decode errors
am: c2395cd7cc

Change-Id: I5cf446c6104fb177cc018306bd2d381707390192
c2395cd7cc0c286a66de674032dd2ed26500aef4 01-Jun-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Fix in handling header decode errors

If header decode was unsuccessful, do not try decoding a frame

Also, initialize pic_wd, pic_ht for reinitialization when
decoder is created with smaller dimensions

Bug: 28886651
Bug: 35219737
Change-Id: I8c06d9052910e47fce2e6fe25ad318d4c83d2c50
(cherry picked from commit 2b9fa9ace2dbedfbac026fc9b6ab6cdac7f68c27)
/external/libmpeg2/decoder/impeg2d_api_main.c
2b9fa9ace2dbedfbac026fc9b6ab6cdac7f68c27 01-Jun-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Fix in handling header decode errors

If header decode was unsuccessful, do not try decoding a frame

Also, initialize pic_wd, pic_ht for reinitialization when
decoder is created with smaller dimensions

Bug: 28886651
Change-Id: I8c06d9052910e47fce2e6fe25ad318d4c83d2c50
/external/libmpeg2/decoder/impeg2d_api_main.c
212b4c4179975c1a263d5ee4723223181a8b46ad 25-Jul-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Initialize sequence display extension fields to signal unspecified values

Bug: 29640760
Change-Id: I7cf99d432035576471e188b2da5328f91b7a9a81
/external/libmpeg2/decoder/impeg2d_api_main.c
945d23d1eeb05f54bfaa6777fe44237341adb915 24-Apr-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> DO NOT MERGE Added support for exporting seq header, seq extn and seq display extn info

Bug: 27442922

Change-Id: Idebc69a2bac22c61ec06176e563c93f80d103eee
/external/libmpeg2/decoder/impeg2d_api_main.c
ae6d9f7850d7f6bc88e056e3ffc76ad3eab0d4e0 28-Oct-2015 Dan Willemsen <dwillemsen@google.com> Remove __DATE__/__TIME__ from Android builds

This removes unnecessary changes from build to build.

Bug: 24204119
Change-Id: Ie06330f196a64509fc066b329b6e383f02a6db4b
(cherry picked from commit 89fff63d42d951dd538613641ef97ec0ebd7a59d)
/external/libmpeg2/decoder/impeg2d_api_main.c
89fff63d42d951dd538613641ef97ec0ebd7a59d 28-Oct-2015 Dan Willemsen <dwillemsen@google.com> Remove __DATE__/__TIME__ from Android builds

This removes unnecessary changes from build to build.

Bug: 24204119
Change-Id: Ie06330f196a64509fc066b329b6e383f02a6db4b
/external/libmpeg2/decoder/impeg2d_api_main.c
8520690e241ad92a07893e198b2df417fe045d79 13-Aug-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Added deinterlacer

Decoder output is deinterlaced if a picture is signalled as interlaced
Added SIMD optimizations for arm, armv8 and x86/x64

Bug: 20932810

Change-Id: I6079922f4fc8f1d3680e5169a4d8e70efe8ea471
/external/libmpeg2/decoder/impeg2d_api_main.c
903fd2be3063609dd3cd7ad0691de46c1b52b7d1 05-Aug-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Fixed few stride issues

Removed alignment requirements for stride
Fixed strides passed to frame copy function
Display width is passed to frame copy function instead of stride
Moved decoder specific definitions from common to decoder files

Bug: 20932810

Change-Id: Ieb1370e2ff9c6b3d04e4c0b9630653943346eb54
/external/libmpeg2/decoder/impeg2d_api_main.c
80a14110036632549a272c812f92b791fb08e87a 13-Aug-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Added deinterlacer

Decoder output is deinterlaced if a picture is signalled as interlaced
Added SIMD optimizations for arm, armv8 and x86/x64

Change-Id: I6079922f4fc8f1d3680e5169a4d8e70efe8ea471
/external/libmpeg2/decoder/impeg2d_api_main.c
127ca7c21f5073338744852de0659a60154cbc6a 05-Aug-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Fixed few stride issues

Removed alignment requirements for stride
Fixed strides passed to frame copy function
Display width is passed to frame copy function instead of stride
Moved decoder specific definitions from common to decoder files

Change-Id: Ieb1370e2ff9c6b3d04e4c0b9630653943346eb54
/external/libmpeg2/decoder/impeg2d_api_main.c
b34913857dacd4b7f82715c48ae1de9c56ede9e0 16-Apr-2015 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Fixed few issues seen in CTS tests

Buffer managers are reset to init state in reset()

Return picture type of picture being output instead of picture decoded

Read start code only if input bitstream has enough bytes

Bug: 22860270

Change-Id: Ic158d9dbff6d6b5295173b6ff2a4c6d6da66115f
/external/libmpeg2/decoder/impeg2d_api_main.c
afc9ebfa2c828ad9c3e85ee9b5a8a519eda8bee8 16-Apr-2015 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Fixed few issues seen in CTS tests

Buffer managers are reset to init state in reset()

Return picture type of picture being output instead of picture decoded

Read start code only if input bitstream has enough bytes

Change-Id: Ic158d9dbff6d6b5295173b6ff2a4c6d6da66115f
/external/libmpeg2/decoder/impeg2d_api_main.c
aed24eee7ddfc93f1436b0c1679431bd286879b4 11-Mar-2015 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> Initial version

Change-Id: I5a9473876e596e7461e91f971b0243f694f7e8fb
/external/libmpeg2/decoder/impeg2d_api_main.c