• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libstagefright/codecs/amrwbenc/
History log of /frameworks/av/media/libstagefright/codecs/amrwbenc/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1708655d68ca9b9800461fe90eed04e38bcfae20 03-Jun-2016 Marco Nelissen <marcone@google.com> Turn off signed integer overflow checking for amrwbenc

which also requires turning off NEON code generation.

Bug: 28992582
Change-Id: I740adefc3f80ac8f66f72d289413d786fc39900c
ndroid.mk
5d453222ae6dcc10efedb1e4805247d7c22a4168 17-May-2016 Marco Nelissen <marcone@google.com> Fix yet more overflows in amrwbenc

Bug: 28786034
Change-Id: I619e63df93a562a1e3b017d07a8414776a00b855
rc/convolve.c
rc/pitch_f4.c
rc/voAMRWBEnc.c
ef384d17fb870ba3c196b29b858a015c76864578 28-Apr-2016 Marco Nelissen <marcone@google.com> Fix more potential overflows in amrwbenc

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

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

Bug: 27898843
Change-Id: Ibb3506bcfc315b5c816892ba65e157db8ea3fdbe
rc/voAMRWBEnc.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
nc/basic_op.h
rc/c4t64fx.c
2720c8b094cfa58de314daa8e5e4fb4fa81fe3b2 29-Feb-2016 Marco Nelissen <marcone@google.com> Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
oftAMRWBEncoder.cpp
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
nc/basic_op.h
rc/c2t64fx.c
rc/c4t64fx.c
rc/cor_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
ndroid.mk
rc/c4t64fx.c
2339dc7eb6f7d549cae931a16f16099ac3bed13b 03-Nov-2015 Yongqin Liu <yongqin.liu@linaro.org> codecs: update for check ifeq ($(TARGET_ARCH),arm)

This condition check will only pass when compile for 32bit platform.
It will not pass when generate the 32bit binary or libarary for 64bit platform.
update it with variants like LOCAL_SRC_FILES_arm to make it used by
32bit binary or library on 64biy platform as well

Change-Id: Ia887610a97c68fa58925d2d86c5eb29cb397d6ef
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
ndroid.mk
be773c3a8f86a6ee8a0e36c9f9c18055d97edb6f 05-Jan-2016 Marco Nelissen <marcone@google.com> Disable integer sanitization for amrwbenc

Integer sanitization causes too many false positives, and so far all
have been benign or intentional.

Change-Id: I3c40e478e3da31023a635f4ef212873c1fb644f3
ndroid.mk
89a3d233da8c7166e64afe4249130ceda670339c 05-Jan-2016 Marco Nelissen <marcone@google.com> Fix more potential (benign) AMRWB overflows

Bug: 25843966
Change-Id: I18003aa20be1ff0a93473ecd8b4995861bed8c89
nc/basic_op.h
rc/updt_tar.c
9f6cffe4ffbbe354187c241f3a7b14ae7c252726 12-Dec-2015 Marco Nelissen <marcone@google.com> Fix more amrwbenc overflows

Bug: 25843966
Change-Id: I16aa3eb0fc4c8d507b92d3a84139cfef6302c96c
rc/deemph.c
rc/math_op.c
rc/p_med_ol.c
rc/voAMRWBEnc.c
bc8c47e13630ce7cc26f50cfcdfbcd75eb83c754 09-Dec-2015 Marco Nelissen <marcone@google.com> Fix overflow in amrwbenc

This got dropped in a previous merge.

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

Change-Id: I706d7ef81a138739996e0fbb2759348c7a4be8a6
nc/acelp.h
nc/basic_op.h
nc/bits.h
nc/cod_main.h
nc/dtx.h
nc/log2.h
nc/main.h
nc/math_op.h
nc/mem_align.h
nc/p_med_o.h
nc/q_pulse.h
nc/stream.h
nc/wb_vad.h
nc/wb_vad_c.h
rc/autocorr.c
rc/az_isp.c
rc/bits.c
rc/c2t64fx.c
rc/c4t64fx.c
rc/convolve.c
rc/cor_h_x.c
rc/decim54.c
rc/deemph.c
rc/dtx.c
rc/g_pitch.c
rc/gpclip.c
rc/homing.c
rc/hp400.c
rc/hp50.c
rc/hp6k.c
rc/hp_wsp.c
rc/int_lpc.c
rc/isp_az.c
rc/isp_isf.c
rc/lag_wind.c
rc/levinson.c
rc/log2.c
rc/lp_dec2.c
rc/math_op.c
rc/mem_align.c
rc/oper_32b.c
rc/p_med_ol.c
rc/pit_shrp.c
rc/pitch_f4.c
rc/pred_lt4.c
rc/preemph.c
rc/q_gain2.c
rc/q_pulse.c
rc/qisf_ns.c
rc/qpisf_2s.c
rc/random.c
rc/residu.c
rc/scale.c
rc/stream.c
rc/syn_filt.c
rc/updt_tar.c
rc/util.c
rc/voAMRWBEnc.c
rc/voicefac.c
rc/wb_vad.c
rc/weight_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
rc/c2t64fx.c
rc/c4t64fx.c
rc/deemph.c
rc/preemph.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
rc/c2t64fx.c
1d00430722b24499373c40c6521be4eb41916f0e 07-Oct-2015 Marco Nelissen <marcone@google.com> Disable integer sanitization checks for the *other* L_add function

