[Speex-dev] Speex bit allocation

marzullo maio marzullo63 at yahoo.it
Tue May 22 10:30:57 PDT 2007


Uhm i've to correct my self, now i've a better understanding:

----------------
Frame1
----------------
Subframe1
----------------
 Subframe2
----------------
 Subframe3
----------------
 Subframe4
----------------

that is:

---------------------------------------------------------------------------
Wideband bit|Mode ID|LSP|OL pitch|OL Exc gain|
---------------------------------------------------------------------------
Fine pitch|
---------------------------------------------------------------------------
Pitch gain|
---------------------------------------------------------------------------
Innovation gain|
---------------------------------------------------------------------------
Innovation  VQ|
---------------------------------------------------------------------------

Since the bit allocation table, for example, says 43 bits for
mode ID 1 and given that mode i have an encoded buffer size
of 6 bytes, then i guess there is some sort of padding for
the remaining bits (5 bits) to complete the last byte.
The same for other modes. Mode 3 is already alligned becouse
it is exactly 160 bit --> 20 bytes.
I wonder if that padding bits could be exploted in some
way to send proprietary signaling codes. This in cases where
bandwidth is very few.
Bye.

marzullo maio <marzullo63 at yahoo.it> ha scritto: I would like to know if my vision of things is correct about frame structure.

--------------------------------------------------------
Frame header
--------------------------------------------------------
Subframe1 header|Subframe1 content|
--------------------------------------------------------
 Subframe2 header|Subframe2 content|
--------------------------------------------------------
 Subframe3 header|Subframe3 content|
--------------------------------------------------------
 Subframe4 header|Subframe4 content|
--------------------------------------------------------

so.... like this:

----------------------------------------------------------------------------------
Wideband bit|Mode ID|LSP|OL pitch|OL Exc gain
----------------------------------------------------------------------------------
Fine pitch1|Pitch gain1|Innovation gain1| Innovation  VQ1|
----------------------------------------------------------------------------------
Subframe 1 content |
----------------------------------------------------------------------------------
Fine pitch2|Pitch gain2|Innovation gain2| Innovation VQ2|
----------------------------------------------------------------------------------
Subframe 2 content |
----------------------------------------------------------------------------------
Fine pitch3|Pitch gain3|Innovation gain3| Innovation VQ3|
----------------------------------------------------------------------------------
Subframe 3 content |
----------------------------------------------------------------------------------
Fine pitch4|Pitch gain4|Innovation gain4| Innovation VQ4|
----------------------------------------------------------------------------------
Subframe 4 content |
----------------------------------------------------------------------------------

next  frame.... etc...

is that right?

Thanks.
           

---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail_______________________________________________
Speex-dev mailing list
Speex-dev at xiph.org
http://lists.xiph.org/mailman/listinfo/speex-dev


       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070522/dfade697/attachment.htm


More information about the Speex-dev mailing list