Commit graph

729 commits

Author SHA1 Message Date
Bob Badour
05aceb3675 Add METADATA to libxaac: Apache2=NOTICE am: b674a33043 am: c451737b56 am: c7b2c56a23
Change-Id: Ia19e189deaf6ac8dcdc3d7e8de60288480cbbba5
2020-05-01 15:23:23 +00:00
Bob Badour
c7b2c56a23 Add METADATA to libxaac: Apache2=NOTICE am: b674a33043 am: c451737b56
Change-Id: Id8bcd94c144ae6bd8ca9129a1c8f91f8d153d204
2020-05-01 15:08:56 +00:00
Bob Badour
c451737b56 Add METADATA to libxaac: Apache2=NOTICE am: b674a33043
Change-Id: Iad69db69d1b5d4273897d0ddb324b2796f38417b
2020-05-01 14:55:45 +00:00
Bob Badour
b674a33043 Add METADATA to libxaac: Apache2=NOTICE
Bug: 68860345
Bug: 69058154
Bug: 151953481

Test: no code changes
Change-Id: I067c7b0f4ebdaebae520978d5bfb14453f1136bc
2020-04-28 10:31:46 -07:00
Sushanth Patil
836dfeb679 Optimisation changes in ixheaacd_samples_sat am: 92bec05d2d am: e14fc3836b
Change-Id: I35c093ef7efd36bf690e515278713ad36826446f
2020-04-23 21:57:15 +00:00
Sushanth Patil
7850e79fb1 Optimisation changes in esbr synthesis filter block am: 05c7402a06 am: 94df05eeb4
Change-Id: Ic6b3e74ce8bbb9a3592fe52496f47f546ba3261d
2020-04-23 21:57:03 +00:00
Sushanth Patil
cb176e6fda Optimisation changes in ixheaacd_samples_sat am: 92bec05d2d am: fae1d2a232
Change-Id: I09817336bc486ba5abbfe42ee03b7763f022af92
2020-04-23 21:56:23 +00:00
Sushanth Patil
caae63c49e Optimisation changes in esbr synthesis filter block am: 05c7402a06 am: 0adbf2fe2c
Change-Id: I1bdaadb97813c9f47bb9207cae306c2167b62e57
2020-04-23 21:56:12 +00:00
Sushanth Patil
e14fc3836b Optimisation changes in ixheaacd_samples_sat am: 92bec05d2d
Change-Id: I353d26eb67c8a26b213c348aeda564715ab7252f
2020-04-23 21:42:30 +00:00
Sushanth Patil
fae1d2a232 Optimisation changes in ixheaacd_samples_sat am: 92bec05d2d
Change-Id: I5fcdac0dbb6f02cba16259db6fbfe5d0e66eae14
2020-04-23 21:42:24 +00:00
Sushanth Patil
94df05eeb4 Optimisation changes in esbr synthesis filter block am: 05c7402a06
Change-Id: I8791cb7f5088575ea5af009ed881e2c8ef0bf6f3
2020-04-23 21:42:21 +00:00
Sushanth Patil
0adbf2fe2c Optimisation changes in esbr synthesis filter block am: 05c7402a06
Change-Id: I048432825d9fb703a8c221a55b5f83a17561a20a
2020-04-23 21:42:13 +00:00
Sushanth Patil
3dd21b3f79 Optimisation changes in saturation functions am: 0708a5228b am: a3c04e8969
Change-Id: Ia5fa553d9dbe6ca53cc7c101762ea80ce4dcfa80
2020-04-22 16:30:21 +00:00
Sushanth Patil
90851d8f21 Optimisation changes in saturation functions am: 0708a5228b am: d3460df4ba
Change-Id: I82f3ce4b4f50b1b21fb681bcd8e26a0df51f19c8
2020-04-22 16:29:39 +00:00
Sushanth Patil
a3c04e8969 Optimisation changes in saturation functions am: 0708a5228b
Change-Id: Id0be0ffb617d90ecac6b457305e0add28ebb360d
2020-04-22 16:17:49 +00:00
Sushanth Patil
d3460df4ba Optimisation changes in saturation functions am: 0708a5228b
Change-Id: I721199356138ff0723d29fada8ed65534988f4ab
2020-04-22 16:17:30 +00:00
Sushanth Patil
92bec05d2d Optimisation changes in ixheaacd_samples_sat
Changed 64-bit operations used for saturating the
output pcm to 32 bit operations targeted towards
32-bit/armv7 architecture.

Bug: 154143053
Test: xaacdec

Change-Id: I3914f5a92feee592626fb53ca7e24b60dda59db4
2020-04-18 08:15:56 -07:00
Sushanth Patil
05c7402a06 Optimisation changes in esbr synthesis filter block
Some computation were not required when mps and sbr are present.
Added a check to remove them.

