• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
History log of /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5d453222ae6dcc10efedb1e4805247d7c22a4168 17-May-2016 Marco Nelissen <marcone@google.com> Fix yet more overflows in amrwbenc

Bug: 28786034
Change-Id: I619e63df93a562a1e3b017d07a8414776a00b855
onvolve.c
itch_f4.c
oAMRWBEnc.c
ef384d17fb870ba3c196b29b858a015c76864578 28-Apr-2016 Marco Nelissen <marcone@google.com> Fix more potential overflows in amrwbenc

Bug: 28268307
Change-Id: Ibe32bee8c73950e3a9cae13bd4b516f9c7428673
4t64fx.c
25bf5e20ef69cc8944c72d0eb6a4fb58d4bacbfd 07-Apr-2016 Marco Nelissen <marcone@google.com> Fix AMRWBEnc overflow

Bug: 27898843
Change-Id: Ib36833020e9203ef5e8acf18fdde900c0f102978
oAMRWBEnc.c
033b6f7ffdb1ac9e1d2a652e3f5998bf442c0f7b 30-Mar-2016 Marco Nelissen <marcone@google.com> Fix AMRWBEnc overflow

Bug: 27898843
Change-Id: Ibb3506bcfc315b5c816892ba65e157db8ea3fdbe
oAMRWBEnc.c
a93d5b263f3f374c5d3081297f504504203000da 16-Mar-2016 Wei Jia <wjia@google.com> amrwbenc: fix possible signed integer overflow in ACELP_4t64_fx.

Bug: 27657270
Change-Id: Iad98ad520e9c99a433842b1a3841e288013fb1c9
4t64fx.c
a87228e3e3f42d3676ced0d38ad9913d7bef9de6 27-Jan-2016 Marco Nelissen <marcone@google.com> Overflow fixes for amrwbenc

Most of these were encountered while running a mixed sanitized/unsanitized
AMR encoder, so may not be reachable in real conditions.

Change-Id: I85af7d40214133234009323e7e64432fc1be39ca
2t64fx.c
4t64fx.c
or_h_x.c
81f8b15dd98f2bc62ee3d77211ac09a71bbc7578 25-Jan-2016 Eric Laurent <elaurent@google.com> Revert "Disable integer sanitization for amrwbenc"

Fix some more overflows, and turn sanitize back on.

Bug: 26416048
Change-Id: I17d3b8a975770c6b5778610c1ff7928fce598e21
4t64fx.c
89a3d233da8c7166e64afe4249130ceda670339c 05-Jan-2016 Marco Nelissen <marcone@google.com> Fix more potential (benign) AMRWB overflows

Bug: 25843966
Change-Id: I18003aa20be1ff0a93473ecd8b4995861bed8c89
pdt_tar.c
9f6cffe4ffbbe354187c241f3a7b14ae7c252726 12-Dec-2015 Marco Nelissen <marcone@google.com> Fix more amrwbenc overflows

Bug: 25843966
Change-Id: I16aa3eb0fc4c8d507b92d3a84139cfef6302c96c
eemph.c
ath_op.c
_med_ol.c
oAMRWBEnc.c
bc8c47e13630ce7cc26f50cfcdfbcd75eb83c754 09-Dec-2015 Marco Nelissen <marcone@google.com> Fix overflow in amrwbenc

This got dropped in a previous merge.

Change-Id: Ic5ec1f6662944deee32e740697fc55774c894033
reemph.c
5d5c3a132bb446ac78a37dfaac24a46cacf0dd73 09-Dec-2015 Marco Nelissen <marcone@google.com> Tabs -> spaces

Change-Id: I706d7ef81a138739996e0fbb2759348c7a4be8a6
utocorr.c
z_isp.c
its.c
2t64fx.c
4t64fx.c
onvolve.c
or_h_x.c
ecim54.c
eemph.c
tx.c
_pitch.c
pclip.c
oming.c
p400.c
p50.c
p6k.c
p_wsp.c
nt_lpc.c
sp_az.c
sp_isf.c
ag_wind.c
evinson.c
og2.c
p_dec2.c
ath_op.c
em_align.c
per_32b.c
_med_ol.c
it_shrp.c
itch_f4.c
red_lt4.c
reemph.c
_gain2.c
_pulse.c
isf_ns.c
pisf_2s.c
andom.c
esidu.c
cale.c
tream.c
yn_filt.c
pdt_tar.c
til.c
oAMRWBEnc.c
oicefac.c
b_vad.c
eight_a.c
13158e7c748c760d238fd5e965805d251fcf2776 08-Dec-2015 Marco Nelissen <marcone@google.com> Fix overflows in amrwbenc

