• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libstagefright/codecs/mp3dec/
History log of /frameworks/av/media/libstagefright/codecs/mp3dec/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89ed5c374db5dfa3c64760f1e7d75f9cc4be00a3 04-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions am: 42b1ea8a93 am: 0785ced61b am: 6f0b9ca8a5 am: ef2510a3de am: fc46c290ea
am: 759ded4dca

Change-Id: Ic308abc85c26b5dc77716e8536843ba6be65355a
fc46c290ea08f3e5d45e82b833435266ca11fccd 04-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions am: 42b1ea8a93 am: 0785ced61b am: 6f0b9ca8a5
am: ef2510a3de

Change-Id: I0ba16f325eda7debba151d29b00867bb365c1c0b
888874b28972aaf8ecbbeda6fd9786f44b09beb4 02-Feb-2017 Marco Nelissen <marcone@google.com> Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d am: 08ccbcc16f am: 9070697124 am: 9986938f08 am: 245b572340 am: d0bc460432 am: 4f34250af7 am: 96f48e1601 am: 1c4083fcbf am: 878b27dfbb am: cfdba012b5
am: 7a5366b7c1

Change-Id: I1c5d8ee1217dd0f6a5b22c336ac2073e8e94b732
42b1ea8a934ee13899663ad7e1551b658d48e6d6 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions

These functions also exist as arm assembly files, where the overflows
just wrap around, and this makes their plain C equivalents behave
the same.

Bug: 32577290
Bug: 33071964
Test: ran PoC for bug 32577290 using plain C source code
Change-Id: I73c2609589e7a89d36f6c44391548312259daf14
(cherry picked from commit cbf5e6915c42c691a6ccb9a5d249e450f9e67467)
rc/pv_mp3dec_fxd_op_c_equivalent.h
rc/pvmp3_dct_16.cpp
rc/pvmp3_dct_9.cpp
rc/pvmp3_mdct_18.cpp
cfdba012b5fc52adbd9068ad5f878cc6836e063a 02-Feb-2017 Marco Nelissen <marcone@google.com> Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d am: 08ccbcc16f am: 9070697124 am: 9986938f08 am: 245b572340 am: d0bc460432 am: 4f34250af7 am: 96f48e1601 am: 1c4083fcbf
am: 878b27dfbb

Change-Id: Ibb5282c8046643b625d5776f6f3efb9b2ad2127d
4f34250af74cd4c93a0c2a838bc131f90eee88a3 02-Feb-2017 Marco Nelissen <marcone@google.com> Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d am: 08ccbcc16f am: 9070697124 am: 9986938f08 am: 245b572340
am: d0bc460432

Change-Id: I28693f257be18393f0d5711f33ca0eb9260cd361
90706971240490361b3ed1c68b028b73d6dcce90 02-Feb-2017 Marco Nelissen <marcone@google.com> Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7 am: 4c1ad41c8b am: bd91a6540d
am: 08ccbcc16f

Change-Id: I7e920284bf69cc450d36f813e7e001ae30f656ee
bd91a6540defccd060a5a314ce6ed41bcd562577 02-Feb-2017 Marco Nelissen <marcone@google.com> Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f am: ce9cab33b7
am: 4c1ad41c8b

Change-Id: I7a754e278cdc719a0bf6543f8a2accbc43301f86
4c1ad41c8b1d4da156e2d018000427c9dd1914c3 02-Feb-2017 Marco Nelissen <marcone@google.com> Revert "Turn off overflow protection for various math functions" am: 2dd1d5e02e am: aa5498018f
am: ce9cab33b7

Change-Id: Id9318840db48994196c72eb5f14e132e23776bda
2dd1d5e02ef7f3a10db86dc2455d5bb9d35998c2 02-Feb-2017 Marco Nelissen <marcone@google.com> Revert "Turn off overflow protection for various math functions"

This reverts commit cbf5e6915c42c691a6ccb9a5d249e450f9e67467.

Change-Id: I0a81c26d22fee36485b21c285dcc91fbd518e1dd
rc/pv_mp3dec_fxd_op_c_equivalent.h
rc/pvmp3_dct_16.cpp
rc/pvmp3_dct_9.cpp
rc/pvmp3_mdct_18.cpp
daff8361b1c7e3cac6a3b59be75f98e004c7a52f 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions am: cbf5e6915c am: 72b1fdbf49 am: a25eb35608 am: 3d58f94eec am: 1edbc699b5 am: c0118375e5 am: ba78beef56 am: b0ceb402c1 am: e7a758e220 am: 350db71bea am: d1cc28471a am: 1212f6e406 am: 415dfd3b95
am: 1c03bbb111

Change-Id: Id3ca9d3593ad612e6980af485879ae8ebe51f2ae
d1cc28471accca8ff5a81766e615f523922c6b4c 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions am: cbf5e6915c am: 72b1fdbf49 am: a25eb35608 am: 3d58f94eec am: 1edbc699b5 am: c0118375e5 am: ba78beef56 am: b0ceb402c1 am: e7a758e220
am: 350db71bea