Change-Id: I014e82b72dadedad06ad374fa616b772b09a3cd7
nc/basic_op.h
36656097ff0912939b450cf9b34977b86635ab40 30-Sep-2015 Dan Austin <danielaustin@google.com> am 33b439be: Merge "Enable fsanitize signed-integer-overflow in AMR-WB encoder"

* commit '33b439be3fd389ac2d4c4200177a616bcb8ee13e':
Enable fsanitize signed-integer-overflow in AMR-WB encoder
4a80c9a616ccc2d1d27d66873e75aedd19fc386d 11-Sep-2015 Dan Austin <danielaustin@google.com> Enable fsanitize signed-integer-overflow in AMR-WB encoder

Bug: 23752600
Change-Id: I0f84cceae262e3df6626ceedb1370709ea140259
ndroid.mk
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
rc/util.c
3c6813df08299433a32e56e90e2820b25346d07a 27-May-2014 Ashok Bhat <ashok.bhat@arm.com> AMR-WB Encoder: Enable sample app

[x] Changes to SampleCode/Android.mk
Sample code now statically links to AMR WB encoder rather
than dynamically loading AMR WB encoder library. This is done
by not defining LINUX in Android.mk.

[x] Changes to Android.mk
Sample code make file is now included in the overall build,
allowing it to built from the root directory.

Bug: 17722566
Change-Id: I0a5960b20069e223bba388e38c8465bde144426f
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
ndroid.mk
ampleCode/AMRWB_E_SAMPLE.c
ampleCode/Android.mk
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
rc/util.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
ndroid.mk
rc/asm/ARMV5E/Deemph_32_opt.s
rc/asm/ARMV5E/Dot_p_opt.s
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV5E/Norm_Corr_opt.s
rc/asm/ARMV5E/Syn_filt_32_opt.s
rc/asm/ARMV5E/convolve_opt.s
rc/asm/ARMV5E/cor_h_vec_opt.s
rc/asm/ARMV5E/pred_lt4_1_opt.s
rc/asm/ARMV5E/residu_asm_opt.s
rc/asm/ARMV5E/scale_sig_opt.s
rc/asm/ARMV5E/syn_filt_opt.s
rc/asm/ARMV7/Deemph_32_neon.s
rc/asm/ARMV7/Dot_p_neon.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/Norm_Corr_neon.s
rc/asm/ARMV7/Syn_filt_32_neon.s
rc/asm/ARMV7/convolve_neon.s
rc/asm/ARMV7/cor_h_vec_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
rc/asm/ARMV7/residu_asm_neon.s
rc/asm/ARMV7/scale_sig_neon.s
rc/asm/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
rc/q_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>
rc/wb_vad.c
6160044825b0686e59c11ddbcaf56c8086da4022 07-Oct-2014 Chih-Hung Hsieh <chh@google.com> am 566a6fba: am ae38d425: Merge "Add -no-integrated-as at local level."

* commit '566a6fba127771c752fd40db84f1e7aafa520ea6':
Add -no-integrated-as at local level.
7cff5732dd9876ee9aabf08147e7efe3503637ff 07-Oct-2014 Chih-Hung Hsieh <chh@google.com> Add -no-integrated-as at local level.

Later we will enable integrated-as as default at the global level.

BUG: 17820427
Change-Id: I8e67a152f82afdd1d6b81793ee7dd721ab2b59df
ndroid.mk
62cb76f1a38475f0223660d5a9776d5e413b4160 08-Aug-2014 Dan Albert <danalbert@google.com> Resolved conflicts for merge of aed1d581 to lmp-dev-plus-aosp

