• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libstagefright/codecs/amrnb/
History log of /frameworks/av/media/libstagefright/codecs/amrnb/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
33d5232d17345fcfe2b4c538a726186474f06ed5 25-Mar-2016 Marco Nelissen <marcone@google.com> Fix AMR decoder am: d061b5b am: 988aae8 am: f36a731 am: 01e0796 am: e0a31e4 am: ce23e72 am: e72ae58 am: 41afb3f am: b512ae9
am: caa31fc

* commit 'caa31fc96dce2b90ddce574ca8e8c733a332b818':
Fix AMR decoder
e72ae5854c80dc537607da6c5592c8179f3cb928 25-Mar-2016 Marco Nelissen <marcone@google.com> Fix AMR decoder am: d061b5b am: 988aae8 am: f36a731 am: 01e0796 am: e0a31e4
am: ce23e72

* commit 'ce23e726b65d7dd50b97b422041a85d7bd5825ef':
Fix AMR decoder
ce23e726b65d7dd50b97b422041a85d7bd5825ef 25-Mar-2016 Marco Nelissen <marcone@google.com> Fix AMR decoder am: d061b5b am: 988aae8 am: f36a731 am: 01e0796
am: e0a31e4

* commit 'e0a31e4bcc7c4c1053081b947aa2fe1001575afb':
Fix AMR decoder
01e07967840027ff8f51f7f348378e2f628e0473 25-Mar-2016 Marco Nelissen <marcone@google.com> Fix AMR decoder am: d061b5b am: 988aae8
am: f36a731

* commit 'f36a731ada0f914a0a6724c58d0d4f71cbde6766':
Fix AMR decoder
f36a731ada0f914a0a6724c58d0d4f71cbde6766 25-Mar-2016 Marco Nelissen <marcone@google.com> Fix AMR decoder am: d061b5b
am: 988aae8

* commit '988aae8467be145c0513b8f5abb0f76f87112492':
Fix AMR decoder
d061b5b120082c9445670ebc95c5edade9ea4505 25-Mar-2016 Marco Nelissen <marcone@google.com> Fix AMR decoder

Previous change caused EOS to be ignored.

Bug: 27843673
Related-to-bug: 27662364
Change-Id: Ia148a88abc861a9b393f42bc7cd63d8d3ae349bc
ec/SoftAMR.cpp
b04509bd84b3f7a7d3c78bfc54e8160d9dc34887 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check input buffer size to avoid overflow. am: 55e5218 am: 4a9d762 am: d82ca56 am: 7840f05 am: adb7d9c am: 9eedbf4 am: e00b888 am: 18fedd0 am: 717d980
am: 26c1725

* commit '26c172519a0eae22bd240f9a9a960714d384a789':
SoftAMR: check input buffer size to avoid overflow.
e00b888d4f87688fd92d4d23fc049614aef90c2f 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check input buffer size to avoid overflow. am: 55e5218 am: 4a9d762 am: d82ca56 am: 7840f05 am: adb7d9c
am: 9eedbf4

* commit '9eedbf45eeaad2717b6f3b0fba53b264f691eef3':
SoftAMR: check input buffer size to avoid overflow.
9eedbf45eeaad2717b6f3b0fba53b264f691eef3 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check input buffer size to avoid overflow. am: 55e5218 am: 4a9d762 am: d82ca56 am: 7840f05
am: adb7d9c

* commit 'adb7d9c716748f310a76338f25203b8ea58da620':
SoftAMR: check input buffer size to avoid overflow.
ecebf1d3053f1b046d3322315d07105cbabf555b 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check output buffer size to avoid overflow. am: a3536c6 am: 1d8b35d am: 7837c49 am: 9e5c82b am: 84c5e67 am: baec8f6 am: aca925d am: 5de7130 am: 30ae831
am: c4ff254

* commit 'c4ff254271a695ee0c96f4addaf256bf6f78abe7':
SoftAMR: check output buffer size to avoid overflow.
7840f059175ee89235567845cc151fb6de1a1b24 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check input buffer size to avoid overflow. am: 55e5218 am: 4a9d762
am: d82ca56

* commit 'd82ca561cb58280640c51bb53a416f5f79278c3c':
SoftAMR: check input buffer size to avoid overflow.
d82ca561cb58280640c51bb53a416f5f79278c3c 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check input buffer size to avoid overflow. am: 55e5218
am: 4a9d762

* commit '4a9d762d2539fd2108803741da4366500253c564':
SoftAMR: check input buffer size to avoid overflow.
aca925dabcd794b356058354cefa08529b4b7e4d 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check output buffer size to avoid overflow. am: a3536c6 am: 1d8b35d am: 7837c49 am: 9e5c82b am: 84c5e67
am: baec8f6

* commit 'baec8f6834c3d7dd91b096579f4a0016c78ef903':
SoftAMR: check output buffer size to avoid overflow.
baec8f6834c3d7dd91b096579f4a0016c78ef903 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check output buffer size to avoid overflow. am: a3536c6 am: 1d8b35d am: 7837c49 am: 9e5c82b
am: 84c5e67

* commit '84c5e675e0928d65b64a4480ee4d963e507b312d':
SoftAMR: check output buffer size to avoid overflow.
9e5c82b82a54120d7ae66c54b1fc996ac93721a5 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check output buffer size to avoid overflow. am: a3536c6 am: 1d8b35d
am: 7837c49

* commit '7837c4920113d44a93425c89055c57853985d0e9':
SoftAMR: check output buffer size to avoid overflow.
7837c4920113d44a93425c89055c57853985d0e9 22-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check output buffer size to avoid overflow. am: a3536c6
am: 1d8b35d

* commit '1d8b35d7f0af76778ad355543b6f2eb88c6316e3':
SoftAMR: check output buffer size to avoid overflow.
55e5218fd53f4da5c1fbad539ed960c04a883b0b 19-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check input buffer size to avoid overflow.

Bug: 27662364
Change-Id: I47380545ea7d85845e141e722b0d84f498d27145
ec/SoftAMR.cpp
ec/src/amrdecode.h
ec/src/gsmamr_dec.h
a3536c61c6b6c77e199cc207cbf1e5c5b063cf91 17-Mar-2016 Wei Jia <wjia@google.com> SoftAMR: check output buffer size to avoid overflow.

Bug: 27662364
Change-Id: I7b26892c41d6f2e690e77478ab855c2fed1ff6b0
ec/SoftAMR.cpp
423766ca07beb7e3e9cd301385708ca13fcce3e1 29-Feb-2016 Marco Nelissen <marcone@google.com> DO NOT MERGE Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
ec/SoftAMR.cpp
nc/SoftAMRNBEncoder.cpp
51f59b41eae9c4f493ebfd0972cee951895bdf19 29-Feb-2016 Marco Nelissen <marcone@google.com> DO NOT MERGE Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
ec/SoftAMR.cpp
nc/SoftAMRNBEncoder.cpp
f1a2668f4f09e38722424a6a74f0ea26f49e4110 29-Feb-2016 Marco Nelissen <marcone@google.com> DO NOT MERGE Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
ec/SoftAMR.cpp
nc/SoftAMRNBEncoder.cpp
2720c8b094cfa58de314daa8e5e4fb4fa81fe3b2 29-Feb-2016 Marco Nelissen <marcone@google.com> Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
ec/SoftAMR.cpp
nc/SoftAMRNBEncoder.cpp
8fbf6a5f0e33b3d4702b77ff2aa5c44d41dc85fa 18-Nov-2015 Dan Austin <danielaustin@google.com> Disabling signed integer sanitization in AMR-NB to address MMS audio
recording SIGABRT crashes.

