• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
History log of /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e358e2190aa61e5d8e28b1df698a82eecd47ead2 09-Jun-2016 Marco Nelissen <marcone@google.com> Fix potential overflow am: d0090759e7 am: f5d9360be0 am: 08cb85206a am: 20062e9ea6 am: 999c3ea23b am: 7f4bf86afd am: 356a30b4cb am: 9da2f9de13 am: 24a01b2940 am: aae6e3a42a
am: 6b478e2c56

Change-Id: I8de38ccee100e5f363292f24c8375e05726a154d
356a30b4cb964d98b90d39774e3aed17c3a2991a 09-Jun-2016 Marco Nelissen <marcone@google.com> Fix potential overflow am: d0090759e7 am: f5d9360be0 am: 08cb85206a am: 20062e9ea6 am: 999c3ea23b
am: 7f4bf86afd

Change-Id: Ic47ed961eca9156e10e960e912e8b98c5485ebe5
20062e9ea6f406bb2e4f5bbbee0845f8fd81eab4 09-Jun-2016 Marco Nelissen <marcone@google.com> Fix potential overflow am: d0090759e7 am: f5d9360be0
am: 08cb85206a

Change-Id: I200011cb9c9c4a71ec71e856bc3d4dd7fdd971b6
d0090759e79208d7203280166018bb7d5d4f9d02 08-Jun-2016 Marco Nelissen <marcone@google.com> Fix potential overflow

Bug: 28533562
Change-Id: I798ab24caa4c81f3ba564cad7c9ee019284fb702
264bsd_dpb.c
e35bcaa2c908c5ef404928412ade7711e6173d35 13-May-2016 Pawin Vongmasa <pawin@google.com> h264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64 am: 2a68d5279d am: 5dfa5f268e am: a0bb560e3b am: 7c22e59819 am: 548439e243 am: 4d027a6bf5 am: 177aee1b6b am: e9bb4f9b51 am: 60ab0df366
am: ec5e9c0f99

* commit 'ec5e9c0f9911e280ba8344a40891b7a12a67ec34':
h264bsdActivateParamSets: Prevent multiplication overflow.

Change-Id: I3020d794e03987eb84307d0e004ca951596a7b1d
4d027a6bf52ff3c82bee40594514faaf74cd27ab 13-May-2016 Pawin Vongmasa <pawin@google.com> h264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64 am: 2a68d5279d am: 5dfa5f268e am: a0bb560e3b am: 7c22e59819
am: 548439e243

* commit '548439e243accefdb42d318175aedd281a225da4':
h264bsdActivateParamSets: Prevent multiplication overflow.

Change-Id: I6aea83511caf50e10d2e76ccafbecc0bba68cdf9
a0bb560e3bdbfa96c4184545ed82c17d01025294 13-May-2016 Pawin Vongmasa <pawin@google.com> h264bsdActivateParamSets: Prevent multiplication overflow. am: 87277aac64 am: 2a68d5279d
am: 5dfa5f268e

* commit '5dfa5f268e97d862744ffddc4596577495022bea':
h264bsdActivateParamSets: Prevent multiplication overflow.

Change-Id: I30bba39d44061c72485419ac8686fba2427e3328
87277aac64a21461b657298dcdcb809737347980 12-May-2016 Pawin Vongmasa <pawin@google.com> h264bsdActivateParamSets: Prevent multiplication overflow.

Report MEMORY_ALLOCATION_ERROR if pStorage->picSizeInMbs would
exceed UINT32_MAX bytes.

Bug: 28532266
Change-Id: Ia6f11efb18818afcdb5fa2a38a14f2a2d8c8447a
264bsd_storage.c
5b817c598754e0895ee43bd2f6a9954a25d8979a 14-Apr-2016 Marco Nelissen <marcone@google.com> h264dec: check for overflows when calculating allocation size. am: a3dd713 am: d504c68 am: 9f3762d am: 76f606b am: 9d9ebc9 am: 8e46016 am: 3e1803f am: 13d3588 am: fa12d6f am: 1c6e052
am: ed99ef7