Revert 3cdaed88daeeebfe05e7913837f41c2d92f411cc and
883ff4f4c41ae9bf84d1912ab054fe38f7505dd0, and fix the overflows that
should have been clamped instead of allowed to overflow.

Bug: 25843966
Bug: 23752600

Change-Id: I9af1726d058eb8eeaa80fa8df74fe0a3759486c1
2t64fx.c
4t64fx.c
eemph.c
reemph.c
3cdaed88daeeebfe05e7913837f41c2d92f411cc 14-Oct-2015 Dan Austin <danielaustin@google.com> Setting ACELP_2t64_fx to not be integer sanitized due to multiple benign
integer overflow conditions.

Bug: 23752600
Change-Id: I0c2ece5de6ca66086643d7dd45fb3fe44d57b0fc
2t64fx.c
98841d360524c3049a3b205cb975d937e2619700 13-Aug-2015 Ian Pedowitz <ijpedowitz@google.com> resolved conflicts for merge of bb37e84f to mnc-dev-plus-aosp

Change-Id: I90940a50d55395bfd61d5a5e21fac3aa0982ba40
9dd01777aa14bbb90a6cdccf97383bb4e3d717a5 12-Aug-2015 Wei Jia <wjia@google.com> libstagefright: fix possible overflow in amrwbenc.

Bug: 23142203
Change-Id: I309df51e4df6412655f04cc093d792bf6c7944f7
til.c
dae006d1def007dddad9a202a0593b478eab503f 08-Jul-2015 Evgenii Stepanov <eugenis@google.com> Fix global-buffer-overflow in voAWB_Copy.

Copy() in frameworks/av/media/libstagefright/codecs/amrwbenc/src/util.c always
overreads the buffer by 4 bytes to the right, which, if we are very unlucky,
can even hit an unmapped memory page (in this case it is just a global
variable).

Bug: 22331081
Change-Id: I3d5d7f94c7248967518bf4d0faf34c364e431135
til.c
3f7149c1c8f211c9ef5eb6c4012f078d9d08387b 15-May-2015 Chih-Hung Hsieh <chh@google.com> Use standard arm assembly syntax.

The output from gcc before and after this change,
and from llvm are identical, except the ADRL to ADR change.

In this case, old "ADRL r8, Table" is translated into
add r8, pc, #1184 ; 0x4a0
nop ; (mov r0, r0)
and new "ADR r8, Table; NOP" is translated into equivalent:
add r8, pc, #1184 ; 0x4a0
nop {0}

BUG: 21169627

Change-Id: I64130e99f6506494b9c4a6e0f1f850491d481242
sm/ARMV5E/Deemph_32_opt.s
sm/ARMV5E/Dot_p_opt.s
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV5E/Norm_Corr_opt.s
sm/ARMV5E/Syn_filt_32_opt.s
sm/ARMV5E/convolve_opt.s
sm/ARMV5E/cor_h_vec_opt.s
sm/ARMV5E/pred_lt4_1_opt.s
sm/ARMV5E/residu_asm_opt.s
sm/ARMV5E/scale_sig_opt.s
sm/ARMV5E/syn_filt_opt.s
sm/ARMV7/Deemph_32_neon.s
sm/ARMV7/Dot_p_neon.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/Norm_Corr_neon.s
sm/ARMV7/Syn_filt_32_neon.s
sm/ARMV7/convolve_neon.s
sm/ARMV7/cor_h_vec_neon.s
sm/ARMV7/pred_lt4_1_neon.s
sm/ARMV7/residu_asm_neon.s
sm/ARMV7/scale_sig_neon.s
sm/ARMV7/syn_filt_neon.s
b3f9759c8c9437c45b9a34519ce2ea38a8314d4e 24-Nov-2014 Andreas Gampe <agampe@google.com> Stagefright: Fix unused variables, functions, values

For build-system CFLAGS clean-up, remove unused functions and
variables.

Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
_pulse.c
54cdefc7c79c60514d3c37458df285547f4008fd 18-Nov-2014 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Remove extraneous parentheses

Remove extraneous parentheses - they cause compiler warnings in clang

Change-Id: Ie2efd9714f9e2251cf3b204b5c5dd1a8b8aaca13
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
b_vad.c
789a7c6dd196432b83a8142aac5a2a8b75e8860c 08-Aug-2014 Dan Albert <danalbert@google.com> am 4b599537: am 9ee1572f: Merge "Fix PIC relocations for non-Bsymbolic builds"