Bug: 25656537
Change-Id: I401b2fc8dc0703033d5353b4b69ca12a5e2bd66c
ec/Android.mk
808e3d55dfafd6fc8f53827c668668144a706253 11-Nov-2015 Dan Austin <danielaustin@google.com> Disabling signed integer overflow protection.

Likely benign integer overflows in the AMR-NB encoder are
causing SIGABRTs under normal speech processing. Disabling
this protection until bug 25597150 is resolved and further
testing can be performed.

Bug: 25409744
Change-Id: Ib40d2e03b84c73c573eca637253ed68977986b11
ommon/Android.mk
nc/Android.mk
b875f69d8e867cb64bd101e66d85a880537c2b72 03-Nov-2015 Dan Austin <danielaustin@google.com> Enabling fsanitize unsigned-integer-overflow in AMR-NB codecs

Enables fsanitize unsigned integer overflow in the AMR-NB codecs
and disables integer sanitization for the Chebps, sub, and
Syn_filt functions which contain controlled integer overflow
conditions.

Bug: 23110888
Change-Id: I036aa0e94f39e30c2d90be86d9b8f1b169f56245
ommon/Android.mk
ommon/src/az_lsp.cpp
ommon/src/sub.cpp
ommon/src/syn_filt.cpp
eb77ffccc9167cc14984edede8012b714554be98 01-Oct-2015 Dan Austin <danielaustin@google.com> am 992debec: am 2dbb06b2: Merge "Disable integer sanitization checks for L_add function, which performs controlled integer overflows."

* commit '992debec973f4143e12a812ea4ebd7dc1d299042':
Disable integer sanitization checks for L_add function, which performs controlled integer overflows.
992debec973f4143e12a812ea4ebd7dc1d299042 01-Oct-2015 Dan Austin <danielaustin@google.com> am 2dbb06b2: Merge "Disable integer sanitization checks for L_add function, which performs controlled integer overflows."

* commit '2dbb06b28a8ae82d7cfd7ca2028ce8227b074e53':
Disable integer sanitization checks for L_add function, which performs controlled integer overflows.
b6617aefae36af35f45ea139bc9698ed13c3396f 26-Sep-2015 Dan Austin <danielaustin@google.com> Disable integer sanitization checks for L_add function, which
performs controlled integer overflows.

Bug: 23752600
Change-Id: Idffc9b93ff447c0db6434f83572bc6ec5edc10b6
ommon/include/basic_op_c_equivalent.h
03399836e6ec6587f9e52cd4c408af5122b79fe8 28-Sep-2015 Dan Austin <danielaustin@google.com> am 71dc6101: am 167dffbf: Merge changes I6eb5d2c6,Iae2103c4

* commit '71dc61018eb7e93321dd1bde18bf7b4269f9ba7f':
Enable fsanitize signed-integer-overflow in AMR-NB decoder
Enable fsanitize signed-integer-overflow in AMR-NB encoder
172f57364684997a7a1b43636e23ae1c43d4755c 28-Sep-2015 Dan Austin <danielaustin@google.com> am 095779c4: am 6a869df9: Merge "Enable fsanitize signed-integer-overflow in AMR-NB common"

* commit '095779c4041d83d3acf500cb94b13625cd51d3ed':
Enable fsanitize signed-integer-overflow in AMR-NB common
71dc61018eb7e93321dd1bde18bf7b4269f9ba7f 28-Sep-2015 Dan Austin <danielaustin@google.com> am 167dffbf: Merge changes I6eb5d2c6,Iae2103c4

* commit '167dffbfb4f3819d07d5e37acc9fbef16e98deb6':
Enable fsanitize signed-integer-overflow in AMR-NB decoder
Enable fsanitize signed-integer-overflow in AMR-NB encoder
095779c4041d83d3acf500cb94b13625cd51d3ed 28-Sep-2015 Dan Austin <danielaustin@google.com> am 6a869df9: Merge "Enable fsanitize signed-integer-overflow in AMR-NB common"

* commit '6a869df9ec1dbd8cab1ef4f68e9190baa6da5f50':
Enable fsanitize signed-integer-overflow in AMR-NB common
a49c705c7855f1cb74a24b90630ed82640f89905 11-Sep-2015 Dan Austin <danielaustin@google.com> Enable fsanitize signed-integer-overflow in AMR-NB decoder

Bug: 23752600
Change-Id: I6eb5d2c631071c3b05d4a1404c3d9011d54f0e1f
ec/Android.mk
ab9362826ee8957d77706d6d807db515768bfa89 11-Sep-2015 Dan Austin <danielaustin@google.com> Enable fsanitize signed-integer-overflow in AMR-NB common

Bug: 23752600
Change-Id: Idde4f45210d45965e687a52dd5d257a1909c2cdd
ommon/Android.mk
7a9ca6760b377cead6adcf2abf26ae930490da51 11-Sep-2015 Dan Austin <danielaustin@google.com> Enable fsanitize signed-integer-overflow in AMR-NB encoder

Bug: 23752600
Change-Id: Iae2103c4b9dfa0532093e4d923bdcfb90ddde822
nc/Android.mk
e22f5f490cb69e30e8a2630868e58db41838bcb3 22-Sep-2015 Andy Hung <hunga@google.com> DO NOT MERGE - Fix build for commit 69ae6a87

test app on lmp-mr1-ub-dev but not on lmp-mr1-dev
now needs liblog.

Change-Id: Ia995d9101e85f6a68c85d3156fd6b78fa96c87e0
ec/Android.mk
b9930418b1f3c2057623915eec76f944f386e577 20-Sep-2015 Wei Jia <wjia@google.com> am eed3955c: am 5e46ca5a: am 3b130dbd: am c5121002: am c256004a: am 69ae6a87: libstagefright: fix A_Refl to return immediately when there is an error.

* commit 'eed3955cb25731319444d9d17d74013c972499ab':
libstagefright: fix A_Refl to return immediately when there is an error.
c5121002e5988ba1be660f3fbdb2067776b079fe 12-Sep-2015 Wei Jia <wjia@google.com> am c256004a: am 69ae6a87: libstagefright: fix A_Refl to return immediately when there is an error.

* commit 'c256004a8cbf4dc1d647957243cf8be1a3c7bec4':
libstagefright: fix A_Refl to return immediately when there is an error.
430519bf12a1e885ab2cd9913aec3956f776da75 08-Sep-2015 Wei Jia <wjia@google.com> am 0cf901dd: am c336136d: Merge "libstagefright: fix A_Refl to return immediately when there is an error." into mnc-dev

* commit '0cf901dd983e1a6b37eba2ab4414d647494588f1':
libstagefright: fix A_Refl to return immediately when there is an error.
69ae6a87342d5260d8d8660accc8aa1b9367dbbe 04-Sep-2015 Wei Jia <wjia@google.com> libstagefright: fix A_Refl to return immediately when there is an error.