Bug: 154143053
Test: xaacdec

Change-Id: I5f7722b6e045031df0f37279441946f014953443
2020-04-18 08:10:37 -07:00
Sushanth Patil
0708a5228b Optimisation changes in saturation functions
Changed saturation logic in ixheaacd_add32_sat()
and ixheaacd_sub32_sat() functions.

Bug: 154143053
Test: xaacdec

Change-Id: I2281954a18487c05894b8f5e9b76d1290c943b82
2020-04-15 13:06:33 -07:00
Xin Li
981c34b9af [automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master am: 262ffafc32 -s ours am: 685347bc6b
Change-Id: Ieada3655edac1d3fc439251f766bb8faa9d6ec52
2020-04-10 03:56:38 +00:00
Xin Li
685347bc6b [automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master am: 262ffafc32 -s ours
am skip reason: subject contains skip directive

Change-Id: I10550b9e86c7845bb2c7e03fb05b722a4ad26cba
2020-04-10 03:17:09 +00:00
Xin Li
262ffafc32 DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master
Bug: 151763422
Change-Id: Idd8a0e3c6150421a3ebf3a0e296937538e497cc0
2020-04-09 17:50:47 -07:00
Ray Essick
540a1ddd99 Typos: persistant -> persistent am: 45895b998a am: 17e19a1f7c
Change-Id: I1b2d4db014b3666a758b809071b70f852c29e7ba
2020-04-02 19:59:30 +00:00
Tripti Tiwari
0554e36f42 Fix for Segv in impd_down_mix function in xaac. am: 72b91f378a am: 5fb0c7bea3
Change-Id: I46bad45b3d33de8314005f0771bb1118e772fd58
2020-04-02 19:59:28 +00:00
Ray Essick
ffa342d253 Typos: persistant -> persistent am: 45895b998a am: 976a4b6152
Change-Id: I2db22f5b200347dab98561959131de93124826a6
2020-04-02 19:59:18 +00:00
Tripti Tiwari
e8f23228d2 Fix for Segv in impd_down_mix function in xaac. am: 72b91f378a am: 1ce1de30ac
Change-Id: I477303df9aa118aadb1405467097bb01260d0d28
2020-04-02 19:59:15 +00:00
Ray Essick
17e19a1f7c Typos: persistant -> persistent am: 45895b998a
Change-Id: I1c5c00a5f9919acc9fd19c16d5e07dc880447c0a
2020-04-02 19:32:55 +00:00
Tripti Tiwari
5fb0c7bea3 Fix for Segv in impd_down_mix function in xaac. am: 72b91f378a
Change-Id: Ieac4fd6e40a4006630729bb704bdfc43675cedb4
2020-04-02 19:32:53 +00:00
Ray Essick
976a4b6152 Typos: persistant -> persistent am: 45895b998a
Change-Id: I830ce7944c3ee2cd8d51b6985eaa41e4d26cefd3
2020-04-02 19:32:34 +00:00
Tripti Tiwari
1ce1de30ac Fix for Segv in impd_down_mix function in xaac. am: 72b91f378a
Change-Id: I60184af9afbed5e0c6139df7f142fe710ebdea3f
2020-04-02 19:32:31 +00:00
Ray Essick
45895b998a Typos: persistant -> persistent
Bug: 141290162
Test: build
Change-Id: I204e2a069cc306736f2a6e2dbc92b132a5c919ef
2020-04-02 09:04:46 -07:00
Tripti Tiwari
72b91f378a Fix for Segv in impd_down_mix function in xaac.
Enough size was not allocated for DRC payload.
Added appropriate size to persistence memory to accommodate maximum
length of DRC payload data. Also added reset for bit-handler elements
after execute call.

Bug:141290162
Test: poc in bug

Change-Id: I61176076056899310a3306818cd5ad4624a4bab0
2020-04-02 09:00:29 -07:00
TreeHugger Robot
7e68b5acbe Merge "Fix for infinite loop in impd_apply_gains_and_add function" into rvc-dev am: dd0c4f77d0 am: a9ef6fb80f
Change-Id: Iab49a9cab1f65e83dd4731569faed77831c355a3
2020-04-02 04:32:34 +00:00
TreeHugger Robot
99d1c08cfe Merge "Fix for infinite loop in impd_apply_gains_and_add function" into rvc-dev am: dd0c4f77d0 am: 9b2f2cf8b7
Change-Id: Ic90e9fffc71c6129e9dc35038762f07fd917698f
2020-04-02 04:31:23 +00:00
TreeHugger Robot
a9ef6fb80f Merge "Fix for infinite loop in impd_apply_gains_and_add function" into rvc-dev am: dd0c4f77d0
Change-Id: I6519426e2e19897f6a6b907b023cd57190e7205e
2020-04-02 04:05:08 +00:00
TreeHugger Robot
9b2f2cf8b7 Merge "Fix for infinite loop in impd_apply_gains_and_add function" into rvc-dev am: dd0c4f77d0
Change-Id: I97ac4fdaf6c88d3de355f0a804b8fd1ce0edda0e
2020-04-02 04:04:27 +00:00
Rajat Kumar
3092c26301 Fix for OOB in external libxaac am: 57b4f3eac4 am: dc9da8722e
Change-Id: I2b0592e8faa1355949bb0855cd8e1728c8c87818
2020-04-02 03:53:48 +00:00
Rajat Kumar
cd35bc0691 Fix for OOB in external libxaac am: 57b4f3eac4 am: c6045a6064
Change-Id: I2121520686889e440fc93e6f4307c7fa40cfb466
2020-04-02 03:53:31 +00:00
TreeHugger Robot
dd0c4f77d0 Merge "Fix for infinite loop in impd_apply_gains_and_add function" into rvc-dev 2020-04-02 03:45:45 +00:00
Rajat Kumar
dc9da8722e Fix for OOB in external libxaac am: 57b4f3eac4
Change-Id: I6ad790165504b15373184270d0f0840a56253e49
2020-04-02 03:34:18 +00:00
Rajat Kumar
c6045a6064 Fix for OOB in external libxaac am: 57b4f3eac4
Change-Id: Iddc26b70d59643c8c45303918438f678f352f63d
2020-04-02 03:34:09 +00:00
Rajat Kumar
57b4f3eac4 Fix for OOB in external libxaac
Codec initialization is done with AOT 2 (AAC-LC profile),
but AOT changes abruptly to 42 (USAC profile) in execution
leading to access of uninitialized tables. Hence Added a
check for mismatch in AOT during initialization and
AOT during execution.

Bug:150400335
Test: poc in bug

Change-Id: I73ca2bf0f963df7982c1a8371a8fc0c2e3c7cd82
2020-03-29 17:16:45 -07:00
Rajat Kumar
fdeb26a3f5 Fix for infinite loop in impd_apply_gains_and_add function
if (iEnd == iStart) is true until end line of loop,
and (drc_gain_last == shape_filter_block[g].drc_gain_last)
is also true, this make iEnd unchanged for ever
and the while loop will go into infinite iterations.
Hence added a check to break for the same.

Bug:148433653
Bug:151817831
Test:poc in bug

Change-Id: I2a59cde98abee0f28510a5b50ef44b3efd02c079
2020-03-29 17:08:20 -07:00
TreeHugger Robot
7c64fe9397 Merge "Fix for array out of bound in decoder/drc_src/impd_drc_eq.c" into rvc-dev am: 7862de4bd2 am: d2dbb48fb9
Change-Id: I4eb91b6dad3fefe6934792b20c89941a687bfc8a
2020-03-19 19:48:13 +00:00
TreeHugger Robot
81ba29ca03 Merge "Fix for array out of bound in decoder/drc_src/impd_drc_eq.c" into rvc-dev am: 7862de4bd2 am: 439c0bdf9e
Change-Id: I269990ef1bda4721c6b0f7f95f1fb790d192ea2c
2020-03-19 19:41:36 +00:00
TreeHugger Robot
d2dbb48fb9 Merge "Fix for array out of bound in decoder/drc_src/impd_drc_eq.c" into rvc-dev am: 7862de4bd2
Change-Id: I5bbb5700d549fdc9eb50bbf2080dcc46d1097af3
2020-03-19 19:25:51 +00:00
TreeHugger Robot
439c0bdf9e Merge "Fix for array out of bound in decoder/drc_src/impd_drc_eq.c" into rvc-dev am: 7862de4bd2
Change-Id: I48739026f3e79803a9e63149d4ea02be7971002c
2020-03-19 19:24:34 +00:00
TreeHugger Robot
7862de4bd2 Merge "Fix for array out of bound in decoder/drc_src/impd_drc_eq.c" into rvc-dev 2020-03-19 19:07:47 +00:00
Xin Li
6271d9b6cd [automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp@6304901 into stag-aosp-master am: 17570befa3 -s ours am: dbac3acf47
Change-Id: I09582fae91422b29150ac6b7dc9df4fa4e848d7b
2020-03-19 04:52:42 +00:00
Xin Li
dbac3acf47 [automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp@6304901 into stag-aosp-master am: 17570befa3 -s ours
am skip reason: subject contains skip directive

Change-Id: I4330815dd4b2c702c2596d722bea302028cf18ec
2020-03-19 04:26:02 +00:00