comparison libswscale/yuv2rgb_template.c @ 29011:cb5e58bff64b

Simpler and more elegant fix to the x86_32/OSX+PIC build failure
author sdrik
date Tue, 24 Mar 2009 07:09:19 +0000
parents d78fdafe0def
children
comparison
equal deleted inserted replaced
29010:48ec993fc291 29011:cb5e58bff64b
463 463
464 YUV2RGB_ENDLOOP(4) 464 YUV2RGB_ENDLOOP(4)
465 YUV2RGB_OPERANDS 465 YUV2RGB_OPERANDS
466 } 466 }
467 467
468 #if HAVE_7REGS
469 static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, 468 static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
470 int srcSliceH, uint8_t* dst[], int dstStride[]){ 469 int srcSliceH, uint8_t* dst[], int dstStride[]){
470 #if HAVE_7REGS
471 int y, h_size; 471 int y, h_size;
472 472
473 YUV2RGB_LOOP(4) 473 YUV2RGB_LOOP(4)
474 474
475 uint8_t *pa = src[3] + y*srcStride[3]; 475 uint8_t *pa = src[3] + y*srcStride[3];
478 "movq (%6, %0, 2), %%mm3;" /* Load 8 A A7 A6 A5 A4 A3 A2 A1 A0 */ 478 "movq (%6, %0, 2), %%mm3;" /* Load 8 A A7 A6 A5 A4 A3 A2 A1 A0 */
479 RGB_PLANAR2PACKED32 479 RGB_PLANAR2PACKED32
480 480
481 YUV2RGB_ENDLOOP(4) 481 YUV2RGB_ENDLOOP(4)
482 YUV2RGB_OPERANDS_ALPHA 482 YUV2RGB_OPERANDS_ALPHA
483 #endif
483 } 484 }
484 #endif