Change-Id: I8d1260360f806a605831ac070d20da52696e3608
ba78beef56ea43bae34e3a9e88d93bd77b13bd0f 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions am: cbf5e6915c am: 72b1fdbf49 am: a25eb35608 am: 3d58f94eec am: 1edbc699b5
am: c0118375e5

Change-Id: Ie92b4cba6575ce1c01f96ac19d4b6cd79392a19c
1edbc699b5f52654543e5ce32a0ecc0d4729ac99 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions am: cbf5e6915c am: 72b1fdbf49 am: a25eb35608
am: 3d58f94eec

Change-Id: I6be57dc624b46c1517fab973f34dd98b7d808a28
3d58f94eec8651d98d839a3ad5ddee3ef84e2e13 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions am: cbf5e6915c am: 72b1fdbf49
am: a25eb35608

Change-Id: Ia0f2f794297ab8b4c5070e5948c748d0265aa54b
cbf5e6915c42c691a6ccb9a5d249e450f9e67467 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions

These functions also exist as arm assembly files, where the overflows
just wrap around, and this makes their plain C equivalents behave
the same.

Bug: 32577290
Bug: 33071964
Test: ran PoC for bug 32577290 using plain C source code
Change-Id: I73c2609589e7a89d36f6c44391548312259daf14
rc/pv_mp3dec_fxd_op_c_equivalent.h
rc/pvmp3_dct_16.cpp
rc/pvmp3_dct_9.cpp
rc/pvmp3_mdct_18.cpp
4341ae008f5df38af5ced8fcf41738b6fa0ba34b 02-Feb-2017 Marco Nelissen <marcone@google.com> Turn off overflow protection for various math functions

These functions also exist as arm assembly files, where the overflows
just wrap around, and this makes their plain C equivalents behave
the same.

Bug: 32577290
Bug: 33071964
Test: ran PoC for bug 32577290 using plain C source code
Change-Id: I73c2609589e7a89d36f6c44391548312259daf14
rc/pv_mp3dec_fxd_op_c_equivalent.h
rc/pvmp3_dct_16.cpp
rc/pvmp3_dct_9.cpp
rc/pvmp3_mdct_18.cpp
a4a6d63ec590a3be60a60527c619fb0bf7870b59 21-Dec-2016 Vishwath Mohan <vishwath@google.com> Enable CFI for some media components.

Enables CFI locally for the following components:
media/libmedia/
media/libstagefright/codec2/
media/libstagefright/codecs/aacdec/
media/libstagefright/codecs/aacenc/
media/libstagefright/codecs/amrwbenc/
media/libstagefright/codecs/avc/common/
media/libstagefright/codecs/avc/enc/
media/libstagefright/codecs/avcdec/
media/libstagefright/codecs/avcenc/
media/libstagefright/codecs/flac/enc/
media/libstagefright/codecs/g711/dec/
media/libstagefright/codecs/gsm/dec/
media/libstagefright/codecs/hevcdec/
media/libstagefright/codecs/m4v_h263/dec/
media/libstagefright/codecs/m4v_h263/enc/
media/libstagefright/codecs/mp3dec/
media/libstagefright/codecs/mpeg2dec/
media/libstagefright/codecs/on2/dec/
media/libstagefright/codecs/on2/enc/
media/libstagefright/codecs/on2/h264dec/
media/libstagefright/codecs/opus/dec/
media/libstagefright/codecs/raw/
media/libstagefright/http/
media/libstagefright/httplive/
media/libstagefright/omx/
media/libstagefright/wifi-display/

Note that CFI is currently hidden under the global flag,
ENABLE_CFI=true. Unless this is set, local settings are not honored
and CFI will not be enabled. This allows CFI to essentially remain off
on all branches, but will allow it to be tested and debugged using
targeted builds.

Bug: 30227045
Test: m -j40 and device builds and boots
Test: CFI is not enabled unless built with ENABLE_CFI=true
Test: CFI enabled build passes the media CTS tests.
ndroid.mk
5f5ee1110dd85001b43db7637a97474acfe8d681 16-Aug-2016 Glenn Kasten <gkasten@google.com> LOCAL_CLANG := true is now the default

Test: verify that build has no failures
Change-Id: Ib249b276c6295e55eb54fa37b6d15486415dfbed
ndroid.mk
3579455dc8e9ef515631fde000ea05782816796e 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build am: 6f85d83163 am: cea6041539 am: ac11d74c81 am: 94742171f1 am: b8d23091df am: 9bed276574
am: de4d4f5247

Change-Id: Ie9b253bcbae964031924e68f51ddd5713dbb6883
9bed276574f931203d3fe658658cfbf6df8aab87 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build am: 6f85d83163 am: cea6041539 am: ac11d74c81 am: 94742171f1
am: b8d23091df

