Home
last modified time | relevance | path

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

/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dgeneral.c581 uint32 acc_mask, crtc_mask; in eng_general_validate_pic_size() local
593 case B_CMAP8: acc_mask = 0x0f; depth = 8; break; in eng_general_validate_pic_size()
594 case B_RGB15: acc_mask = 0x07; depth = 16; break; in eng_general_validate_pic_size()
595 case B_RGB16: acc_mask = 0x07; depth = 16; break; in eng_general_validate_pic_size()
596 case B_RGB24: acc_mask = 0x0f; depth = 24; break; in eng_general_validate_pic_size()
597 case B_RGB32: acc_mask = 0x03; depth = 32; break; in eng_general_validate_pic_size()
610 case B_CMAP8: acc_mask = 0x3f; depth = 8; break; in eng_general_validate_pic_size()
611 case B_RGB15: acc_mask = 0x1f; depth = 16; break; in eng_general_validate_pic_size()
612 case B_RGB16: acc_mask = 0x1f; depth = 16; break; in eng_general_validate_pic_size()
613 case B_RGB24: acc_mask = 0x3f; depth = 24; break; 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
553 case B_CMAP8: acc_mask = 0x0f; depth = 8; break; in eng_general_validate_pic_size()
554 case B_RGB15: acc_mask = 0x07; depth = 16; break; in eng_general_validate_pic_size()
555 case B_RGB16: acc_mask = 0x07; depth = 16; break; in eng_general_validate_pic_size()
556 case B_RGB24: acc_mask = 0x0f; depth = 24; break; in eng_general_validate_pic_size()
557 case B_RGB32: acc_mask = 0x03; depth = 32; break; in eng_general_validate_pic_size()
685 if (acc_mask < crtc_mask) in eng_general_validate_pic_size()
688 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask); in eng_general_validate_pic_size()
709 if (target->virtual_width > (max_crtc_width & ~acc_mask)) in eng_general_validate_pic_size()
710 target->virtual_width = (max_crtc_width & ~acc_mask); in eng_general_validate_pic_size()
[all …]
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_general.c532 uint32 acc_mask = 0; in nm_general_validate_pic_size() local
537 case B_CMAP8: acc_mask = 0x07; break; in nm_general_validate_pic_size()
543 case B_RGB15: acc_mask = 0x1f; break; in nm_general_validate_pic_size()
544 case B_RGB16: acc_mask = 0x1f; break; in nm_general_validate_pic_size()
546 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask); in nm_general_validate_pic_size()
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_general.c959 uint32 acc_mask, crtc_mask; in gx00_general_validate_pic_size() local
971 case B_CMAP8: acc_mask = 0x7f; depth = 8; break; in gx00_general_validate_pic_size()
972 case B_RGB15: acc_mask = 0x3f; depth = 16; break; in gx00_general_validate_pic_size()
973 case B_RGB16: acc_mask = 0x3f; depth = 16; break; in gx00_general_validate_pic_size()
974 case B_RGB24: acc_mask = 0x7f; depth = 24; break; in gx00_general_validate_pic_size()
975 case B_RGB32: acc_mask = 0x1f; depth = 32; break; in gx00_general_validate_pic_size()
996 acc_mask = 0x1f; in gx00_general_validate_pic_size()
1069 if ((target->space == B_RGB32_LITTLE) && (target->virtual_width > (4092 & ~acc_mask))) in gx00_general_validate_pic_size()
1116 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask); in gx00_general_validate_pic_size()
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_general.c1927 uint32 acc_mask, crtc_mask; in nv_general_validate_pic_size() local
1946 case B_CMAP8: acc_mask = 0x0f; depth = 8; break; in nv_general_validate_pic_size()
1947 case B_RGB15: acc_mask = 0x07; depth = 16; break; in nv_general_validate_pic_size()
1948 case B_RGB16: acc_mask = 0x07; depth = 16; break; in nv_general_validate_pic_size()
1949 case B_RGB24: acc_mask = 0x0f; depth = 24; break; in nv_general_validate_pic_size()
1950 case B_RGB32: acc_mask = 0x03; depth = 32; break; in nv_general_validate_pic_size()
1964 case B_CMAP8: acc_mask = 0x3f; depth = 8; break; in nv_general_validate_pic_size()
1965 case B_RGB15: acc_mask = 0x1f; depth = 16; break; in nv_general_validate_pic_size()
1966 case B_RGB16: acc_mask = 0x1f; depth = 16; break; in nv_general_validate_pic_size()
1967 case B_RGB24: acc_mask = 0x3f; depth = 24; break; in nv_general_validate_pic_size()
[all …]