Commit graph

59 commits

Author SHA1 Message Date
Rumaan Khan
bed38628ae Decoder changes related to DRC scaling and x86 build
Some checks failed
CMake / build (push) Has been cancelled
Significance:
==============
- DRC scaling changes
- Some minor warning fixes

Testing:
=========
- CTS tested
- Conformance tested on Windows
2026-01-14 21:35:02 +05:30
akshayragir833
e198290600
Added a fix in the pvc path for decoder (#107)
Some checks failed
CMake / build (push) Has been cancelled
Significance:
=============
- This change handles PVC path correctly for non-zero PVC modes
- Addressed a minor nit in the usage information

Testing:
========
- Conformance tested for x86, x86_64, armv7, armv8, Mac and MSVS
2025-09-03 14:47:39 +05:30
akshayragir833
fe4e685d4c
Encoder bug fixes and documentation updates (#106)
Significance:
=============
- Fixed an issue in the LPD encoding path related to 768-sample frame length
- Added error check for the standard sample rates in the USAC profile
- Modified impd_drc_config_params.txt file
- Updated documents

Testing:
=========
- smoke-tested on x86, x86_64, Mac, armv7, armv8 and MSVS
2025-09-03 12:50:07 +05:30
akshayragir833
ae572598c3
Enable loudness_leveling without other CLI parameter dependencies (#104)
Some checks failed
CMake / build (push) Has been cancelled
Significance:
==============
- This change allows the loudness_leveling CLI parameter to operate independently,
  without relying on other parameters

Testing:
=========
- Conformance tested for x86, x86_64, armv7, armv8, Mac and MSVS

Co-authored-by: Akshay Ragir <100833@ittiam.com>
2025-08-22 10:01:04 +05:30
akshayragir833
60cae125cf
Encoder bug fixes in the USAC path (#103)
Some checks failed
CMake / build (push) Has been cancelled
* Encoder bug fixes in the USAC path

Significance:
==============
- Aligned STOP_WINDOW block window type selection in USAC with AAC
- Delay synchronization between USAC core coder and SBR encoder
- Minor bug fixes

Testing:
- smoke-tested on x86, x86_64, Mac, armv7, armv8 and MSVS

* Addressed a minor nit in the code

---------

Co-authored-by: Akshay Ragir <100833@ittiam.com>
2025-08-20 14:41:32 +05:30
Rumaan2khan
eb62778aee
Extending CLI support for boost and compress for USAC path (#102)
Significance:
==============
- Extended the CLI support for boost and compress for USAC path

Testing:
=========
- Conformance tested for x86, x86_64, armv7, armv8, Mac and MSVS

Co-authored-by: Rumaan Khan <100922@ittiam.com>
2025-08-14 18:24:10 +05:30
akshayragir833
fb6a68848a
Enhancements to the uniDRCv1 user configuration through DRC (#101)
Significance:
==============
- Enhanced the support to uniDRCv1 user configuration through DRC
  configuration param file

Testing:
=========
- smoke-tested on x86, x86_64, Mac, armv7, armv8 and MSVS

Co-authored-by: Akshay Ragir <100833@ittiam.com>
2025-08-14 16:57:31 +05:30
akshayragir833
388435c8f8
Support to configure user preferred loudness configuration through DRC (#100)
* Support to configure user preferred loudness configuration through DRC

Significance:
=============
- Added support to configure User defined program loudness through DRC, which takes
  precedence over loudness measured by the encoder
- Minor bug fixes

Testing:
========
- smoke-tested on x86, x86_64, Mac, armv7, armv8 and MSVS

* Addressed minor nits in the documentation

---------

Co-authored-by: Akshay Ragir <100833@ittiam.com>
2025-08-07 15:19:36 +05:30
akshayragir833
3dfa708b6e
Loudness leveling support for encoder and decoder (#99)
* Loudness leveling support for encoder and decoder

- Addition of loudness leveling support to encoder and
  decoder as per ISO/IEC 23003-4:2020/Amd.2:2023(E)

Testing:

Encoder: Smoke-test

Decoder: CTS and Conformance for x86, x86_64, armv7 and armv8 are
         passing

* Addressed review comments

* Addressed minor nits in documentation

---------

Co-authored-by: Akshay Ragir <100833@ittiam.com>
2025-07-28 17:40:45 +05:30
akshayragir833
7492f1f9ab
Enhancements for 4:1 eSBR configuration for USAC encoder (#94)
- Fix for the spectral misalignment issue observed between HF and LF for 4:1 eSBR
- Delay synchronization between SBR encoder and the core coder
- Delay handling for the decoded files using pre-roll frames on encoder
- Bug fixes

Testing: Smoke-test

Co-authored-by: Akshay Ragir <100833@ittiam.com>
2024-12-16 17:38:47 +05:30
Akshay Ragir
b9598d0c6c UniDrcv1 configuration support when DRC is enabled
Tests done: Smoke test
2024-05-07 13:20:31 +05:30
akshayragir833
58381f7993
Audio pre-roll and loudness measurement support for USAC (#79)
Tests done: Smoke test
2024-03-06 15:13:14 +05:30
akshayragir833
63d6a41982
USAC encoder enhancements and internal bug fixes (#76)
Tests done: Smoke test
2024-01-12 13:05:51 +05:30
akshayragir833
fbe3ab5037
Android build file update (#62) 2023-10-18 13:29:06 +05:30
Akshay Ragir
f29c4480db Code refactoring and minor bug fixes 2023-10-12 19:24:54 +05:30
Akshay Ragir
e8d026548e Fix for the Index-out-of-bounds in iusace_quantize_lines
These changes handle the index-out-of-bounds runtime error
reported when the bit consumption exceeds the bit reservoir
and global gain reaches the maximum value. The issue is
reported with USAC and the same changes are extended to AAC.

Bug: ossFuzz: 63019
Test: poc in bug
2023-10-12 19:24:54 +05:30
Akshay Ragir
aeaaaf4945 Minor bug fixes 2023-10-03 19:14:29 +05:30
Akshay Ragir
ccdced7d6a Fix for Divide-by-zero in impd_drc_stft_drc_gain_calc_init
These changes handle the Divide-by-zero runtime error reported
when the drc gain coordinates are identical or slope is
perpendicular to the gain value.

Bug: ossFuzz:61683
Test: poc in bug
2023-09-09 20:32:12 +05:30
Akshay Ragir
f39922ae99 Fix for the Global-buffer-overflow READ 4 in iaace_quantize_lines
These changes handle the runtime error reported when the gain
value exceeds the maximum supported value because of zero
spectrum. This is resolved by exiting the rate distortion loop
when zero spectrum is detected. The issue is reported with AAC
and the same changes are extended to USAC.

Bug: ossFuzz:61699
Test: poc in bug
2023-09-09 20:32:12 +05:30
Nikhil Bhavikatti
d5a175920e
DRC API and testbench updates (#41) 2023-08-04 19:29:27 +05:30
Nikhil Bhavikatti
917448ce5d
Encoder Fuzzer updates (#40) 2023-08-02 13:25:35 +05:30
Nikhil Bhavikatti
eec1f1c336
Encoder enhancements for DRC (#39) 2023-07-28 17:53:06 +05:30
Nikhil Bhavikatti
af3f10a9be
Encoder enhancements for USAC along with DRC (#38) 2023-07-21 19:29:46 +05:30
Nikhil Bhavikatti
797de4d1e9
USAC along with DRC support for libxaac encoder (#37) 2023-07-14 13:04:15 +05:30
akshayragir833
e78e1c43c3
Code refactoring and minor fixes (#36)
Co-authored-by: Akshay Ragir <100833@ittiam.com>
2023-07-07 16:15:45 +05:30
Akshay Ragir
174609e1ba libxaac documentation edits 2023-06-28 15:53:49 +05:30
bmdivya100655
b2e7201907
Encoder Enhancements (#34)
* Removed BUILD_ARM64 macro dependency
* Code refactoring
* Minor bug fixes

Co-authored-by: Divya B M <100655@ittiam.com>
2023-06-23 17:54:31 +05:30
bmdivya100655
088122e748
Combined Workspace for Encoder and Decoder (#33)
* Combined Workspace for Encoder and Decoder

* Addressed review comments and some minor edits

---------

Co-authored-by: Divya B M <100655@ittiam.com>
2023-05-22 20:11:52 +05:30
Nikhil Bhavikatti
2a43ff9ac7 ESBR command line switch support for xHEAAC decoder 2023-05-17 11:27:24 +05:30
Nikhil Bhavikatti
ae104f0711 Restructuring of Decoder 2023-05-15 17:23:01 +05:30
Harish Mahendrakar
0233db3f5e cleanup cmake files 2023-04-28 09:34:42 +05:30
Nikhil Bhavikatti
6a21d80d2d
Fix for crash observed with MSVS x64 build (#28)
* Fixes for runtime errors in error concealment module

* Fix for crash observed with MSVS x64 build

---------

Co-authored-by: Nikhil Bhavikatti <nikhilbhavikatti19@gmail.com>
2023-03-24 13:38:02 +05:30
Shashank Pathmudi
6ce7dc469c Error concealment support for xHEAAC decoder 2023-02-28 11:54:07 +05:30
Jyothi Swaroop Kumar Nallapaneni
03c53b0e08 CMake support for Platforms and Fuzzer 2023-02-09 12:22:18 +05:30
Shashank Pathmudi
b9e8ada604 MPS support for xHEAAC decoder 2023-01-23 14:46:59 +05:30
Shashank Pathmudi
1a52942898 ESBR support for xHEAAC decoder 2022-12-27 09:59:42 +05:30
Nikhil Bhavikatti
42a0d6d68c Transform length 960 support for xHEAAC decoder 2022-11-29 11:47:23 +05:30
Nikhil Bhavikatti
c6a238f961 Fix for heap buffer overflow
DRC input and output buffer size updated based on maximum frame size,
PCM size and number of channels supported
2022-11-02 14:36:41 +05:30
Shashank Pathmudi
b7f88cbb46 DRC configuration updates for xHEAAC decoder 2022-11-02 14:35:50 +05:30
Sowmya Sree Reddy G
270720de5e ELDv2 support for EXHEAAC decoder 2022-10-10 10:15:43 +05:30
Bob Badour
39d57e0f7b [LSC] Add LOCAL_LICENSE_KINDS to external/libxaac
Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  fuzzer/Android.bp
  test/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I8f70bf816b41ad6d7bb4e473eaab96cc53dc4dde
2021-02-12 18:26:03 -08:00
Harish Mahendrakar
facc3c62f3 xaacdec: Add host support am: f6ce5d9483 am: b31bec889e am: 2d6690e9d6
am: f063ce82e1

Change-Id: I94195a6d8f2919e68d2ae00d8545fbae5360e9a0
2019-09-11 09:47:03 -07:00
Harish Mahendrakar
f6ce5d9483 xaacdec: Add host support
Test: Build xaacdec on host
Bug: 139379050
Change-Id: I2cfb401b71240dd0966b80cc208e9a9798c8a51e
2019-09-05 11:27:29 -07:00
Ramesh Katuri
ce7b4e93ce Fix for correcting #include delimiters
This CL contains changes to make #include delimiters stying
consistent. For all system files inclusion we will use <> and
all user files we will use ""

Bug: 125443111
Test: compilation
Change-Id: Ie5f609b9bef8357877affb7f48d46df7c387d142
2019-08-26 13:35:44 -07:00
Rajat Kumar
61cdf5e6b5 Fix for global buffer overflow in error handler function
Added error handling for few unhandled error
returned from library to ixheaacd_error.c file.

Bug:133133640
Test: poc in bug

Change-Id: I584da0278ebcb04fc48538b5ae55e8ab2e65c684
2019-07-23 14:59:21 -07:00
Rajat Kumar
f6b2d77787 Fixes to incorporate latest conformance criteria
Bug:128648229
Test: atest android.media.cts.DecoderTestXheAac
Test: atest android.media.cts.DecoderTestAacDrc
Change-Id: Ic85bacc660c91096e29cd0cbe24323f4a6109c9a
2019-07-03 10:23:20 -07:00
Ray Essick
ff1452f96f Merge "Fix for out of bound write in xaacdec test bench" 2019-04-03 22:51:57 +00:00
TreeHugger Robot
c99fe20ffc Merge "Fix for testbench crash due to invalid file handle" 2019-04-03 00:36:27 +00:00
Ray Essick
360bd4fd75 Merge changes from topic "b124323156"
* changes:
  Initialize all allocated memory blocks to zero
  Update cfi blacklist to include few more assembly functions
  LDR changed to MOV instruction in armv8 and armv7 assemblies
2019-04-02 22:13:05 +00:00
Rajat Kumar
ce6d37faa2 Fix for testbench crash due to invalid file handle
Added checks to handle cases when input, output or
meta files are not passed in arguments of xaacdec.
Removed process command mode support and related
code from testbench.
Removed interface file read support and moved the
condition for drc to be on, if effect type or target
loudness is present in the command line arguments.

Bug:124627497
Test: poc
Change-Id: I97e216f5bc6ba6c52dcdc6438ee4152f0cb1682c
2019-03-30 17:08:55 -07:00