Bug: 23609206
Change-Id: I2ad25fb208df17f5a5b6d6b356eff2f400627f22
(cherry picked from commit 715dcb9c90d86c1a02a0da056f3cee8875ad1230)
ec/src/a_refl.cpp
715dcb9c90d86c1a02a0da056f3cee8875ad1230 04-Sep-2015 Wei Jia <wjia@google.com> libstagefright: fix A_Refl to return immediately when there is an error.

Bug: 23609206
Change-Id: I2ad25fb208df17f5a5b6d6b356eff2f400627f22
ec/Android.mk
ec/src/a_refl.cpp
3c23af85baa6e248681ca98f857c4af84b5ebffc 30-Jul-2015 Andreas Gampe <agampe@google.com> Stagefright: Remove unused variables and files

For build-system CFLAGS clean-up.

Bug: 18632512

(cherry picked from commit 765b4172f1ffb2c4e2de89163bb888fa352de664)

Change-Id: I765dc394f39f60801843851760fdf9838958d7a4
ommon/Android.mk
ommon/include/bytesused.h
ommon/src/bytesused.cpp
ommon/src/overflow_tbl.cpp
5c8fe7d6f2a89725eba2cf0a7bc8370ae7f0e1b5 30-Jul-2015 Andreas Gampe <agampe@google.com> Stagefright: Remove unused variables and files

For build-system CFLAGS clean-up.

Bug: 18632512

(cherry picked from commit 765b4172f1ffb2c4e2de89163bb888fa352de664)

Change-Id: I765dc394f39f60801843851760fdf9838958d7a4
ommon/Android.mk
ommon/include/bytesused.h
ommon/src/bytesused.cpp
ommon/src/overflow_tbl.cpp
7797b66a480109406403f9b8785fe06fa3dff2e9 11-Aug-2015 Andy Hung <hunga@google.com> am 3192cbda: am 5cc5fd61: Merge "AMR-NB encoder: Add test"

* commit '3192cbda623e55a8c47925aa77df68c729d91c1a':
AMR-NB encoder: Add test
060abccce3b8f897d4c688336fa3d17dbe331c88 11-Aug-2015 Andy Hung <hunga@google.com> am 3192cbda: am 5cc5fd61: Merge "AMR-NB encoder: Add test"

* commit '3192cbda623e55a8c47925aa77df68c729d91c1a':
AMR-NB encoder: Add test
ab44ed5712c23577b9dc3ab2ee469f27298b77e5 27-May-2014 Ashok Bhat <ashok.bhat@arm.com> AMR-NB encoder: Add test

The test accepts a raw PCM file as input and generates
.amr file as output.

To run the test, use following command
libstagefright_amrnbenc_test [options] <input pcm file> <output amr file>

Bug: 17722566
Change-Id: I4429af482223a1b28e847f91349900706c468d75
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
nc/Android.mk
nc/test/amrnb_enc_test.cpp
d2de4564d092234999d846d1382796c1a05e92b3 11-Aug-2015 Dan Albert <danalbert@google.com> am 725569fd: am e3884972: Merge "Don\'t use `register`."

* commit '725569fdbf0181903363ad28127526ac182b0e4f':
Don't use `register`.
dfd2e4534aae59ac4bc5c99bbb76a16aa2024158 11-Aug-2015 Dan Albert <danalbert@google.com> am 725569fd: am e3884972: Merge "Don\'t use `register`."

* commit '725569fdbf0181903363ad28127526ac182b0e4f':
Don't use `register`.
28af4c3993e18559099401cbf65dade17b80c181 11-Aug-2015 Dan Albert <danalbert@google.com> Don't use `register`.

This causes a build failure with GCC and C++14. Fix by just not using
the register keyword.

"Guideline: Never write register. It's exactly as meaningful as
whitespace."
http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859

Change-Id: I275735c55e97e613e1704c1b896793740db8f404
nc/src/l_negate.cpp
2dcec6ae30b50d611758f8ee492901bf2235a8dc 12-May-2015 Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> libstagefright: Reset AMR decoder on input port flush

Fix issue of noise being observed when seeking AMR clip because
the AMR decoder states were not reset.
Reset decoder state on input port flush, as that is the best indication
of a seek.

Change-Id: Ic71a014f9a87ebfe5b8520d44420716f7099f5e7
ec/SoftAMR.cpp
9d014d04bd1e26b68ea979885ccbc6f131a7eda3 29-Jan-2015 Elliott Hughes <enh@google.com> Add missing includes.

Change-Id: Ib697ce44243e7cb07aee60944238e0854d82e9de
ec/test/amrnbdec_test.cpp
2d0ac425564ff9882ebaac5267d1a04d4af67d00 27-Nov-2014 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Fix build with clang in C++11 mode

This removes the deprecated register keyword in many places, fixes one
instance of passing '\0' where a char* is expected, and 2 switch type
narrowing issues.

Change-Id: Ie265ac26ff6a61267ad6406dfe237226d97ca9ac
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
ommon/include/basic_op_c_equivalent.h
ommon/src/az_lsp.cpp
ommon/src/div_s.cpp
ommon/src/gc_pred.cpp
ommon/src/gmed_n.cpp
ommon/src/lsp_az.cpp
ommon/src/mult_r.cpp
ommon/src/norm_l.cpp
ommon/src/norm_s.cpp
ommon/src/pred_lt.cpp
ommon/src/q_plsf_3.cpp
ommon/src/residu.cpp
ommon/src/shr.cpp
ommon/src/weight_a.cpp
ec/src/d1035pf.cpp
ec/src/d_plsf_5.cpp
ec/src/int_lsf.cpp
ec/src/ph_disp.cpp
ec/src/pstfilt.cpp
nc/src/autocorr.cpp
nc/src/c2_9pf.cpp
nc/src/cl_ltp.cpp
nc/src/convolve.cpp
nc/src/cor_h.cpp
nc/src/cor_h_x.cpp
nc/src/cor_h_x2.cpp
nc/src/dtx_enc.cpp
nc/src/levinson.cpp
nc/src/pitch_ol.cpp
nc/src/pre_proc.cpp
nc/src/set_sign.cpp
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
ommon/Android.mk
ec/Android.mk
nc/Android.mk
21e525fdcc234c22d843a8bf1a4ec35c4b376314 07-Nov-2014 Martin Storsjo <martin@martin.st> Remove the executable bit from source files

Change-Id: I3c105b7e2736ade22de0bb12f396859816b3adf7
ec/test/amrnbdec_test.cpp
75a39a7eda320e958ea9919f4867f8581117639e 11-Sep-2014 Glenn Kasten <gkasten@android.com> am 951c2197: am 2b16391d: Merge "Add test for AMR-NB decoder"

* commit '951c2197cc0cf1d7a91388299b74eb12ee04a3e6':
Add test for AMR-NB decoder
f9fa4bfda4122b3823a5a5cc875334bf60949a18 20-May-2014 Ashok Bhat <ashok.bhat@arm.com> Add test for AMR-NB decoder

The test accepts a .amr file as input and dumps output PCM
in a wav file.

To run the test, use following command
libstagefright_amrnbdec_test <input amr> <output wav>

