Home
last modified time | relevance | path

Searched refs:crtc_mask (Results 1 – 5 of 5) sorted by relevance

/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_general.c436 uint32 crtc_mask; in nm_general_validate_pic_size() local
449 case B_CMAP8: crtc_mask = 0x07; depth = 8; break; in nm_general_validate_pic_size()
455 case B_RGB15: crtc_mask = 0x1f; depth = 16; break; in nm_general_validate_pic_size()
456 case B_RGB16: crtc_mask = 0x1f; depth = 16; break; in nm_general_validate_pic_size()
457 case B_RGB24: crtc_mask = 0x1f; depth = 24; break; in nm_general_validate_pic_size()
466 case B_CMAP8: crtc_mask = 0x07; depth = 8; break; in nm_general_validate_pic_size()
467 case B_RGB15: crtc_mask = 0x03; depth = 16; break; in nm_general_validate_pic_size()
468 case B_RGB16: crtc_mask = 0x03; depth = 16; break; in nm_general_validate_pic_size()
469 case B_RGB24: crtc_mask = 0x07; depth = 24; break; in nm_general_validate_pic_size()
570 (target->virtual_width < (800 - crtc_mask))) in nm_general_validate_pic_size()
[all …]
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dgeneral.c581 uint32 acc_mask, crtc_mask; in eng_general_validate_pic_size() local
645 case B_CMAP8: crtc_mask = 0x0f; break; /* 0x07 */ in eng_general_validate_pic_size()
646 case B_RGB15: crtc_mask = 0x07; break; /* 0x03 */ in eng_general_validate_pic_size()
647 case B_RGB16: crtc_mask = 0x07; break; /* 0x03 */ in eng_general_validate_pic_size()
648 case B_RGB24: crtc_mask = 0x0f; break; /* 0x07 */ in eng_general_validate_pic_size()
649 case B_RGB32: crtc_mask = 0x03; break; /* 0x01 */ in eng_general_validate_pic_size()
798 if (acc_mask < crtc_mask) in eng_general_validate_pic_size()
799 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in eng_general_validate_pic_size()
804 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in eng_general_validate_pic_size()
839 if (acc_mask < crtc_mask) in eng_general_validate_pic_size()
[all …]
/haiku/src/add-ons/accelerants/via/engine/
H A Dgeneral.c540 uint32 acc_mask, crtc_mask; in eng_general_validate_pic_size() local
574 case B_CMAP8: crtc_mask = 0x07; break; in eng_general_validate_pic_size()
575 case B_RGB15: crtc_mask = 0x03; break; in eng_general_validate_pic_size()
576 case B_RGB16: crtc_mask = 0x03; break; in eng_general_validate_pic_size()
577 case B_RGB24: crtc_mask = 0x07; break; in eng_general_validate_pic_size()
578 case B_RGB32: crtc_mask = 0x01; break; in eng_general_validate_pic_size()
685 if (acc_mask < crtc_mask) in eng_general_validate_pic_size()
686 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in eng_general_validate_pic_size()
691 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in eng_general_validate_pic_size()
728 if (acc_mask < crtc_mask) in eng_general_validate_pic_size()
[all …]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_general.c959 uint32 acc_mask, crtc_mask; in gx00_general_validate_pic_size() local
1011 case B_CMAP8: crtc_mask = 0x7f; break; in gx00_general_validate_pic_size()
1012 case B_RGB15: crtc_mask = 0x3f; break; in gx00_general_validate_pic_size()
1013 case B_RGB16: crtc_mask = 0x3f; break; in gx00_general_validate_pic_size()
1015 case B_RGB24: crtc_mask = 0x7f; break; in gx00_general_validate_pic_size()
1016 case B_RGB32: crtc_mask = 0x1f; break; in gx00_general_validate_pic_size()
1026 case B_CMAP8: crtc_mask = 0x0f; break; in gx00_general_validate_pic_size()
1027 case B_RGB15: crtc_mask = 0x07; break; in gx00_general_validate_pic_size()
1028 case B_RGB16: crtc_mask = 0x07; break; in gx00_general_validate_pic_size()
1029 case B_RGB24: crtc_mask = 0x0f; break; in gx00_general_validate_pic_size()
[all …]
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_general.c1927 uint32 acc_mask, crtc_mask; in nv_general_validate_pic_size() local
1999 case B_CMAP8: crtc_mask = 0x0f; break; /* 0x07 */ in nv_general_validate_pic_size()
2000 case B_RGB15: crtc_mask = 0x07; break; /* 0x03 */ in nv_general_validate_pic_size()
2001 case B_RGB16: crtc_mask = 0x07; break; /* 0x03 */ in nv_general_validate_pic_size()
2002 case B_RGB24: crtc_mask = 0x0f; break; /* 0x07 */ in nv_general_validate_pic_size()
2003 case B_RGB32: crtc_mask = 0x03; break; /* 0x01 */ in nv_general_validate_pic_size()
2143 if (acc_mask < crtc_mask) in nv_general_validate_pic_size()
2144 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in nv_general_validate_pic_size()
2149 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask); in nv_general_validate_pic_size()
2184 if (acc_mask < crtc_mask) in nv_general_validate_pic_size()
[all …]