[XviD-devel] Performance questions

steve steve at astrocorp.com.tw
Thu Aug 23 05:11:40 CEST 2007


Hi:
First I would like to thank you all in this forum.
The program I made to play back avi file is running fine.

My test machine is 
PC: Intel P4 3.0GHz, Intel 915, DDR2-667 MHz, 
Video file: 1024x768
Xvid setting: BGRA8888, MMX, SSE, SSE2
Ogre Engine Display: resolution 1024 x 768, pixel format: RGB565

The result is
Average FPS: 36, (Xvid Decode only, no pixel conversion) 47

My code:
    xvid_gbl_init_t   xvid_gbl_init;
    memset (&xvid_gbl_init, 0, sizeof (xvid_gbl_init_t));
    xvid_gbl_init.version = XVID_VERSION;
    xvid_gbl_init.cpu_flags = XVID_CPU_SSE2; 
    xvid_global (NULL,  XVID_GBL_INIT, &xvid_gbl_init, NULL);

I have a couple of questions regarding performance.
1.  Is the result fps reasonable? I expected faster frame rate.
2.  Why Xvid decore () setting RGB565 is slower than BGRA8888?
3.  Why MMX, MMXEX, SSE, SSE2 perforamce are all the same?

Thank you very much.
Steve






More information about the XviD-devel mailing list