Displaying 20 results from an estimated 600 matches similar to: "Vorbis I spec errata: single entry codebooks"
1999 Nov 11
1
VQ codebook sanity check (please help)
Hello folks,
The codebook infrastructure for Vorbis is now well underway. This is it! The
last piece needed for *real* bitstreams.
To that end, I have a decent VQ codebook generator running. I was originally
using some farily typical merge/split algorithms and then decided that the
right way to do this was to model a VQ codebook as an m-dimensional set of
bubbles (like a foam).
I know there
2007 Dec 11
1
Doubts in codebook decoding
Hi,
I am trying to implement ogg vorbis real time decoder on SHARC ADSP 21364
processor.
I am writing my own version of the decoder using the documentation
vorbis_I_spec.pdf from xiph.org. However I am facing certain hurdles in
floor curve decoding during audio packet decode. In the spec it says that
[cval] = read from packet using codebook number [so and so] in *scalar
context*.(page no 43).
2006 May 10
2
Codebook decoding help
Dear Sir or Maddam,
we're in the progress of developing a multimedia framework for Java. We started with programming a Vorbis (ogg) codec and demultiplexer and have still some problems with this.
The problem occured when trying to read the setup header of a vorbis file.
After a certain time we have to decode the codebook_lengths but this does not work.
We followed the instructions in the
2005 Aug 08
3
Reg. getting codewords from codelengths
Hi,
I am a bit confused on how code-words are derived from the codeword
lengths. I will appreciate if someone can point me in the correct direction.
I will take the example of an actual codebook that i found in a valid
vorbis encoded file as shown below.
[SK] +------Codebook [0] --------
[SK] Codebook Dimensions = 1
[SK] Codebook Entries = 8
[SK] Unordered
[SK] 1, 6, 3, 7, 2, 5, 4, 7,
[SK] NO
2005 Dec 09
0
RE: nodebytes and leafwords
hi kuhlen,
what you said is correct. i am talking about how
you are going to arrange these codewords into an
array, i.e. in the function _make_decode_table.
there he uses node bytes and leaf words for memory
management. i got a 24 bit platform. so if i assume
that max. codeword length that could be possible as
24 bits can i allocate a memory of (2 * used entries - 2),
to arrange the whole tree in
2005 Aug 17
1
Reg. vorbis_staticbook_unpack
Hi,
All help is appreciated.
I am looking at the function "vorbis_staticbook_unpack" in codebook.c
I guess this function just reads the codebooks in some structure
(static_codebook) and does not actually map the codewords to the
codevalues.
Does anyone know what functions can I use in this function to actually
view this mapping? I just want to display something like below: I can
2014 Mar 20
2
BARK implementation (or specification) error
Hi,
In the course of some work which I describe below, I have found a very significant difference between the BARK function described in the Vorbis specification and its implementation in libvorbis.
In the specificationhttp://xiph.org/vorbis/doc/Vorbis_I_spec.pdf
bark(x) = 13.1arctan(.00074x) + 2.24arctan(.0000000185x**2 + .0001x)
In the libvorbis code
2003 Aug 06
0
Re: [vorbis] question about codebook
Áô©~ªº ¦Ñ¤H wrote:
> Dear Segher
>
> Thanks for your information. Besides, the mechanism of the huffman
> decoding seems can not work in a 24-bit processor if the code length
> exceeds 24, though I have checked several vorbis file from network and
> they are all below 24 bit
True; but you can special case the >24 bit codebook to use
a more "traditional" decoding
2006 Feb 20
3
Huge VQ codebooks
Hi,
Does anybody know how codebooks are generated in OggVorbis encoder? We
are porting oggorbis encoder on embedded platform for which VQ codebook
memory is hugeeee to imagine. How can we reduce that? Can we do VQ with
less codebooks and if yes how? If any help available?
Parul
Embedded Engineer
Einfochips Ltd
2010 Apr 16
0
Removing empty (or very underpopulated) sub-populations
Hi,
I'm trying to develop a function that will simplify the most common analyses
in my area of interest (social sciences) by computing all required
statistics at one run (for exaple in case of a factor and numeric variable:
1) normality test, then in case variable are normal 2) ANOVA 3) with
efect-size estimation and aprropriate graph).
I test normality in each group with this code:
2005 Jan 23
1
codebooks / codewords
hello,
does anybody know whether the codewords have a special meaning? whether they have a different influence like the quantization matriy in jpeg? e.g. do lower or the first entries have a greater influence than the last or higher codewords?
thanks gerald
2004 Jun 25
0
newbie questions about VQ
Hi, I've been using the Vorbis codec for a while and recently I got the source code and had a look at the spec (great job on the doc BTW). I don't have any former experience with audio compression, but I do know what a DCT does and I totally grok Huffman coding (so I guess I'm not that much of a newbie, am I?).
Anyway I just had some questions about how VQ works on the encoding side.
2005 Nov 28
1
nodebytes,leafwords
hello all,
we are developing and porting vorbis1decoder on a 24 bit
platform. in the process we came across somedoubts about
node bytes and leaf words.
from the specification we got that we are arranging
the huffman codeword tree into an array. the nodebytes are the
number of bytes that are required to represent a node and
leafwords are the no. of bytes required to represent the leaf
i.e the
2008 Aug 14
1
non-linear regression problem
I need to do a non-linear regression in the form of
Y = a0 + a1 * arctan(a2 * x) + error.
A data sample (X,Y) is available, but I can't remember how to run this sort
of regression through R so that I get a value for a0, a1 and a2.
Can someone please give me a hint?
Thank you in advance.
2005 Mar 30
1
Query on Codewords length
Hi,
We are porting the Ogg Vorbis fixed point decoder to a 24 bit fixed
point precision processor. We are trying to reduce the number of cycles
for MIPS optimization. In this process we observed that most of the
songs do not have "maximum codeword length" greater than 24 bits.
We are planning to reduce most of the double word operations (in our
case 32 bit data is stored as double
2006 Jun 28
1
Transform Normal Dist to ArcTan Dist
I have a set of data that is distributed normally. How can I transform
this data to fit an ArcTan distribution?
[[alternative HTML version deleted]]
2003 Jun 13
2
Trouble decoding number of codebooks
I'm having trouble decoding the number of codebooks out of an ogg file,
and was wondering if anyone here could lend a hand?
I read in the sync pattern, and I think the codebook dimensions properly,
but when I try and read in the number of codebook entries, I get a number
larger than the number of bytes in the file, which I have to assume is
wrong :)
Anyway this is how I read in the numbers :
2000 Nov 17
1
Floor codebooks vs. Residue codebooks
Hi,
Please brace yourselves for some possibly stupid questions.
Why are there only 2 codebooks for floors and many more for residue values?
What makes the encoding of floor values fundamentally different from
encoding residue values?
I have a basic understanding of VQ, and looking at the floor decode
function, it all makes sense
1) Read the codebook index from the stream
2) Do a
2010 Mar 28
2
Status of s3tc patent in respect to open-source drivers and workarounds
Hi radeonhd, nouveau, mesa3d developers,
Firstly, thank you all very much for all the important work you do.
I've been working as a part-time developer on the "Spring RTS" project
(open-source game engine) which runs on linux (and other os). Some time
ago I tried the engine on the open-source ATI radeonhd driver, which I
understand to be partly based on mesa 3d, and all textures
2007 Dec 11
1
Query in codebook decoding
Hello Monty,
Sorry for the wrong subject title last time. A little more clarification
needed.
When reading bit-by-bit, there is no MSb/LSb, just 'first bit' and
'last bit'. The Huffman tree is traversed from 'first bit' to last
bit'. This is a conceptual layer above the bitpacker; all you need to
know is what order the bits come out, which happens to be LSb-first.