Change-Id: Ib3877bfb60774d056fa2d934d2f4cb74e3b235ea
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
ec8b67eb9fc678d1e33c424cb4a468082fd0b1b2 08-Aug-2014 Dan Albert <danalbert@google.com> Resolved conflicts for merge of 2af8711d to lmp-dev-plus-aosp

Change-Id: I016dbca0318998f17fc741f873589c414774e7ff
5a192121e99a740dab6df2b6550e02ef18f5dbc7 08-Aug-2014 Dan Albert <danalbert@google.com> Merge "Revert "Fix build after side-stepping global -Bsymbolic.""
b1a164e1445bcc48498e2091f42c5275a01f5a84 08-Aug-2014 Dan Albert <danalbert@google.com> Revert "Fix build after side-stepping global -Bsymbolic."

This reverts commit 3b909164de79904137bb6661514d5ca6236a49c9.

Bug: 16853291
ndroid.mk
3b909164de79904137bb6661514d5ca6236a49c9 07-Aug-2014 Dan Albert <danalbert@google.com> Fix build after side-stepping global -Bsymbolic.

Some of the assembly in the codecs is generating invalid relocations
without -Bsymbolic. Leave it on for these projects for the time being.

Bug: 16853291
Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c
ndroid.mk
9ee1572f7f01797b7526de95cb322f90c9b626bd 08-Aug-2014 Dan Albert <danalbert@google.com> Merge "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
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV5E/pred_lt4_1_opt.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
d411b4ca2945cd8974a3a78199fce94646950128 11-Apr-2014 Andreas Huber <andih@google.com> warnings be gone.

(cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36)

Modified by Mark Salyzyn <salyzyn@google.com> to keep merge conflicts
or errors downstream to a minimum.

Change-Id: Ic3b272f9cbf3155001aabd2f79728f1bc31de613
oftAMRWBEncoder.cpp
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
rc/pitch_f4.c
84333e0475bc911adc16417f4ca327c975cf6c36 08-Feb-2014 Andreas Huber <andih@google.com> warnings be gone.

Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
ndroid.mk
oftAMRWBEncoder.cpp
rc/autocorr.c
rc/convolve.c
rc/syn_filt.c
rc/voAMRWBEnc.c
844ebdef8c73b98ec29c75f1fd7940624e70d14d 10-Apr-2013 Ying Wang <wangying@google.com> am e63f850b: am da0dc0af: Add liblog

* commit 'e63f850b179a43a344d438f202ad34ec7566f955':
Add liblog
da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
ndroid.mk
0e6858d6aea12fc585a8c7d217c1271878655081 07-Mar-2013 Dan Morrill <morrildl@google.com> Turn off debug tags in stagefright modules.
LOCAL_MODULE_TAGS := debug causes the module to be included in every userdebug
build, regardless of whether it's specified as a dep by the device config.
This CL switches them all to optional (i.e. default behavior) so that we can
do (userdebug) device builds without pulling these in.

Change-Id: I4b7b65afea61865dd38b3af55550fb8f10edf66d
ampleCode/Android.mk
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
rc/asm/ARMV5E/pred_lt4_1_opt.s
4f981882da8080e1d41d000bfbad92df61adcfba 16-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "hardening: eliminate text relocations from amrwb"
fef71ef418d8ecff6d20fbd50b7fbabf6ad58f74 07-Mar-2012 Martin Storsjo <martin@martin.st> aacenc/amrwbenc: Remove the now unused LINUX define

This is no longer used by the codec code (except for the
amrwbenc sample).

Change-Id: I78c7f62f257c490bf44477217975a93abcc7779e
ndroid.mk
ampleCode/Android.mk
74bc3e133bd59a65dbed70b5fc89549f04a545e2 13-Aug-2012 Ard Biesheuvel <ard.biesheuvel@gmail.com> hardening: eliminate text relocations from amrwb

Change-Id: I47235fc4afe6b916da1e999401fb3c8b12c94e62
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
3d51d5cb53cc630709a0ba78d0e60501a675f2d5 13-Jun-2012 James Dong <jdong@google.com> Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/

Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26
related-to-bug: 6647465
ODULE_LICENSE_APACHE2
OTICE
ampleCode/MODULE_LICENSE_APACHE2
ampleCode/NOTICE
559bf2836f5da25b75bfb229fec0d20d540ee426 28-Mar-2012 James Dong <jdong@google.com> AV Android make files changes

o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc
o remove some runtime dependencies to libandroid, libandroid_runtime, etc

Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
ndroid.mk
ded61aa958278147b5a150c189f86d025165f095 16-Mar-2012 Andreas Huber <andih@google.com> Remove obsolete software codec header files and amr encoders.