Change-Id: I73aac821554ace865f6f5e0d8641f9422c08aef5
b8d23091df36a530f646d9cdec1078fa38f95389 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build am: 6f85d83163 am: cea6041539 am: ac11d74c81
am: 94742171f1

Change-Id: Ifa1e2ab0d259b2919a4f250d84209987aa0eb71a
6f85d831638d271bd5738036ba0969bdb7f3111e 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build

Change-Id: I48ba34b3df9c9a896d4b18c3f48e41744b7dab54
oftMP3.cpp
3465684d1457100824f549b5dc60018693aa0a51 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build am: c5b95cd33a am: 4828c2cc73 am: 6f30a038db am: 196add98cc am: a365cebbe4 am: a4895be164
am: c1080cb5df

Change-Id: I791075a742988658b09c424b4a0a42942800f169
a4895be1641d871c39444506fbe3a0e81026067c 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build am: c5b95cd33a am: 4828c2cc73 am: 6f30a038db am: 196add98cc
am: a365cebbe4

Change-Id: I9d31b5942f8a2c040357136170193cbb48d83d42
5ec4bf07678e4174b30447d77c0675ba4700dcb9 14-Jul-2016 Robert Shih <robertshih@google.com> Merge \\\\\\\"SoftMP3: memset safely\\\\\\\" into mnc-dev am: b2b56d1f0a am: 5d6fe83821 am: 2d09be5831 am: 3c69172940 am: fd778b20ed am: 1a7492b10c
am: 3a0e712414

Change-Id: Ia241dbf94bd8cac10385cda7f704bd58e2beb4cd
a365cebbe489244ea7a63b67e504b85ae4b74b89 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build am: c5b95cd33a am: 4828c2cc73 am: 6f30a038db
am: 196add98cc

Change-Id: I441135beee7144639775ff1999dbe2230246b7b3
c5b95cd33affabbddc330726ed40d9e174658783 14-Jul-2016 Robert Shih <robertshih@google.com> Fix build

Change-Id: I96a9c437eec53a285ac96794cc1ad0c8954b27e0
oftMP3.cpp
3a0e7124145661dfc9461b404d6c5d0192486884 14-Jul-2016 Robert Shih <robertshih@google.com> Merge \\\\\\"SoftMP3: memset safely\\\\\\" into mnc-dev am: b2b56d1f0a am: 5d6fe83821 am: 2d09be5831 am: 3c69172940 am: fd778b20ed
am: 1a7492b10c

Change-Id: I95ed7501db7c7e222ec3c51e7a7b965f18b1115c
3315c7f627f7ccca8cf1ca9fd8a6fc19fddaf72c 14-Jul-2016 Robert Shih <robertshih@google.com> Merge \\\\\"SoftMP3: memset safely\\\\\" into mnc-dev am: b2b56d1f0a am: 5d6fe83821 am: 2d09be5831 am: 3c69172940
am: fd778b20ed

Change-Id: Ifd314bbbc70efa4f49a8ef836bfe4530ad56707c
fd778b20ededf0ca94f1e3668665d9fce47bf7b7 14-Jul-2016 Robert Shih <robertshih@google.com> Merge \\\\"SoftMP3: memset safely\\\\" into mnc-dev am: b2b56d1f0a am: 5d6fe83821 am: 2d09be5831
am: 3c69172940

Change-Id: Ifa3581fedd391417e61ad9f576023b8f9e590ea4
eaf857856e0bfe4ea99723012a4eebcd6603ac25 27-Jun-2016 Robert Shih <robertshih@google.com> DO NOT MERGE - SoftMP3: memset safely

Bug: 29422022
Change-Id: I70c9e33269d16bf8c163815706ac24e18e34fe97
oftMP3.cpp
oftMP3.h
bce5cc9f9d071e1bd5c6c9194a3c8ee289d2d9a1 27-Jun-2016 Robert Shih <robertshih@google.com> DO NOT MERGE - SoftMP3: memset safely

Bug: 29422022
Change-Id: I70c9e33269d16bf8c163815706ac24e18e34fe97
oftMP3.cpp
oftMP3.h
ce4df5e534eb86748fe80c84efb6b7fc0b6b5b46 04-Mar-2016 Wonsik Kim <wonsik@google.com> stagefright: move MedaDefs from libstagefright to libmedia

Bug: 24761407
Change-Id: If4914340a645c6f3c14eea0c873c162926d72ca2
ndroid.mk
b856ef5c45c9e17a3529b1bbc6e349a2902b3317 27-Jun-2016 Robert Shih <robertshih@google.com> SoftMP3: memset safely