Change-Id: I2492c2ed4e670c9fd8cb4213201ccbd0cb9bf8fe
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
ec/Android.mk
ec/test/amrnbdec_test.cpp
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
ec/SoftAMR.cpp
nc/SoftAMRNBEncoder.cpp
84333e0475bc911adc16417f4ca327c975cf6c36 08-Feb-2014 Andreas Huber <andih@google.com> warnings be gone.

Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
ommon/Android.mk
ec/Android.mk
ec/SoftAMR.cpp
nc/Android.mk
nc/SoftAMRNBEncoder.cpp
d94e716af0e49d775f0c0c4f36dd2c136ba5f2b2 04-Jun-2013 Andreas Huber <andih@google.com> Fix our software decoders to reset (more of) their internal state

properly on a transition from idle->loaded.

Change-Id: I56ccfeef24c391e50e42b522194206e35c7ab700
related-to-bug: 9105408
ec/SoftAMR.cpp
ec/SoftAMR.h
da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
ec/Android.mk
nc/Android.mk
a5761dcb5f9f017ca9b83ec868565d7ce54a92ac 04-Apr-2013 Andreas Huber <andih@google.com> Fix a number of warnings in stagefright code.

Change-Id: If3edd00d991851797aeccdfe795a4a405e3a2ea3
nc/SoftAMRNBEncoder.cpp
8298cd4d7e99648f277215bf981fdef78bc19e45 17-Feb-2013 Martin Storsjo <martin@martin.st> SoftAMR: Signal the right frame format

The correct enum for the format used is OMX_AUDIO_AMRFrameFormatFSF,
which is the same as is used in amrnb/enc/SoftAMRNBEncoder.cpp,
amrwbenc/SoftAMRWBEncoder.cpp and in OMXCodec and ACodec.

The OMX_AUDIO_AMRFrameFormatConformance enum refers to an odd file
format only used for conformance tests, not used in the wild.

Change-Id: Idc395fc1d4969e33453522d6ec6526876438c526
ec/SoftAMR.cpp
64b3fe55f7edd16be32e07c28c2c90f84f3b9b80 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrnb: Remove unused leftover source files"
c1d2777c8004a9491e1381cca33a6768faed50c3 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"
98159acd68307bf0fcec40ae0fffc1a715517d1d 13-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"
223933e8e7419d0d4431d01e8980592fcafd2404 23-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Remove unused leftover source files

This allows getting rid of adding the plain common directory
(not common/include) to the include paths in projects that use
this code, too.

Change-Id: Ifb1fe4fc1f5c6f1264cb2b64f7b78e42b1e7833a
ommon/include/pvgsmamr.h
ommon/pvgsmamrdecoderinterface.h
ec/Android.mk
ec/include/pvamrnbdecoder_api.h
ec/src/pvgsmamrdecoder.cpp
nc/Android.mk
448239b929de32621e26504b86482ab4d436a5e3 01-Mar-2012 Martin Storsjo <martin@martin.st> stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h

Change-Id: I6d6f9dc5799750394a853325466ffa2ebec44625
ommon/include/frame_type_3gpp.h
ommon/pvgsmamrdecoderinterface.h
ec/src/amrdecode.h
ec/src/gsmamr_dec.h
8d5a687f4f4c50f4fc8c1a29ab7a0cd618bcf9d1 17-May-2011 PacketVideo CM <engbuild@pv.com> amrnb: Fix audio distortion in an AMR-NB clip

This fix had the PacketVideo internal tracking number
RIO-9190.

This was committed on the master branch of the opencore
repository in commit 7d6ccc907d3a15ca2ff74b9c76f122ab87d0ffbe.

Change-Id: Icbd7d6fe94e02cae360946cfb6f3b8dc90c8b518
ec/src/post_pro.cpp
6d72a807dc3910ddd0b7c4f85130951dd189e8f5 17-May-2011 Martin Storsjo <martin@martin.st> amrnb: Restart the p_xn pointer when retraversing the array on overflow

This is a safeguard to avoid issues in a rare codepath.

This was committed on the master branch of the opencore
repository in commit f532d145194e474cb30d8644b8eee83873ad24cc,
based on AOSP contribution 10905.

Change-Id: I9688b009bcbe63d88ee5040e883a021aefa30664
nc/src/g_pitch.cpp
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
ommon/MODULE_LICENSE_APACHE2
ommon/NOTICE
ec/MODULE_LICENSE_APACHE2
ec/NOTICE
nc/MODULE_LICENSE_APACHE2
nc/NOTICE
a9605efa3edfae96fa618a4b78f6c2276f941fab 10-May-2012 Andreas Huber <andih@google.com> Add "support" for AMR WB comfort noise, no data and speech lost frame types

by emitting silence.

Change-Id: I27b7f31051f0c9a14adde866305bbc91a827a00c
related-to-bug: 6478154
ec/SoftAMR.cpp
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
ec/Android.mk
nc/Android.mk
a673ba75ab58aaf380ca2420b1d63d3639cf1960 16-Mar-2012 Andreas Huber <andih@google.com> Merge "ACodec is a little more aggressive in its error checking now."
c5255ac5b1bd313dcb50159566163b24dce7483f 16-Mar-2012 Andreas Huber <andih@google.com> ACodec is a little more aggressive in its error checking now.

Update components to do the right thing.

Change-Id: Ibfbad3f53effc16368cca4a0e978d01d54d08a1d
ec/SoftAMR.cpp
ded61aa958278147b5a150c189f86d025165f095 16-Mar-2012 Andreas Huber <andih@google.com> Remove obsolete software codec header files and amr encoders.

Change-Id: Ifbdf252ee312c9cb5ab29498f1e06dae8f23faf7
nc/AMRNBEncoder.cpp
nc/Android.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
ec/Android.mk
nc/Android.mk
3f791be1032e6c4cc499598dd2be116db6fb33c3 28-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 254cf597: am 7b6b81f8: am f016dc1b: am f881fa51: Merge "stagefright amr: Avoid C++/C99 for loops with variable declaration"

* commit '254cf5973ebe5ebdce9ef261d826e88ed2f67f58':
stagefright amr: Avoid C++/C99 for loops with variable declaration
7b65e71b662ce3bd7983fbfb62e8dafade5ccc55 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am b205a5d8: am 50ee92e9: am d91b744d: am f7f1280e: Merge changes Ib4e27ea3,I4ad55266,Ie32b32c7

* commit 'b205a5d861c5ba31599084a42c7d92549f464dac':
stagefright amrnb: Remove extern from table definitions
stagefright amrnb: Add includes for prototype declarations of tables
stagefright amrnb: Add missing const qualifier to table declarations in headers
f27422a71112e77af77de0da2e60d4deb94a9375 23-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amr: Avoid C++/C99 for loops with variable declaration

This makes the code compileable in C89 mode, too.

Change-Id: I9b76f8bfca148d1aec6081b8db139f351d64cfed
nc/src/ton_stab.cpp
1ead790eadd0e09a118308caccc7ac37d36f43f3 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Remove extern from table definitions

Local prototype declarations are added where no suitable ones are
available in headers.

This fixes warnings when compiling as C - while the source
files are named .cpp, they actually are compileable as pure C.

This was committed on the master branch of the opencore
repository in commit a0acb494ea6682ca966b5ebbd3676c89c56d63a6,
based on AOSP contribution 10303.

