Home
last modified time | relevance | path

Searched refs:geometry (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Darray_util_unittest.cc83 std::vector<Point> geometry; in TEST() local
84 geometry.push_back(Point(0.f, 0.f, 0.f)); in TEST()
85 geometry.push_back(Point(0.1f, 0.f, 0.f)); in TEST()
86 EXPECT_FLOAT_EQ(0.1f, GetMinimumSpacing(geometry)); in TEST()
87 geometry.push_back(Point(0.f, 0.05f, 0.f)); in TEST()
88 EXPECT_FLOAT_EQ(0.05f, GetMinimumSpacing(geometry)); in TEST()
89 geometry.push_back(Point(0.f, 0.f, 0.02f)); in TEST()
90 EXPECT_FLOAT_EQ(0.02f, GetMinimumSpacing(geometry)); in TEST()
91 geometry.push_back(Point(-0.003f, -0.004f, 0.02f)); in TEST()
92 EXPECT_FLOAT_EQ(0.005f, GetMinimumSpacing(geometry)); in TEST()
[all …]
Dcovariance_matrix_generator.cc44 const std::vector<Point>& geometry, in UniformCovarianceMatrix() argument
46 RTC_CHECK_EQ(geometry.size(), mat->num_rows()); in UniformCovarianceMatrix()
47 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in UniformCovarianceMatrix()
50 for (size_t i = 0; i < geometry.size(); ++i) { in UniformCovarianceMatrix()
51 for (size_t j = 0; j < geometry.size(); ++j) { in UniformCovarianceMatrix()
54 BesselJ0(wave_number * Distance(geometry[i], geometry[j])); in UniformCovarianceMatrix()
69 const std::vector<Point>& geometry, in AngledCovarianceMatrix() argument
71 RTC_CHECK_EQ(geometry.size(), mat->num_rows()); in AngledCovarianceMatrix()
72 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in AngledCovarianceMatrix()
74 ComplexMatrix<float> interf_cov_vector(1, geometry.size()); in AngledCovarianceMatrix()
[all …]
Dcovariance_matrix_generator_unittest.cc29 std::vector<Point> geometry; in TEST() local
32 geometry.push_back(Point(i * kMicSpacing - first_mic, 0.f, 0.f)); in TEST()
36 geometry, in TEST()
57 std::vector<Point> geometry; in TEST() local
60 geometry.push_back(Point(i * kMicSpacing - first_mic, 0.f, 0.f)); in TEST()
64 geometry, in TEST()
94 std::vector<Point> geometry; in TEST() local
95 geometry.push_back(Point(-0.025f, -0.05f, -0.075f)); in TEST()
96 geometry.push_back(Point(0.075f, -0.05f, -0.075f)); in TEST()
97 geometry.push_back(Point(-0.025f, 0.15f, -0.075f)); in TEST()
[all …]
/external/ImageMagick/coders/
Dhtml.c226 geometry; in WriteHTMLImage() local
328 SetGeometry(image,&geometry); in WriteHTMLImage()
330 (void) ParseAbsoluteGeometry(image->montage,&geometry); in WriteHTMLImage()
343 image->filename,(double) geometry.width-1,(double) geometry.height- in WriteHTMLImage()
355 (double) geometry.x,(double) geometry.y,(double) (geometry.x+ in WriteHTMLImage()
356 geometry.width-1),(double) (geometry.y+geometry.height-1)); in WriteHTMLImage()
364 geometry.x+=(ssize_t) geometry.width; in WriteHTMLImage()
365 if ((geometry.x+4) >= (ssize_t) image->columns) in WriteHTMLImage()
367 geometry.x=0; in WriteHTMLImage()
368 geometry.y+=(ssize_t) geometry.height; in WriteHTMLImage()
[all …]
Dps2.c423 geometry, in WritePS2Image() local
519 SetGeometry(image,&geometry); in WritePS2Image()
534 (void) ParseMetaGeometry(page_geometry,&geometry.x,&geometry.y, in WritePS2Image()
535 &geometry.width,&geometry.height); in WritePS2Image()
536 scale.x=(double) (geometry.width*delta.x)/resolution.x; in WritePS2Image()
537 geometry.width=(size_t) floor(scale.x+0.5); in WritePS2Image()
538 scale.y=(double) (geometry.height*delta.y)/resolution.y; in WritePS2Image()
539 geometry.height=(size_t) floor(scale.y+0.5); in WritePS2Image()
544 geometry.x=(-page_info.x); in WritePS2Image()
545 geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); in WritePS2Image()
[all …]
Dcaption.c98 geometry[MagickPathExtent], in ReadCAPTIONImage() local
169 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g", in ReadCAPTIONImage()
172 (void) CloneString(&draw_info->geometry,geometry); in ReadCAPTIONImage()
184 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g", in ReadCAPTIONImage()
187 (void) CloneString(&draw_info->geometry,geometry); in ReadCAPTIONImage()
220 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g", in ReadCAPTIONImage()
223 (void) CloneString(&draw_info->geometry,geometry); in ReadCAPTIONImage()
246 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g", in ReadCAPTIONImage()
249 (void) CloneString(&draw_info->geometry,geometry); in ReadCAPTIONImage()
274 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g",MagickMax( in ReadCAPTIONImage()
[all …]
Dlabel.c93 geometry[MagickPathExtent], in ReadLABELImage() local
156 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g", in ReadLABELImage()
159 (void) CloneString(&draw_info->geometry,geometry); in ReadLABELImage()
177 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g", in ReadLABELImage()
180 (void) CloneString(&draw_info->geometry,geometry); in ReadLABELImage()
233 (void) FormatLocaleString(geometry,MagickPathExtent,"%+g%+g", in ReadLABELImage()
237 draw_info->geometry=AcquireString(geometry); in ReadLABELImage()
Dmsl.c652 geometry; in MSLStartElement() local
672 (void) ResetMagickMemory(&geometry,0,sizeof(geometry)); in MSLStartElement()
892 &geometry,exception); in MSLStartElement()
1049 geometry.x=StringToLong(value); in MSLStartElement()
1061 geometry.y=StringToLong(value); in MSLStartElement()
1077 "%.20gx%.20g%+.20g%+.20g",(double) geometry.width,(double) in MSLStartElement()
1078 geometry.height,(double) geometry.x,(double) geometry.y); in MSLStartElement()
1079 CloneString(&draw_info->geometry,text); in MSLStartElement()
1267 SetGeometry(msl_info->image[n],&geometry); in MSLStartElement()
1314 &geometry,exception); in MSLStartElement()
[all …]
Dps3.c851 geometry, in WritePS3Image() local
959 SetGeometry(image,&geometry); in WritePS3Image()
974 (void) ParseMetaGeometry(page_geometry,&geometry.x,&geometry.y, in WritePS3Image()
975 &geometry.width,&geometry.height); in WritePS3Image()
976 scale.x=(double) (geometry.width*delta.x)/resolution.x; in WritePS3Image()
977 geometry.width=(size_t) floor(scale.x+0.5); in WritePS3Image()
978 scale.y=(double) (geometry.height*delta.y)/resolution.y; in WritePS3Image()
979 geometry.height=(size_t) floor(scale.y+0.5); in WritePS3Image()
984 geometry.x=(-page_info.x); in WritePS3Image()
985 geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); in WritePS3Image()
[all …]
/external/ImageMagick/MagickCore/
Dgeometry.c96 MagickExport MagickStatusType GetGeometry(const char *geometry,ssize_t *x, in GetGeometry() argument
117 if ((geometry == (char *) NULL) || (*geometry == '\0')) in GetGeometry()
119 if (strlen(geometry) >= (MagickPathExtent-1)) in GetGeometry()
121 (void) CopyMagickString(pedantic_geometry,geometry,MagickPathExtent); in GetGeometry()
313 (void) fprintf(stderr,"Input: %s\n",geometry); in GetGeometry()
351 #define MagickPageSize(name,geometry) { (name), sizeof(name)-1, (geometry) } in GetPageGeometry() argument
362 *geometry; in GetPageGeometry() member
466 geometry; in GetPageGeometry() local
472 PageSizes[i].geometry,page_geometry+PageSizes[i].extent); in GetPageGeometry()
473 flags=GetGeometry(page,&geometry.x,&geometry.y,&geometry.width, in GetPageGeometry()
[all …]
Dtransform.c532 MagickExport Image *CropImage(const Image *image,const RectangleInfo *geometry, in CropImage() argument
567 assert(geometry != (const RectangleInfo *) NULL); in CropImage()
576 page=(*geometry); in CropImage()
630 if ((geometry->width != 0) && (page.width > geometry->width)) in CropImage()
631 page.width=geometry->width; in CropImage()
634 if ((geometry->height != 0) && (page.height > geometry->height)) in CropImage()
635 page.height=geometry->height; in CropImage()
792 geometry; in CropImageToTiles() local
800 flags=ParseGravityGeometry(image,crop_geometry,&geometry,exception); in CropImageToTiles()
819 if (geometry.width == 0) in CropImageToTiles()
[all …]
Dmontage.c115 if (montage_info->geometry != (char *) NULL) in CloneMontageInfo()
116 clone_info->geometry=AcquireString(montage_info->geometry); in CloneMontageInfo()
171 if (montage_info->geometry != (char *) NULL) in DestroyMontageInfo()
172 montage_info->geometry=(char *) in DestroyMontageInfo()
173 RelinquishMagickMemory(montage_info->geometry); in DestroyMontageInfo()
227 montage_info->geometry=AcquireString(DefaultTileGeometry); in GetMontageInfo()
273 static void GetMontageGeometry(char *geometry,const size_t number_images, in GetMontageGeometry() argument
279 (void) GetGeometry(geometry,x_offset,y_offset,tiles_per_row,tiles_per_column); in GetMontageGeometry()
372 geometry, in MontageImageList() local
428 flags=ParseRegionGeometry(image,montage_info->geometry,&geometry,exception); in MontageImageList()
[all …]
/external/libmojo/ui/gfx/geometry/mojo/
Dgeometry.typemap5 mojom = "//ui/gfx/geometry/mojo/geometry.mojom"
7 "//ui/gfx/geometry/point.h",
8 "//ui/gfx/geometry/point_f.h",
9 "//ui/gfx/geometry/size.h",
10 "//ui/gfx/geometry/rect.h",
11 "//ui/gfx/geometry/rect_f.h",
12 "//ui/gfx/geometry/safe_integer_conversions.h",
13 "//ui/gfx/geometry/insets.h",
14 "//ui/gfx/geometry/vector2d.h",
15 "//ui/gfx/geometry/vector2d_f.h",
[all …]
/external/ImageMagick/PerlMagick/demo/
Dcompose-specials.pl61 geometry=>$offset,
70 geometry=>$offset,
79 geometry=>$offset,
88 geometry=>$offset,
101 geometry=>$offset,
111 geometry=>$offset,
121 geometry=>$offset,
131 geometry=>$offset,
145 geometry=>$offset,
156 geometry=>$offset,
[all …]
/external/syslinux/memdisk/
Dsetup.c240 struct geometry { struct
315 static const struct geometry *get_disk_image_geometry(uint32_t where, in get_disk_image_geometry()
318 static struct geometry hd_geometry; in get_disk_image_geometry()
768 const struct geometry *geometry; in setup() local
805 geometry = get_disk_image_geometry(ramdisk_image, ramdisk_size); in setup()
815 do_edd = (geometry->driveno & 0x80) ? 1 : 0; in setup()
824 if (geometry->sector_shift == 11) { in setup()
856 pptr->driveno = geometry->driveno; in setup()
857 pptr->drivetype = geometry->type; in setup()
858 pptr->cylinders = geometry->c; /* Possible precision loss */ in setup()
[all …]
/external/deqp/data/gles31/shaders/es31/
Dlinkage_geometry_uniform_types.test6 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
20 geometry ""
50 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
64 geometry ""
94 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
108 geometry ""
138 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
152 geometry ""
182 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
196 geometry ""
[all …]
Dlinkage_geometry.test8 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
20 geometry ""
52 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
62 geometry ""
92 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
104 geometry ""
135 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
145 geometry ""
176 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
186 geometry ""
[all …]
Dlinkage_geometry_varying_types.test6 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
22 geometry ""
53 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
69 geometry ""
100 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
116 geometry ""
147 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
163 geometry ""
194 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
210 geometry ""
[all …]
Dlinkage_tessellation_geometry.test7 desc "Tessellation output and geometry input type mismatch"
10 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
48 geometry ""
78 desc "Tessellation output and geometry input precisions are different"
80 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
118 geometry ""
151 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
189 geometry ""
222 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
262 geometry ""
[all …]
Dlinkage_tessellation_geometry_varying_types.test7 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
45 geometry ""
77 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
115 geometry ""
147 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
185 geometry ""
217 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
255 geometry ""
287 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry }
325 geometry ""
[all …]
/external/deqp/doc/testspecs/GLES31/
Dfunctional.tessellation_geometry_interaction.txt27 geometry shading stages.
28 + Render tests with maximum geometry amplification in different stages
36 + SSBO memory access ordering test between tessellation and geometry shaders
42 attached tessellation and geometry shaders. Tests verify that attaching either a
43 passthrough geometry or tessellation shader does not change the result image. In
44 *_passthrough_geometry_* cases, the pattern is first rendered without a geometry
45 shader and then with a passthrough geometry shader. In
50 shader that uses the maximum number of geometry output vertices, uses maximum
51 number geometry shader instances, or sets the maximum tessellation level.
61 the same time. Due to the extreme geometry amplification in certain tests, the
[all …]
Dfunctional.geometry_shading.txt38 + Primitive render order with geometry shader instancing
42 Geometry shader tests test geometry shader functionality by rendering
43 a scene using geometry shaders and comparing the resulting image to
51 geometry shader related limits and states. primitives_generated_* cases
56 basic.* tests test basic geometry shader usage: output_* cases emit
64 input.* tests verify geometry shader behavior with different input types
65 by drawing a separate triangle for each geometry shader input vertex.
69 conversion.* tests verify functionality of geometry shaders with different
72 emit.* tests test geometry shaders with different number of EmitVertex()
73 and EndPrimitive() calls, ranging from too few to superfluous. A geometry
[all …]
/external/ImageMagick/Magick++/tests/
Dgeometry.cpp32 Geometry geometry(input); in main() local
34 if ((geometry.width() != 100) || (geometry.height() != 50) || in main()
35 (geometry.xOff() != 10) || (geometry.yOff() != -5) || in main()
36 (geometry.aspect() == false)) in main()
44 string output=geometry; in main()
/external/deqp/doc/testspecs/GL3/
Dstress.conditional_render.txt26 + Query and conditional geometry significantly apart
38 the same scene with geometry culled either by conditional rendering or the
44 Call count test use many occlusion queries and simple occluder geometry. Every
45 second occlusion query is set to fail. Failing occlusion query geometry is
46 limited within a small region of the screen. Passing query geometry is evenly
47 spread around the screen. Conditionally rendered geometry is evenly spread.
49 Distant query tests have maximal screen distance between the query geometry
52 Occlusion query geometry is roughly on the opposing edge of the screen as the
53 geometry it controls. All edges have occluders.
/external/ImageMagick/MagickWand/
Doperation.c1180 geometry; in CLISettingOptionInfo() local
1188 (void) ResetMagickMemory(&geometry,0,sizeof(geometry)); in CLISettingOptionInfo()
1191 flags=ParseAbsoluteGeometry(image_option,&geometry); in CLISettingOptionInfo()
1193 flags=ParseAbsoluteGeometry(canonical_page,&geometry); in CLISettingOptionInfo()
1196 (unsigned long) geometry.width,(unsigned long) geometry.height); in CLISettingOptionInfo()
1199 (unsigned long) geometry.width,(unsigned long) geometry.height, in CLISettingOptionInfo()
1200 (long) geometry.x,(long) geometry.y); in CLISettingOptionInfo()
1654 geometry; in CLISimpleOperatorImage() local
1739 (void) ParseRegionGeometry(_image,arg1,&geometry,_exception); in CLISimpleOperatorImage()
1740 new_image=AdaptiveResizeImage(_image,geometry.width,geometry.height, in CLISimpleOperatorImage()
[all …]

12345678910>>...16