* commit '4b59953778bb49d0b316ad8f83991d5f6fb02fba':
Fix PIC relocations for non-Bsymbolic builds
97e3e847179c17eb9059fb322413b6facd3e5a03 08-Aug-2014 Ard Biesheuvel <ard.biesheuvel@gmail.com> Fix PIC relocations for non-Bsymbolic builds

The ARM assembly contains a couple of hand-coded PC relative references
to data defined in other object files. Make sure the externs are tagged
as hidden so the linker knows that it can resolve the reference locally
at build time.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Bug: 16853291
Change-Id: If7bc8e5bb6a2c63b9df33666d56e6c42f398fd47
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV5E/pred_lt4_1_opt.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/pred_lt4_1_neon.s
442cc6dc48f8188e097617f7f804c314a9dacd0e 12-Feb-2014 Andreas Huber <andih@google.com> Even more warnings (now errors) fixed to unbreak the sdk-x86 build(s).

Change-Id: Ib4a5ab1a9e50fe9e7747a907f8b4a8c207099fdb
itch_f4.c
84333e0475bc911adc16417f4ca327c975cf6c36 08-Feb-2014 Andreas Huber <andih@google.com> warnings be gone.

Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
utocorr.c
onvolve.c
yn_filt.c
oAMRWBEnc.c
c40e9b86092e67f245ba8f05244f578b26e49fe2 19-Oct-2012 Nick Kralevich <nnk@google.com> hardening: eliminate more .text relocations

In 74bc3e133bd59a65dbed70b5fc89549f04a545e2, a bunch of text relocations
were cleaned up from amrwbenc. Looks like we forgot one. Fixed.

Change-Id: I80d4c68be435c3461731374d2b6d3bdbd61354a5
sm/ARMV5E/pred_lt4_1_opt.s
74bc3e133bd59a65dbed70b5fc89549f04a545e2 13-Aug-2012 Ard Biesheuvel <ard.biesheuvel@gmail.com> hardening: eliminate text relocations from amrwb

Change-Id: I47235fc4afe6b916da1e999401fb3c8b12c94e62
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/pred_lt4_1_neon.s
c4ef4bb50d1407aec63358d4c14d1007ae0c4c1d 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Remove a useless check

Since the Length field is unsigned, the comparison will always
be false. The corresponding code in the aac encoder doesn't have
any check for Length.

This avoids a warning about comparison always being false.

Change-Id: I57c28ff9d09cb9ac4effeaeb40db608ab976acc6
oAMRWBEnc.c
417f62c84261ea17e17a011b1e9706eb997a6ba1 22-Dec-2010 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Make the mem_malloc function 64-bit safe

Change-Id: Iab0dbfdc6be09c62d353bee46596635686b784a6
em_align.c
b676a05348e4c516fa8b57e33b10548e6142c3f8 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Remove trailing whitespace

This was applied in AOSP master earlier, in commit
b21611e5b0f1797e39e781d91ade023bac87637f, but when merged
into the Google internal tree in
88c2d4d26d79384f32a25bd775cf873cb678b12a, none of these
changes have been brought in. (The diff of this merge commit
and its first parent, d94b71d, is empty.)

Therefore, reapply the rest of these changes on the files
that still are present in the current version.

Change-Id: I645a9b9134769958a11808a06163123d28d83e46
sm/ARMV5E/Deemph_32_opt.s
sm/ARMV5E/Dot_p_opt.s
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV5E/Norm_Corr_opt.s
sm/ARMV5E/Syn_filt_32_opt.s
sm/ARMV5E/convolve_opt.s
sm/ARMV5E/cor_h_vec_opt.s
sm/ARMV5E/pred_lt4_1_opt.s
sm/ARMV5E/residu_asm_opt.s
sm/ARMV5E/scale_sig_opt.s
sm/ARMV5E/syn_filt_opt.s
sm/ARMV7/Deemph_32_neon.s
sm/ARMV7/Dot_p_neon.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/Norm_Corr_neon.s
sm/ARMV7/Syn_filt_32_neon.s
sm/ARMV7/convolve_neon.s
sm/ARMV7/cor_h_vec_neon.s
sm/ARMV7/pred_lt4_1_neon.s
sm/ARMV7/residu_asm_neon.s
sm/ARMV7/scale_sig_neon.s
sm/ARMV7/syn_filt_neon.s
utocorr.c
z_isp.c
its.c
2t64fx.c
4t64fx.c
onvolve.c
or_h_x.c
ecim54.c
eemph.c
tx.c
_pitch.c
pclip.c
p400.c
p50.c
p6k.c
p_wsp.c
nt_lpc.c
sp_az.c
sp_isf.c
evinson.c
og2.c
p_dec2.c
ath_op.c
em_align.c
_med_ol.c
itch_f4.c
red_lt4.c
reemph.c
_gain2.c
_pulse.c
isf_ns.c
pisf_2s.c
esidu.c
cale.c
tream.c
yn_filt.c
pdt_tar.c
oAMRWBEnc.c
oicefac.c
b_vad.c
eight_a.c
8ebcf0222143b2b59d24946ef260894f367e096c 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am b32af642: am 31140598: am 16db83c2: am eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused file"

