X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.0%2Flibzmpeg3%2Fvideo%2Fworksheet.c;fp=cinelerra-5.0%2Flibzmpeg3%2Fvideo%2Fworksheet.c;h=0000000000000000000000000000000000000000;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=88f4c63524f7cc676ae3e2b68a09e02869b0e99e;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/libzmpeg3/video/worksheet.c b/cinelerra-5.0/libzmpeg3/video/worksheet.c deleted file mode 100644 index 88f4c635..00000000 --- a/cinelerra-5.0/libzmpeg3/video/worksheet.c +++ /dev/null @@ -1,22 +0,0 @@ -#include -#include - -inline static void -mmx_601(unsigned long y, unsigned long *output) -{ - asm(" movd (%0), %%mm0; /* Load y 0x00000000000000yy */\ - psllw $6, %%mm0; /* Shift y coeffs 0x0000yyy0yyy0yyy0 */\ - movd %%mm0, (%1); /* Store output */" - : - : "r" (&y), "r" (output)); -} - -int main(int argc, char *argv[]) -{ - unsigned char output[16]; - memset(output, 0, sizeof(output)); - mmx_601(1, (unsigned long*)output); - printf("%02x%02x\n", *(unsigned char*)&output[1], *(unsigned char*)&output[0]); - return 0; -} -