Home | History | Annotate | Download | only in photon

Lines Matching refs:bpp

113 /* return the mode associated with width, height and bpp */
115 int ph_GetVideoMode(int width, int height, int bpp)
141 (mode_info.bits_per_pixel == bpp))
148 (mode_info.bits_per_pixel == bpp))
165 /* return the mode associated with width, height and bpp */
166 /* if requested bpp is not found the mode with closest bpp is returned */
167 int get_mode_any_format(int width, int height, int bpp)
192 /* get closest bpp */
194 if (mode_info.bits_per_pixel == bpp)
199 min_delta = abs(mode_info.bits_per_pixel - bpp);
214 if (mode_info.bits_per_pixel == bpp)
221 delta = abs(mode_info.bits_per_pixel - bpp);