Lines Matching defs:target

538 status_t eng_general_validate_pic_size (display_mode *target, uint32 *bytes_per_row, bool *acc_mode)
552 switch (target->space)
560 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
573 switch (target->space)
581 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
594 switch(target->space)
602 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
609 switch(target->space)
617 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
626 switch(target->space)
634 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
645 switch(target->space)
653 LOG(8,("INIT: unknown color space: 0x%08x\n", target->space));
667 if (target->virtual_width > max_acc_width) *acc_mode = false;
671 if (target->virtual_height > 4096) *acc_mode = false;
674 if (target->virtual_width > max_crtc_width) target->virtual_width = max_crtc_width;
678 if (target->virtual_height > 65535) target->virtual_height = 65535;
687 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
689 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask);
692 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
704 if (target->virtual_height > 4096) *acc_mode = false;
710 if (target->virtual_width > (max_crtc_width & ~acc_mask))
711 target->virtual_width = (max_crtc_width & ~acc_mask);
715 if (target->virtual_width > max_crtc_width)
716 target->virtual_width = max_crtc_width;
721 if (target->virtual_height > 65535) target->virtual_height = 65535;
730 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
732 video_pitch = ((target->virtual_width + acc_mask) & ~acc_mask);
735 video_pitch = ((target->virtual_width + crtc_mask) & ~crtc_mask);
739 video_pitch, target->space));
740 if (target->virtual_width != video_pitch)
742 (video_pitch - target->virtual_width)));