[XviD-devel] [In progress] devapi4 -- mpeg matrices

Edouard Gomez ed.gomez at free.fr
Tue Nov 25 16:34:31 CET 2003


Hello,

i doubt  someone else  is working on  the matrix  TODO item, but  i just
wanted  to mention  i'm  working on  it  right now,  so don't  duplicate
efforts (eg: you could start the docbook API doc ;-)

Concerning the  matrices, i  must admit it's  possibly the  ugliest hack
i've ever done, but we really needed to solve that before 1.0:
 - added  a matrix_context_t to  mbParam for  encoder and  directly into
   DECODER struct for the decoder
 - quant functions take 4 matrix pointers more (the matrix itself,
   matrix>>1, FIX(matrix) and FIXL(matrix))

For  point1, i  just took  the more  convenient structures  to  plug the
matrix context into. For point2, i had  to do it that way because of teh
SIMD functions using precomputed matrices.

First tests are not that great, it's not working[1] ;-) I'm starting the
debugging.

[1] xvid: Min PSNR y : 7,22 dB, u : 6,95 dB, v : 6,68 dB :-)
    but the code doesn't segfault :-)))

-- 
Edouard Gomez


More information about the XviD-devel mailing list