IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
(Newbie Qsn) Inverse Quantization, hadling scalefactor bands in implementation of inverse quantization
ksr
post Dec 9 2011, 08:39
Post #1





Group: Members
Posts: 17
Joined: 2-December 11
From: bangalore
Member No.: 95532



hi to all,

i am trying to implement mp3 decoder with the information in ISO/IEC 11172-3, from the last two weeks, and i successfully completed, frame fetching, side information decoding, scalefactors reading and huffman decoding... and now i am into inverse quantization......
here now i am not getting how to implement the iq as it is in the specifiaction

* here 576 frequency samples(for long blocks) decoded from huffman will be given input to inverse qunatizer, there we will process it as
32 subbands and each subband of 18 samples (so totally 576 frequency samples ).
and here in "iq" i have the values of

global_gain[gr]
subblock_gain[window][gr]
scalefac_s[gr][ch][sfb][window]
scalefac_l[sfb][ch][gr]
pretab[sfb]
preflag[gr]

I am having all these values, which are computed at decoding sideinformation except "scalefac_multiplier".

here i have to get scalefactor band value (sfb), how i have to calculate here from the tables i have for 32k, 42.1k, 48k(as there are 22 values for long blocks).

here are my questions:
1) what is the value of scalefac_multiplier?
2) how to get the values of "sfb" and "widow" which values i have to use (as sfb index varies from 0 to 21 and window 0 to 2)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st September 2014 - 04:00