Change-Id: Ifbdf252ee312c9cb5ab29498f1e06dae8f23faf7
MRWBEncoder.cpp
ndroid.mk
6c6b4d0d2b98a7ceee8b697daaf611f8df3254fb 12-Mar-2012 James Dong <jdong@google.com> Switched to use the header files in /frameworks/native
and deleted the duplicate header files in /frameworks/base

o related-to-bug: 6044887

Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
ndroid.mk
5e9ce08417c36aa572c3f18b40ff9335d409b1e9 10-Mar-2012 Conley Owens <cco3@android.com> am ea374096: am c24f5ba4: am 9a3f3b9d: am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"

* commit 'ea374096511f92206c264f3f1eb0551a05a34cd5':
stagefright amrwbenc: Simplify the definition of static_vo
dc1696c890698d55aade9dbadf3148c2fac01cd0 09-Mar-2012 Conley Owens <cco3@android.com> Merge "stagefright amrwbenc: Simplify the definition of static_vo"
bf9fc69dd171c99794725171c38f65a3c6f6e544 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 6b4d7bad: am f7210cf5: am 7346d73c: am 77576ff4: Merge "stagefright amrwbenc: Remove a useless check"

* commit '6b4d7bada0b1d34f93149211cb179b71c864d5d3':
stagefright amrwbenc: Remove a useless check
f2f4a649d71aea5066d609c10cd9449df9abd453 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am eb483de5: am bf5c5e5b: am c1da1e1b: am 94ee1bf2: Merge "stagefright amrwbenc: Change keyword ordering"

* commit 'eb483de58e4b41cb549149459e492e9ad1d65bd0':
stagefright amrwbenc: Change keyword ordering
e98a953903240da9e5118594b6e4f454dcd2c123 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwbenc: Remove a useless check"
b0238c30a22778bdb4ac7c86a1eb65e50e32f2ec 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Change keyword ordering

This avoids warnings about 'static' not being at the beginning
of the declarations.

Change-Id: I80f91b8a0f7f61edcdca96c206fedbd74ec0d88e
nc/isp_isf.tab
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
rc/voAMRWBEnc.c
f1d5aa162c02a16b7195a43a9bcea4d592600ac4 07-Feb-2012 James Dong <jdong@google.com> Move away from MediaDebug and use ADebug instead

Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
MRWBEncoder.cpp
83f70f4472e9b0cacc5d372eddfcef4b02662d10 01-Feb-2012 Andreas Huber <andih@google.com> The AMR WB software encoder is now an OMX component.

Change-Id: Iebfb2696783a0163369ba4e8ef72e19ee76ad893
ndroid.mk
oftAMRWBEncoder.cpp
oftAMRWBEncoder.h
dc27bc4b2cd4b95a0d7ba5dd34e3be63e1cc0c9d 22-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Simplify the definition of static_vo

For GCC, all of inline, __inline and __inline__ work fine.
For MSVC, only __inline works. (__inline should also be accepted
by RVCT.)

Change-Id: Ifbb1c848b200a8c4080624a3d3bd8b6ee498edb2
nc/basic_op.h
ceec4ae3ba8c3c3d5e243647ad7ee2fc39c71c9c 24-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwbenc: Make the mem_malloc function 64-bit safe"
9a8ded7348c5b2302dd27b285b395416bc842c49 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)

Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
MRWBEncoder.cpp
aa70226152d2084f85a96b52359dbc8476a86a45 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)

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

