Lines Matching refs:lf
416 Uint8 *src, *dst, lf, rf, ce; in SDL_ConvertSurround() local
423 lf = src[0]; in SDL_ConvertSurround()
425 ce = (lf/2) + (rf/2); in SDL_ConvertSurround()
426 dst[0] = lf; in SDL_ConvertSurround()
428 dst[2] = lf - ce; in SDL_ConvertSurround()
437 Sint8 *src, *dst, lf, rf, ce; in SDL_ConvertSurround() local
444 lf = src[0]; in SDL_ConvertSurround()
446 ce = (lf/2) + (rf/2); in SDL_ConvertSurround()
447 dst[0] = lf; in SDL_ConvertSurround()
449 dst[2] = lf - ce; in SDL_ConvertSurround()
459 Uint16 lf, rf, ce, lr, rr; in SDL_ConvertSurround() local
468 lf = (Uint16)((src[0]<<8)|src[1]); in SDL_ConvertSurround()
470 ce = (lf/2) + (rf/2); in SDL_ConvertSurround()
471 rr = lf - ce; in SDL_ConvertSurround()
473 dst[1] = (lf&0xFF); in SDL_ConvertSurround()
474 dst[0] = ((lf>>8)&0xFF); in SDL_ConvertSurround()
492 lf = (Uint16)((src[1]<<8)|src[0]); in SDL_ConvertSurround()
494 ce = (lf/2) + (rf/2); in SDL_ConvertSurround()
495 rr = lf - ce; in SDL_ConvertSurround()
497 dst[0] = (lf&0xFF); in SDL_ConvertSurround()
498 dst[1] = ((lf>>8)&0xFF); in SDL_ConvertSurround()
518 Sint16 lf, rf, ce, lr, rr; in SDL_ConvertSurround() local
527 lf = (Sint16)((src[0]<<8)|src[1]); in SDL_ConvertSurround()
529 ce = (lf/2) + (rf/2); in SDL_ConvertSurround()
530 rr = lf - ce; in SDL_ConvertSurround()
532 dst[1] = (lf&0xFF); in SDL_ConvertSurround()
533 dst[0] = ((lf>>8)&0xFF); in SDL_ConvertSurround()
551 lf = (Sint16)((src[1]<<8)|src[0]); in SDL_ConvertSurround()
553 ce = (lf/2) + (rf/2); in SDL_ConvertSurround()
554 rr = lf - ce; in SDL_ConvertSurround()
556 dst[0] = (lf&0xFF); in SDL_ConvertSurround()
557 dst[1] = ((lf>>8)&0xFF); in SDL_ConvertSurround()
593 Uint8 *src, *dst, lf, rf, ce; in SDL_ConvertSurround_4() local
600 lf = src[0]; in SDL_ConvertSurround_4()
602 ce = (lf/2) + (rf/2); in SDL_ConvertSurround_4()
603 dst[0] = lf; in SDL_ConvertSurround_4()
605 dst[2] = lf - ce; in SDL_ConvertSurround_4()
612 Sint8 *src, *dst, lf, rf, ce; in SDL_ConvertSurround_4() local
619 lf = src[0]; in SDL_ConvertSurround_4()
621 ce = (lf/2) + (rf/2); in SDL_ConvertSurround_4()
622 dst[0] = lf; in SDL_ConvertSurround_4()
624 dst[2] = lf - ce; in SDL_ConvertSurround_4()
632 Uint16 lf, rf, ce, lr, rr; in SDL_ConvertSurround_4() local
641 lf = (Uint16)((src[0]<<8)|src[1]); in SDL_ConvertSurround_4()
643 ce = (lf/2) + (rf/2); in SDL_ConvertSurround_4()
644 rr = lf - ce; in SDL_ConvertSurround_4()
646 dst[1] = (lf&0xFF); in SDL_ConvertSurround_4()
647 dst[0] = ((lf>>8)&0xFF); in SDL_ConvertSurround_4()
660 lf = (Uint16)((src[1]<<8)|src[0]); in SDL_ConvertSurround_4()
662 ce = (lf/2) + (rf/2); in SDL_ConvertSurround_4()
663 rr = lf - ce; in SDL_ConvertSurround_4()
665 dst[0] = (lf&0xFF); in SDL_ConvertSurround_4()
666 dst[1] = ((lf>>8)&0xFF); in SDL_ConvertSurround_4()
681 Sint16 lf, rf, ce, lr, rr; in SDL_ConvertSurround_4() local
690 lf = (Sint16)((src[0]<<8)|src[1]); in SDL_ConvertSurround_4()
692 ce = (lf/2) + (rf/2); in SDL_ConvertSurround_4()
693 rr = lf - ce; in SDL_ConvertSurround_4()
695 dst[1] = (lf&0xFF); in SDL_ConvertSurround_4()
696 dst[0] = ((lf>>8)&0xFF); in SDL_ConvertSurround_4()
709 lf = (Sint16)((src[1]<<8)|src[0]); in SDL_ConvertSurround_4()
711 ce = (lf/2) + (rf/2); in SDL_ConvertSurround_4()
712 rr = lf - ce; in SDL_ConvertSurround_4()
714 dst[0] = (lf&0xFF); in SDL_ConvertSurround_4()
715 dst[1] = ((lf>>8)&0xFF); in SDL_ConvertSurround_4()