Bug: 29422022
Change-Id: I70c9e33269d16bf8c163815706ac24e18e34fe97
oftMP3.cpp
oftMP3.h
276b60e1be8ed92149411240d95705c642c7531a 19-May-2016 Chih-hung Hsieh <chh@google.com> Merge "Fix misc-macro-parentheses warnings." am: 8a6d716a1e
am: f89b497da8

* commit 'f89b497da89aefbf32b3bdfd62d92c4ca00c4928':
Fix misc-macro-parentheses warnings.

Change-Id: I137b2728a00dbdfdceb44504f4f3f4707c441d93
183d387706417863076873ec566ca5966d8f5560 18-May-2016 Chih-Hung Hsieh <chh@google.com> Fix misc-macro-parentheses warnings.

Bug: 28705665
Change-Id: I9b4b253100cc06a5f37eb3129b0d54991471e382
rc/pv_mp3dec_fxd_op_c_equivalent.h
rc/pvmp3_alias_reduction.cpp
rc/pvmp3_dct_16.cpp
rc/pvmp3_dct_6.cpp
rc/pvmp3_dct_9.cpp
rc/pvmp3_dec_defs.h
rc/pvmp3_dequantize_sample.cpp
rc/pvmp3_equalizer.cpp
rc/pvmp3_get_scale_factors.cpp
rc/pvmp3_mdct_18.h
rc/pvmp3_mdct_6.cpp
rc/pvmp3_mdct_6.h
rc/pvmp3_mpeg2_stereo_proc.cpp
rc/pvmp3_stereo_proc.cpp
rc/pvmp3_tables.cpp
rc/pvmp3_tables.h
67ef30185837950144d30e5a73d852eb9a7a0a89 29-Feb-2016 Marco Nelissen <marcone@google.com> DO NOT MERGE Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
oftMP3.cpp
9fde506b8d37bd472969524bcef1d03b24c39c6c 08-Apr-2016 Marco Nelissen <marcone@google.com> Fix print format specifier

Bug: 27793371
Change-Id: Id1bb10e41c2d9107a53dd807a3b7bd83dfafd49c
oftMP3.cpp
8a0b060fef33216acb2509792a8480da1a604101 08-Apr-2016 Marco Nelissen <marcone@google.com> Merge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399 am: a70a752 am: 2a05d85 am: 5a42238 am: 847d335 am: 7a22114 am: 94dd823 am: 738e290 am: 434aa91
am: 65688b0

* commit '65688b02a17e33a8b3f39fbc38b39657b5d03872':
Check mp3 output buffer size

Change-Id: I0cfc271bd397a2bdc3591ace1ef45ea1c8c0b817
94dd8230619f38bb3bc988e9e4cdb367d56f415d 07-Apr-2016 Marco Nelissen <marcone@google.com> Merge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399 am: a70a752 am: 2a05d85 am: 5a42238 am: 847d335
am: 7a22114

* commit '7a2211482120203c21248cc645828175175bb75e':
Check mp3 output buffer size

Change-Id: I948d0ad2db0820f1c36b720634f7c7c156566e18
7a2211482120203c21248cc645828175175bb75e 07-Apr-2016 Marco Nelissen <marcone@google.com> Merge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399 am: a70a752 am: 2a05d85 am: 5a42238
am: 847d335

* commit '847d3358be4d4f407459f35c12bd9b5f74794b9a':
Check mp3 output buffer size

Change-Id: I57706fd383d88fdd591eaae4be639094826eac90
5a42238be6f0feff9e16a4ae245e394abc78c2ef 07-Apr-2016 Marco Nelissen <marcone@google.com> Merge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399 am: a70a752
am: 2a05d85

* commit '2a05d85b98361d4e1f24fbb2ae19873ce7db6db4':
Check mp3 output buffer size

Change-Id: Ia0d6f0d0e0458cb341c1ae546c2c6951d4db8a72
2a05d85b98361d4e1f24fbb2ae19873ce7db6db4 07-Apr-2016 Marco Nelissen <marcone@google.com> Merge "Check mp3 output buffer size" into klp-dev am: bc736f6 am: 44ef399
am: a70a752

* commit 'a70a752e110d436c24195037e3ade612fe2d15bd':
Check mp3 output buffer size

Change-Id: Ic909905135d8871ebbef12515b69761bf3e42452
30940b31b21f47eaa15786764e013d0a283d7d49 23-Mar-2016 Marco Nelissen <marcone@google.com> Check mp3 output buffer size

Bug: 27793371
Change-Id: I0fe40a4cfd0a5b488f93d3f3ba6f9495235926ac
oftMP3.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
oftMP3.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
oftMP3.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
oftMP3.cpp
2720c8b094cfa58de314daa8e5e4fb4fa81fe3b2 29-Feb-2016 Marco Nelissen <marcone@google.com> Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
oftMP3.cpp
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
d5ae360e883215b7862b1f8d318fe469940fe146 18-Nov-2015 Eino-Ville Talvala <etalvala@google.com> Revert "Enable fsanitize unsigned-integer-overflow in soft MP3 decoder."