* commit 'ed99ef7997d57b53d3b1d85cb4ae043110d3b68a':
h264dec: check for overflows when calculating allocation size.

Change-Id: If9969bddb7c33f7e3145542da278e36261c21ff3
3e1803fc40052b5cf6f3f7a63aa82bf446749724 14-Apr-2016 Marco Nelissen <marcone@google.com> h264dec: check for overflows when calculating allocation size. am: a3dd713 am: d504c68 am: 9f3762d am: 76f606b am: 9d9ebc9
am: 8e46016

* commit '8e4601608f3ecbc7b5b40c6b6efe3290104aa743':
h264dec: check for overflows when calculating allocation size.

Change-Id: Icac8c5785b5c15c1e882a5ced0f536c3501e1159
76f606bdf9d52a4406dc285e06a0f15b13903bac 14-Apr-2016 Marco Nelissen <marcone@google.com> h264dec: check for overflows when calculating allocation size. am: a3dd713 am: d504c68
am: 9f3762d

* commit '9f3762d8c76b778c8f600486a464838731105b09':
h264dec: check for overflows when calculating allocation size.

Change-Id: Iefdde609316ffa6fb9037f24d3865980633cd4b9
a3dd713893658baf50df88b261aba83bb0c40687 08-Apr-2016 Marco Nelissen <marcone@google.com> h264dec: check for overflows when calculating allocation size.

Bug: 27855419
Change-Id: Idabedca52913ec31ea5cb6a6109ab94e3fb2badd
ecTestBench.c
valuationTestBench.c
264SwDecApi.c
estBenchMultipleInstance.c
264bsd_decoder.c
264bsd_util.h
7ea582e1dbdd9a88b2105fbe29ed0ec92cbf70c6 19-Aug-2015 Chih-Hung Hsieh <chh@google.com> Use unified syntax to compile with both llvm and gas.

* Remove useless stab debug info directives .func and .endfunc,
which are not recognized by clang/llvm integrated assembler.
* Replace require8 with REQUIRE8, preserve8 with PRESERVE8.
* Replace LDRNESB with LDRSBNE, LDREQSB with LDRSBEQ, etc.
* Replace VST1 {*.U8} with VST1.8 ..., VLD1 {*.U8} with VLD1.8,
and VMOV with VMOV.I8.
* New assembler output code is identical or equivalent to old gas output.
For example, the 3 references of
LDR r7, =0x80808080
in omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_Average_4x_Align_unsafe_s.S
produced 3 instances of
.word 0x80808080
by llvm integrated assembler but only one by gas.

Change-Id: Ifdcd5bee915a7534198d7f219bceab72045f6a22
rm_neon_asm_gcc/asm_common.S
rm_neon_asm_gcc/h264bsdClearMbLayer.S
rm_neon_asm_gcc/h264bsdCountLeadingZeros.S
rm_neon_asm_gcc/h264bsdFillRow7.S
rm_neon_asm_gcc/h264bsdFlushBits.S
rm_neon_asm_gcc/h264bsdWriteMacroblock.S
3e255fa2dbe9d7b05818964ddc9f6ea6bf24ec14 30-Jan-2015 Elliott Hughes <enh@google.com> Add missing includes.

Change-Id: I54abc8fbf9d4d48f747b6aac2ce42c23c7568c25
264SwDecApi.c
21e525fdcc234c22d843a8bf1a4ec35c4b376314 07-Nov-2014 Martin Storsjo <martin@martin.st> Remove the executable bit from source files

