Home
last modified time | relevance | path

Searched refs:texel (Results 1 - 25 of 54) sorted by relevance

123

/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_rgtc.c316 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_red_rgtc1()
320 texel[RCOMP] = UBYTE_TO_FLOAT(red); in fetch_red_rgtc1()
321 texel[GCOMP] = 0.0; in fetch_red_rgtc1()
322 texel[BCOMP] = 0.0; in fetch_red_rgtc1()
323 texel[ACOMP] = 1.0; in fetch_red_rgtc1()
328 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_l_latc1()
332 texel[RCOMP] = in fetch_l_latc1()
333 texel[GCOMP] = in fetch_l_latc1()
334 texel[BCOMP] = UBYTE_TO_FLOAT(red); in fetch_l_latc1()
335 texel[ACOM in fetch_l_latc1()
315 fetch_red_rgtc1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_red_rgtc1() argument
327 fetch_l_latc1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_l_latc1() argument
339 fetch_signed_red_rgtc1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_signed_red_rgtc1() argument
352 fetch_signed_l_latc1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_signed_l_latc1() argument
365 fetch_rg_rgtc2(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_rg_rgtc2() argument
382 fetch_la_latc2(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_la_latc2() argument
400 fetch_signed_rg_rgtc2(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_signed_rg_rgtc2() argument
418 fetch_signed_la_latc2(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_signed_la_latc2() argument
[all...]
H A Dtexcompress_s3tc.c264 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_rgb_dxt1()
268 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgb_dxt1()
269 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgb_dxt1()
270 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); in fetch_rgb_dxt1()
271 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgb_dxt1()
276 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_rgba_dxt1()
280 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgba_dxt1()
281 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgba_dxt1()
282 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); in fetch_rgba_dxt1()
283 texel[ACOM in fetch_rgba_dxt1()
263 fetch_rgb_dxt1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_rgb_dxt1() argument
275 fetch_rgba_dxt1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_rgba_dxt1() argument
287 fetch_rgba_dxt3(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_rgba_dxt3() argument
299 fetch_rgba_dxt5(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_rgba_dxt5() argument
312 fetch_srgb_dxt1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_srgb_dxt1() argument
324 fetch_srgba_dxt1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_srgba_dxt1() argument
336 fetch_srgba_dxt3(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_srgba_dxt3() argument
348 fetch_srgba_dxt5(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_srgba_dxt5() argument
[all...]
H A Dtexcompress_bptc.c40 GLfloat *texel, in fetch_bptc_rgb_float()
47 fetch_rgb_float_from_block(block, texel, (i % 4) + (j % 4) * 4, is_signed); in fetch_bptc_rgb_float()
53 GLfloat *texel) in fetch_bptc_rgb_signed_float()
55 fetch_bptc_rgb_float(map, rowStride, i, j, texel, true); in fetch_bptc_rgb_signed_float()
61 GLfloat *texel) in fetch_bptc_rgb_unsigned_float()
63 fetch_bptc_rgb_float(map, rowStride, i, j, texel, false); in fetch_bptc_rgb_unsigned_float()
69 GLubyte *texel) in fetch_bptc_rgba_unorm_bytes()
75 fetch_rgba_unorm_from_block(block, texel, (i % 4) + (j % 4) * 4); in fetch_bptc_rgba_unorm_bytes()
81 GLfloat *texel) in fetch_bptc_rgba_unorm()
87 texel[RCOM in fetch_bptc_rgba_unorm()
38 fetch_bptc_rgb_float(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel, bool is_signed) fetch_bptc_rgb_float() argument
51 fetch_bptc_rgb_signed_float(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_bptc_rgb_signed_float() argument
59 fetch_bptc_rgb_unsigned_float(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_bptc_rgb_unsigned_float() argument
67 fetch_bptc_rgba_unorm_bytes(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLubyte *texel) fetch_bptc_rgba_unorm_bytes() argument
79 fetch_bptc_rgba_unorm(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_bptc_rgba_unorm() argument
94 fetch_bptc_srgb_alpha_unorm(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_bptc_srgb_alpha_unorm() argument
[all...]
H A Dtexcompress_etc.c1272 GLfloat *texel) in fetch_etc1_rgb8()
1283 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]); in fetch_etc1_rgb8()
1284 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]); in fetch_etc1_rgb8()
1285 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]); in fetch_etc1_rgb8()
1286 texel[ACOMP] = 1.0f; in fetch_etc1_rgb8()
1292 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_etc2_rgb8()
1305 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]); in fetch_etc2_rgb8()
1306 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]); in fetch_etc2_rgb8()
1307 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]); in fetch_etc2_rgb8()
1308 texel[ACOM in fetch_etc2_rgb8()
1270 fetch_etc1_rgb8(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc1_rgb8() argument
1291 fetch_etc2_rgb8(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_rgb8() argument
1312 fetch_etc2_srgb8(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_srgb8() argument
1333 fetch_etc2_rgba8_eac(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_rgba8_eac() argument
1352 fetch_etc2_srgb8_alpha8_eac(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_srgb8_alpha8_eac() argument
1371 fetch_etc2_r11_eac(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_r11_eac() argument
1390 fetch_etc2_rg11_eac(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_rg11_eac() argument
1414 fetch_etc2_signed_r11_eac(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_signed_r11_eac() argument
1433 fetch_etc2_signed_rg11_eac(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_signed_rg11_eac() argument
1457 fetch_etc2_rgb8_punchthrough_alpha1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_rgb8_punchthrough_alpha1() argument
1478 fetch_etc2_srgb8_punchthrough_alpha1(const GLubyte *map, GLint rowStride, GLint i, GLint j, GLfloat *texel) fetch_etc2_srgb8_punchthrough_alpha1() argument
[all...]
H A Dtexcompress_bptc_tmp.h240 * partition is represented by a 32-bit value which gives 2 bits per texel
449 int texel) in is_anchor()
451 if (texel == 0) in is_anchor()
458 return anchor_indices[0][partition_num] == texel; in is_anchor()
460 return (anchor_indices[1][partition_num] == texel || in is_anchor()
461 anchor_indices[2][partition_num] == texel); in is_anchor()
471 int texel) in count_anchors_before_texel()
475 if (texel == 0) in count_anchors_before_texel()
482 if (texel > anchor_indices[0][partition_num]) in count_anchors_before_texel()
486 if (texel > anchor_indice in count_anchors_before_texel()
447 is_anchor(int n_subsets, int partition_num, int texel) is_anchor() argument
469 count_anchors_before_texel(int n_subsets, int partition_num, int texel) count_anchors_before_texel() argument
535 fetch_rgba_unorm_from_block(const uint8_t *block, uint8_t *result, int texel) fetch_rgba_unorm_from_block() argument
728 int texel; decompress_rgba_unorm_block() local
952 fetch_rgb_float_from_block(const uint8_t *block, float *result, int texel, bool is_signed) fetch_rgb_float_from_block() argument
1095 int texel; decompress_rgb_float_block() local
[all...]
H A Dtexcompress_fxt1.c101 int32_t rowStride, int32_t i, int32_t j, float *texel) in fetch_rgb_fxt1()
105 util_format_fxt1_rgb_fetch_rgba(texel, map, i & 7, j & 3); in fetch_rgb_fxt1()
111 int32_t rowStride, int32_t i, int32_t j, float *texel) in fetch_rgba_fxt1()
115 util_format_fxt1_rgba_fetch_rgba(texel, map, i & 7, j & 3); in fetch_rgba_fxt1()
100 fetch_rgb_fxt1(const uint8_t *map, int32_t rowStride, int32_t i, int32_t j, float *texel) fetch_rgb_fxt1() argument
110 fetch_rgba_fxt1(const uint8_t *map, int32_t rowStride, int32_t i, int32_t j, float *texel) fetch_rgba_fxt1() argument
H A Dtexcompress_s3tc_tmp.h57 GLint i, GLint j, GLuint dxt_type, GLvoid *texel ) { in dxt135_decode_imageblock()
58 GLchan *rgba = (GLchan *) texel; in dxt135_decode_imageblock()
112 GLint i, GLint j, GLvoid *texel) in fetch_2d_texel_rgb_dxt1()
115 * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. in fetch_2d_texel_rgb_dxt1()
119 dxt135_decode_imageblock(blksrc, (i&3), (j&3), 0, texel); in fetch_2d_texel_rgb_dxt1()
124 GLint i, GLint j, GLvoid *texel) in fetch_2d_texel_rgba_dxt1()
127 * in texel[RCOM in fetch_2d_texel_rgba_dxt1()
111 fetch_2d_texel_rgb_dxt1(GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) fetch_2d_texel_rgb_dxt1() argument
123 fetch_2d_texel_rgba_dxt1(GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) fetch_2d_texel_rgba_dxt1() argument
134 fetch_2d_texel_rgba_dxt3(GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) fetch_2d_texel_rgba_dxt3() argument
148 fetch_2d_texel_rgba_dxt5(GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) fetch_2d_texel_rgba_dxt5() argument
[all...]
H A Dtexcompress.h51 /** A function to fetch one texel from a compressed texture */
55 GLfloat *texel);
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor_gfx.c172 * texel[0..1].x = tex(t_tc[0..1][0]) in create_frag_shader_weave()
173 * texel[0..1].y = tex(t_tc[0..1][1]) in create_frag_shader_weave()
174 * texel[0..1].z = tex(t_tc[0..1][2]) in create_frag_shader_weave()
204 create_frag_shader_csc(struct ureg_program *shader, struct ureg_dst texel, in create_frag_shader_csc() argument
220 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W), in create_frag_shader_csc()
225 ureg_src(texel)); in create_frag_shader_csc()
228 ureg_scalar(ureg_src(texel), TGSI_SWIZZLE_Z)); in create_frag_shader_csc()
241 create_frag_shader_yuv(struct ureg_program *shader, struct ureg_dst texel) in create_frag_shader_yuv() argument
258 * texel.xyz = tex(tc, sampler[i]) in create_frag_shader_yuv()
261 ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_ in create_frag_shader_yuv()
268 struct ureg_dst texel; create_frag_shader_video_buffer() local
291 struct ureg_dst texel, fragment; create_frag_shader_weave_rgb() local
314 struct ureg_dst texel, fragment; create_frag_shader_deint_yuv() local
350 struct ureg_dst texel; create_frag_shader_palette() local
406 struct ureg_dst texel, fragment; create_frag_shader_rgba() local
438 struct ureg_dst texel, fragment; create_frag_shader_rgb_yuv() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderImage.cpp760 // Gather packed texel data. Texels larger than 4 bytes occupy multiple SIMD::Int elements. in EmitImageRead()
1138 auto texel = Operand(this, state, instruction.texelId); in EmitImageWrite() local
1154 texelAndMask[0] = texel.Int(0); in EmitImageWrite()
1155 texelAndMask[1] = texel.Int(1); in EmitImageWrite()
1156 texelAndMask[2] = texel.Int(2); in EmitImageWrite()
1157 texelAndMask[3] = texel.Int(3); in EmitImageWrite()
1180 SIMD::Int texel[4]; in WriteImage() local
1181 texel[0] = texelAndMask[0]; in WriteImage()
1182 texel[1] = texelAndMask[1]; in WriteImage()
1183 texel[ in WriteImage()
[all...]
/third_party/astc-encoder/Source/
H A Dastcenc_block_sizes.cpp284 unsigned int texel = y * x_texels + x; in init_decimation_info_2d() local
313 wb.grid_weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(qweight[i]); in init_decimation_info_2d()
314 wb.weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(weight[i]); in init_decimation_info_2d()
315 wb.weight_count_of_texel[texel]++; in init_decimation_info_2d()
316 wb.texels_of_weight[qweight[i]][wb.texel_count_of_weight[qweight[i]]] = static_cast<uint8_t>(texel); in init_decimation_info_2d()
356 uint8_t texel = wb.texels_of_weight[i][j]; in init_decimation_info_2d() local
359 di.weight_texels_tr[j][i] = texel; in init_decimation_info_2d()
362 // Store the per-texel contributio in init_decimation_info_2d()
470 int texel = (z * y_texels + y) * x_texels + x; init_decimation_info_3d() local
612 unsigned int texel = wb.texels_of_weight[i][j]; init_decimation_info_3d() local
717 uint8_t texel = static_cast<uint8_t>(astc::rand(rng_state)); assign_kmeans_texels() local
[all...]
H A Dastcenc_compress_symbolic.cpp131 unsigned int texel = 0; in realign_weights_undecimated() local
132 for (; texel + ASTCENC_SIMD_WIDTH <= bsd.texel_count; texel += ASTCENC_SIMD_WIDTH) in realign_weights_undecimated()
134 int uqw0 = dec_weights_uquant[texel]; in realign_weights_undecimated()
135 int uqw1 = dec_weights_uquant[texel + 1]; in realign_weights_undecimated()
136 int uqw2 = dec_weights_uquant[texel + 2]; in realign_weights_undecimated()
137 int uqw3 = dec_weights_uquant[texel + 3]; in realign_weights_undecimated()
151 unsigned int partition0 = pi.partition_of_texel[texel]; in realign_weights_undecimated()
152 unsigned int partition1 = pi.partition_of_texel[texel + 1]; in realign_weights_undecimated()
153 unsigned int partition2 = pi.partition_of_texel[texel in realign_weights_undecimated()
492 unsigned int texel = di.weight_texels_tr[te_idx][we_idx]; realign_weights_decimated() local
[all...]
H A Dastcenc_find_best_partitioning.cpp74 vfloat4 center_color = blk.texel(sample); in kmeans_init()
82 vfloat4 color = blk.texel(i); in kmeans_init()
116 center_color = blk.texel(sample); in kmeans_init()
127 vfloat4 color = blk.texel(i); in kmeans_init()
144 * @param[out] partition_of_texel The partition assigned for each texel.
158 // Find the best partition for every texel in kmeans_assign()
164 vfloat4 color = blk.texel(i); in kmeans_assign()
181 // assign texel N to partition N. This is silly, but ensures that every partition retains at in kmeans_assign()
182 // least one texel. Reassigning a texel i in kmeans_assign()
[all...]
H A Dastcenc_ideal_endpoints_and_weights.cpp21 * @brief Functions for computing color endpoints and texel weights.
30 * @brief Compute the infilled weight for N texel indices in a decimated grid.
34 * @param index The first texel index to interpolate.
43 // Load the bilinear filter texel weight indexes in the decimated grid in bilinear_infill_vla()
61 // Compute the bilinear interpolation to generate the per-texel weight in bilinear_infill_vla()
67 * @brief Compute the infilled weight for N texel indices in a decimated grid.
69 * This is specialized version which computes only two weights per texel for
74 * @param index The first texel index to interpolate.
83 // Load the bilinear filter texel weight indexes in the decimated grid in bilinear_infill_vla_2()
95 // Compute the bilinear interpolation to generate the per-texel weigh in bilinear_infill_vla_2()
[all...]
H A Dastcenc_image.cpp43 * @brief Load a 8-bit UNORM texel from a data array.
57 * @brief Load a 16-bit fp16 texel from a data array.
75 * @brief Load a 32-bit float texel from a data array.
103 * @brief Swizzle a texel into a new arrangement.
122 * @brief Encode a texel that is entirely LDR linear.
136 * @brief Encode a texel that includes at least some HDR LNS texels.
249 vfloat4 data_enc = blk.texel(0); in load_image_block()
323 blk.origin_texel = blk.texel(0) / 65535.0f; in load_image_block_fast_ldr()
489 vfloat4 colorf = blk.texel(idx); in store_image_block()
521 vfloat4 color = blk.texel(id in store_image_block()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_block_sizes2.cpp255 int texel = y * xdim + x; in initialize_decimation_table_2d() local
282 tw->grid_weights_of_texel[texel][tw->weightcount_of_texel[texel]] = qweight[i]; in initialize_decimation_table_2d()
283 tw->weights_of_texel[texel][tw->weightcount_of_texel[texel]] = weight[i]; in initialize_decimation_table_2d()
284 tw->weightcount_of_texel[texel]++; in initialize_decimation_table_2d()
285 tw->texels_of_weight[qweight[i]][tw->texelcount_of_weight[qweight[i]]] = texel; in initialize_decimation_table_2d()
341 int texel = (z * ydim + y) * xdim + x; in initialize_decimation_table_3d() local
440 tw->grid_weights_of_texel[texel][tw->weightcount_of_texel[texel]] in initialize_decimation_table_3d()
[all...]
/third_party/vk-gl-cts/external/amber/src/src/
H A Dverifier.cc209 // Convert data of |texel| into double values based on the
211 std::vector<double> GetActualValuesFromTexel(const uint8_t* texel, in GetActualValuesFromTexel() argument
227 CopyBitsOfMemoryToBuffer(actual, texel, bit_offset, num_bits); in GetActualValuesFromTexel()
280 // ::kSNorm or ::kSRGB, scale the corresponding value in |texel|.
283 void ScaleTexelValuesIfNeeded(std::vector<double>* texel, const Format* fmt) { in ScaleTexelValuesIfNeeded() argument
284 assert(fmt->GetSegments().size() == texel->size()); in ScaleTexelValuesIfNeeded()
291 double scaled_value = (*texel)[i]; in ScaleTexelValuesIfNeeded()
305 (*texel)[i] = scaled_value; in ScaleTexelValuesIfNeeded()
309 /// Check |texel| with |texel_format| is the same with the expected
314 bool IsTexelEqualToExpected(const std::vector<double>& texel, in IsTexelEqualToExpected() argument
365 GetTexelInRGBA(const std::vector<double>& texel, const Format* fmt) GetTexelInRGBA() argument
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_meta_copy.c203 default: unreachable("Invalid texel size\n"); in panvk_meta_copy_img_bifrost_raw_format()
359 nir_ssa_def *texel = &tex->dest.ssa; in panvk_meta_copy_img2img_shader() local
368 nir_f2u32(&b, nir_fmul(&b, texel, in panvk_meta_copy_img2img_shader()
383 texel = nir_fmul_imm(&b, nir_u2f32(&b, rg), 1.0 / 255); in panvk_meta_copy_img2img_shader()
386 nir_ssa_def *rg = nir_f2u32(&b, nir_fmul_imm(&b, texel, 255)); in panvk_meta_copy_img2img_shader()
400 texel = nir_fmul(&b, nir_u2f32(&b, rgb), in panvk_meta_copy_img2img_shader()
419 texel = nir_u2u16(&b, texel); in panvk_meta_copy_img2img_shader()
421 texel = nir_channels(&b, texel, ( in panvk_meta_copy_img2img_shader()
919 nir_ssa_def *texel = panvk_meta_copy_buf2img_shader() local
1376 nir_ssa_def *texel = &tex->dest.ssa; panvk_meta_copy_img2buf_shader() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cTextureBarrierTests.cpp340 /* Returns a reference to the texel value of the specified image at the specified location. */
341 GLuint& texel(GLuint* image, GLuint x, GLuint y) in texel() function in gl4cts::TextureBarrierBasicOutline
363 texel(m_reference[i], x, y) = (i << 24) + (y << 12) + x; in initTextureData()
388 if (texel(m_reference[i], x, y) != texel(m_actual, x, y)) in verifyTextureData()
595 texel(m_reference[i], x, y) = in updateTextureData()
596 texel(m_reference[i], x + m_blockSize, y) + texel(m_reference[i], x - m_blockSize, y) + in updateTextureData()
597 texel(m_reference[i], x, y + m_blockSize) + texel(m_referenc in updateTextureData()
[all...]
H A Dgl4cTextureFilterMinmaxTests.cpp492 for (size_t texel = 0; texel < textureData.size(); ++texel) in calcPixelSumValue()
494 tcu::RGBA rgba(textureData[texel]); in calcPixelSumValue()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/
H A Dfractal.cpp126 auto& texel = texels[x + y * width]; in writeBMP() local
127 put1(texel.b); in writeBMP()
128 put1(texel.g); in writeBMP()
129 put1(texel.r); in writeBMP()
/third_party/mesa3d/src/util/format/
H A Du_format_fxt1.c59 #define MAX_COMP 4 /* ever needed maximum number of components in texel */
616 int32_t texel; in fxt1_quantize_ALPHA1() local
618 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
619 /* add in texel */ in fxt1_quantize_ALPHA1()
621 lolo |= texel; in fxt1_quantize_ALPHA1()
636 int32_t texel; in fxt1_quantize_ALPHA1() local
638 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]); in fxt1_quantize_ALPHA1()
639 /* add in texel */ in fxt1_quantize_ALPHA1()
641 lohi |= texel; in fxt1_quantize_ALPHA1()
723 int32_t texel in fxt1_quantize_HI() local
819 int32_t texel = n_vect + 1; /* transparent black */ fxt1_quantize_MIXED1() local
853 int32_t texel = n_vect + 1; /* transparent black */ fxt1_quantize_MIXED1() local
982 int32_t texel; fxt1_quantize_MIXED0() local
1015 int32_t texel; fxt1_quantize_MIXED0() local
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_linear_sampler.c209 const uint8_t *texel = (src + in fetch_bgra() local
213 row[i] = *(const uint32_t *)texel; in fetch_bgra()
240 const uint8_t *texel = (src + in fetch_bgrx() local
244 row[i] = (*(const uint32_t *)texel) | 0xff000000; in fetch_bgrx()
277 const uint8_t *texel = src + ct * stride + cs * 4; in fetch_bgra_clamp() local
279 row[i] = *(const uint32_t *)texel; in fetch_bgra_clamp()
310 const uint8_t *texel = src + ct * stride + cs * 4; in fetch_bgrx_clamp() local
312 row[i] = (*(const uint32_t *)texel) | 0xff000000; in fetch_bgrx_clamp()
H A Dlp_state_fs_linear_llvm.c108 LLVMValueRef texel = lp_build_pointer_get(bld->gallivm->builder, in emit_fetch_texel_linear() local
110 assert(LLVMTypeOf(texel) == bld->vec_type); in emit_fetch_texel_linear()
120 return texel; in emit_fetch_texel_linear()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.h120 LLVMValueRef *texel; member
505 LLVMValueRef *texel) in apply_sampler_swizzle()
514 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles); in apply_sampler_swizzle()
504 apply_sampler_swizzle(struct lp_build_sample_context *bld, LLVMValueRef *texel) apply_sampler_swizzle() argument

Completed in 25 milliseconds

123