Change-Id: Iab0dbfdc6be09c62d353bee46596635686b784a6
rc/mem_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
ndroid.mk
nc/basic_op.h
nc/homing.tab
nc/isp_isf.tab
nc/log2.h
nc/mime_io.tab
nc/stream.h
nc/typedef.h
nc/typedefs.h
rc/asm/ARMV5E/Deemph_32_opt.s
rc/asm/ARMV5E/Dot_p_opt.s
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV5E/Norm_Corr_opt.s
rc/asm/ARMV5E/Syn_filt_32_opt.s
rc/asm/ARMV5E/convolve_opt.s
rc/asm/ARMV5E/cor_h_vec_opt.s
rc/asm/ARMV5E/pred_lt4_1_opt.s
rc/asm/ARMV5E/residu_asm_opt.s
rc/asm/ARMV5E/scale_sig_opt.s
rc/asm/ARMV5E/syn_filt_opt.s
rc/asm/ARMV7/Deemph_32_neon.s
rc/asm/ARMV7/Dot_p_neon.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/Norm_Corr_neon.s
rc/asm/ARMV7/Syn_filt_32_neon.s
rc/asm/ARMV7/convolve_neon.s
rc/asm/ARMV7/cor_h_vec_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
rc/asm/ARMV7/residu_asm_neon.s
rc/asm/ARMV7/scale_sig_neon.s
rc/asm/ARMV7/syn_filt_neon.s
rc/autocorr.c
rc/az_isp.c
rc/bits.c
rc/c2t64fx.c
rc/c4t64fx.c
rc/convolve.c
rc/cor_h_x.c
rc/decim54.c
rc/deemph.c
rc/dtx.c
rc/g_pitch.c
rc/gpclip.c
rc/hp400.c
rc/hp50.c
rc/hp6k.c
rc/hp_wsp.c
rc/int_lpc.c
rc/isp_az.c
rc/isp_isf.c
rc/levinson.c
rc/log2.c
rc/lp_dec2.c
rc/math_op.c
rc/mem_align.c
rc/p_med_ol.c
rc/pitch_f4.c
rc/pred_lt4.c
rc/preemph.c
rc/q_gain2.c
rc/q_pulse.c
rc/qisf_ns.c
rc/qpisf_2s.c
rc/residu.c
rc/scale.c
rc/stream.c
rc/syn_filt.c
rc/updt_tar.c
rc/voAMRWBEnc.c
rc/voicefac.c
rc/wb_vad.c
rc/weight_a.c
b05e3b5b3c2d77f6c71631ea538f6190ec61b3d9 27-Oct-2011 James Dong <jdong@google.com> Report call status from AudioSource::start() to file writer

Change-Id: I5109dc87a92170dede4eaa58b039efe6d8b7c330
related-to-bug: 5514288
MRWBEncoder.cpp
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
rc/cmnMemory.c
e2e838afcf03e603a41a0455846eaf9614537c16 22-Apr-2011 Mans Rullgard <mans@mansr.com> Convert line breaks to Unix style

Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
ampleCode/AMRWB_E_SAMPLE.c
nc/acelp.h
nc/basic_op.h
nc/bits.h
nc/cnst.h
nc/cod_main.h
nc/dtx.h
nc/grid100.tab
nc/ham_wind.tab
nc/homing.tab
nc/isp_isf.tab
nc/lag_wind.tab
nc/log2.h
nc/log2_tab.h
nc/main.h
nc/math_op.h
nc/mem_align.h
nc/mime_io.tab
nc/oper_32b.h
nc/p_med_o.h
nc/p_med_ol.tab
nc/q_gain2.tab
nc/q_pulse.h
nc/qisf_ns.tab
nc/qpisf_2s.tab
nc/stream.h
nc/typedef.h
nc/typedefs.h
nc/wb_vad.h
nc/wb_vad_c.h
rc/asm/ARMV5E/Deemph_32_opt.s
rc/asm/ARMV5E/Dot_p_opt.s
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV5E/Syn_filt_32_opt.s
rc/asm/ARMV5E/cor_h_vec_opt.s
rc/asm/ARMV5E/pred_lt4_1_opt.s
rc/asm/ARMV5E/residu_asm_opt.s
rc/asm/ARMV5E/scale_sig_opt.s
rc/asm/ARMV5E/syn_filt_opt.s
rc/asm/ARMV7/Deemph_32_neon.s
rc/asm/ARMV7/Dot_p_neon.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/Syn_filt_32_neon.s
rc/asm/ARMV7/cor_h_vec_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
rc/asm/ARMV7/scale_sig_neon.s
rc/asm/ARMV7/syn_filt_neon.s
rc/autocorr.c
rc/az_isp.c
rc/bits.c
rc/c2t64fx.c
rc/c4t64fx.c
rc/cmnMemory.c
rc/convolve.c
rc/cor_h_x.c
rc/decim54.c
rc/deemph.c
rc/dtx.c
rc/g_pitch.c
rc/gpclip.c
rc/homing.c
rc/hp400.c
rc/hp50.c
rc/hp6k.c
rc/hp_wsp.c
rc/int_lpc.c
rc/isp_az.c
rc/isp_isf.c
rc/lag_wind.c
rc/levinson.c
rc/log2.c
rc/lp_dec2.c
rc/math_op.c
rc/oper_32b.c
rc/p_med_ol.c
rc/pit_shrp.c
rc/pitch_f4.c
rc/pred_lt4.c
rc/preemph.c
rc/q_gain2.c
rc/q_pulse.c
rc/qisf_ns.c
rc/qpisf_2s.c
rc/random.c
rc/residu.c
rc/scale.c
rc/stream.c
rc/syn_filt.c
rc/updt_tar.c
rc/util.c
rc/voAMRWBEnc.c
rc/voicefac.c
rc/wb_vad.c
rc/weight_a.c
f3664ae9369a861ffbc2354e8e93e48983802062 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Remove trailing whitespace

