Legend_Wolf
24th December 2003, 07:13
There is a method to optimize XVID encoder:
In XVID P frame, MotionEstimaiotn(ME) was firstly done by the whole frame. And then based on Macroblock to do MC(PREDICTION)-> DCT->Quantization-> VLC->output streame(reconstruction). This is two loops. One LOOP for ME, the other loop for MC-->DCT-->Q->VLC.
Because XVID quantizaiton is based on FRAME, why not merge the ME into MC and it would be one loop.That is:
ME(based on Macroblock)-->MC(PREDICTION)-->DCT--->Q->VLC(OR reconstruction and ME)
In XVID P frame, MotionEstimaiotn(ME) was firstly done by the whole frame. And then based on Macroblock to do MC(PREDICTION)-> DCT->Quantization-> VLC->output streame(reconstruction). This is two loops. One LOOP for ME, the other loop for MC-->DCT-->Q->VLC.
Because XVID quantizaiton is based on FRAME, why not merge the ME into MC and it would be one loop.That is:
ME(based on Macroblock)-->MC(PREDICTION)-->DCT--->Q->VLC(OR reconstruction and ME)