Lines Matching refs:src_width
23 // src_width is used for source stride computation
34 int src_width, int src_height,
39 int aligned_src_width = (src_width + 1) & ~1;
60 src_width <= 0 || crop_width <= 0 ||
103 src = sample + (src_width * crop_y + crop_x) * 2;
104 r = RGB565ToI420(src, src_width * 2,
111 src = sample + (src_width * crop_y + crop_x) * 2;
112 r = ARGB1555ToI420(src, src_width * 2,
119 src = sample + (src_width * crop_y + crop_x) * 2;
120 r = ARGB4444ToI420(src, src_width * 2,
127 src = sample + (src_width * crop_y + crop_x) * 3;
128 r = RGB24ToI420(src, src_width * 3,
135 src = sample + (src_width * crop_y + crop_x) * 3;
136 r = RAWToI420(src, src_width * 3,
143 src = sample + (src_width * crop_y + crop_x) * 4;
144 r = ARGBToI420(src, src_width * 4,
151 src = sample + (src_width * crop_y + crop_x) * 4;
152 r = BGRAToI420(src, src_width * 4,
159 src = sample + (src_width * crop_y + crop_x) * 4;
160 r = ABGRToI420(src, src_width * 4,
167 src = sample + (src_width * crop_y + crop_x) * 4;
168 r = RGBAToI420(src, src_width * 4,
175 src = sample + src_width * crop_y + crop_x;
176 r = I400ToI420(src, src_width,
184 src = sample + (src_width * crop_y + crop_x);
185 src_uv = sample + (src_width * src_height) +
187 r = NV12ToI420Rotate(src, src_width,
195 src = sample + (src_width * crop_y + crop_x);
196 src_uv = sample + (src_width * src_height) +
199 r = NV12ToI420Rotate(src, src_width,
207 src = sample + (src_width * crop_y) * 12 / 8 + crop_x;
208 r = M420ToI420(src, src_width,
217 const uint8* src_y = sample + (src_width * crop_y + crop_x);
220 int halfwidth = (src_width + 1) / 2;
223 src_v = sample + src_width * abs_src_height +
225 src_u = sample + src_width * abs_src_height +
228 src_u = sample + src_width * abs_src_height +
230 src_v = sample + src_width * abs_src_height +
233 r = I420Rotate(src_y, src_width,
244 const uint8* src_y = sample + src_width * crop_y + crop_x;
247 int halfwidth = (src_width + 1) / 2;
249 src_v = sample + src_width * abs_src_height +
251 src_u = sample + src_width * abs_src_height +
254 src_u = sample + src_width * abs_src_height +
256 src_v = sample + src_width * abs_src_height +
259 r = I422ToI420(src_y, src_width,
270 const uint8* src_y = sample + src_width * crop_y + crop_x;
274 src_v = sample + src_width * (abs_src_height + crop_y) + crop_x;
275 src_u = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x;
277 src_u = sample + src_width * (abs_src_height + crop_y) + crop_x;
278 src_v = sample + src_width * (abs_src_height * 2 + crop_y) + crop_x;
280 r = I444ToI420(src_y, src_width,
281 src_u, src_width,
282 src_v, src_width,
290 int quarterwidth = (src_width + 3) / 4;
291 const uint8* src_y = sample + src_width * crop_y + crop_x;
292 const uint8* src_u = sample + src_width * abs_src_height +
294 const uint8* src_v = sample + src_width * abs_src_height +
296 r = I411ToI420(src_y, src_width,
311 src_width, abs_src_height, crop_width, inv_crop_height);