Home
last modified time | relevance | path

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

12345678910>>...24

/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.c48 get_texgen(struct gl_context *ctx, GLuint texunitIndex, GLenum coord, const char* caller) in get_texgen() argument
59 return (coord == GL_TEXTURE_GEN_STR_OES) in get_texgen()
63 switch (coord) { in get_texgen()
80 texgenfv( GLuint texunitIndex, GLenum coord, GLenum pname, in texgenfv() argument
86 texgen = get_texgen(ctx, texunitIndex, coord, caller); in texgenfv()
93 int index = coord == GL_TEXTURE_GEN_STR_OES ? 0 : (coord - GL_S); in texgenfv()
110 if (coord == GL_S || coord == GL_T) in texgenfv()
114 if (coord != GL_Q) in texgenfv()
118 if (coord != GL_Q) in texgenfv()
185 gettexgendv( GLuint texunitIndex, GLenum coord, GLenum pname, in gettexgendv() argument
[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/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…
DtcuTexLookupVerifier.cpp595 const Vec2& coord, in isNearestSampleResultValid() argument
599 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBit… in isNearestSampleResultValid()
600 …puteNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBit… in isNearestSampleResultValid()
630 const Vec3& coord, in isNearestSampleResultValid() argument
633 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBit… in isNearestSampleResultValid()
634 …puteNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBit… in isNearestSampleResultValid()
635 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getDepth(), coord.z(), prec.coordBit… in isNearestSampleResultValid()
723 const Vec2& coord, in isLinearSampleResultValid() argument
727 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBit… in isLinearSampleResultValid()
728 …puteNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBit… in isLinearSampleResultValid()
[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/microsoft/compiler/
Ddxil_nir_lower_int_cubemaps.c136 evaluate_face_x(nir_builder *b, coord_t *coord) in evaluate_face_x() argument
138 nir_ssa_def *sign = nir_fsign(b, coord->rx); in evaluate_face_x()
139 nir_ssa_def *positive = nir_fge(b, coord->rx, nir_imm_float(b, 0.0)); in evaluate_face_x()
140 nir_ssa_def *ima = nir_fdiv(b, nir_imm_float(b, -0.5), coord->arx); in evaluate_face_x()
142 …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()
143 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, ima, coord->ry), nir_imm_float(b, 0.5)); in evaluate_face_x()
146 if (coord->array) in evaluate_face_x()
147 face = nir_fadd(b, face, coord->array); in evaluate_face_x()
149 return coord->image ? in evaluate_face_x()
155 evaluate_face_y(nir_builder *b, coord_t *coord) in evaluate_face_y() argument
[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/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c91 evaluate_face_x(nir_builder *b, coord_t *coord) in evaluate_face_x() argument
93 nir_ssa_def *sign = nir_fsign(b, coord->rx); in evaluate_face_x()
94 nir_ssa_def *positive = nir_fge(b, coord->rx, nir_imm_float(b, 0.0)); in evaluate_face_x()
95 nir_ssa_def *ima = nir_fdiv(b, nir_imm_float(b, -0.5), coord->arx); in evaluate_face_x()
97 …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()
98 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, ima, coord->ry), nir_imm_float(b, 0.5)); in evaluate_face_x()
101 if (coord->array) in evaluate_face_x()
102 face = nir_fadd(b, face, coord->array); in evaluate_face_x()
108 evaluate_face_y(nir_builder *b, coord_t *coord) in evaluate_face_y() argument
110 nir_ssa_def *sign = nir_fsign(b, coord->ry); in evaluate_face_y()
[all …]
/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/tzdata/
Dtzselect.ksh54 coord=
146 coord=$OPTARG ;;
295 case $coord in
297 continent=coord;;
323 "coord - I want to use geographical coordinates." \
365 case $coord in
375 -v coord="$coord" \
387 "of distance from $coord".
521 case $country%$region%$coord in
524 %?*%?*) 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/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/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()
358 tex_info->coord[0].file = TGSI_FILE_INPUT; // S in llvmpipe_nir_fn_is_linear_compat()
359 tex_info->coord[1].file = TGSI_FILE_INPUT; // T in llvmpipe_nir_fn_is_linear_compat()
362 tex_info->coord[0].swizzle = texcoord_swizzle[0]; // S in llvmpipe_nir_fn_is_linear_compat()
363 tex_info->coord[1].swizzle = texcoord_swizzle[1]; // T in llvmpipe_nir_fn_is_linear_compat()
[all …]
/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);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_opencl_test.cpp199 OpName %coord "coord" in TEST_F()
236 OpName %coord "coord" in TEST_F()
268 OpName %coord "coord" in TEST_F()
300 OpName %coord "coord" in TEST_F()
333 OpName %coord "coord" in TEST_F()
365 OpName %coord "coord" in TEST_F()
396 OpName %coord "coord" in TEST_F()
427 OpName %coord "coord" in TEST_F()
460 OpName %coord "coord" in TEST_F()
495 OpName %coord "coord" in TEST_F()
/third_party/spirv-tools/test/val/
Dval_opencl_test.cpp199 OpName %coord "coord" in TEST_F()
236 OpName %coord "coord" in TEST_F()
268 OpName %coord "coord" in TEST_F()
300 OpName %coord "coord" in TEST_F()
333 OpName %coord "coord" in TEST_F()
365 OpName %coord "coord" in TEST_F()
396 OpName %coord "coord" in TEST_F()
427 OpName %coord "coord" in TEST_F()
460 OpName %coord "coord" in TEST_F()
495 OpName %coord "coord" in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_opencl_test.cpp199 OpName %coord "coord" in TEST_F()
236 OpName %coord "coord" in TEST_F()
268 OpName %coord "coord" in TEST_F()
300 OpName %coord "coord" in TEST_F()
333 OpName %coord "coord" in TEST_F()
365 OpName %coord "coord" in TEST_F()
396 OpName %coord "coord" in TEST_F()
427 OpName %coord "coord" in TEST_F()
460 OpName %coord "coord" in TEST_F()
495 OpName %coord "coord" in TEST_F()
/third_party/skia/third_party/externals/spirv-cross/shaders/frag/
Dsampler-ms.frag10 ivec2 coord = ivec2(gl_FragCoord.xy);
12 texelFetch(uSampler, coord, 0) +
13 texelFetch(uSampler, coord, 1) +
14 texelFetch(uSampler, coord, 2) +
15 texelFetch(uSampler, coord, 3);
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/frag/
Dsampler-ms.frag10 ivec2 coord = ivec2(gl_FragCoord.xy);
12 texelFetch(uSampler, coord, 0) +
13 texelFetch(uSampler, coord, 1) +
14 texelFetch(uSampler, coord, 2) +
15 texelFetch(uSampler, coord, 3);

12345678910>>...24