Bug: 25737210

This reverts commit 468cbb068efad9a0422d55ed117515184730e9e3.

Change-Id: Ib381000a3b70f71d99d06c197397bb65392748ff
ndroid.mk
468cbb068efad9a0422d55ed117515184730e9e3 07-Nov-2015 Dan Austin <danielaustin@google.com> Enable fsanitize unsigned-integer-overflow in soft MP3 decoder.

Bug: 23110888
Change-Id: Ife8172c2d76638d61691a18b11aad1b70bb0c537
ndroid.mk
1c38d8d16b6a44d64b3fb14d24f339971848c085 26-Oct-2015 Dan Austin <danielaustin@google.com> Enable fsanitize signed-integer-overflow in Soft MPEG3 decoder

Bug: 23752600
Change-Id: I9922b1b670d142c060764aada1670f38e7ce5de4
ndroid.mk
f1333994d6ca35dc75a47808cf3a8037d012f3cc 11-Aug-2015 Andy Hung <hunga@google.com> am 11f84239: am f98021ce: Merge "Add test for mp3 decoder"

* commit '11f84239b9c926aaca74c1e952f10c7aaec7f385':
Add test for mp3 decoder
3508d77cf7b619d33d236533a45eea1a7321cc5a 12-May-2014 Ashok Bhat <ashok.bhat@arm.com> Add test for mp3 decoder

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

[x] Command to run the test
libstagefright_mp3dec_test <input mp3> <output wav>

[x] Sources
MP3 reader portion of test contains code from
frameworks/av/media/libstagefright/MP3Extractor.cpp.

Bug: 17722566
Change-Id: If4586a7cd6d5bc9cecea34aacfb89db458ea3814
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
ndroid.mk
est/mp3dec_test.cpp
est/mp3reader.cpp
est/mp3reader.h
c015b84e5d6f5d1e116d71bfbd3bd8edc3b06511 01-Jun-2015 Andy Hung <hunga@google.com> Fix SoftMP3 divide by 0

Bug: 21525346
Change-Id: I19f1ec0f4e9571bd6aeb26efbcba5f16dc664e47
oftMP3.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
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
e17bb5cafdbc6089716d8e8c5afbb00f207a59bb 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
(cherry picked from commit 97e3e847179c17eb9059fb322413b6facd3e5a03)
rc/asm/pvmp3_polyphase_filter_window_gcc.s
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/pvmp3_polyphase_filter_window_gcc.s
f3e7f11f419eef7cba752936e637b4f1b70267f4 03-Jun-2014 Narayan Kamath <narayan@google.com> am b6af7c63: am 05eaf105: Merge "Mp3decoder: Remove unused arm assembly files"

* commit 'b6af7c635113d288d16a4f549679beffd86822d8':
Mp3decoder: Remove unused arm assembly files
bd278f7c631fb4ce698e6cbcbdd34d879302b4c1 23-May-2014 Ashok Bhat <ashok.bhat@arm.com> Mp3decoder: Remove unused arm assembly files

The unused ARM assembly files were written for
legacy proprietary ARM compilers. They are not
needed when gcc or clang compiler is used.

Change-Id: I8dfe9ad458efbb34922094e943ad334cc34f59a3
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
rc/asm/pvmp3_dct_9_arm.s
rc/asm/pvmp3_mdct_18_arm.s
rc/asm/pvmp3_mdct_18_wm.asm
rc/asm/pvmp3_polyphase_filter_window_arm.s
rc/asm/pvmp3_polyphase_filter_window_wm.asm
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
oftMP3.cpp
rc/pvmp3_mpeg2_get_scale_data.cpp
c71a99131ca97bd3bdc5b78473d06e613e96e073 29-Aug-2013 Marco Nelissen <marcone@google.com> Fix decoder EOS handling

Conceptually it should be the same whether EOS is signalled on the last
buffer holding data, or an empty buffer that follows. Make it so that
this actually behaves the same for mp3, AAC and Vorbis.

b/8747869

Change-Id: Idece8ef45689a3ffaf70fb45d19862d7b93b2f92
oftMP3.cpp
oftMP3.h
e0381245dff04aa823a59aa8b85869eddab0f39f 25-Feb-2014 Lajos Molnar <lajos@google.com> MediaCodec: add getInputFormat() method

Additional input-port format item:

int32: "adaptive-playback"
video decoders only
whether codec is configured for adaptive playback. In this case, if
codec has max-width/height limits, those limits are also exposed
(int32: "max-width", "max-height")

Also, getInput/OutputFormat() is now callable in CONFIGURED and
STARTING states, although output format may be missing CSD fields
until INFO_OUTPUT_FORMAT_CHANGED message.

Includes missing OMX support for MP3 software decoder.

