aboutsummaryrefslogtreecommitdiffstats
path: root/core/ambdec.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clear trailing whitespace from the loaded ambdec descriptionChris Robinson2022-09-151-0/+2
|
* Use the correct va_list for the second vsnprintfChris Robinson2022-09-141-1/+1
|
* Use ifstream's wchar_t constructors on WindowsChris Robinson2022-09-121-1/+1
| | | | MinGW seems to have added them a while ago, so that greatly simplifies things.
* Don't pack ambdec coefficientsChris Robinson2022-09-121-4/+3
| | | | | | | | | Tne coefficients are placed as for full 3D ACN handling. The ChanMask just indicates which have potentially useful values. This could be a bit more agressive and clear ChanMask bits for channels that don't contribute to output, so that a decoder the specifies height-related channel bits, but leaves their coefficients all 0, can be handled as 2D. I don't expect many ambdec files to be like that, though.
* Simplify ambdec loadingChris Robinson2022-09-121-236/+156
|
* Ensure coeff_scale is set for ambdec filesChris Robinson2022-09-111-5/+10
|
* Reject ambdec files with higher than third order and FuMa scalingChris Robinson2022-09-111-13/+15
|
* Explicitly define AmbDecConf's destructorChris Robinson2022-02-221-0/+3
| | | | | | GCC complains it can't inline the destructor because it's "unlikely" to be called and would bloat code size, despite being implicitly defined. Technically accurate, but rather annoying since it's not explicitly called or defined.
* Handle spaces in the ambdec descriptionChris Robinson2021-06-241-1/+1
|
* Return an optional for an errorChris Robinson2020-12-251-191/+79
|
* Avoid dynamic vectors in AmbDecConfChris Robinson2020-12-251-15/+68
| | | | Also add a bit more sanity checking
* Move the ambdec loader to coreChris Robinson2020-12-251-0/+434