Lines Matching refs:sttt_xres
91 static int sttt_xres = 640, st_yres = 400, tt_yres = 480; variable
601 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2) in tt_decode_var()
604 xres = sttt_xres * 2; in tt_decode_var()
608 if (bpp > 8 || xres > sttt_xres || yres > tt_yres) in tt_decode_var()
611 if (xres > sttt_xres / 2 || yres > tt_yres) in tt_decode_var()
614 xres = sttt_xres / 2; in tt_decode_var()
618 if (xres > sttt_xres || yres > tt_yres) in tt_decode_var()
620 if (xres > sttt_xres / 2 || yres > st_yres / 2) { in tt_decode_var()
622 xres = sttt_xres; in tt_decode_var()
627 xres = sttt_xres / 2; in tt_decode_var()
632 if (xres > sttt_xres || yres > st_yres / 2) in tt_decode_var()
635 xres = sttt_xres; in tt_decode_var()
638 } else if (var->xres > sttt_xres || var->yres > st_yres) { in tt_decode_var()
642 xres = sttt_xres; in tt_decode_var()
695 var->xres = sttt_xres / 2; in tt_encode_var()
701 var->xres = sttt_xres; in tt_encode_var()
707 var->xres = sttt_xres; in tt_encode_var()
713 var->xres = sttt_xres / 2; in tt_encode_var()
719 var->xres = sttt_xres; in tt_encode_var()
726 var->xres = sttt_xres * 2; in tt_encode_var()
1828 if (bpp > 1 || xres > sttt_xres || yres > st_yres) in stste_decode_var()
1831 xres = sttt_xres; in stste_decode_var()
1835 if (bpp > 4 || xres > sttt_xres || yres > st_yres) in stste_decode_var()
1838 if (xres > sttt_xres / 2 || yres > st_yres / 2) in stste_decode_var()
1841 xres = sttt_xres / 2; in stste_decode_var()
1845 if (xres > sttt_xres || yres > st_yres / 2) in stste_decode_var()
1848 xres = sttt_xres; in stste_decode_var()
1903 var->xres = sttt_xres / 2; in stste_encode_var()
1908 var->xres = sttt_xres; in stste_encode_var()
1913 var->xres = sttt_xres; in stste_encode_var()
2927 sttt_xres = xres; in atafb_setup_int()