Change-Id: I3c85d8ba4cfb164455d137cdbf3b5ecc941dc6b8
ndroid.mk
ampleCode/AMRWB_E_SAMPLE.c
ampleCode/Android.mk
ampleCode/eclair/Makefile
ampleCode/ms.mk
uild/eclair/ARMV5E/Makefile
uild/eclair/ARMV7/Makefile
uild/eclair/makefile
uild/eclair/ms.mk
nc/basic_op.h
nc/homing.tab
nc/isp_isf.tab
nc/log2.h
nc/mime_io.tab
nc/stream.h
nc/typedef.h
nc/typedefs.h
rc/asm/ARMV5E/Deemph_32_opt.s
rc/asm/ARMV5E/Dot_p_opt.s
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV5E/Norm_Corr_opt.s
rc/asm/ARMV5E/Syn_filt_32_opt.s
rc/asm/ARMV5E/convolve_opt.s
rc/asm/ARMV5E/cor_h_vec_opt.s
rc/asm/ARMV5E/pred_lt4_1_opt.s
rc/asm/ARMV5E/residu_asm_opt.s
rc/asm/ARMV5E/scale_sig_opt.s
rc/asm/ARMV5E/syn_filt_opt.s
rc/asm/ARMV7/Deemph_32_neon.s
rc/asm/ARMV7/Dot_p_neon.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/Norm_Corr_neon.s
rc/asm/ARMV7/Syn_filt_32_neon.s
rc/asm/ARMV7/convolve_neon.s
rc/asm/ARMV7/cor_h_vec_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
rc/asm/ARMV7/residu_asm_neon.s
rc/asm/ARMV7/scale_sig_neon.s
rc/asm/ARMV7/syn_filt_neon.s
rc/autocorr.c
rc/az_isp.c
rc/bits.c
rc/c2t64fx.c
rc/c4t64fx.c
rc/convolve.c
rc/cor_h_x.c
rc/decim54.c
rc/deemph.c
rc/dtx.c
rc/g_pitch.c
rc/gpclip.c
rc/hp400.c
rc/hp50.c
rc/hp6k.c
rc/hp_wsp.c
rc/int_lpc.c
rc/isp_az.c
rc/isp_isf.c
rc/levinson.c
rc/log2.c
rc/lp_dec2.c
rc/math_op.c
rc/mem_align.c
rc/p_med_ol.c
rc/pitch_f4.c
rc/pred_lt4.c
rc/preemph.c
rc/q_gain2.c
rc/q_pulse.c
rc/qisf_ns.c
rc/qpisf_2s.c
rc/residu.c
rc/scale.c
rc/stream.c
rc/syn_filt.c
rc/updt_tar.c
rc/voAMRWBEnc.c
rc/voicefac.c
rc/wb_vad.c
rc/weight_a.c
41050cdb033641ddf26831d9272c0930f7b40a2d 22-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Convert line breaks to Unix style

Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
ampleCode/AMRWB_E_SAMPLE.c
ampleCode/eclair/Makefile
ampleCode/ms.mk
uild/eclair/ARMV5E/Makefile
uild/eclair/ARMV7/Makefile
uild/eclair/ms.mk
nc/acelp.h
nc/basic_op.h
nc/bits.h
nc/cnst.h
nc/cod_main.h
nc/dtx.h
nc/grid100.tab
nc/ham_wind.tab
nc/homing.tab
nc/isp_isf.tab
nc/lag_wind.tab
nc/log2.h
nc/log2_tab.h
nc/main.h
nc/math_op.h
nc/mem_align.h
nc/mime_io.tab
nc/oper_32b.h
nc/p_med_o.h
nc/p_med_ol.tab
nc/q_gain2.tab
nc/q_pulse.h
nc/qisf_ns.tab
nc/qpisf_2s.tab
nc/stream.h
nc/typedef.h
nc/typedefs.h
nc/wb_vad.h
nc/wb_vad_c.h
rc/asm/ARMV5E/Deemph_32_opt.s
rc/asm/ARMV5E/Dot_p_opt.s
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV5E/Syn_filt_32_opt.s
rc/asm/ARMV5E/cor_h_vec_opt.s
rc/asm/ARMV5E/pred_lt4_1_opt.s
rc/asm/ARMV5E/residu_asm_opt.s
rc/asm/ARMV5E/scale_sig_opt.s
rc/asm/ARMV5E/syn_filt_opt.s
rc/asm/ARMV7/Deemph_32_neon.s
rc/asm/ARMV7/Dot_p_neon.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/Syn_filt_32_neon.s
rc/asm/ARMV7/cor_h_vec_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
rc/asm/ARMV7/scale_sig_neon.s
rc/asm/ARMV7/syn_filt_neon.s
rc/autocorr.c
rc/az_isp.c
rc/bits.c
rc/c2t64fx.c
rc/c4t64fx.c
rc/cmnMemory.c
rc/convolve.c
rc/cor_h_x.c
rc/decim54.c
rc/deemph.c
rc/dtx.c
rc/g_pitch.c
rc/gpclip.c
rc/homing.c
rc/hp400.c
rc/hp50.c
rc/hp6k.c
rc/hp_wsp.c
rc/int_lpc.c
rc/isp_az.c
rc/isp_isf.c
rc/lag_wind.c
rc/levinson.c
rc/log2.c
rc/lp_dec2.c
rc/math_op.c
rc/oper_32b.c
rc/p_med_ol.c
rc/pit_shrp.c
rc/pitch_f4.c
rc/pred_lt4.c
rc/preemph.c
rc/q_gain2.c
rc/q_pulse.c
rc/qisf_ns.c
rc/qpisf_2s.c
rc/random.c
rc/residu.c
rc/scale.c
rc/stream.c
rc/syn_filt.c
rc/updt_tar.c
rc/util.c
rc/voAMRWBEnc.c
rc/voicefac.c
rc/wb_vad.c
rc/weight_a.c
90d97c996a15f9ebc90fbd260f47f95ffbe68006 22-Mar-2011 James Dong <jdong@google.com> Fix AMRWB test util and remove useless files

