Mercurial > mplayer.hg
comparison libswscale/rgb2rgb_template.c @ 23536:ab4c0bba8f22
misc spelling fixes
author | diego |
---|---|
date | Wed, 13 Jun 2007 17:48:15 +0000 |
parents | f9a8f92087ef |
children | 5159b5f8784e |
comparison
equal
deleted
inserted
replaced
23535:8337977cc1c5 | 23536:ab4c0bba8f22 |
---|---|
348 #endif | 348 #endif |
349 uint16_t *d = (uint16_t *)dst; | 349 uint16_t *d = (uint16_t *)dst; |
350 end = s + src_size; | 350 end = s + src_size; |
351 #ifdef HAVE_MMX | 351 #ifdef HAVE_MMX |
352 mm_end = end - 15; | 352 mm_end = end - 15; |
353 #if 1 //is faster only if multiplies are reasonable fast (FIXME figure out on which cpus this is faster, on Athlon its slightly faster) | 353 #if 1 //is faster only if multiplies are reasonable fast (FIXME figure out on which CPUs this is faster, on Athlon it is slightly faster) |
354 asm volatile( | 354 asm volatile( |
355 "movq %3, %%mm5 \n\t" | 355 "movq %3, %%mm5 \n\t" |
356 "movq %4, %%mm6 \n\t" | 356 "movq %4, %%mm6 \n\t" |
357 "movq %5, %%mm7 \n\t" | 357 "movq %5, %%mm7 \n\t" |
358 "jmp 2f \n\t" | 358 "jmp 2f \n\t" |
507 #endif | 507 #endif |
508 uint16_t *d = (uint16_t *)dst; | 508 uint16_t *d = (uint16_t *)dst; |
509 end = s + src_size; | 509 end = s + src_size; |
510 #ifdef HAVE_MMX | 510 #ifdef HAVE_MMX |
511 mm_end = end - 15; | 511 mm_end = end - 15; |
512 #if 1 //is faster only if multiplies are reasonable fast (FIXME figure out on which cpus this is faster, on Athlon its slightly faster) | 512 #if 1 //is faster only if multiplies are reasonable fast (FIXME figure out on which CPUs this is faster, on Athlon it is slightly faster) |
513 asm volatile( | 513 asm volatile( |
514 "movq %3, %%mm5 \n\t" | 514 "movq %3, %%mm5 \n\t" |
515 "movq %4, %%mm6 \n\t" | 515 "movq %4, %%mm6 \n\t" |
516 "movq %5, %%mm7 \n\t" | 516 "movq %5, %%mm7 \n\t" |
517 "jmp 2f \n\t" | 517 "jmp 2f \n\t" |