Change-Id: I3c105b7e2736ade22de0bb12f396859816b3adf7
ecTestBench.c
valuationTestBench.c
estBenchMultipleInstance.c
264bsd_byte_stream.c
264bsd_byte_stream.h
264bsd_cavlc.c
264bsd_cavlc.h
264bsd_cfg.h
264bsd_conceal.c
264bsd_conceal.h
264bsd_container.h
264bsd_deblocking.c
264bsd_deblocking.h
264bsd_dpb.c
264bsd_dpb.h
264bsd_image.c
264bsd_image.h
264bsd_inter_prediction.c
264bsd_inter_prediction.h
264bsd_intra_prediction.c
264bsd_intra_prediction.h
264bsd_macroblock_layer.c
264bsd_macroblock_layer.h
264bsd_nal_unit.c
264bsd_nal_unit.h
264bsd_neighbour.c
264bsd_neighbour.h
264bsd_pic_order_cnt.c
264bsd_pic_order_cnt.h
264bsd_pic_param_set.c
264bsd_pic_param_set.h
264bsd_reconstruct.c
264bsd_reconstruct.h
264bsd_sei.c
264bsd_sei.h
264bsd_seq_param_set.h
264bsd_slice_data.c
264bsd_slice_data.h
264bsd_slice_group_map.c
264bsd_slice_group_map.h
264bsd_slice_header.c
264bsd_slice_header.h
264bsd_storage.c
264bsd_storage.h
264bsd_stream.c
264bsd_stream.h
264bsd_transform.c
264bsd_transform.h
264bsd_util.c
264bsd_util.h
264bsd_vlc.c
264bsd_vlc.h
264bsd_vui.c
264bsd_vui.h
3d2e09f0221693de08129edd02adf340a44e7a38 27-Feb-2014 Narayan Kamath <narayan@google.com> am d4c6052d: am 096d72a3: Merge "AArch64: Correction for LP64"

* commit 'd4c6052dd41dd5b942295cea5568783da7670eb4':
AArch64: Correction for LP64
1f797f960412b5a50bf8e92a0c8b460f30e947d7 17-Feb-2014 Marcus Oakland <marcus.oakland@arm.com> AArch64: Correction for LP64

In the Intra16x16PlanePrediction function, a u32 (unsigned 32-bit
integer) was being used for the "i" variable, and being used with a
value of 7 in the loop "for (i = 0, b = 0; i < 8; i++)" to access the
"above[6-i]" location where "above" is defined as "u8 *". Because "i"
was unsigned there was no sign extension on use with the __LP64__
64-bit pointer, so rather than 0xFFFFFFFF being treated as -1, it was
treated as 4,292,967,295 and that resulted in a SIGSEGV at an invalid
address. By changing the type of "i" to an i32 (signed 32-bit integer)
the expected sign extension occurs and the value is treated as -1.

This change fixes android.media.cts.DecoderTest#testCodeBasicH264 on
64-bit platforms

Change-Id: I85df58b0dc1d39f89ab421d04ab5481356520f0c
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
264bsd_intra_prediction.c
84333e0475bc911adc16417f4ca327c975cf6c36 08-Feb-2014 Andreas Huber <andih@google.com> warnings be gone.

Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
264SwDecApi.c
264bsd_conceal.c
264bsd_reconstruct.c
264bsd_slice_header.c
264bsd_util.c
377b2ec9a2885f9b6405b07ba900a9e3f4349c38 03-Feb-2014 Kévin PETIT <kevin.petit@arm.com> Make frameworks/av 64-bit compatible

Contains the necessary changes to make frameworks/av build and work
on a 64-bit machine.

Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>

Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
264bsd_util.h
cbfce76bc7cd986cb391101c384d8e89a14328bf 28-Mar-2013 Marco Nelissen <marcone@google.com> Fix valgrind error in software h264 decoder

h264bsdNextMbAddress could read past the end of an allocation, which
could conceivably result in a segfault if the allocation was at the
very end of a page.

Change-Id: Id7a0c5733d66e609f36feb0e15b2d67b9bbc0b4d
264bsd_util.c
4a7fe9cd333c4cf533f78a074c8c2c820b94c6d2 28-Mar-2013 Marco Nelissen <marcone@google.com> Fix valgrind error in software h264 decoder