Bug: 11785204
Change-Id: I90c7e34ba81c7b81c43641599f3f496e838958c6
oftMP3.cpp
84333e0475bc911adc16417f4ca327c975cf6c36 08-Feb-2014 Andreas Huber <andih@google.com> warnings be gone.

Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
ndroid.mk
oftMP3.cpp
rc/pvmp3_mpeg2_get_scale_data.cpp
6e56e8024c98c3e6e62772e1dd345dd2c1c36717 05-Feb-2014 Marco Nelissen <marcone@google.com> Fix restart after EOS for mp3

b/12890850

Change-Id: I985a1ae94d7d62701296d95da34974eb29fcc535
oftMP3.cpp
d089c2540e4f0897c166693f4f13e2023241720e 29-Aug-2013 Marco Nelissen <marcone@google.com> Fix decoder EOS handling

Conceptually it should be the same whether EOS is signalled on the last
buffer holding data, or an empty buffer that follows. Make it so that
this actually behaves the same for mp3, AAC and Vorbis.

b/8747869

Change-Id: Idece8ef45689a3ffaf70fb45d19862d7b93b2f92
oftMP3.cpp
oftMP3.h
b6209a3d4c29bbb88de5a77546f4d545883cc484 31-Aug-2013 Eric Laurent <elaurent@google.com> Revert "Fix decoder EOS handling"

This reverts commit 9da36a6c8df70a5c8179ac78fab33cfbb5078cb2.

Bug: 10571297.
Change-Id: I76f20fe34872ea54fce626077462fb86c8c3f02e
oftMP3.cpp
oftMP3.h
9da36a6c8df70a5c8179ac78fab33cfbb5078cb2 29-Aug-2013 Marco Nelissen <marcone@google.com> Fix decoder EOS handling

Conceptually it should be the same whether EOS is signalled on the last
buffer holding data, or an empty buffer that follows. Make it so that
this actually behaves the same for mp3, AAC and Vorbis.

b/8747869

Change-Id: Idece8ef45689a3ffaf70fb45d19862d7b93b2f92
oftMP3.cpp
oftMP3.h
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
oftMP3.cpp
42392e49e167c6a0c573e55e1c1b4c7fa0ceb213 17-Apr-2013 Andreas Huber <andih@google.com> Apparently the mp3 decoder glitches if it was configured with the wrong

sample rate. Make sure we tell it about the one the extractor provides.

Change-Id: Ice5b9cf55485ca1a8f099a14be0202be9540e781
related-to-bug: 8621639
oftMP3.cpp
da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
ndroid.mk
6fc72b01a3b67903b52f1d33b1ad5c960b5365f1 18-Dec-2012 Marco Nelissen <marcone@google.com> Make codecs reconfigurable

Change-Id: I3dd46cb4401493becbf6152f4dcd5a8f1e9a0b44
oftMP3.cpp
oftMP3.h
7df98f17a42e47d8bc49891c370786ee3d3a1379 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 0df213ba: am dde79acf: Merge "hardening: eliminate text relocations from mp3"

* commit '0df213babc4fb41b7daa05cb3c08071f2b60f6a5':
hardening: eliminate text relocations from mp3
9a2c14b2c96625d5be73e1a7627f5d2a3091c4a2 13-Aug-2012 Ard Biesheuvel <ard.biesheuvel@gmail.com> hardening: eliminate text relocations from mp3

Change-Id: I671ed4c8c7bb15172a8b64d513e2844319495102
rc/asm/pvmp3_dct_16_gcc.s
rc/asm/pvmp3_mdct_18_gcc.s
rc/asm/pvmp3_polyphase_filter_window_gcc.s
51d7547944967d1157b7fe18e1fb8f7ee6810412 07-Aug-2012 Andreas Huber <andih@google.com> Only emit padding at the end of the stream in the aac and mp3 decoders

if we actually discarded content at the beginning of the stream.

Change-Id: I1e79835bb3a02350060a137b94f85f2c90f4a12b
oftMP3.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
ODULE_LICENSE_APACHE2
OTICE
259b39cbfc03cb94c48e66d752836e153e9a2f8b 15-May-2012 Andreas Huber <andih@google.com> Ignore sideband parsing errors and spit out a frame of silence.

Change-Id: I274d8e9018e02eb42121a2440b42caefeca94fb0
related-to-bug: 6498193
oftMP3.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
ndroid.mk
a98478bfbcc0f7fb4b164d3dce40ca96df75667d 21-Mar-2012 Marco Nelissen <marcone@google.com> Support gapless playback for mp3 and m4a

Gapless playback for appropriately tagged mp3 and m4a files.
Currently this is implemented in OMXCodec, which most players
use, but should be easy to support in other players as well by
using the SkipCutBuffer utility class.

Change-Id: I748c669adc1cfbe5ee9a7dea2fad945d48882551
oftMP3.cpp
oftMP3.h
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
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
oftMP3.cpp
3856b090cd04ba5dd4a59a12430ed724d5995909 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

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

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
oftMP3.cpp
87e031caf905145cb6e362a8c60f02736b87deef 13-Jul-2011 Andreas Huber <andih@google.com> Remove old-style software decoders.