* commit 'b32af642454f3113cb1539821eb3b0dbf4174974':
stagefright amrwbenc: Remove a duplicate, unused file
24123b996366a20bedab4dffbc69c8e439fe04d3 19-Jul-2011 Deckard Autoverifier <deckard@android.com> Merge "stagefright amrwbenc: Remove a duplicate, unused file"
17e5dcbf4b22a7dc1ae1a72d14cf5f8d747f1123 23-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Remove a duplicate, unused file

This file is identical to common/cmnMemory.c, and that's the
file that is used by all the makefiles, not this one.

Change-Id: I6a601c24a983285e55e5356bd5569853a1e2d7fe
mnMemory.c
e2e838afcf03e603a41a0455846eaf9614537c16 22-Apr-2011 Mans Rullgard <mans@mansr.com> Convert line breaks to Unix style

Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
sm/ARMV5E/Deemph_32_opt.s
sm/ARMV5E/Dot_p_opt.s
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV5E/Syn_filt_32_opt.s
sm/ARMV5E/cor_h_vec_opt.s
sm/ARMV5E/pred_lt4_1_opt.s
sm/ARMV5E/residu_asm_opt.s
sm/ARMV5E/scale_sig_opt.s
sm/ARMV5E/syn_filt_opt.s
sm/ARMV7/Deemph_32_neon.s
sm/ARMV7/Dot_p_neon.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/Syn_filt_32_neon.s
sm/ARMV7/cor_h_vec_neon.s
sm/ARMV7/pred_lt4_1_neon.s
sm/ARMV7/scale_sig_neon.s
sm/ARMV7/syn_filt_neon.s
utocorr.c
z_isp.c
its.c
2t64fx.c
4t64fx.c
mnMemory.c
onvolve.c
or_h_x.c
ecim54.c
eemph.c
tx.c
_pitch.c
pclip.c
oming.c
p400.c
p50.c
p6k.c
p_wsp.c
nt_lpc.c
sp_az.c
sp_isf.c
ag_wind.c
evinson.c
og2.c
p_dec2.c
ath_op.c
per_32b.c
_med_ol.c
it_shrp.c
itch_f4.c
red_lt4.c
reemph.c
_gain2.c
_pulse.c
isf_ns.c
pisf_2s.c
andom.c
esidu.c
cale.c
tream.c
yn_filt.c
pdt_tar.c
til.c
oAMRWBEnc.c
oicefac.c
b_vad.c
eight_a.c
f3664ae9369a861ffbc2354e8e93e48983802062 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Remove trailing whitespace

