You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.0 KiB
24 lines
1.0 KiB
function frameF = iAACquantizer(S, sfc, G, frameType)
|
|
%Implementation of the inverse Quantizer
|
|
% Usage frameF = iAACquantizer(S, sfc, G, frameType), where:
|
|
% Inputs
|
|
% - S are the MDCT quantization symbols of one audio channel stored
|
|
% in a vector of length 1024
|
|
% - sfc are the scalefactors per band stored in an array of
|
|
% dimensions NBX8 for EIGHT_SHORT_SEQUENCE frames and NBX1
|
|
% otherwise, where NB is the number of bands
|
|
% - G is the global gain stored in an array of dimensions 1X8 for
|
|
% EIGHT_SHORT_SEQUENCE frames and a single value otherwise
|
|
% - frameType is the type of the current frame in string
|
|
% representation, can be one of "OLS" (ONLY_LONG_SEQUENCE), "LSS"
|
|
% (LONG_START_SEQUENCE), "ESH" (EIGHT_SHORT_SEQUENCE), "LPS"
|
|
% (LONG_STOP_SEQUENCE)
|
|
%
|
|
% Output
|
|
% - frameF is the frame in the frequency domain, in MDCT coefficients
|
|
% representation containing only one of the audio channels stored in
|
|
% a vector of length 1024
|
|
|
|
|
|
end
|
|
|
|
|