Quote:
The speed is now definitely faster on all machines ive tested, but trbarry's intra/non-intra code is still slowing it down on my Athlon ? But I cant think why, ill test more.
|
Nic -
Did you ever check if the following block of code (in Getpic) is even being executed? Mine's the only place in Getpic that checks that cpu.ssemmx flag and I can't test that myself on an Athlon.
- Tom
Code:
/* decode blocks */
// separate rtn for ssemmx now - trbarry 5/2003
if (cpu.ssemmx)
{
for (comp=0; comp<block_count; comp++)
{
if (coded_block_pattern & (1<<(block_count-1-comp)))
{
if (*macroblock_type & MACROBLOCK_INTRA)
Decode_MPEG2_Intra_Block_SSE(comp, dc_dct_pred);
else
Decode_MPEG2_Non_Intra_Block_SSE(comp);
if (Fault_Flag) {
#ifdef PROFILING
// stop_decMB_timer();
#endif
return 0; // trigger: go to next slice
}
}
}
}
else