Change-Id: I3c85d8ba4cfb164455d137cdbf3b5ecc941dc6b8
sm/ARMV5E/Deemph_32_opt.s
sm/ARMV5E/Dot_p_opt.s
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV5E/Norm_Corr_opt.s
sm/ARMV5E/Syn_filt_32_opt.s
sm/ARMV5E/convolve_opt.s
sm/ARMV5E/cor_h_vec_opt.s
sm/ARMV5E/pred_lt4_1_opt.s
sm/ARMV5E/residu_asm_opt.s
sm/ARMV5E/scale_sig_opt.s
sm/ARMV5E/syn_filt_opt.s
sm/ARMV7/Deemph_32_neon.s
sm/ARMV7/Dot_p_neon.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/Norm_Corr_neon.s
sm/ARMV7/Syn_filt_32_neon.s
sm/ARMV7/convolve_neon.s
sm/ARMV7/cor_h_vec_neon.s
sm/ARMV7/pred_lt4_1_neon.s
sm/ARMV7/residu_asm_neon.s
sm/ARMV7/scale_sig_neon.s
sm/ARMV7/syn_filt_neon.s
utocorr.c
z_isp.c
its.c
2t64fx.c
4t64fx.c
onvolve.c
or_h_x.c
ecim54.c
eemph.c
tx.c
_pitch.c
pclip.c
p400.c
p50.c
p6k.c
p_wsp.c
nt_lpc.c
sp_az.c
sp_isf.c
evinson.c
og2.c
p_dec2.c
ath_op.c
em_align.c
_med_ol.c
itch_f4.c
red_lt4.c
reemph.c
_gain2.c
_pulse.c
isf_ns.c
pisf_2s.c
esidu.c
cale.c
tream.c
yn_filt.c
pdt_tar.c
oAMRWBEnc.c
oicefac.c
b_vad.c
eight_a.c
41050cdb033641ddf26831d9272c0930f7b40a2d 22-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Convert line breaks to Unix style

Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
sm/ARMV5E/Deemph_32_opt.s
sm/ARMV5E/Dot_p_opt.s
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV5E/Syn_filt_32_opt.s
sm/ARMV5E/cor_h_vec_opt.s
sm/ARMV5E/pred_lt4_1_opt.s
sm/ARMV5E/residu_asm_opt.s
sm/ARMV5E/scale_sig_opt.s
sm/ARMV5E/syn_filt_opt.s
sm/ARMV7/Deemph_32_neon.s
sm/ARMV7/Dot_p_neon.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/Syn_filt_32_neon.s
sm/ARMV7/cor_h_vec_neon.s
sm/ARMV7/pred_lt4_1_neon.s
sm/ARMV7/scale_sig_neon.s
sm/ARMV7/syn_filt_neon.s
utocorr.c
z_isp.c
its.c
2t64fx.c
4t64fx.c
mnMemory.c
onvolve.c
or_h_x.c
ecim54.c
eemph.c
tx.c
_pitch.c
pclip.c
oming.c
p400.c
p50.c
p6k.c
p_wsp.c
nt_lpc.c
sp_az.c
sp_isf.c
ag_wind.c
evinson.c
og2.c
p_dec2.c
ath_op.c
per_32b.c
_med_ol.c
it_shrp.c
itch_f4.c
red_lt4.c
reemph.c
_gain2.c
_pulse.c
isf_ns.c
pisf_2s.c
andom.c
esidu.c
cale.c
tream.c
yn_filt.c
pdt_tar.c
til.c
oAMRWBEnc.c
oicefac.c
b_vad.c
eight_a.c
956c553ab0ce72f8074ad0fda2ffd66a0305700c 15-May-2010 James Dong <jdong@google.com> Initial software encoder checkins

Change-Id: I27f387db23594e46384c4eb3a0093ce220bb6b60
sm/ARMV5E/Deemph_32_opt.s
sm/ARMV5E/Dot_p_opt.s
sm/ARMV5E/Filt_6k_7k_opt.s
sm/ARMV5E/Norm_Corr_opt.s
sm/ARMV5E/Syn_filt_32_opt.s
sm/ARMV5E/convolve_opt.s
sm/ARMV5E/cor_h_vec_opt.s
sm/ARMV5E/pred_lt4_1_opt.s
sm/ARMV5E/residu_asm_opt.s
sm/ARMV5E/scale_sig_opt.s
sm/ARMV5E/syn_filt_opt.s
sm/ARMV7/Deemph_32_neon.s
sm/ARMV7/Dot_p_neon.s
sm/ARMV7/Filt_6k_7k_neon.s
sm/ARMV7/Norm_Corr_neon.s
sm/ARMV7/Syn_filt_32_neon.s
sm/ARMV7/convolve_neon.s
sm/ARMV7/cor_h_vec_neon.s
sm/ARMV7/pred_lt4_1_neon.s
sm/ARMV7/residu_asm_neon.s
sm/ARMV7/scale_sig_neon.s
sm/ARMV7/syn_filt_neon.s
utocorr.c
z_isp.c
its.c
2t64fx.c
4t64fx.c
mnMemory.c
onvolve.c
or_h_x.c
ecim54.c
eemph.c
tx.c
_pitch.c
pclip.c
oming.c
p400.c
p50.c
p6k.c
p_wsp.c
nt_lpc.c
sp_az.c
sp_isf.c
ag_wind.c
evinson.c
og2.c
p_dec2.c
ath_op.c
em_align.c
per_32b.c
_med_ol.c
it_shrp.c
itch_f4.c
red_lt4.c
reemph.c
_gain2.c
_pulse.c
isf_ns.c
pisf_2s.c
andom.c
esidu.c
cale.c
tream.c
yn_filt.c
pdt_tar.c
til.c
oAMRWBEnc.c
oicefac.c
b_vad.c
eight_a.c