Change-Id: Ie0729d6a65470ffdc38229791f25a75a22c724d8
ndroid.mk
P3Decoder.cpp
386d609dc513e838c7e7c4c46c604493ccd560be 19-May-2011 Andreas Huber <andih@google.com> Support mpeg1,2 audio and mpeg1,2,4 video content extraction from .ts streams.

Change-Id: I9d2ee63495f161e30daba7c3aab16cb9d8ced6a5
oftMP3.cpp
a920660c2ae1548471c40c664ed3ac01b87c57b6 16-May-2011 Andreas Huber <andih@google.com> Fix module tags on stagefright software decoders.

Change-Id: I8b3f60760e1e8eaa0f66eb6c7ce3df8e425638fb
related-to-bug: 4427361
ndroid.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
ndroid.mk
oftMP3.cpp
oftMP3.h
6d8ed9598d526dfe9be983543f125e3178d7c9b1 26-Feb-2011 James Dong <jdong@google.com> If MP3 decoder output frame size were 0, media server would crash.

This is to log an error message should that happen.

Change-Id: I0f947cd7a8e6639b4f11a928bf90286a34cc652e
P3Decoder.cpp
ebdc652a891659d83386c3f92715ad6c70c8ba2d 02-Mar-2011 James Dong <jdong@google.com> PV's mp3 decoder mistreated inputBufferCurrentLength in unit of bytes as in unit of bits

bug - 3464899

Change-Id: Idef81a1bd3846d60fc5e4a40c11ce1ba78ebaa23
rc/pvmp3_decode_header.cpp
424c6cbfa75da5f4f889ab6517dfee4dd024ba2d 11-Nov-2010 James Wylder <james.wylder@motorola.com> libstagefright: Compile MP3 & AAC decoders in 32bit ARM Mode

Speeds up the decoding leaving more time for cpuidle (lp2),
thus lowering overall current drain.

Change-Id: Ia4e0636b1813810072fe0a4f94f6921adf2eab31
Signed-off-by: James Wylder <james.wylder@motorola.com>
ndroid.mk
f4ea1f92bc56a8ffceddba0dbd3979fe0219b13c 08-Oct-2010 Andreas Huber <andih@google.com> Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch.

Change-Id: I5a637f1b380e44c94040ec507843d58a1f5a9b61
related-to-bug: 3065605
rc/pvmp3_reorder.cpp
rc/pvmp3_reorder.h
rc/s_tmp3dec_file.h
c7d368d990303dc5369c7c61579f88c5059dc8d7 28-Sep-2010 Andreas Huber <andih@google.com> Properly flush the AudioTrack/AudioSink on a seek request and make sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content.

Change-Id: I4909fdf19518dbabb6c340e2a31b50dfe6c5b067
related-to-bug: 3029947
P3Decoder.cpp
abd1f4f870925d6776dbe4b930b759a1ab6595ca 21-Jul-2010 Andreas Huber <andih@google.com> Support finer seek control on MediaSources.

related-to-bug: 2858448

Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
P3Decoder.cpp
3e0339f9ec42c2c31deb632254e9cc8a06d3db91 23-Jun-2010 Andreas Huber <andih@google.com> Fix a number of timestamp mismatches in the mp3 extractor and decoder that would lead to invalid reporting of the current playback time for mono and/or non-44100 kHz mp3s.

Change-Id: I11abc05b62a958ffbc99ca997cd184a2f2199352
related-to-bug: 2667479
P3Decoder.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
P3Decoder.cpp
a89e12dfa46fe42b6309e945585310a89a5a1600 18-Mar-2010 Andreas Huber <andih@google.com> Either the software mp3 decoder's CRC computation is wrong (and PV never enabled it before) or there are files in the wild with wrong CRCs that nonetheless decode correctly, either way, opt out of CRC verification.

Change-Id: I1d9bd78f4efb53faa82c67110cf61f78122e40f8
related-to-bug: 2511393
P3Decoder.cpp
d2d947bc8717697e983062147b51b5a0e307b84f 24-Feb-2010 Andreas Huber <andih@google.com> Recover from a certain mp3 decoder error instead of signalling an error and thereby stopping decoding.
P3Decoder.cpp
54a4b5e76faa0799231e24ea465ba6d6062b00eb 12-Jan-2010 Andreas Huber <andih@google.com> Make sure to release the buffer we're not using in case of an error.

