Changeset 207
- Timestamp:
- 12/20/06 11:18:31 (2 years ago)
- Files:
-
- trunk/FFusionCodec.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/FFusionCodec.c
r201 r207 519 519 glob->avContext->codec_tag = (myptr[3] << 24) + (myptr[2] << 16) + (myptr[1] << 8) + myptr[0]; 520 520 521 // Let's look for a CPU with AltiVec-like SMID unit522 523 Gestalt(gestaltPowerPCProcessorFeatures, &bitfield);524 altivec = (bitfield & (1 << gestaltPowerPCHasVectorInstructions)) != 0;525 526 // VP6 needs VP3 IDCT; Altivec IDCT doesn't work for now527 if (altivec && glob->componentType != 'VP62' && glob->componentType != 'VP6F')528 {529 Codecprintf(glob->fileLog, "Altivec Acceleration enabled!\n");530 531 glob->avContext->idct_algo = FF_IDCT_ALTIVEC;532 }533 534 521 // Finally we open the avcodec 535 522
