Home | History | Annotate | Download | only in video

Lines Matching defs:fmt

478 	    RGB_FROM_PIXEL(s, fmt, rs, gs, bs);				\
479 RGB_FROM_PIXEL(d, fmt, rd, gd, bd); \
483 PIXEL_FROM_RGB(d, fmt, rd, gd, bd); \
623 #define CHOOSE_BLIT(blitter, alpha, fmt) \
626 switch(fmt->BytesPerPixel) { \
633 switch(fmt->BytesPerPixel) { \
639 switch(fmt->Rmask | fmt->Gmask | fmt->Bmask) { \
641 if(fmt->Gmask == 0x07e0 \
642 || fmt->Rmask == 0x07e0 \
643 || fmt->Bmask == 0x07e0) { \
657 if(fmt->Gmask == 0x03e0 \
658 || fmt->Rmask == 0x03e0 \
659 || fmt->Bmask == 0x03e0) { \
683 if((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \
684 && (fmt->Gmask == 0xff00 || fmt->Rmask == 0xff00 \
685 || fmt->Bmask == 0xff00)) { \
709 #define CHOOSE_BLIT(blitter, alpha, fmt) \
712 switch(fmt->BytesPerPixel) { \
719 switch(fmt->BytesPerPixel) { \
725 switch(fmt->Rmask | fmt->Gmask | fmt->Bmask) { \
727 if(fmt->Gmask == 0x07e0 \
728 || fmt->Rmask == 0x07e0 \
729 || fmt->Bmask == 0x07e0) { \
740 if(fmt->Gmask == 0x03e0 \
741 || fmt->Rmask == 0x03e0 \
742 || fmt->Bmask == 0x03e0) { \
763 if((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \
764 && (fmt->Gmask == 0xff00 || fmt->Rmask == 0xff00 \
765 || fmt->Bmask == 0xff00)) { \
786 SDL_PixelFormat *fmt = dst->format;
832 CHOOSE_BLIT(RLECLIPBLIT, alpha, fmt);
905 SDL_PixelFormat *fmt = src->format;
931 CHOOSE_BLIT(RLEBLIT, alpha, fmt);
1394 #define ISOPAQUE(pixel, fmt) ((((pixel) & fmt->Amask) >> fmt->Ashift) == 255)
1396 #define ISTRANSL(pixel, fmt) \
1397 ((unsigned)((((pixel) & fmt->Amask) >> fmt->Ashift) - 1U) < 254U)