Home
last modified time | relevance | path

Searched refs:y_factor (Results 1 – 3 of 3) sorted by relevance

/hardware/intel/common/libva/test/
Dloadsurface.h157 int y_factor = 1; in yuvgen_planar() local
158 if (fourcc == VA_FOURCC_YUY2) y_factor = 2; in yuvgen_planar()
175 Y_row[jj*y_factor] = 0xeb; in yuvgen_planar()
177 Y_row[jj*y_factor] = 0x10; in yuvgen_planar()
180 Y_row[jj*y_factor+1] = uv_value; // it is for UV in yuvgen_planar()
/hardware/ti/omap4xxx/hwc/
Dhwc.c552 float y_factor = orig_yres * scr_width; in get_max_dimensions() local
555 if (x_factor < y_factor * (1.f - ASPECT_RATIO_TOLERANCE)) in get_max_dimensions()
556 *adj_xres = (__u32) (x_factor * *adj_xres / y_factor + 0.5); in get_max_dimensions()
557 else if (x_factor * (1.f - ASPECT_RATIO_TOLERANCE) > y_factor) in get_max_dimensions()
558 *adj_yres = (__u32) (y_factor * *adj_yres / x_factor + 0.5); in get_max_dimensions()
/hardware/ti/omap4-aah/hwc/
Dhwc.c741 float y_factor = orig_yres * scr_width; in get_max_dimensions() local
744 if (x_factor < y_factor * (1.f - ASPECT_RATIO_TOLERANCE)) in get_max_dimensions()
745 *adj_xres = (__u32) (x_factor * *adj_xres / y_factor + 0.5); in get_max_dimensions()
746 else if (x_factor * (1.f - ASPECT_RATIO_TOLERANCE) > y_factor) in get_max_dimensions()
747 *adj_yres = (__u32) (y_factor * *adj_yres / x_factor + 0.5); in get_max_dimensions()