Lines Matching refs:row
29 int row=0, col=0; in scale_2dimage() local
31 for (row=0; row<dst_imgh; row++) { in scale_2dimage()
33 …*(dst_img + row * dst_imgw + col) = *(src_img + (row * src_imgh/dst_imgh) * src_imgw + col * src_i… in scale_2dimage()
59 int row, col; in YUV_blend_with_pic() local
95 for (row=0; row<height; row++) { in YUV_blend_with_pic()
96 unsigned char *p = Y_start + row * Y_pitch; in YUV_blend_with_pic()
97 unsigned char *q = pic_y + row * width; in YUV_blend_with_pic()
121 for (row=0; row<height/2*v_factor_to_nv12; row++) { in YUV_blend_with_pic()
122 unsigned char *pU = U_start + row * U_pitch; in YUV_blend_with_pic()
123 unsigned char *pV = V_start + row * V_pitch; in YUV_blend_with_pic()
124 unsigned char *qU = pic_u + row/v_factor_to_nv12 * width/2; in YUV_blend_with_pic()
125 unsigned char *qV = pic_v + row/v_factor_to_nv12 * width/2; in YUV_blend_with_pic()
153 int row, alpha; in yuvgen_planar() local
159 for (row=0;row<height;row++) { in yuvgen_planar()
160 unsigned char *Y_row = Y_start + row * Y_pitch; in yuvgen_planar()
163 ypos = (row / box_width) & 0x1; in yuvgen_planar()
166 if (((field == VA_TOP_FIELD) && (row &1)) in yuvgen_planar()
167 || ((field == VA_BOTTOM_FIELD) && ((row &1)==0))) { in yuvgen_planar()
186 for( row =0; row < height/2; row++) { in yuvgen_planar()
189 if (((field == VA_TOP_FIELD) && (row &1)) in yuvgen_planar()
190 || ((field == VA_BOTTOM_FIELD) && ((row &1)==0))) { in yuvgen_planar()
194 unsigned char *U_row = U_start + row * U_pitch; in yuvgen_planar()
195 unsigned char *V_row = V_start + row * V_pitch; in yuvgen_planar()
301 int Y_pitch=0, U_pitch=0, V_pitch=0, row; in upload_surface_yuv() local
342 for (row=0;row<src_height;row++) { in upload_surface_yuv()
343 unsigned char *Y_row = Y_start + row * Y_pitch; in upload_surface_yuv()
344 memcpy(Y_row, src_Y + row*src_width, src_width); in upload_surface_yuv()
347 for (row =0; row < src_height/2; row++) { in upload_surface_yuv()
348 unsigned char *U_row = U_start + row * U_pitch; in upload_surface_yuv()
354 memcpy(U_row, src_U + row * src_width, src_width); in upload_surface_yuv()
357 u_ptr = src_U + row * (src_width/2); in upload_surface_yuv()
358 v_ptr = src_V + row * (src_width/2); in upload_surface_yuv()
360 v_ptr = src_U + row * (src_width/2); in upload_surface_yuv()
361 u_ptr = src_V + row * (src_width/2); in upload_surface_yuv()
399 int Y_pitch=0, U_pitch=0, V_pitch=0, row; in download_surface_yuv() local
440 for (row=0;row<dst_height;row++) { in download_surface_yuv()
441 unsigned char *Y_row = Y_start + row * Y_pitch; in download_surface_yuv()
442 memcpy(dst_Y + row*dst_width, Y_row, dst_width); in download_surface_yuv()
445 for (row =0; row < dst_height/2; row++) { in download_surface_yuv()
446 unsigned char *U_row = U_start + row * U_pitch; in download_surface_yuv()
452 memcpy(dst_U + row * dst_width, U_row, dst_width); in download_surface_yuv()
455 u_ptr = dst_U + row * (dst_width/2); in download_surface_yuv()
456 v_ptr = dst_V + row * (dst_width/2); in download_surface_yuv()
458 v_ptr = dst_U + row * (dst_width/2); in download_surface_yuv()
459 u_ptr = dst_V + row * (dst_width/2); in download_surface_yuv()