Change-Id: Ib4e27ea30302c66e0233e63e5a4652f6339bc940
ommon/src/bitno_tab.cpp
ommon/src/bitreorder_tab.cpp
ommon/src/bytesused.cpp
ommon/src/c2_9pf_tab.cpp
ommon/src/gains_tbl.cpp
ommon/src/gray_tbl.cpp
ommon/src/grid_tbl.cpp
ommon/src/inv_sqrt_tbl.cpp
ommon/src/log2_tbl.cpp
ommon/src/lsp_lsf_tbl.cpp
ommon/src/lsp_tab.cpp
ommon/src/overflow_tbl.cpp
ommon/src/ph_disp_tab.cpp
ommon/src/pow2_tbl.cpp
ommon/src/q_plsf_5_tbl.cpp
ommon/src/qua_gain_tbl.cpp
ommon/src/sqrt_l_tbl.cpp
ommon/src/window_tab.cpp
ec/src/dec_input_format_tab.cpp
ec/src/qgain475_tab.cpp
nc/src/corrwght_tab.cpp
nc/src/enc_output_format_tab.cpp
nc/src/inter_36_tab.cpp
nc/src/lag_wind_tab.cpp
d95a8462c367a7bea1b4aee24917d3e9ed7e2a48 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Add includes for prototype declarations of tables

This was committed on the master branch of the opencore
repository in commit da3d0463c999871ee584a0d750be65be65d19b00,
based on AOSP contribution 10302.

Change-Id: I4ad5526634efecc2d2bb3d2169184b8d4d4d7671
ommon/src/bitreorder_tab.cpp
ommon/src/grid_tbl.cpp
ommon/src/inv_sqrt_tbl.cpp
ommon/src/log2_tbl.cpp
ommon/src/lsp_tab.cpp
ommon/src/pow2_tbl.cpp
ommon/src/q_plsf_5_tbl.cpp
ommon/src/qua_gain_tbl.cpp
ommon/src/sqrt_l_tbl.cpp
ommon/src/window_tab.cpp
ec/src/dec_input_format_tab.cpp
nc/src/corrwght_tab.cpp
nc/src/enc_output_format_tab.cpp
nc/src/inter_36_tab.cpp
nc/src/lag_wind_tab.cpp
93eec2bc24e3782420d76df52586c84a03669087 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Add missing const qualifier to table declarations in headers

This was committed on the master branch of the opencore
repository in commit 5ce7a6fdf125116ffce2e692e14eafef1c807628,
based on AOSP contribution 10301.

Change-Id: Ie32b32c7407f449e382c0b4fd2d60a664e0daa33
ommon/include/az_lsp.h
ommon/include/inv_sqrt.h
ommon/include/log2_norm.h
ommon/include/pow2.h
ommon/include/sqrt_l.h
837b1e098a3b321bf1b19f22189d8c8bcdd509a6 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 78fc0c0b: am 428ece23: am c4aa19a5: am ea227787: Merge changes I903353c5,I822dcc74

* commit '78fc0c0bfae913a4a44011225396ae525b335fb1':
stagefright amrnb: Properly negate all values
stagefright amrnb: Fix a bug on architectures where long is 64 bit
de8b924a7f7d104af4243b1dfaef6f4480f93eea 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge changes I903353c5,I822dcc74

* changes:
stagefright amrnb: Properly negate all values
stagefright amrnb: Fix a bug on architectures where long is 64 bit
f1d5aa162c02a16b7195a43a9bcea4d592600ac4 07-Feb-2012 James Dong <jdong@google.com> Move away from MediaDebug and use ADebug instead

Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
nc/AMRNBEncoder.cpp
252353088a5ebf8508fbc01439ff417805ef1417 31-Jan-2012 Andreas Huber <andih@google.com> The software AMR NB encoder is now an OMX component.

Change-Id: I890eab052a7c36409b8b694c964884e28dd8d8fc
nc/Android.mk
nc/SoftAMRNBEncoder.cpp
nc/SoftAMRNBEncoder.h
9a8ded7348c5b2302dd27b285b395416bc842c49 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)

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

Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
nc/AMRNBEncoder.cpp
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
ec/SoftAMR.cpp
nc/AMRNBEncoder.cpp
5ff1dd576bb93c45b44088a51544a18fc43ebf58 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
nc/AMRNBEncoder.cpp
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
nc/AMRNBEncoder.cpp
87e031caf905145cb6e362a8c60f02736b87deef 13-Jul-2011 Andreas Huber <andih@google.com> Remove old-style software decoders.

Change-Id: Ie0729d6a65470ffdc38229791f25a75a22c724d8
ec/AMRNBDecoder.cpp
ec/Android.mk
e55147f462e04d41bff7ead6e9ea61a5b83bda4b 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Properly negate all values

Initially, input values -32768 weren't negated properly.

This was committed on the master branch of the opencore
repository in commit f532d145194e474cb30d8644b8eee83873ad24cc,
based on AOSP contribution 10906.

Change-Id: I903353c5539a8fe94b7fc5f26b95eaeac57df5f4
nc/src/set_sign.cpp
773f457645786b139fa8fe180ef27e78ad7ab2f9 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Fix a bug on architectures where long is 64 bit

Initially, this code gave a warning "comparison is always
false due to limited range of data type" if long was 64 bit.
Additionally, the output from the AMR encoder was mostly noise.

This was committed on the master branch of the opencore
repository in commit f532d145194e474cb30d8644b8eee83873ad24cc,
based on AOSP contribution 10904.

Change-Id: I822dcc74beeae548d3032ffda759de9c8cd1fcfe
ommon/src/az_lsp.cpp
a920660c2ae1548471c40c664ed3ac01b87c57b6 16-May-2011 Andreas Huber <andih@google.com> Fix module tags on stagefright software decoders.

Change-Id: I8b3f60760e1e8eaa0f66eb6c7ce3df8e425638fb
related-to-bug: 4427361
ec/Android.mk
bbba88cb1bdc34705d1477208990a06904c022e7 11-May-2011 Andreas Huber <andih@google.com> Squashed commit of the following:

commit c80992e419ed567abef451042f09c4958534b90d
Author: Andreas Huber <andih@google.com>
Date: Wed May 11 14:00:07 2011 -0700

Support for the mp3 audio decoder as a software OMX component.

Change-Id: I66e10c4d0be4c3aecdef1c21b15a2c7359ceb807

commit a358d0e1bf2a88897887445f42ccdda0f5f2f528
Author: Andreas Huber <andih@google.com>
Date: Wed May 11 13:11:23 2011 -0700

Support for G.711 alaw and mulaw decoders as software OMX components

Change-Id: Ia5c76c02cb83a9f94ce39a27b2251e5880218f03

commit 79088b9c9a5c8b8c97ea66cb4f90a2b0f0d34553
Author: Andreas Huber <andih@google.com>
Date: Thu May 5 15:43:32 2011 -0700

Instead of using an RGB surface and conversion yuv420->rgb565

convert from OMX_COLOR_FormatYUV420Planar to HAL_PIXEL_FORMAT_YV12 instead.

Change-Id: I8c4fc3c54c963f0d4ba6377f3c4ab4e0013152e5
related-to-bug: 4394005

commit 69469d3bd84425777b11b9fc938c5e0c61af26a7
Author: Andreas Huber <andih@google.com>
Date: Tue May 10 15:46:42 2011 -0700

voip mustn't link against libstagefright.so

Change-Id: I4d0ba9a8b9dc9380b792a1bd04bcda231964862c

commit 2a9a9eeeeeb36ae3a9e680469c3016d509ff08c3
Author: Andreas Huber <andih@google.com>
Date: Tue May 10 14:37:10 2011 -0700

