Home
last modified time | relevance | path

Searched refs:yidx (Results 1 – 5 of 5) sorted by relevance

/external/libpng/contrib/gregbook/
Drpng2-x.c1083 int xidx, yidx, yidx_max; in rpng2_x_load_bg_image() local
1128 yidx = (int)(row % bgscale); in rpng2_x_load_bg_image()
1131 r1 = r1_min + (r1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1132 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1133 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1134 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1135 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1136 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_x_load_bg_image()
1138 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
1139 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_x_load_bg_image()
[all …]
Drpng2-win.c839 int xidx, yidx, yidx_max = (bgscale-1); in rpng2_win_load_bg_image() local
879 yidx = row % bgscale; in rpng2_win_load_bg_image()
882 r1 = r1_min + (r1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
883 g1 = g1_min + (g1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
884 b1 = b1_min + (b1_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
885 r1_inv = r1_min + (r1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
886 g1_inv = g1_min + (g1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
887 b1_inv = b1_min + (b1_diff * (yidx_max-yidx)) / yidx_max; in rpng2_win_load_bg_image()
889 r2 = r2_min + (r2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
890 g2 = g2_min + (g2_diff * yidx) / yidx_max; in rpng2_win_load_bg_image()
[all …]
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_xv.c312 int yidx, uidx, vidx; in copy_packed_data() local
332 yidx = uidx = vidx = 0; in copy_packed_data()
349 ymap[yidx++] = y[yoffset]; in copy_packed_data()
365 ymap[yidx++] = y1; in copy_packed_data()
366 ymap[yidx++] = y2; in copy_packed_data()
383 ymap[yidx++] = y1; in copy_packed_data()
384 ymap[yidx++] = y2; in copy_packed_data()
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl118 #ifndef yidx
119 #define yidx 0
581 float y00 = max(0.f, ((float) src[yidx]) - 16.f) * coeffs[0];
582 float y01 = max(0.f, ((float) src[yidx + 2]) - 16.f) * coeffs[0];
588 float y00 = max(0.f, vec_src[yidx] - 16.f) * coeffs[0];
589 float y01 = max(0.f, vec_src[yidx + 2] - 16.f) * coeffs[0];
/external/opencv3/modules/imgproc/src/
Dcolor.cpp6683 int scn = src.channels(), depth = src.depth(), bidx, uidx, yidx; in ocl_cvtColor() local
6886yidx = (code==COLOR_YUV2RGB_UYVY || code==COLOR_YUV2RGBA_UYVY || code==COLOR_YUV2BGR_UYVY || code=… in ocl_cvtColor()
6889 uidx = 1 - yidx + uidx; in ocl_cvtColor()
6895 … opts + format("-D dcn=%d -D bidx=%d -D uidx=%d -D yidx=%d%s", dcn, bidx, uidx, yidx, in ocl_cvtColor()