Change-Id: Ia11a1ec053855c9e692070d23c7a690c39cb3d5e
ampleCode/AMRWB_E_SAMPLE.c
ampleCode/Android.mk
ampleCode/eclair/Makefile
ampleCode/ms.mk
uild/eclair/ARMV5E/Makefile
uild/eclair/ARMV7/Makefile
uild/eclair/makefile
uild/eclair/ms.mk
9691a73139bb36c5bf294ed13eedcb04d7f05320 14-Mar-2011 Iliyan Malchev <malchev@google.com> frameworks/base: remove LOCAL_PRELINK_MODULE

Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481
Signed-off-by: Iliyan Malchev <malchev@google.com>
ndroid.mk
3c3763d2ee1cd1fba7fe522fbaf0faca315d8c2a 09-Sep-2010 James Dong <jdong@google.com> HW audio encoder expects timestamp via kKeyTime from each input buffer

- This fixes media server crashes on droid

Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
MRWBEncoder.cpp
caa68a57f0b358b8fbe17447ffa453b9120a8610 03-Sep-2010 James Dong <jdong@google.com> Not all audio source has the drift time information

Change-Id: I74e502376348ca4a6ffaa7492bed35c1355e7e62
MRWBEncoder.cpp
d707fcb3e29707ca4a5935c294ef0b38eb5aba5f 02-Sep-2010 James Dong <jdong@google.com> Calculate audio media drift time from AudioSource

The problem was that the time to receive an output buffer
from an audio encoder is different because the encoder does not
need to read from the source for all output buffers. This leads
to large fluctuation in terms of wall clock duration between two
neighboring audio sample outputs from the audio encoder. As a
result, the media time for the video track after adjustment using
the drifting changes wildly sometimes.

This patch addresses this issue by only updating the media drift
time when an audio source input buffer is read. the wall clock
for the audio track is also calculated at the same time when
the input audio buffer is read at AudioSource.

bug - 2959800

Change-Id: I3174aa182f744784b540f0a7198524d4eee8bd7b
MRWBEncoder.cpp
abd1f4f870925d6776dbe4b930b759a1ab6595ca 21-Jul-2010 Andreas Huber <andih@google.com> Support finer seek control on MediaSources.

related-to-bug: 2858448

Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
MRWBEncoder.cpp
d329e21495eda9dbc531fdd0c26c77f1593ac3f4 30-Jun-2010 James Dong <jdong@google.com> Added encoding parameters set up for H263 video encoder

