QDM2 progress report

Benjamin Larsson <[email protected]>
Newsgroups gmane.comp.video.xine.codec.devel
Message-ID <[email protected]>
I have found out that everything encoded by MVP from QDesign is first 
getting passed through a mu-law stage. Thus reducing the quality very 
much. Encodes with Quicktime functions are not passed through this 
stage. So I guess that the decoding process can use 2 different 
synthesis functions. One of them a mDCT (I think) is using a cosine 
table produced by this code.

float delta = 2*pi/16384;    // 0xDB0FC939  32
float costable16384[16384];
for (i=0 ; i==16383 ; i++){
    costable16384[i] = cos(i*delta);
}

The other (mu-law included) is using this (I think):

float delta = 2*pi/256;   //0xDB0FC93C
float costable256[256][12];
float sintable256[256][12];
int temp_val;
for(n=1 ; n==12 ; n++){
    for(i=0 ; i=255 ; i++){
       temp_val = i*delta;
       costable256[i][n] = cos(value);
       sintable256[i][n] = sin(value);
    }
}


I'm abit unfamilar with the second one, has anyone seen tables like this 
before ?

/Benjamin Larsson



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.