h264bsdNextMbAddress could read past the end of an allocation, which
could conceivably result in a segfault if the allocation was at the
very end of a page.

Change-Id: Id7a0c5733d66e609f36feb0e15b2d67b9bbc0b4d
264bsd_util.c
0c1bc742181ded4930842b46e9507372f0b1b963 01-Jun-2011 James Dong <jdong@google.com> Initial-checkin for ON2 Software AVC/H264 decoder

o when neon is present, the performance gain of On2 AVC software decoder
over PV software decoder is more than 30%.

o In addition, it fixes some known PV software decoder issues like missing
output frames

o allow both pv and on2 software avc to be available for easy comparision

o change output frames from 8 to 16

Change-Id: I567ad1842025ead7092f0c47e3513d6d9ca232dd
ecTestBench.c
valuationTestBench.c
264SwDecApi.c
estBenchMultipleInstance.c
rm11_asm/h264bsd_interpolate_chroma_hor.s
rm11_asm/h264bsd_interpolate_chroma_hor_ver.s
rm11_asm/h264bsd_interpolate_chroma_ver.s
rm11_asm/h264bsd_interpolate_hor_half.s
rm11_asm/h264bsd_interpolate_hor_quarter.s
rm11_asm/h264bsd_interpolate_hor_ver_quarter.s
rm11_asm/h264bsd_interpolate_mid_hor.s
rm11_asm/h264bsd_interpolate_ver_half.s
rm11_asm/h264bsd_interpolate_ver_quarter.s
rm11_asm/win_asm.bat
rm_neon_asm/h264bsdClearMbLayer.s
rm_neon_asm/h264bsdCountLeadingZeros.s
rm_neon_asm/h264bsdFillRow7.s
rm_neon_asm/h264bsdFlushBits.s
rm_neon_asm/h264bsdWriteMacroblock.s
rm_neon_asm_gcc/asm_common.S
rm_neon_asm_gcc/h264bsdClearMbLayer.S
rm_neon_asm_gcc/h264bsdCountLeadingZeros.S
rm_neon_asm_gcc/h264bsdFillRow7.S
rm_neon_asm_gcc/h264bsdFlushBits.S
rm_neon_asm_gcc/h264bsdWriteMacroblock.S
264bsd_byte_stream.c
264bsd_byte_stream.h
264bsd_cavlc.c
264bsd_cavlc.h
264bsd_cfg.h
264bsd_conceal.c
264bsd_conceal.h
264bsd_container.h
264bsd_deblocking.c
264bsd_deblocking.h
264bsd_decoder.c
264bsd_decoder.h
264bsd_dpb.c
264bsd_dpb.h
264bsd_image.c
264bsd_image.h
264bsd_inter_prediction.c
264bsd_inter_prediction.h
264bsd_intra_prediction.c
264bsd_intra_prediction.h
264bsd_macroblock_layer.c
264bsd_macroblock_layer.h
264bsd_nal_unit.c
264bsd_nal_unit.h
264bsd_neighbour.c
264bsd_neighbour.h
264bsd_pic_order_cnt.c
264bsd_pic_order_cnt.h
264bsd_pic_param_set.c
264bsd_pic_param_set.h
264bsd_reconstruct.c
264bsd_reconstruct.h
264bsd_sei.c
264bsd_sei.h
264bsd_seq_param_set.c
264bsd_seq_param_set.h
264bsd_slice_data.c
264bsd_slice_data.h
264bsd_slice_group_map.c
264bsd_slice_group_map.h
264bsd_slice_header.c
264bsd_slice_header.h
264bsd_storage.c
264bsd_storage.h
264bsd_stream.c
264bsd_stream.h
264bsd_transform.c
264bsd_transform.h
264bsd_util.c
264bsd_util.h
264bsd_vlc.c
264bsd_vlc.h
264bsd_vui.c
264bsd_vui.h