Home
last modified time | relevance | path

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

12345678910>>...334

/third_party/skia/gm/
Dthinconcavepaths.cpp16 void draw_thin_stroked_rect(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_stroked_rect() argument
18 path.moveTo(10 + width, 10 + width); in draw_thin_stroked_rect()
19 path.lineTo(40, 10 + width); in draw_thin_stroked_rect()
21 path.lineTo(10 + width, 20); in draw_thin_stroked_rect()
23 path.lineTo(10, 20 + width); in draw_thin_stroked_rect()
24 path.lineTo(40 + width, 20 + width); in draw_thin_stroked_rect()
25 path.lineTo(40 + width, 10); in draw_thin_stroked_rect()
29 void draw_thin_right_angle(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_right_angle() argument
31 path.moveTo(10 + width, 10 + width); in draw_thin_right_angle()
32 path.lineTo(40, 10 + width); in draw_thin_right_angle()
[all …]
/third_party/flutter/skia/gm/
Dthinconcavepaths.cpp16 void draw_thin_stroked_rect(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_stroked_rect() argument
18 path.moveTo(10 + width, 10 + width); in draw_thin_stroked_rect()
19 path.lineTo(40, 10 + width); in draw_thin_stroked_rect()
21 path.lineTo(10 + width, 20); in draw_thin_stroked_rect()
23 path.lineTo(10, 20 + width); in draw_thin_stroked_rect()
24 path.lineTo(40 + width, 20 + width); in draw_thin_stroked_rect()
25 path.lineTo(40 + width, 10); in draw_thin_stroked_rect()
29 void draw_thin_right_angle(SkCanvas* canvas, const SkPaint& paint, SkScalar width) { in draw_thin_right_angle() argument
31 path.moveTo(10 + width, 10 + width); in draw_thin_right_angle()
32 path.lineTo(40, 10 + width); in draw_thin_right_angle()
[all …]
/third_party/mesa3d/src/util/format/
Du_format_bptc.c38 unsigned width, unsigned height) in util_format_bptc_rgba_unorm_unpack_rgba_8unorm() argument
40 decompress_rgba_unorm(width, height, in util_format_bptc_rgba_unorm_unpack_rgba_8unorm()
48 unsigned width, unsigned height) in util_format_bptc_rgba_unorm_pack_rgba_8unorm() argument
50 compress_rgba_unorm(width, height, in util_format_bptc_rgba_unorm_pack_rgba_8unorm()
58 unsigned width, unsigned height) in util_format_bptc_rgba_unorm_unpack_rgba_float() argument
61 temp_block = malloc(width * height * 4 * sizeof(uint8_t)); in util_format_bptc_rgba_unorm_unpack_rgba_float()
62 decompress_rgba_unorm(width, height, in util_format_bptc_rgba_unorm_unpack_rgba_float()
64 temp_block, width * 4 * sizeof(uint8_t)); in util_format_bptc_rgba_unorm_unpack_rgba_float()
70 temp_block + 4 * width * y, in util_format_bptc_rgba_unorm_unpack_rgba_float()
71 width); in util_format_bptc_rgba_unorm_unpack_rgba_float()
[all …]
Du_format_zs.h40 …dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
44 …dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
48 …dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
52 …d dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
56 …dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
60 …st_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
64 …dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
68 …d dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
72 …dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
76 …st_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height);
[all …]
Du_format_zs.c116 unsigned width, unsigned height) in util_format_s8_uint_unpack_s_8uint() argument
120 memcpy(dst_row, src_row, width); in util_format_s8_uint_unpack_s_8uint()
129 unsigned width, unsigned height) in util_format_s8_uint_pack_s_8uint() argument
133 memcpy(dst_row, src_row, width); in util_format_s8_uint_pack_s_8uint()
142 unsigned width, unsigned height) in util_format_z16_unorm_unpack_z_float() argument
148 for(x = 0; x < width; ++x) { in util_format_z16_unorm_unpack_z_float()
159 unsigned width, unsigned height) in util_format_z16_unorm_pack_z_float() argument
165 for(x = 0; x < width; ++x) { in util_format_z16_unorm_pack_z_float()
176 unsigned width, unsigned height) in util_format_z16_unorm_unpack_z_32unorm() argument
182 for(x = 0; x < width; ++x) { in util_format_z16_unorm_unpack_z_32unorm()
[all …]
/third_party/skia/src/images/
DSkImageEncoderFns.h17 typedef void (*transform_scanline_proc)(char* dst, const char* src, int width, int bpp);
19 static inline void transform_scanline_memcpy(char* dst, const char* src, int width, int bpp) { in transform_scanline_memcpy() argument
20 memcpy(dst, src, width * bpp); in transform_scanline_memcpy()
23 static inline void transform_scanline_A8_to_GrayAlpha(char* dst, const char* src, int width, int) { in transform_scanline_A8_to_GrayAlpha() argument
24 for (int i = 0; i < width; i++) { in transform_scanline_A8_to_GrayAlpha()
38 static inline void transform_scanline_gray(char* dst, const char* src, int width, int) { in transform_scanline_gray() argument
39 skcms(dst, src, width, in transform_scanline_gray()
44 static inline void transform_scanline_565(char* dst, const char* src, int width, int) { in transform_scanline_565() argument
45 skcms(dst, src, width, in transform_scanline_565()
50 static inline void transform_scanline_RGBX(char* dst, const char* src, int width, int) { in transform_scanline_RGBX() argument
[all …]
/third_party/flutter/skia/src/images/
DSkImageEncoderFns.h17 typedef void (*transform_scanline_proc)(char* dst, const char* src, int width, int bpp);
19 static inline void transform_scanline_memcpy(char* dst, const char* src, int width, int bpp) { in transform_scanline_memcpy() argument
20 memcpy(dst, src, width * bpp); in transform_scanline_memcpy()
23 static inline void transform_scanline_A8_to_GrayAlpha(char* dst, const char* src, int width, int) { in transform_scanline_A8_to_GrayAlpha() argument
24 for (int i = 0; i < width; i++) { in transform_scanline_A8_to_GrayAlpha()
38 static inline void transform_scanline_gray(char* dst, const char* src, int width, int) { in transform_scanline_gray() argument
39 skcms(dst, src, width, in transform_scanline_gray()
44 static inline void transform_scanline_565(char* dst, const char* src, int width, int) { in transform_scanline_565() argument
45 skcms(dst, src, width, in transform_scanline_565()
50 static inline void transform_scanline_RGBX(char* dst, const char* src, int width, int) { in transform_scanline_RGBX() argument
[all …]
/third_party/gstreamer/gstplugins_bad/tests/validate/opencv/cvtracker/flow-expectations/
Dlog-tracker-src-expected2 …(string)progressive, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, width=(int)320;
5 …:00:00.033333333, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=139, y=99, width=50, height=50]
6 …00:00.033333334, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=144, y=104, width=49, height=49]
7 …00:00.033333333, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=149, y=108, width=50, height=50]
8 …00:00.033333333, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=153, y=113, width=49, height=49]
9 …00:00.033333334, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=157, y=117, width=50, height=50]
10 …00:00.033333333, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=161, y=121, width=50, height=50]
11 …00:00.033333333, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=166, y=126, width=49, height=49]
12 …00:00.033333334, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=171, y=130, width=49, height=49]
13 …00:00.033333333, meta=GstVideoMeta, GstVideoRegionOfInterestMeta[x=175, y=135, width=48, height=48]
[all …]
/third_party/ffmpeg/tests/checkasm/
Dllviddsp.c39 #define init_buffer(a0, a1, type, width)\ argument
42 randomize_buffers(a0, width * sizeof(type));\
43 memcpy(a1, a0, width*sizeof(type));\
45 static void check_add_bytes(LLVidDSPContext c, int width) in check_add_bytes() argument
47 uint8_t *dst0 = av_mallocz(width); in check_add_bytes()
48 uint8_t *dst1 = av_mallocz(width); in check_add_bytes()
49 uint8_t *src0 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_bytes()
50 uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_bytes()
53 init_buffer(src0, src1, uint8_t, width); in check_add_bytes()
60 call_ref(dst0, src0, width); in check_add_bytes()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcCompressedFormatTests_data.inl26 GLsizei width; member
37 240, // GLsizei width
42 120, // GLsizei width
47 240, // GLsizei width
57 240, // GLsizei width
62 120, // GLsizei width
67 240, // GLsizei width
77 240, // GLsizei width
82 120, // GLsizei width
87 240, // GLsizei width
[all …]
/third_party/musl/porting/liteos_a/user/src/stdlib/
Dqsort.c45 void qsort(void *base, size_t nel, size_t width, cmpfun cmp) in qsort() argument
49 char temp[width]; in qsort()
51 if (width == 0 || base == NULL || nel == 0) { in qsort()
56 end = start + (nel - 1) * width; in qsort()
60 for (l = start + width; l <= end; l += width) { in qsort()
61 memcpy(temp, l, width); in qsort()
62 for (m = l - width; m >= start; m -= width) { in qsort()
64 memcpy((m + width), m, width); in qsort()
69 memcpy((m + width), temp, width); in qsort()
75 m = start + (nel >> 1) * width; in qsort()
[all …]
/third_party/libdrm/tests/util/
Dpattern.c161 unsigned char *v_mem, unsigned int width, in fill_smpte_yuv_planar() argument
200 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar()
201 y_mem[x] = colors_top[x * 7 / width].y; in fill_smpte_yuv_planar()
206 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar()
207 y_mem[x] = colors_middle[x * 7 / width].y; in fill_smpte_yuv_planar()
212 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_yuv_planar()
213 y_mem[x] = colors_bottom[x * 4 / (width * 5 / 7)].y; in fill_smpte_yuv_planar()
214 for (; x < width * 6 / 7; ++x) in fill_smpte_yuv_planar()
215 y_mem[x] = colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_yuv_planar()
216 / (width / 7) + 4].y; in fill_smpte_yuv_planar()
[all …]
/third_party/ffmpeg/libavfilter/x86/
Dvf_gradfun_init.c45 int width, int thresh, in gradfun_filter_line_mmxext() argument
49 if (width & 3) { in gradfun_filter_line_mmxext()
50 x = width & ~3; in gradfun_filter_line_mmxext()
52 width - x, thresh, dithers); in gradfun_filter_line_mmxext()
53 width = x; in gradfun_filter_line_mmxext()
55 x = -width; in gradfun_filter_line_mmxext()
56 ff_gradfun_filter_line_mmxext(x, dst + width, src + width, dc + width / 2, in gradfun_filter_line_mmxext()
61 int width, int thresh, in gradfun_filter_line_ssse3() argument
65 if (width & 7) { in gradfun_filter_line_ssse3()
67 x = width & ~7; in gradfun_filter_line_ssse3()
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dwrap_test.dart25 SizedBox(width: 300.0, height: 100.0),
26 SizedBox(width: 300.0, height: 100.0),
27 SizedBox(width: 300.0, height: 100.0),
28 SizedBox(width: 300.0, height: 100.0),
44 SizedBox(width: 300.0, height: 100.0),
45 SizedBox(width: 300.0, height: 100.0),
46 SizedBox(width: 300.0, height: 100.0),
47 SizedBox(width: 300.0, height: 100.0),
63 SizedBox(width: 300.0, height: 100.0),
64 SizedBox(width: 300.0, height: 100.0),
[all …]
/third_party/typescript/tests/baselines/reference/
DdestructuringAssignmentWithDefault.types21 function f1(options?: { color?: string, width?: number }) {
22 >f1 : (options?: { color?: string | undefined; width?: number | undefined; } | undefined) => void
23 >options : { color?: string | undefined; width?: number | undefined; } | undefined
25 >width : number | undefined
27 let { color, width } = options || {};
29 >width : number | undefined
30 >options || {} : { color?: string | undefined; width?: number | undefined; }
31 >options : { color?: string | undefined; width?: number | undefined; } | undefined
34 ({ color, width } = options || {});
35 >({ color, width } = options || {}) : { color?: string | undefined; width?: number | undefined; }
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c41 unsigned width, unsigned height) in micro_tile_8_x_4_8bit() argument
47 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_8_x_4_8bit()
52 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_4_8bit()
61 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit()
72 unsigned width, unsigned height) in micro_tile_4_x_4_16bit() argument
78 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_4_x_4_16bit()
83 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_4_x_4_16bit()
92 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit()
103 unsigned width, unsigned height) in micro_tile_8_x_2_16bit() argument
109 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_8_x_2_16bit()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c41 unsigned width, unsigned height) in micro_tile_8_x_4_8bit() argument
47 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_8_x_4_8bit()
52 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_8_x_4_8bit()
61 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit()
72 unsigned width, unsigned height) in micro_tile_4_x_4_16bit() argument
78 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_4_x_4_16bit()
83 for (col = 0; col < width; col += tile_width, ++k) in micro_tile_4_x_4_16bit()
92 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit()
103 unsigned width, unsigned height) in micro_tile_8_x_2_16bit() argument
109 const unsigned tiles_in_row = (width + (tile_width - 1)) / tile_width; in micro_tile_8_x_2_16bit()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_type.h122 unsigned width:14; member
191 type->width = format_desc->channel[0].size; in lp_type_from_format_desc()
206 return type.width * type.length; in lp_type_width()
212 lp_type_float(unsigned width) in lp_type_float() argument
219 res_type.width = width; in lp_type_float()
228 lp_type_float_vec(unsigned width, unsigned total_width) in lp_type_float_vec() argument
235 res_type.width = width; in lp_type_float_vec()
236 res_type.length = total_width / width; in lp_type_float_vec()
244 lp_type_int(unsigned width) in lp_type_int() argument
250 res_type.width = width; in lp_type_int()
[all …]
/third_party/python/Modules/clinic/
Daudioop.c.h15 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width,
23 int width; in audioop_getsample() local
36 width = _PyLong_AsInt(args[1]); in audioop_getsample()
37 if (width == -1 && PyErr_Occurred()) { in audioop_getsample()
52 return_value = audioop_getsample_impl(module, &fragment, width, index); in audioop_getsample()
73 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width);
80 int width; in audioop_max() local
92 width = _PyLong_AsInt(args[1]); in audioop_max()
93 if (width == -1 && PyErr_Occurred()) { in audioop_max()
96 return_value = audioop_max_impl(module, &fragment, width); in audioop_max()
[all …]
/third_party/boost/boost/xpressive/detail/utility/
Dwidth.hpp23 struct width;
24 bool is_unknown(width const &that);
28 struct width struct
30 width(std::size_t val = 0) in width() argument
40 width &operator +=(width const &that) in operator +=() argument
49 width &operator |=(width const &that) in operator |=() argument
67 inline bool is_unknown(width const &that) in is_unknown()
72 inline bool operator ==(width const &left, width const &right) in operator ==()
77 inline bool operator !=(width const &left, width const &right) in operator !=()
82 inline width operator +(width left, width const &right) in operator +()
[all …]
/third_party/ffmpeg/libavcodec/tests/
Dsnowenc.c31 #define width 256 in main() macro
33 int buffer[2][width*height]; in main()
40 s.temp_dwt_buffer = av_mallocz_array(width, sizeof(DWTELEM)); in main()
41 s.temp_idwt_buffer = av_mallocz_array(width, sizeof(IDWTELEM)); in main()
51 for(i=0; i<width*height; i++) in main()
54 …ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s… in main()
55 …ff_spatial_idwt((IDWTELEM*)buffer[0], s.temp_idwt_buffer, width, height, width, s.spatial_decompos… in main()
57 for(i=0; i<width*height; i++) in main()
62 for(i=0; i<width*height; i++) in main()
65 …ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s… in main()
[all …]
/third_party/python/Modules/
Daudioop.c430 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width, in audioop_getsample_impl() argument
436 if (!audioop_check_parameters(module, fragment->len, width)) in audioop_getsample_impl()
438 if (index < 0 || index >= fragment->len/width) { in audioop_getsample_impl()
443 val = GETRAWSAMPLE(width, fragment->buf, index*width); in audioop_getsample_impl()
458 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_max_impl() argument
464 if (!audioop_check_parameters(module, fragment->len, width)) in audioop_max_impl()
466 for (i = 0; i < fragment->len; i += width) { in audioop_max_impl()
467 int val = GETRAWSAMPLE(width, fragment->buf, i); in audioop_max_impl()
488 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_minmax_impl() argument
496 if (!audioop_check_parameters(module, fragment->len, width)) in audioop_minmax_impl()
[all …]
/third_party/boost/libs/gil/test/extension/io/
Dtarga_read_test.cpp78 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE() local
81 BOOST_CHECK_EQUAL( width , 124 ); in BOOST_AUTO_TEST_CASE()
84 BOOST_CHECK( view( img )(width-1, 0) == rgb8_pixel_t(0, 0, 248) ); in BOOST_AUTO_TEST_CASE()
86 BOOST_CHECK( view( img )(width-1, height-1) == rgb8_pixel_t(248, 0, 248) ); in BOOST_AUTO_TEST_CASE()
96 typename rgb8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE() local
99 BOOST_CHECK_EQUAL( width , 124 ); in BOOST_AUTO_TEST_CASE()
102 BOOST_CHECK( view( img )(width-1, 0) == rgb8_pixel_t(0, 0, 248) ); in BOOST_AUTO_TEST_CASE()
104 BOOST_CHECK( view( img )(width-1, height-1) == rgb8_pixel_t(248, 0, 248) ); in BOOST_AUTO_TEST_CASE()
116 typename rgba8_image_t::x_coord_t width = view( img ).width(); in BOOST_AUTO_TEST_CASE() local
119 BOOST_CHECK_EQUAL( width , 124 ); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/scripts/
Dbmp_to_nv12.py33 width, = struct.unpack("i", bmp_file.read(4)) variable
46 pixels = bmp_file.read(width * height * 3)
51 for i in range(0, width * height):
60 uv_buffer = bytearray(width * height / 2)
61 for i in range(0, width * height / 2, 2):
62 U1 = converted_pixels[((((i / width) * 2) * width) + (i % width)) * 3 + 1]
63 U2 = converted_pixels[((((i / width) * 2) * width) + width + (i % width)) * 3 + 1]
64 V1 = converted_pixels[((((i / width) * 2) * width) + (i % width)) * 3 + 2]
65 V2 = converted_pixels[((((i / width) * 2) * width) + width + (i % width)) * 3 + 2]
70 y_buffer = bytearray(width * height)
[all …]
/third_party/skia/third_party/externals/angle2/scripts/
Dbmp_to_nv12.py33 width, = struct.unpack("i", bmp_file.read(4)) variable
46 pixels = bmp_file.read(width * height * 3)
51 for i in range(0, width * height):
60 uv_buffer = bytearray(width * height / 2)
61 for i in range(0, width * height / 2, 2):
62 U1 = converted_pixels[((((i / width) * 2) * width) + (i % width)) * 3 + 1]
63 U2 = converted_pixels[((((i / width) * 2) * width) + width + (i % width)) * 3 + 1]
64 V1 = converted_pixels[((((i / width) * 2) * width) + (i % width)) * 3 + 2]
65 V2 = converted_pixels[((((i / width) * 2) * width) + width + (i % width)) * 3 + 2]
70 y_buffer = bytearray(width * height)
[all …]

12345678910>>...334