Remove most non-OMX software decoders by default

Change-Id: Ic56514bc1b56b8fa952e8c4a164ea7379ecb69d0

commit a4de62c37b335c318217765403a9fb282b20a216
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 16:50:02 2011 -0700

Conditionally build the old-style software decoders.

Change-Id: I5de609e1d76c92d26d6eb81d1551462258f3f15f

commit 5d8b039f9449dc3dad1e77c42c80cc0b54b0c846
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 16:13:12 2011 -0700

Support for MPEG4 and H.263 video decoders as soft OMX components.

Change-Id: I5e3a4835afab89f98e3aa128d013628f5830eafe

commit b25a1bfbeb0ff6e62e1cc694ce2599c91489c7d0
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 11:49:10 2011 -0700

Boost Soft OMX thread priority, fix timestamp handling in vorbis Soft OMX decoder.

Change-Id: I68d26d4999f06fcc451d69e5303663fab0cba9e8

commit c0574362f8dc3319ce84d981097867062a698527
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 11:28:53 2011 -0700

Support for the AMR decoders (NB and WB) as Soft OMX components.

Change-Id: Ia565f59833fb52653e23f26536e7e41fc329a754

commit 3e5575a8f0e27a490cb7bde77bd9456087837f08
Author: Andreas Huber <andih@google.com>
Date: Wed May 4 13:41:25 2011 -0700

Signal an error if the aac decoder failed to initialize from codec specific data.

Change-Id: I01da7831bdf722edd7d6dc5974486daa2cf2b209
related-to-bug: 4272179

commit f94aeaa9886e772ff4823e671ed237096649f4af
Author: Andreas Huber <andih@google.com>
Date: Tue May 3 13:07:38 2011 -0700

Software OMX nodes don't (yet?) support native_window mode.

Change-Id: I7d9ca9164ef4abf66b573ca21dba12d672f8b12d

commit eefdfabac8dc659e00daa56da69aea705c49cb67
Author: Andreas Huber <andih@google.com>
Date: Tue May 3 12:57:16 2011 -0700

Fixing the OMX tests to refer to appropriate files from test content.

Change-Id: I5b61c3498749bfb876abbd3946a5132356e3f6ff

commit f31b7326aef14b6a1b7946520a9688f092e844d5
Author: Andreas Huber <andih@google.com>
Date: Tue May 3 11:08:38 2011 -0700

Soft OMX components are now dynamiclly loaded/unloaded, not directly linked against.

Change-Id: I1e2ecfbfab67a8869886f738eaf0c7b3c948b6d9

commit b7f0343879e4df06f0a1c9bfece24df557954e2f
Author: Andreas Huber <andih@google.com>
Date: Mon May 2 15:58:36 2011 -0700

Support for the AVC software decoder as an OMX component.

Change-Id: I13c12df435ba4afbd968a9fc659f66b91c818bc2

commit 5bb9e616d6c8e1b13d531fe996b9a9affdfb2977
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 12:05:37 2011 -0700

Fix Vorbis OMX decoder's component role.

Change-Id: I5e871e5e11b3f951c93590210e63fd7987c467b5

commit 089c91f2333062e196c7afd5fb0ca914878aa474
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 12:05:18 2011 -0700

Support vorbis_decoder OMX testing.

Change-Id: I1985be178a12ae3f8768bc72067d9236238be170

commit 56e241fa36fc37219bc536b823bdc2ab82dc1fad
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 12:01:46 2011 -0700

SoftVorbis OMX component now respects the number of valid frames per page.

Change-Id: I82a117a064d9b083fc58a54ad900a987a763ef03

commit fcd618ec520c376fdb78f4cbb44b8d9f5d213e2b
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 10:59:38 2011 -0700

Support for the vorbis audio decoder as a soft OMX component.

Change-Id: Iaeb057e58ca306d3dce205c0445b74d5aefef492

commit d1fcc3203fc8003ad79c6e96b3a1fc4261743f16
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 10:07:50 2011 -0700

VPX decoder now properly resizes buffers after a port settings change.

Change-Id: I110749a31b6cba087891d8e5dfe420830bdbf831

commit 35c7168243cb69849d88911144a2c7fdfed5c54e
Author: Andreas Huber <andih@google.com>
Date: Thu Apr 28 13:23:34 2011 -0700

Support for the VPX video decoder as a Software OMX component.

Change-Id: Ic345add2d6d768d4af631160153f2e9b97fcea71

commit 923b2534b4211fc5405377b5190bfa6f2dd27f32
Author: Andreas Huber <andih@google.com>
Date: Thu Apr 28 11:34:40 2011 -0700

Table-based registration of soft omx components.

Change-Id: I7f45f0fa5b3a7950776e69c66349731f7674e937

commit 04a88f3edb2266a463da9c4481b80178be460902
Author: Andreas Huber <andih@google.com>
Date: Thu Apr 28 11:22:31 2011 -0700

Apparently OMX_GetParameter is valid in any state other than OMX_StateInvalid

OMX_SetParameter is still constrained to OMX_StateLoaded or a disabled port.

Change-Id: I1032d7cf4011982d306aa369d4158a82830d26fb

commit 9d70ca68445e7c40f5c9b2d12466e468f514de88
Author: Andreas Huber <andih@google.com>
Date: Wed Apr 27 15:03:18 2011 -0700

Use the new soft OMX aac decoder for HTTP live playback.

Change-Id: Ifbcfb732a9edb855cb46b49f6d0ac942170ee28f

commit 213fe4a10ea93cce08e8622dc3908053f29878a1
Author: Andreas Huber <andih@google.com>
Date: Tue Apr 12 16:39:45 2011 -0700

Foundation for supporting software decoders as OMX components

Change-Id: I7fdab256563b35d1d090617abaea9a26b198d816

Change-Id: I83e9236beed4af985d10333c203f065df9e09a42
ec/Android.mk
ec/SoftAMR.cpp
ec/SoftAMR.h
1549dbbfb0d18201cc568b4fa2bd6b0e7f582e9d 08-Mar-2011 Sidipotu Ashok <sashok@codeaurora.org> libstagefright: Add error handling in AMRNB deooder

Return error when AMRNB software decoder fails

Change-Id: I1203db4a4b5ac766c8c131d3d0ba18a4ff2e3ceb
ec/AMRNBDecoder.cpp
88cfb59fde78a07ac8797008cf79b22193e983d9 29-Sep-2010 Chia-chi Yeh <chiachi@android.com> AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead.

This allows gsmamr_enc.h and gsmamr_dec.h to be included in the same
file without conflict definition.

Change-Id: I1c8dac235c122735ba14a1af2fda48c0f8d9f87b
ommon/include/frame_type_3gpp.h
ec/src/gsmamr_dec.h
nc/src/gsmamr_enc.h
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
nc/AMRNBEncoder.cpp
caa68a57f0b358b8fbe17447ffa453b9120a8610 03-Sep-2010 James Dong <jdong@google.com> Not all audio source has the drift time information

Change-Id: I74e502376348ca4a6ffaa7492bed35c1355e7e62
nc/AMRNBEncoder.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
nc/AMRNBEncoder.cpp
abd1f4f870925d6776dbe4b930b759a1ab6595ca 21-Jul-2010 Andreas Huber <andih@google.com> Support finer seek control on MediaSources.