Also:
- Allowed start() call when encoder already starts and stop() call when encoder has not started yet
- Handled default value for audio/video sources/encoders and file output format

Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1
MRWBEncoder.cpp
f60cafe0e6aad8f9ce54660fa88b651ae4e749e6 19-Jun-2010 James Dong <jdong@google.com> Audio/video sync during recording (second part)

Change-Id: Iba0b35f57fdeac7ee1da16899406bf4b957a2c8c
MRWBEncoder.cpp
956c553ab0ce72f8074ad0fda2ffd66a0305700c 15-May-2010 James Dong <jdong@google.com> Initial software encoder checkins

Change-Id: I27f387db23594e46384c4eb3a0093ce220bb6b60
MRWBEncoder.cpp
ndroid.mk
ampleCode/AMRWB_E_SAMPLE.c
ampleCode/Android.mk
ampleCode/eclair/Makefile
ampleCode/ms.mk
uild/eclair/ARMV5E/Makefile
uild/eclair/ARMV7/Makefile
uild/eclair/makefile
uild/eclair/ms.mk
oc/voAMRWBEncoderSDK.pdf
nc/acelp.h
nc/basic_op.h
nc/bits.h
nc/cnst.h
nc/cod_main.h
nc/dtx.h
nc/grid100.tab
nc/ham_wind.tab
nc/homing.tab
nc/isp_isf.tab
nc/lag_wind.tab
nc/log2.h
nc/log2_tab.h
nc/main.h
nc/math_op.h
nc/mem_align.h
nc/mime_io.tab
nc/oper_32b.h
nc/p_med_o.h
nc/p_med_ol.tab
nc/q_gain2.tab
nc/q_pulse.h
nc/qisf_ns.tab
nc/qpisf_2s.tab
nc/stream.h
nc/typedef.h
nc/typedefs.h
nc/wb_vad.h
nc/wb_vad_c.h
atent_disclaimer.txt
rc/asm/ARMV5E/Deemph_32_opt.s
rc/asm/ARMV5E/Dot_p_opt.s
rc/asm/ARMV5E/Filt_6k_7k_opt.s
rc/asm/ARMV5E/Norm_Corr_opt.s
rc/asm/ARMV5E/Syn_filt_32_opt.s
rc/asm/ARMV5E/convolve_opt.s
rc/asm/ARMV5E/cor_h_vec_opt.s
rc/asm/ARMV5E/pred_lt4_1_opt.s
rc/asm/ARMV5E/residu_asm_opt.s
rc/asm/ARMV5E/scale_sig_opt.s
rc/asm/ARMV5E/syn_filt_opt.s
rc/asm/ARMV7/Deemph_32_neon.s
rc/asm/ARMV7/Dot_p_neon.s
rc/asm/ARMV7/Filt_6k_7k_neon.s
rc/asm/ARMV7/Norm_Corr_neon.s
rc/asm/ARMV7/Syn_filt_32_neon.s
rc/asm/ARMV7/convolve_neon.s
rc/asm/ARMV7/cor_h_vec_neon.s
rc/asm/ARMV7/pred_lt4_1_neon.s
rc/asm/ARMV7/residu_asm_neon.s
rc/asm/ARMV7/scale_sig_neon.s
rc/asm/ARMV7/syn_filt_neon.s
rc/autocorr.c
rc/az_isp.c
rc/bits.c
rc/c2t64fx.c
rc/c4t64fx.c
rc/cmnMemory.c
rc/convolve.c
rc/cor_h_x.c
rc/decim54.c
rc/deemph.c
rc/dtx.c
rc/g_pitch.c
rc/gpclip.c
rc/homing.c
rc/hp400.c
rc/hp50.c
rc/hp6k.c
rc/hp_wsp.c
rc/int_lpc.c
rc/isp_az.c
rc/isp_isf.c
rc/lag_wind.c
rc/levinson.c
rc/log2.c
rc/lp_dec2.c
rc/math_op.c
rc/mem_align.c
rc/oper_32b.c
rc/p_med_ol.c
rc/pit_shrp.c
rc/pitch_f4.c
rc/pred_lt4.c
rc/preemph.c
rc/q_gain2.c
rc/q_pulse.c
rc/qisf_ns.c
rc/qpisf_2s.c
rc/random.c
rc/residu.c
rc/scale.c
rc/stream.c
rc/syn_filt.c
rc/updt_tar.c
rc/util.c
rc/voAMRWBEnc.c
rc/voicefac.c
rc/wb_vad.c
rc/weight_a.c