Lines Matching refs:src_width
26 static int ARGBTestFilter(int src_width, int src_height,
30 if (!SizeValid(src_width, src_height, dst_width, dst_height)) {
36 int64 src_argb_plane_size = (Abs(src_width) + b * 2) *
38 int src_stride_argb = (b * 2 + Abs(src_width)) * 4;
62 src_width, src_height,
67 src_width, src_height,
74 src_width, src_height,
84 src_width, src_height,
119 int src_width, int src_height,
134 src_width, src_height,
146 static int ARGBClipTestFilter(int src_width, int src_height,
149 if (!SizeValid(src_width, src_height, dst_width, dst_height)) {
154 int64 src_argb_plane_size = (Abs(src_width) + b * 2) *
156 int src_stride_argb = (b * 2 + Abs(src_width)) * 4;
170 for (j = b; j < (Abs(src_width) + b) * 4; ++j) {
187 src_width, src_height,
196 src_width, src_height,
317 int src_width, int src_height,
324 uint8* argb_buffer = static_cast<uint8*>(malloc(src_width * src_height * 4));
329 argb_buffer, src_width * 4,
330 src_width, src_height);
332 r = ARGBScaleClip(argb_buffer, src_width * 4,
333 src_width, src_height,
363 static int YUVToARGBTestFilter(int src_width, int src_height,
367 int64 src_y_plane_size = Abs(src_width) * Abs(src_height);
368 int64 src_uv_plane_size = ((Abs(src_width) + 1) / 2) *
370 int src_stride_y = Abs(src_width);
371 int src_stride_uv = (Abs(src_width) + 1) / 2;
387 FillRamp(src_y, Abs(src_width), Abs(src_height), 128, 1, 1);
388 FillRamp(src_u, (Abs(src_width) + 1) / 2, (Abs(src_height) + 1) / 2, 3, 1, 1);
389 src_width) + 1) / 2, (Abs(src_height) + 1) / 2, 4, 1, 1);
397 src_width, src_height,
409 src_width, src_height,