related-to-bug: 2858448

Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
ec/AMRNBDecoder.cpp
nc/AMRNBEncoder.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
nc/AMRNBEncoder.cpp
f60cafe0e6aad8f9ce54660fa88b651ae4e749e6 19-Jun-2010 James Dong <jdong@google.com> Audio/video sync during recording (second part)

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

Change-Id: I27f387db23594e46384c4eb3a0093ce220bb6b60
nc/AMRNBEncoder.cpp
77356c37030215a4b8696b7d0af44a724341a0f9 05-May-2010 Dan Bornstein <danfuzz@android.com> For issue #2651381, allow library prelinking.

Change-Id: I119348b55ad0015a286e9c94709977cd1973a7e1
ommon/Android.mk
ab4412a1992ce7ec0965cdbf616d64d821b67183 01-Apr-2010 Dave Sparks <davidsparks@android.com> Update AMR codec.

Change-Id: I8ecd2712863f6962b762f26898002912d1c77afb
ec/src/dec_amr.cpp
47f729a0543376773070aaeafc12e13eed03f7be 30-Mar-2010 Andreas Huber <andih@google.com> Properly fill in the component name for the software decoders.

Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c
related-to-bug: 2557787
ec/AMRNBDecoder.cpp
nc/AMRNBEncoder.cpp
5d4f85d1e902a477ec7c8e3327693feee97e1c31 18-Mar-2010 Andreas Huber <andih@google.com> Report a runtime error rather than asserting if the amr software decoder reads more data than it was given(!)