related-to-bug: 2366606
P3Decoder.cpp
cd231c8672056429003b452c6a97fb705ad0765e 11-Jan-2010 Andreas Huber <andih@google.com> The mp3 decoder should not assert that decoding was successful but return an error instead.
P3Decoder.cpp
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.
P3Decoder.cpp
609f1a00c96cf5605f4614e7bb6d0487c98969c5 10-Dec-2009 Andreas Huber <andih@google.com> Initial checkin of software AVC video decoder based on PV source code.
ndroid.mk
29340b0706b7b65e441c47d6f0c83c344d516435 10-Dec-2009 Andreas Huber <andih@google.com> Adding copyright headers to recently introduced decoder source files.
P3Decoder.cpp
c54176addef15699a518b69cd6bbd40ffc95e72e 08-Dec-2009 Andreas Huber <andih@google.com> Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM.
ndroid.mk
ebd0d94d2619280f9871ef2d0965d95fb880404c 08-Dec-2009 Andreas Huber <andih@google.com> Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.
P3Decoder.cpp
d9618f23226f46c752e56f712bc4b505117d8b4b 07-Dec-2009 Andreas Huber <andih@google.com> Initial checkin of stagefright MP3 audio decoder based on PV source code.
ndroid.mk
P3Decoder.cpp
nclude/mp3_decoder_selection.h
nclude/pvmp3_audio_type_defs.h
nclude/pvmp3decoder_api.h
atent_disclaimer.txt
rc/asm/pvmp3_dct_16_gcc.s
rc/asm/pvmp3_dct_9_arm.s
rc/asm/pvmp3_dct_9_gcc.s
rc/asm/pvmp3_mdct_18_arm.s
rc/asm/pvmp3_mdct_18_gcc.s
rc/asm/pvmp3_mdct_18_wm.asm
rc/asm/pvmp3_polyphase_filter_window_arm.s
rc/asm/pvmp3_polyphase_filter_window_gcc.s
rc/asm/pvmp3_polyphase_filter_window_wm.asm
rc/mp3_mem_funcs.h
rc/pv_mp3_huffman.h
rc/pv_mp3dec_fxd_op.h
rc/pv_mp3dec_fxd_op_arm.h
rc/pv_mp3dec_fxd_op_arm_gcc.h
rc/pv_mp3dec_fxd_op_c_equivalent.h
rc/pv_mp3dec_fxd_op_msc_evc.h
rc/pvmp3_alias_reduction.cpp
rc/pvmp3_alias_reduction.h
rc/pvmp3_crc.cpp
rc/pvmp3_crc.h
rc/pvmp3_dct_16.cpp
rc/pvmp3_dct_16.h
rc/pvmp3_dct_6.cpp
rc/pvmp3_dct_9.cpp
rc/pvmp3_dec_defs.h
rc/pvmp3_decode_header.cpp
rc/pvmp3_decode_header.h
rc/pvmp3_decode_huff_cw.cpp
rc/pvmp3_decode_huff_cw.h
rc/pvmp3_dequantize_sample.cpp
rc/pvmp3_dequantize_sample.h
rc/pvmp3_equalizer.cpp
rc/pvmp3_equalizer.h
rc/pvmp3_framedecoder.cpp
rc/pvmp3_framedecoder.h
rc/pvmp3_get_main_data_size.cpp
rc/pvmp3_get_main_data_size.h
rc/pvmp3_get_scale_factors.cpp
rc/pvmp3_get_scale_factors.h
rc/pvmp3_get_side_info.cpp
rc/pvmp3_get_side_info.h
rc/pvmp3_getbits.cpp
rc/pvmp3_getbits.h
rc/pvmp3_huffman_decoding.cpp
rc/pvmp3_huffman_parsing.cpp
rc/pvmp3_imdct_synth.cpp
rc/pvmp3_imdct_synth.h
rc/pvmp3_mdct_18.cpp
rc/pvmp3_mdct_18.h
rc/pvmp3_mdct_6.cpp
rc/pvmp3_mdct_6.h
rc/pvmp3_mpeg2_get_scale_data.cpp
rc/pvmp3_mpeg2_get_scale_data.h
rc/pvmp3_mpeg2_get_scale_factors.cpp
rc/pvmp3_mpeg2_get_scale_factors.h
rc/pvmp3_mpeg2_stereo_proc.cpp
rc/pvmp3_mpeg2_stereo_proc.h
rc/pvmp3_normalize.cpp
rc/pvmp3_normalize.h
rc/pvmp3_poly_phase_synthesis.cpp
rc/pvmp3_poly_phase_synthesis.h
rc/pvmp3_polyphase_filter_window.cpp
rc/pvmp3_polyphase_filter_window.h
rc/pvmp3_reorder.cpp
rc/pvmp3_reorder.h
rc/pvmp3_seek_synch.cpp
rc/pvmp3_seek_synch.h
rc/pvmp3_stereo_proc.cpp
rc/pvmp3_stereo_proc.h
rc/pvmp3_tables.cpp
rc/pvmp3_tables.h
rc/s_huffcodetab.h
rc/s_mp3bits.h
rc/s_tmp3dec_chan.h
rc/s_tmp3dec_file.h