Home | History | Annotate | Download | only in dib

Lines Matching refs:res_y

41     inline void	Transform(int x, int y, int& x1, int& y1, int&res_x, int&res_y)

46 res_y = y1 % base;
50 if (res_y < 0 && res_x > -base) {
51 res_y = base + res_y;
265 int src_col_l, int src_col_r, int res_x, int res_y,
279 return (r_pos_0 * (255 - res_y) + r_pos_1 * res_y) >> 8;
281 FX_BYTE _bicubic_interpol(FX_LPCBYTE buf, int pitch, int pos_pixel[], int u_w[], int v_w[], int res_x, int res_y,
296 int res_x, int res_y, int stretch_width, int stretch_height)
324 v_w[0] = SDP_Table[256 + res_y];
325 v_w[1] = SDP_Table[res_y];
326 v_w[2] = SDP_Table[256 - res_y];
327 v_w[3] = SDP_Table[512 - res_y];
397 int src_col_l, src_row_l, res_x, res_y;
398 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
416 *dest_pos_mask = _bilinear_interpol(stretch_buf_mask, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, 1, 0);
427 int src_col_l, src_row_l, res_x, res_y;
428 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
437 _bicubic_get_pos_weight(pos_pixel, u_w, v_w, src_col_l, src_row_l, res_x, res_y, stretch_width, stretch_height);
438 *dest_pos_mask = _bicubic_interpol(stretch_buf_mask, stretch_pitch_mask, pos_pixel, u_w, v_w, res_x, res_y, 1, 0);
470 int src_col_l, src_row_l, res_x, res_y;
471 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
489 *dest_scan = _bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, 1, 0);
500 int src_col_l, src_row_l, res_x, res_y;
501 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
510 _bicubic_get_pos_weight(pos_pixel, u_w, v_w, src_col_l, src_row_l, res_x, res_y, stretch_width, stretch_height);
511 *dest_scan = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, 1, 0);
563 int src_col_l, src_row_l, res_x, res_y;
564 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
582 FX_DWORD r_bgra_cmyk = argb[_bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, 1, 0)];
600 int src_col_l, src_row_l, res_x, res_y;
601 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
610 _bicubic_get_pos_weight(pos_pixel, u_w, v_w, src_col_l, src_row_l, res_x, res_y, stretch_width, stretch_height);
611 FX_DWORD r_bgra_cmyk = argb[_bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, 1, 0)];
658 int src_col_l, src_row_l, res_x, res_y, r_pos_k_r = 0;
659 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
677 FX_BYTE r_pos_red_y_r = _bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 2);
678 FX_BYTE r_pos_green_m_r = _bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 1);
679 FX_BYTE r_pos_blue_c_r = _bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 0);
687 r_pos_k_r = _bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 3);
691 FX_BYTE r_pos_a_r = _bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 3);
697 r_pos_k_r = _bilinear_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 3);
713 int src_col_l, src_row_l, res_x, res_y, r_pos_k_r = 0;
714 result2stretch_fix.Transform(col, row, src_col_l, src_row_l, res_x, res_y);
723 _bicubic_get_pos_weight(pos_pixel, u_w, v_w, src_col_l, src_row_l, res_x, res_y, stretch_width, stretch_height);
724 FX_BYTE r_pos_red_y_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 2);
725 FX_BYTE r_pos_green_m_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 1);
726 FX_BYTE r_pos_blue_c_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 0);
734 r_pos_k_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 3);
738 FX_BYTE r_pos_a_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 3);
744 r_pos_k_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 3);