Change-Id: I0a7ad65051a6663a583ea82da5fc75227dcdbbfa
ec/AMRNBDecoder.cpp
b841f14f8e51f2365945281fbfa54ef6a1b1b5a6 12-Dec-2009 Andreas Huber <andih@google.com> Initial checkin of software AMR NB encoder based on PV source code.
nc/AMRNBEncoder.cpp
nc/Android.mk
nc/src/amrencode.cpp
nc/src/amrencode.h
nc/src/autocorr.cpp
nc/src/autocorr.h
nc/src/c1035pf.cpp
nc/src/c1035pf.h
nc/src/c2_11pf.cpp
nc/src/c2_11pf.h
nc/src/c2_9pf.cpp
nc/src/c2_9pf.h
nc/src/c3_14pf.cpp
nc/src/c3_14pf.h
nc/src/c4_17pf.cpp
nc/src/c4_17pf.h
nc/src/c8_31pf.cpp
nc/src/c8_31pf.h
nc/src/calc_cor.cpp
nc/src/calc_cor.h
nc/src/calc_en.cpp
nc/src/calc_en.h
nc/src/cbsearch.cpp
nc/src/cbsearch.h
nc/src/cl_ltp.cpp
nc/src/cl_ltp.h
nc/src/cod_amr.cpp
nc/src/cod_amr.h
nc/src/convolve.cpp
nc/src/convolve.h
nc/src/cor_h.cpp
nc/src/cor_h.h
nc/src/cor_h_x.cpp
nc/src/cor_h_x.h
nc/src/cor_h_x2.cpp
nc/src/cor_h_x2.h
nc/src/corrwght_tab.cpp
nc/src/dtx_enc.cpp
nc/src/dtx_enc.h
nc/src/enc_lag3.cpp
nc/src/enc_lag3.h
nc/src/enc_lag6.cpp
nc/src/enc_lag6.h
nc/src/enc_output_format_tab.cpp
nc/src/ets_to_if2.cpp
nc/src/ets_to_if2.h
nc/src/ets_to_wmf.cpp
nc/src/ets_to_wmf.h
nc/src/g_adapt.cpp
nc/src/g_adapt.h
nc/src/g_code.cpp
nc/src/g_code.h
nc/src/g_pitch.cpp
nc/src/g_pitch.h
nc/src/gain_q.cpp
nc/src/gain_q.h
nc/src/gsmamr_enc.h
nc/src/hp_max.cpp
nc/src/hp_max.h
nc/src/inter_36.cpp
nc/src/inter_36.h
nc/src/inter_36_tab.cpp
nc/src/inter_36_tab.h
nc/src/l_comp.cpp
nc/src/l_extract.cpp
nc/src/l_negate.cpp
nc/src/lag_wind.cpp
nc/src/lag_wind.h
nc/src/lag_wind_tab.cpp
nc/src/lag_wind_tab.h
nc/src/levinson.cpp
nc/src/levinson.h
nc/src/lpc.cpp
nc/src/lpc.h
nc/src/ol_ltp.cpp
nc/src/ol_ltp.h
nc/src/p_ol_wgh.cpp
nc/src/pitch_fr.cpp
nc/src/pitch_fr.h
nc/src/pitch_ol.cpp
nc/src/pitch_ol.h
nc/src/pre_big.cpp
nc/src/pre_big.h
nc/src/pre_proc.cpp
nc/src/pre_proc.h
nc/src/prm2bits.cpp
nc/src/prm2bits.h
nc/src/q_gain_c.cpp
nc/src/q_gain_c.h
nc/src/q_gain_p.cpp
nc/src/q_gain_p.h
nc/src/qgain475.cpp
nc/src/qgain475.h
nc/src/qgain795.cpp
nc/src/qgain795.h
nc/src/qua_gain.cpp
nc/src/s10_8pf.cpp
nc/src/s10_8pf.h
nc/src/set_sign.cpp
nc/src/set_sign.h
nc/src/sid_sync.cpp
nc/src/sid_sync.h
nc/src/sp_enc.cpp
nc/src/sp_enc.h
nc/src/spreproc.cpp
nc/src/spreproc.h
nc/src/spstproc.cpp
nc/src/spstproc.h
nc/src/ton_stab.cpp
nc/src/ton_stab.h
6b91407a918d755454ed396068ff7f67b7088f34 11-Dec-2009 Andreas Huber <andih@google.com> Propagate duration from input to output only if available, support multiple full frames of audio per input buffer in AMR/AAC decoders.
ec/AMRNBDecoder.cpp
609f1a00c96cf5605f4614e7bb6d0487c98969c5 10-Dec-2009 Andreas Huber <andih@google.com> Initial checkin of software AVC video decoder based on PV source code.
ommon/Android.mk
ec/Android.mk
4f1efc098cb5791c3e9f483f2af84aef70d2d0a0 09-Dec-2009 Andreas Huber <andih@google.com> Initial check in of AMR (NB and WB) decoders based on PV source code.
ndroid.mk
ommon/Android.mk
ommon/include/abs_s.h
ommon/include/add.h
ommon/include/az_lsp.h
ommon/include/basic_op.h
ommon/include/basic_op_arm_gcc_v5.h
ommon/include/basic_op_arm_v5.h
ommon/include/basic_op_c_equivalent.h
ommon/include/basicop_malloc.h
ommon/include/bitno_tab.h
ommon/include/bitreorder_tab.h
ommon/include/bits2prm.h
ommon/include/bytesused.h
ommon/include/cnst.h
ommon/include/cnst_vad.h
ommon/include/copy.h
ommon/include/d_gain_c.h
ommon/include/d_gain_p.h
ommon/include/d_plsf.h
ommon/include/div_32.h
ommon/include/div_s.h
ommon/include/dtx_common_def.h
ommon/include/extract_h.h
ommon/include/extract_l.h
ommon/include/frame.h
ommon/include/frame_type_3gpp.h
ommon/include/gc_pred.h
ommon/include/gmed_n.h
ommon/include/gsm_amr_typedefs.h
ommon/include/int_lpc.h
ommon/include/int_lsf.h
ommon/include/inv_sqrt.h
ommon/include/l_abs.h
ommon/include/l_add.h
ommon/include/l_add_c.h
ommon/include/l_comp.h
ommon/include/l_deposit_h.h
ommon/include/l_deposit_l.h
ommon/include/l_extract.h
ommon/include/l_mac.h
ommon/include/l_msu.h
ommon/include/l_mult.h
ommon/include/l_negate.h
ommon/include/l_shl.h
ommon/include/l_shr.h
ommon/include/l_shr_r.h
ommon/include/l_sub.h
ommon/include/log2.h
ommon/include/log2_norm.h
ommon/include/lsfwt.h
ommon/include/lsp.h
ommon/include/lsp_az.h
ommon/include/lsp_lsf.h
ommon/include/lsp_tab.h
ommon/include/mac_32.h
ommon/include/mode.h
ommon/include/mpy_32.h
ommon/include/mpy_32_16.h
ommon/include/mult.h
ommon/include/mult_r.h
ommon/include/n_proc.h
ommon/include/negate.h
ommon/include/norm_l.h
ommon/include/norm_s.h
ommon/include/oper_32b.h
ommon/include/p_ol_wgh.h
ommon/include/pow2.h
ommon/include/pred_lt.h
ommon/include/pvgsmamr.h
ommon/include/q_plsf.h
ommon/include/q_plsf_3_tbl.h
ommon/include/q_plsf_5_tbl.h
ommon/include/qgain475_tab.h
ommon/include/qua_gain.h
ommon/include/qua_gain_tbl.h
ommon/include/reorder.h
ommon/include/residu.h
ommon/include/reverse_bits.h
ommon/include/round.h
ommon/include/set_zero.h
ommon/include/shl.h
ommon/include/shr.h
ommon/include/shr_r.h
ommon/include/sqrt_l.h
ommon/include/sub.h
ommon/include/syn_filt.h
ommon/include/typedef.h
ommon/include/vad.h
ommon/include/vad1.h
ommon/include/vad2.h
ommon/include/weight_a.h
ommon/include/window_tab.h
ommon/include/wmf_to_ets.h
ommon/pvgsmamrdecoderinterface.h
ommon/src/add.cpp
ommon/src/az_lsp.cpp
ommon/src/bitno_tab.cpp
ommon/src/bitreorder_tab.cpp
ommon/src/bits2prm.cpp
ommon/src/bytesused.cpp
ommon/src/c2_9pf_tab.cpp
ommon/src/copy.cpp
ommon/src/div_32.cpp
ommon/src/div_s.cpp
ommon/src/extract_h.cpp
ommon/src/extract_l.cpp
ommon/src/gains_tbl.cpp
ommon/src/gc_pred.cpp
ommon/src/gmed_n.cpp
ommon/src/gray_tbl.cpp
ommon/src/grid_tbl.cpp
ommon/src/int_lpc.cpp
ommon/src/inv_sqrt.cpp
ommon/src/inv_sqrt_tbl.cpp
ommon/src/l_abs.cpp
ommon/src/l_deposit_h.cpp
ommon/src/l_deposit_l.cpp
ommon/src/l_shr_r.cpp
ommon/src/log2.cpp
ommon/src/log2_norm.cpp
ommon/src/log2_tbl.cpp
ommon/src/lsfwt.cpp
ommon/src/lsp.cpp
ommon/src/lsp_az.cpp
ommon/src/lsp_lsf.cpp
ommon/src/lsp_lsf_tbl.cpp
ommon/src/lsp_tab.cpp
ommon/src/mult_r.cpp
ommon/src/negate.cpp
ommon/src/norm_l.cpp
ommon/src/norm_s.cpp
ommon/src/overflow_tbl.cpp
ommon/src/ph_disp_tab.cpp
ommon/src/pow2.cpp
ommon/src/pow2_tbl.cpp
ommon/src/pred_lt.cpp
ommon/src/q_plsf.cpp
ommon/src/q_plsf_3.cpp
ommon/src/q_plsf_3_tbl.cpp
ommon/src/q_plsf_5.cpp
ommon/src/q_plsf_5_tbl.cpp
ommon/src/qua_gain_tbl.cpp
ommon/src/reorder.cpp
ommon/src/residu.cpp
ommon/src/round.cpp
ommon/src/set_zero.cpp
ommon/src/shr.cpp
ommon/src/shr_r.cpp
ommon/src/sqrt_l.cpp
ommon/src/sqrt_l_tbl.cpp
ommon/src/sub.cpp
ommon/src/syn_filt.cpp
ommon/src/vad1.cpp
ommon/src/weight_a.cpp
ommon/src/window_tab.cpp
ec/AMRNBDecoder.cpp
ec/Android.mk
ec/include/pvamrnbdecoder_api.h
ec/src/a_refl.cpp
ec/src/a_refl.h
ec/src/agc.cpp
ec/src/agc.h
ec/src/amrdecode.cpp
ec/src/amrdecode.h
ec/src/b_cn_cod.cpp
ec/src/b_cn_cod.h
ec/src/bgnscd.cpp
ec/src/bgnscd.h
ec/src/c_g_aver.cpp
ec/src/c_g_aver.h
ec/src/d1035pf.cpp
ec/src/d1035pf.h
ec/src/d2_11pf.cpp
ec/src/d2_11pf.h
ec/src/d2_9pf.cpp
ec/src/d2_9pf.h
ec/src/d3_14pf.cpp
ec/src/d3_14pf.h
ec/src/d4_17pf.cpp
ec/src/d4_17pf.h
ec/src/d8_31pf.cpp
ec/src/d8_31pf.h
ec/src/d_gain_c.cpp
ec/src/d_gain_p.cpp
ec/src/d_plsf.cpp
ec/src/d_plsf_3.cpp
ec/src/d_plsf_5.cpp
ec/src/dec_amr.cpp
ec/src/dec_amr.h
ec/src/dec_gain.cpp
ec/src/dec_gain.h
ec/src/dec_input_format_tab.cpp
ec/src/dec_lag3.cpp
ec/src/dec_lag3.h
ec/src/dec_lag6.cpp
ec/src/dec_lag6.h
ec/src/dtx_dec.cpp
ec/src/dtx_dec.h
ec/src/ec_gains.cpp
ec/src/ec_gains.h
ec/src/ex_ctrl.cpp
ec/src/ex_ctrl.h
ec/src/gsmamr_dec.h
ec/src/if2_to_ets.cpp
ec/src/if2_to_ets.h
ec/src/int_lsf.cpp
ec/src/lsp_avg.cpp
ec/src/lsp_avg.h
ec/src/ph_disp.cpp
ec/src/ph_disp.h
ec/src/post_pro.cpp
ec/src/post_pro.h
ec/src/preemph.cpp
ec/src/preemph.h
ec/src/pstfilt.cpp
ec/src/pstfilt.h
ec/src/pvgsmamrdecoder.cpp
ec/src/qgain475_tab.cpp
ec/src/sp_dec.cpp
ec/src/sp_dec.h
ec/src/wmf_to_ets.cpp
atent_disclaimer.txt