Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 25 of 626) sorted by relevance

12345678910>>...26

/third_party/skia/resources/sksl/shared/
DGaussianBlur.sksl41 float2 coord = vLocalCoord_Stage0 - 12.0 * uIncrement_Stage1_c0;
43 coordSampled = coord;
45 coord += uIncrement_Stage1_c0;
46 coordSampled = coord;
48 coord += uIncrement_Stage1_c0;
49 coordSampled = coord;
51 coord += uIncrement_Stage1_c0;
52 coordSampled = coord;
54 coord += uIncrement_Stage1_c0;
55 coordSampled = coord;
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexgen.c46 get_texgen(struct gl_context *ctx, GLuint texunitIndex, GLenum coord, const char* caller) in get_texgen() argument
57 return (coord == GL_TEXTURE_GEN_STR_OES) in get_texgen()
61 switch (coord) { in get_texgen()
78 texgenfv( GLuint texunitIndex, GLenum coord, GLenum pname, in texgenfv() argument
84 texgen = get_texgen(ctx, texunitIndex, coord, caller); in texgenfv()
91 int index = coord == GL_TEXTURE_GEN_STR_OES ? 0 : (coord - GL_S); in texgenfv()
108 if (coord == GL_S || coord == GL_T) in texgenfv()
112 if (coord != GL_Q) in texgenfv()
116 if (coord != GL_Q) in texgenfv()
180 ctx->Driver.TexGen( ctx, coord, pname, params ); in texgenfv()
[all …]
Dtexgen.h36 _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
38 _mesa_TexGeniv(GLenum coord, GLenum pname, const GLint *params );
40 _mesa_TexGend(GLenum coord, GLenum pname, GLdouble param );
42 _mesa_TexGendv(GLenum coord, GLenum pname, const GLdouble *params );
44 _mesa_TexGenf( GLenum coord, GLenum pname, GLfloat param );
46 _mesa_TexGeni( GLenum coord, GLenum pname, GLint param );
48 _mesa_GetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
50 _mesa_GetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
52 _mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params );
55 _mesa_MultiTexGenfvEXT( GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params );
[all …]
/third_party/ffmpeg/libavcodec/
Djpeg2000.c282 …prec->coord[0][0] = ((reslevel->coord[0][0] >> reslevel->log2_prec_width) + precno % reslevel->num… in init_prec()
286 …prec->coord[1][0] = ((reslevel->coord[1][0] >> reslevel->log2_prec_height) + precno / reslevel->nu… in init_prec()
290 prec->coord[0][1] = prec->coord[0][0] + in init_prec()
292 prec->coord[0][0] = FFMAX(prec->coord[0][0], band->coord[0][0]); in init_prec()
293 prec->coord[0][1] = FFMIN(prec->coord[0][1], band->coord[0][1]); in init_prec()
296 prec->coord[1][1] = prec->coord[1][0] + in init_prec()
298 prec->coord[1][0] = FFMAX(prec->coord[1][0], band->coord[1][0]); in init_prec()
299 prec->coord[1][1] = FFMIN(prec->coord[1][1], band->coord[1][1]); in init_prec()
302 ff_jpeg2000_ceildivpow2(prec->coord[0][1], in init_prec()
304 - (prec->coord[0][0] >> band->log2_cblk_width); in init_prec()
[all …]
/third_party/mesa3d/src/mesa/math/
Dm_dotprod_tmp.h39 GLfloat *coord = coord_vec->start; in TAG() local
46 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { in TAG()
47 *out = (coord[0] * plane0 + in TAG()
48 coord[1] * plane1 + in TAG()
59 GLfloat *coord = coord_vec->start; in TAG() local
67 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { in TAG()
68 *out = (coord[0] * plane0 + in TAG()
69 coord[1] * plane1 + in TAG()
70 coord[2] * plane2 + in TAG()
81 GLfloat *coord = coord_vec->start; in TAG() local
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuTexLookupVerifier.hpp110 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordD…
114 …texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBo…
115 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBo…
116 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBo…
117 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBo…
118 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBo…
119 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBo…
120 …sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBo…
126 …r, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ,…
127 …TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ,…
[all …]
DtcuTexCompareVerifier.hpp55 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBo…
56 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBo…
57 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBo…
58 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec1& coord, const Vec2& lodBo…
59 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBo…
60 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec4& coord, const Vec2& lodBo…
62 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&off…
63 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&off…
65 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReferenc…
/third_party/mesa3d/src/mesa/tnl/
Dt_vb_cliptmp.h54 INTERP_4F( t, coord[newvert], coord[idx], coord[idxPrev]); \
60 INTERP_4F( t, coord[newvert], coord[idxPrev], coord[idx]); \
123 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG() local
151 INTERP_4F( t0, coord[newvert], coord[v0], coord[v1] ); in TAG()
165 INTERP_4F( t1, coord[newvert], coord[v1], coord[v0_orig] ); in TAG()
192 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG() local
208 coord[j][0], coord[j][1], coord[j][2], coord[j][3]); in TAG()
209 assert(!util_is_inf_or_nan(coord[j][0])); in TAG()
210 assert(!util_is_inf_or_nan(coord[j][1])); in TAG()
211 assert(!util_is_inf_or_nan(coord[j][2])); in TAG()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_int_cubemap_to_array.c72 evaluate_face_x(nir_builder *b, coord_t *coord) in evaluate_face_x() argument
74 nir_ssa_def *sign = nir_fsign(b, coord->rx); in evaluate_face_x()
75 nir_ssa_def *positive = nir_fge(b, coord->rx, nir_imm_float(b, 0.0)); in evaluate_face_x()
76 nir_ssa_def *ima = nir_fdiv(b, nir_imm_float(b, -0.5), coord->arx); in evaluate_face_x()
78 …nir_ssa_def *x = nir_fadd(b, nir_fmul(b, nir_fmul(b, sign, ima), coord->rz), nir_imm_float(b, 0.5)… in evaluate_face_x()
79 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, ima, coord->ry), nir_imm_float(b, 0.5)); in evaluate_face_x()
86 evaluate_face_y(nir_builder *b, coord_t *coord) in evaluate_face_y() argument
88 nir_ssa_def *sign = nir_fsign(b, coord->ry); in evaluate_face_y()
89 nir_ssa_def *positive = nir_fge(b, coord->ry, nir_imm_float(b, 0.0)); in evaluate_face_y()
90 nir_ssa_def *ima = nir_fdiv(b, nir_imm_float(b, 0.5), coord->ary); in evaluate_face_y()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgltestsrc.c322 struct XYZWRGB *coord; in _src_smpte_init() local
331 coord = g_new0 (struct XYZWRGB, N_QUADS * 4); in _src_smpte_init()
336 coord[color_idx * 4 + 0].X = -1.0f + i * (2.0f / 7.0f); in _src_smpte_init()
337 coord[color_idx * 4 + 0].Y = 1.0f / 3.0f; in _src_smpte_init()
338 coord[color_idx * 4 + 1].X = -1.0f + (i + 1) * (2.0f / 7.0f); in _src_smpte_init()
339 coord[color_idx * 4 + 1].Y = 1.0f / 3.0f; in _src_smpte_init()
340 coord[color_idx * 4 + 2].X = -1.0f + (i + 1) * (2.0f / 7.0f); in _src_smpte_init()
341 coord[color_idx * 4 + 2].Y = -1.0f; in _src_smpte_init()
342 coord[color_idx * 4 + 3].X = -1.0f + i * (2.0f / 7.0f); in _src_smpte_init()
343 coord[color_idx * 4 + 3].Y = -1.0f; in _src_smpte_init()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emittexinstruction.cpp90 auto ir = new FetchInstruction(vc_fetch, no_index_offset, dst, src.coord.reg_i(0), 0, in emit_buf_txf()
111 emit_instruction(new AluInstruction(op1_mov, src.coord.reg_i(3), src.comperator, in emit_tex_tex()
117 auto irt = new TexInstruction(tex_op, dst, src.coord, sampler.id, in emit_tex_tex()
120 handle_array_index(*instr, src.coord, irt); in emit_tex_tex()
141 emit_instruction(new AluInstruction(op1_mov, src.coord.reg_i(3), src.comperator, in emit_tex_txd()
158 TexInstruction *ir = new TexInstruction(tex_op, dst, src.coord, sampler.id, in emit_tex_txd()
161 handle_array_index(*instr, src.coord, ir); in emit_tex_txd()
180 if (*src.coord.reg_i(3) != *src.lod) { in emit_tex_txf()
181 if (src.coord.sel() != src.lod->sel()) in emit_tex_txf()
182 …emit_instruction(new AluInstruction(op1_mov, src.coord.reg_i(3), src.lod, {alu_write, alu_last_ins… in emit_tex_txf()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp86 bool SampleVerifier::coordOutOfRange (const IVec3& coord, int compNdx, int level) const in coordOutOfRange() argument
90 return coord[compNdx] < 0 || coord[compNdx] >= m_levels[level].getSize()[compNdx]; in coordOutOfRange()
93 void SampleVerifier::fetchTexelWrapped (const IVec3& coord, in fetchTexelWrapped() argument
103 pixelPtr = m_levels[level].getPixelPtr(coord[0], layer, 0); in fetchTexelWrapped()
107 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], layer); in fetchTexelWrapped()
111 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], coord[2]); in fetchTexelWrapped()
119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped()
120 … == IMG_DIM_2D || m_imParams.dim == IMG_DIM_CUBE) ? levelAccess.getPixel(coord[0], coord[1], layer) in fetchTexelWrapped()
121 : levelAccess.getPixel(coord[0], coord[1], coord[2]); in fetchTexelWrapped()
135 IVec3 coord = coordIn; in fetchTexel() local
[all …]
/third_party/tzdata/
Dtzselect.ksh52 coord=
152 coord=$OPTARG ;;
300 case $coord in
302 continent=coord;;
328 "coord - I want to use geographical coordinates." \
370 case $coord in
380 -v coord="$coord" \
392 "of distance from $coord".
526 case $country%$region%$coord in
529 %?*%?*) say >&2 " coord $coord$newline $region";;
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/comp/
Dimage-cube-array-load-store.comp10 int3 coord = int3(9, 7, 11);
11 float4 indata = uImageIn.read(uint2(coord.xy), uint(coord.z) % 6u, uint(coord.z) / 6u);
12 uImageOut.write(indata, uint2(coord.xy), uint(coord.z) % 6u, uint(coord.z) / 6u);
/third_party/boost/libs/compute/example/
Drandom_walk.cpp106 const int2 coord = coordinates[i]; in main()
108 if(coord.x > 0 && coord.x < get_image_width(image) && in main()
109 coord.y > 0 && coord.y < get_image_height(image)){ in main()
111 write_imageui(image, coord, black); in main()
117 const int2 coord = { get_global_id(0), get_global_id(1) }; in main()
119 if(coord.x < get_image_width(image) && in main()
120 coord.y < get_image_height(image)){ in main()
122 write_imageui(image, coord, white); in main()
Dk_means.cpp156 const float2 coord = points[i]; in main()
184 if(coord.x + x > 0 && coord.x + x < get_image_width(image) && in main()
185 coord.y + y > 0 && coord.y + y < get_image_height(image)){ in main()
186 write_imageui(image, (int2)(coord.x, coord.y) + (int2)(x, y), color); in main()
194 const int2 coord = { get_global_id(0), get_global_id(1) }; in main()
196 if(coord.x < get_image_width(image) && coord.y < get_image_height(image)){ in main()
198 write_imageui(image, coord, gray); in main()
/third_party/glslang/Test/baseResults/
Dhlsl.structin.vert.out4 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
7 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
12 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
21 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
28 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
35 0:11 coord: direct index for structure ( temp 4-component vector of float)
36 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
44 0:12 coord: direct index for structure ( temp 4-component vector of float)
45 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
56 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DBlitResolve.frag70 #define TEXEL_FETCH(src, coord, sample) texelFetch(src, ivec3(coord, params.srcLayer), sample)
73 #define TEXEL_FETCH(src, coord, sample) texelFetch(src, coord, sample)
76 #define COLOR_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(src, coord, sample)
77 #define DEPTH_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(src, coord, sample)
78 #define STENCIL_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(src, coord, sample)
86 #define TEXEL_FETCH(src, coord, sample) texture(src, vec3(coord * params.invSrcExtent, params.srcLa…
90 #define TEXEL_FETCH(src, coord, sample) texture(src, coord * params.invSrcExtent)
93 #define COLOR_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(COLOR_SRC_RESOURCE(SRC_SAMPLER_NAME)(src,…
94 #define DEPTH_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(DEPTH_SRC_RESOURCE(SRC_SAMPLER_NAME)(src,…
95 …efine STENCIL_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(STENCIL_SRC_RESOURCE(SRC_SAMPLER_NAME)(s…
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DBlitResolve.frag70 #define TEXEL_FETCH(src, coord, sample) texelFetch(src, ivec3(coord, params.srcLayer), sample)
73 #define TEXEL_FETCH(src, coord, sample) texelFetch(src, coord, sample)
76 #define COLOR_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(src, coord, sample)
77 #define DEPTH_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(src, coord, sample)
78 #define STENCIL_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(src, coord, sample)
86 #define TEXEL_FETCH(src, coord, sample) texture(src, vec3(coord * params.invSrcExtent, params.srcLa…
90 #define TEXEL_FETCH(src, coord, sample) texture(src, coord * params.invSrcExtent)
93 #define COLOR_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(COLOR_SRC_RESOURCE(SRC_SAMPLER_NAME)(src,…
94 #define DEPTH_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(DEPTH_SRC_RESOURCE(SRC_SAMPLER_NAME)(src,…
95 …efine STENCIL_TEXEL_FETCH(src, coord, sample) TEXEL_FETCH(STENCIL_SRC_RESOURCE(SRC_SAMPLER_NAME)(s…
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_analysis.c111 tex->coord[0].file != TGSI_FILE_INPUT || in match_aero_minification_shader()
112 tex->coord[1].file != TGSI_FILE_INPUT || in match_aero_minification_shader()
113 tex->coord[0].u.index != tex->coord[1].u.index || in match_aero_minification_shader()
114 (tex->coord[0].swizzle % 2) != 0 || in match_aero_minification_shader()
115 tex->coord[1].swizzle != tex->coord[0].swizzle + 1) { in match_aero_minification_shader()
119 coord_mask |= 1 << (tex->coord[0].u.index*2 + tex->coord[0].swizzle/2); in match_aero_minification_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_nir.c79 nir_ssa_def *coord = get_global_ids(&b, 2); in si_create_dcc_retile_cs() local
83 coord = nir_imul(&b, coord, nir_imm_ivec2(&b, surf->u.gfx9.color.dcc_block_width, in si_create_dcc_retile_cs()
89 nir_channel(&b, coord, 0), nir_channel(&b, coord, 1), /* x, y */ in si_create_dcc_retile_cs()
97 nir_channel(&b, coord, 0), nir_channel(&b, coord, 1), /* x, y */ in si_create_dcc_retile_cs()
124 nir_ssa_def *coord = get_global_ids(&b, 3); in gfx9_create_clear_dcc_msaa_cs() local
128 coord = nir_imul(&b, coord, in gfx9_create_clear_dcc_msaa_cs()
137 nir_channel(&b, coord, 0), nir_channel(&b, coord, 1), /* x, y */ in gfx9_create_clear_dcc_msaa_cs()
138 … tex->buffer.b.b.array_size > 1 ? nir_channel(&b, coord, 2) : zero, /* z */ in gfx9_create_clear_dcc_msaa_cs()
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
Dimage.hpp37 inline virtual T load(glm::ivec2 coord) const in load()
41 inline virtual void store(glm::ivec2 coord, const T &v) in store()
51 inline T imageLoad(const image2DBase<T> &image, glm::ivec2 coord) in imageLoad() argument
53 return image.load(coord); in imageLoad()
57 void imageStore(image2DBase<T> &image, glm::ivec2 coord, const T &value) in imageStore() argument
59 image.store(coord, value); in imageStore()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c46 nir_ssa_def *coord = instr->src[coord_index].src.ssa; in v3d_nir_lower_txf_ms_instr() local
51 nir_ishl(b, nir_channel(b, coord, 0), one), in v3d_nir_lower_txf_ms_instr()
54 nir_ishl(b, nir_channel(b, coord, 1), one), in v3d_nir_lower_txf_ms_instr()
57 coord = nir_vec3(b, x, y, nir_channel(b, coord, 2)); in v3d_nir_lower_txf_ms_instr()
59 coord = nir_vec2(b, x, y); in v3d_nir_lower_txf_ms_instr()
63 nir_src_for_ssa(coord)); in v3d_nir_lower_txf_ms_instr()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_xy_coord.cpp23 dng_xy_coord XYZtoXY (const dng_vector_3 &coord) in XYZtoXY() argument
26 real64 X = coord [0]; in XYZtoXY()
27 real64 Y = coord [1]; in XYZtoXY()
28 real64 Z = coord [2]; in XYZtoXY()
46 dng_vector_3 XYtoXYZ (const dng_xy_coord &coord) in XYtoXYZ() argument
49 dng_xy_coord temp = coord; in XYtoXYZ()
Ddng_xy_coord.h69 bool operator== (const dng_xy_coord &coord) const
71 return coord.x == x &&
72 coord.y == y;
75 bool operator!= (const dng_xy_coord &coord) const
77 return !(*this == coord);
171 dng_xy_coord XYZtoXY (const dng_vector_3 &coord);
173 dng_vector_3 XYtoXYZ (const dng_xy_coord &coord);

12345678910>>...26