Lines Matching defs:target

537 status_t eng_general_validate_pic_size (display_mode *target, uint32 *bytes_per_row, bool *acc_mode)
551 switch (target->space)
559 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
572 switch (target->space)
580 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
593 switch(target->space)
601 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
608 switch(target->space)
616 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
625 switch(target->space)
633 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
644 switch(target->space)
652 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
666 if (target->virtual_width > max_acc_width) *acc_mode = false;
670 if (target->virtual_height > 4096) *acc_mode = false;
673 if (target->virtual_width > max_crtc_width) target->virtual_width = max_crtc_width;
677 if (target->virtual_height > 65535) target->virtual_height = 65535;
686 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
688 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask);
691 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
703 if (target->virtual_height > 4096) *acc_mode = false;
709 if (target->virtual_width > (max_crtc_width & ~acc_mask))
710 target->virtual_width = (max_crtc_width & ~acc_mask);
714 if (target->virtual_width > max_crtc_width)
715 target->virtual_width = max_crtc_width;
720 if (target->virtual_height > 65535) target->virtual_height = 65535;
729 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
731 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask);
734 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
738 video_pitch, target->space));
739 if (target->virtual_width != video_pitch)
741 (video_pitch - target->virtual_width)));