Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 5210) sorted by relevance

12345678910>>...209

/external/skqp/gm/
Dthinconcavepaths.cpp14 void draw_thin_stroked_rect(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_stroked_rect() argument
16 path.moveTo(10 + width, 10 + width); in draw_thin_stroked_rect()
17 path.lineTo(40, 10 + width); in draw_thin_stroked_rect()
19 path.lineTo(10 + width, 20); in draw_thin_stroked_rect()
21 path.lineTo(10, 20 + width); in draw_thin_stroked_rect()
22 path.lineTo(40 + width, 20 + width); in draw_thin_stroked_rect()
23 path.lineTo(40 + width, 10); in draw_thin_stroked_rect()
27 void draw_thin_right_angle(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_right_angle() argument
29 path.moveTo(10 + width, 10 + width); in draw_thin_right_angle()
30 path.lineTo(40, 10 + width); in draw_thin_right_angle()
[all …]
/external/skia/gm/
Dthinconcavepaths.cpp14 void draw_thin_stroked_rect(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_stroked_rect() argument
16 path.moveTo(10 + width, 10 + width); in draw_thin_stroked_rect()
17 path.lineTo(40, 10 + width); in draw_thin_stroked_rect()
19 path.lineTo(10 + width, 20); in draw_thin_stroked_rect()
21 path.lineTo(10, 20 + width); in draw_thin_stroked_rect()
22 path.lineTo(40 + width, 20 + width); in draw_thin_stroked_rect()
23 path.lineTo(40 + width, 10); in draw_thin_stroked_rect()
27 void draw_thin_right_angle(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_right_angle() argument
29 path.moveTo(10 + width, 10 + width); in draw_thin_right_angle()
30 path.lineTo(40, 10 + width); in draw_thin_right_angle()
[all …]
/external/libyuv/files/include/libyuv/
Drow.h693 int width);
699 int width);
706 int width);
712 int width);
718 int width);
724 int width);
730 int width);
736 int width);
742 int width);
747 int width);
[all …]
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Drow.h568 int width);
574 int width);
581 int width);
587 int width);
593 int width);
599 int width);
605 int width);
611 int width);
617 int width);
623 int width);
[all …]
/external/libyuv/files/source/
Dconvert_from_argb.cc33 int width, in ARGBToI444() argument
36 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int width) = in ARGBToI444()
39 int width) = ARGBToUV444Row_C; in ARGBToI444()
40 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in ARGBToI444()
49 if (src_stride_argb == width * 4 && dst_stride_y == width && in ARGBToI444()
50 dst_stride_u == width && dst_stride_v == width) { in ARGBToI444()
51 width *= height; in ARGBToI444()
58 if (IS_ALIGNED(width, 16)) { in ARGBToI444()
66 if (IS_ALIGNED(width, 8)) { in ARGBToI444()
74 if (IS_ALIGNED(width, 16)) { in ARGBToI444()
[all …]
Dplanar_functions.cc33 int width, in CopyPlane() argument
36 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; in CopyPlane()
44 if (src_stride_y == width && dst_stride_y == width) { in CopyPlane()
45 width *= height; in CopyPlane()
55 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; in CopyPlane()
60 CopyRow = IS_ALIGNED(width, 64) ? CopyRow_AVX : CopyRow_Any_AVX; in CopyPlane()
70 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_NEON : CopyRow_Any_NEON; in CopyPlane()
81 CopyRow(src_y, dst_y, width); in CopyPlane()
94 int width, in CopyPlane_16() argument
97 void (*CopyRow)(const uint16* src, uint16* dst, int width) = CopyRow_16_C; in CopyPlane_16()
[all …]
Dconvert_argb.cc33 int width, in ARGBCopy() argument
35 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBCopy()
45 CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb, width * 4, in ARGBCopy()
60 int width, in I420ToARGBMatrix() argument
65 const struct YuvConstants* yuvconstants, int width) = in I420ToARGBMatrix()
67 if (!src_y || !src_u || !src_v || !dst_argb || width <= 0 || height == 0) { in I420ToARGBMatrix()
79 if (IS_ALIGNED(width, 8)) { in I420ToARGBMatrix()
87 if (IS_ALIGNED(width, 16)) { in I420ToARGBMatrix()
95 if (IS_ALIGNED(width, 8)) { in I420ToARGBMatrix()
101 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) && in I420ToARGBMatrix()
[all …]
Dconvert.cc81 int width, in I420Copy() argument
83 int halfwidth = (width + 1) >> 1; in I420Copy()
85 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in I420Copy()
101 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Copy()
124 int width, in I422ToI420() argument
126 const int src_uv_width = SUBSAMPLE(width, 1, 1); in I422ToI420()
129 dst_v, dst_stride_v, width, height, src_uv_width, height); in I422ToI420()
147 int width, in I444ToI420() argument
151 dst_v, dst_stride_v, width, height, width, height); in I444ToI420()
164 int width, in I400ToI420() argument
[all …]
Drow_neon.cc133 int width) { in I444ToARGBRow_NEON() argument
148 "+r"(width) // %4 in I444ToARGBRow_NEON()
163 int width) { in I422ToARGBRow_NEON() argument
178 "+r"(width) // %4 in I422ToARGBRow_NEON()
194 int width) { in I422AlphaToARGBRow_NEON() argument
211 "+r"(width) // %5 in I422AlphaToARGBRow_NEON()
226 int width) { in I422ToRGBARow_NEON() argument
241 "+r"(width) // %4 in I422ToRGBARow_NEON()
256 int width) { in I422ToRGB24Row_NEON() argument
270 "+r"(width) // %4 in I422ToRGB24Row_NEON()
[all …]
Drow_neon64.cc133 int width) { in I444ToARGBRow_NEON() argument
148 "+r"(width) // %4 in I444ToARGBRow_NEON()
163 int width) { in I422ToARGBRow_NEON() argument
178 "+r"(width) // %4 in I422ToARGBRow_NEON()
194 int width) { in I422AlphaToARGBRow_NEON() argument
211 "+r"(width) // %5 in I422AlphaToARGBRow_NEON()
226 int width) { in I422ToRGBARow_NEON() argument
241 "+r"(width) // %4 in I422ToRGBARow_NEON()
256 int width) { in I422ToRGB24Row_NEON() argument
270 "+r"(width) // %4 in I422ToRGB24Row_NEON()
[all …]
Dconvert_from.cc83 int width, in I420ToI422() argument
85 const int dst_uv_width = (Abs(width) + 1) >> 1; in I420ToI422()
89 dst_v, dst_stride_v, width, height, dst_uv_width, in I420ToI422()
108 int width, in I420ToI444() argument
110 const int dst_uv_width = Abs(width); in I420ToI444()
114 dst_v, dst_stride_v, width, height, dst_uv_width, in I420ToI444()
124 int width, in I400Copy() argument
126 if (!src_y || !dst_y || width <= 0 || height == 0) { in I400Copy()
135 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I400Copy()
148 int width, in I422ToYUY2() argument
[all …]
Drow_gcc.cc156 void J400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int width) { in J400ToARGBRow_SSE2() argument
177 "+r"(width) // %2 in J400ToARGBRow_SSE2()
184 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int width) { in RGB24ToARGBRow_SSSE3() argument
216 "+r"(width) // %2 in RGB24ToARGBRow_SSSE3()
222 void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int width) { in RAWToARGBRow_SSSE3() argument
254 "+r"(width) // %2 in RAWToARGBRow_SSSE3()
260 void RAWToRGB24Row_SSSE3(const uint8* src_raw, uint8* dst_rgb24, int width) { in RAWToRGB24Row_SSSE3() argument
282 "+r"(width) // %2 in RAWToRGB24Row_SSSE3()
290 void RGB565ToARGBRow_SSE2(const uint8* src, uint8* dst, int width) { in RGB565ToARGBRow_SSE2() argument
331 "+r"(width) // %2 in RGB565ToARGBRow_SSE2()
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dplanar_functions.cc31 int width, int height) { in CopyPlane() argument
33 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; in CopyPlane()
41 if (src_stride_y == width && in CopyPlane()
42 dst_stride_y == width) { in CopyPlane()
43 width *= height; in CopyPlane()
53 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; in CopyPlane()
58 CopyRow = IS_ALIGNED(width, 64) ? CopyRow_AVX : CopyRow_Any_AVX; in CopyPlane()
68 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_NEON : CopyRow_Any_NEON; in CopyPlane()
79 CopyRow(src_y, dst_y, width); in CopyPlane()
89 int width, int height) { in CopyPlane_16() argument
[all …]
Dconvert_from_argb.cc29 int width, int height) { in ARGBToI444() argument
31 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int width) = in ARGBToI444()
34 int width) = ARGBToUV444Row_C; in ARGBToI444()
35 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in ARGBToI444()
44 if (src_stride_argb == width * 4 && in ARGBToI444()
45 dst_stride_y == width && in ARGBToI444()
46 dst_stride_u == width && in ARGBToI444()
47 dst_stride_v == width) { in ARGBToI444()
48 width *= height; in ARGBToI444()
55 if (IS_ALIGNED(width, 16)) { in ARGBToI444()
[all …]
Dconvert_argb.cc31 int width, int height) { in ARGBCopy() argument
33 width <= 0 || height == 0) { in ARGBCopy()
44 width * 4, height); in ARGBCopy()
54 int width, int height) { in I420ToARGBMatrix() argument
61 int width) = I422ToARGBRow_C; in I420ToARGBMatrix()
63 width <= 0 || height == 0) { in I420ToARGBMatrix()
75 if (IS_ALIGNED(width, 8)) { in I420ToARGBMatrix()
83 if (IS_ALIGNED(width, 16)) { in I420ToARGBMatrix()
91 if (IS_ALIGNED(width, 8)) { in I420ToARGBMatrix()
97 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) && in I420ToARGBMatrix()
[all …]
Dconvert.cc70 int width, int height) { in I420Copy() argument
71 int halfwidth = (width + 1) >> 1; in I420Copy()
75 width <= 0 || height == 0) { in I420Copy()
91 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Copy()
108 int width, int height) { in I422ToI420() argument
109 const int src_uv_width = SUBSAMPLE(width, 1, 1); in I422ToI420()
116 width, height, in I422ToI420()
129 int width, int height) { in I444ToI420() argument
136 width, height, in I444ToI420()
137 width, height); in I444ToI420()
[all …]
Drow_neon.cc142 int width) { in I444ToARGBRow_NEON() argument
157 "+r"(width) // %4 in I444ToARGBRow_NEON()
172 int width) { in I422ToARGBRow_NEON() argument
187 "+r"(width) // %4 in I422ToARGBRow_NEON()
203 int width) { in I422AlphaToARGBRow_NEON() argument
220 "+r"(width) // %5 in I422AlphaToARGBRow_NEON()
235 int width) { in I411ToARGBRow_NEON() argument
250 "+r"(width) // %4 in I411ToARGBRow_NEON()
265 int width) { in I422ToRGBARow_NEON() argument
280 "+r"(width) // %4 in I422ToRGBARow_NEON()
[all …]
Drow_neon64.cc135 int width) { in I444ToARGBRow_NEON() argument
150 "+r"(width) // %4 in I444ToARGBRow_NEON()
165 int width) { in I422ToARGBRow_NEON() argument
180 "+r"(width) // %4 in I422ToARGBRow_NEON()
196 int width) { in I422AlphaToARGBRow_NEON() argument
213 "+r"(width) // %5 in I422AlphaToARGBRow_NEON()
228 int width) { in I411ToARGBRow_NEON() argument
243 "+r"(width) // %4 in I411ToARGBRow_NEON()
258 int width) { in I422ToRGBARow_NEON() argument
273 "+r"(width) // %4 in I422ToRGBARow_NEON()
[all …]
Dconvert_from.cc72 int width, int height) { in I420ToI422() argument
73 const int dst_uv_width = (Abs(width) + 1) >> 1; in I420ToI422()
81 width, height, in I420ToI422()
94 int width, int height) { in I420ToI444() argument
95 const int dst_uv_width = Abs(width); in I420ToI444()
103 width, height, in I420ToI444()
116 int width, int height) { in I420ToI411() argument
117 const int dst_uv_width = (Abs(width) + 3) >> 2; in I420ToI411()
125 width, height, in I420ToI411()
133 int width, int height) { in I400Copy() argument
[all …]
Drow_gcc.cc189 void J400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int width) { in J400ToARGBRow_SSE2() argument
210 "+r"(width) // %2 in J400ToARGBRow_SSE2()
217 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int width) { in RGB24ToARGBRow_SSSE3() argument
249 "+r"(width) // %2 in RGB24ToARGBRow_SSSE3()
255 void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int width) { in RAWToARGBRow_SSSE3() argument
287 "+r"(width) // %2 in RAWToARGBRow_SSSE3()
293 void RAWToRGB24Row_SSSE3(const uint8* src_raw, uint8* dst_rgb24, int width) { in RAWToRGB24Row_SSSE3() argument
315 "+r"(width) // %2 in RAWToRGB24Row_SSSE3()
323 void RGB565ToARGBRow_SSE2(const uint8* src, uint8* dst, int width) { in RGB565ToARGBRow_SSE2() argument
364 "+r"(width) // %2 in RGB565ToARGBRow_SSE2()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_double.pass.cpp70 ios.width(0); in test1()
75 assert(ios.width() == 0); in test1()
77 ios.width(25); in test1()
83 assert(ios.width() == 0); in test1()
85 ios.width(25); in test1()
91 assert(ios.width() == 0); in test1()
93 ios.width(25); in test1()
99 assert(ios.width() == 0); in test1()
104 ios.width(0); in test1()
109 assert(ios.width() == 0); in test1()
[all …]
Dput_long_double.pass.cpp75 ios.width(0); in test1()
80 assert(ios.width() == 0); in test1()
82 ios.width(25); in test1()
88 assert(ios.width() == 0); in test1()
90 ios.width(25); in test1()
96 assert(ios.width() == 0); in test1()
98 ios.width(25); in test1()
104 assert(ios.width() == 0); in test1()
109 ios.width(0); in test1()
114 assert(ios.width() == 0); in test1()
[all …]
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderMaskUtil.cpp41 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule2() local
44 for (int32_t x = 0; x < width - 1; x++) { in ApplyMaskPenaltyRule2()
45 int32_t value = array[y * width + x]; in ApplyMaskPenaltyRule2()
46 if (value == array[y * width + x + 1] && in ApplyMaskPenaltyRule2()
47 value == array[(y + 1) * width + x] && in ApplyMaskPenaltyRule2()
48 value == array[(y + 1) * width + x + 1]) { in ApplyMaskPenaltyRule2()
60 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule3() local
63 for (int32_t x = 0; x < width; ++x) { in ApplyMaskPenaltyRule3()
68 if (x == width - 7 && (y >= 0 && y <= 6)) { in ApplyMaskPenaltyRule3()
72 ((x >= 0 && x <= 6) || (x >= width - 7 && x <= width - 1))) { in ApplyMaskPenaltyRule3()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_zs.h37 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
41 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
45 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
49 …, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height);
53 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
57 …nsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigned height);
61 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
65 …, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height);
69 …unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height);
73 …nsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigned height);
[all …]
/external/libdrm/tests/util/
Dpattern.c78 unsigned char *v_mem, unsigned int width, in fill_smpte_yuv_planar() argument
117 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar()
118 y_mem[x] = colors_top[x * 7 / width].y; in fill_smpte_yuv_planar()
123 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar()
124 y_mem[x] = colors_middle[x * 7 / width].y; in fill_smpte_yuv_planar()
129 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_yuv_planar()
130 y_mem[x] = colors_bottom[x * 4 / (width * 5 / 7)].y; in fill_smpte_yuv_planar()
131 for (; x < width * 6 / 7; ++x) in fill_smpte_yuv_planar()
132 y_mem[x] = colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_yuv_planar()
133 / (width / 7) + 4].y; in fill_smpte_yuv_planar()
[all …]

12345678910>>...209