Home
last modified time | relevance | path

Searched refs:alpha0 (Results 1 – 25 of 38) sorted by relevance

12

/third_party/openGLES/extensions/NV/
DNV_texture_compression_s3tc.txt292 alpha0, alpha1, bits_0, bits_1, bits_2, bits_3, bits_4, bits_5
294 The alpha0 and alpha1 are 8-bit unsigned bytes converted to
315 alpha0, code(x,y) == 0
318 (6*alpha0 + 1*alpha1)/7, alpha0 > alpha1 and code(x,y) == 2
319 (5*alpha0 + 2*alpha1)/7, alpha0 > alpha1 and code(x,y) == 3
320 (4*alpha0 + 3*alpha1)/7, alpha0 > alpha1 and code(x,y) == 4
321 (3*alpha0 + 4*alpha1)/7, alpha0 > alpha1 and code(x,y) == 5
322 (2*alpha0 + 5*alpha1)/7, alpha0 > alpha1 and code(x,y) == 6
323 (1*alpha0 + 6*alpha1)/7, alpha0 > alpha1 and code(x,y) == 7
325 (4*alpha0 + 1*alpha1)/5, alpha0 <= alpha1 and code(x,y) == 2
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_texture_compression_s3tc.txt292 alpha0, alpha1, bits_0, bits_1, bits_2, bits_3, bits_4, bits_5
294 The alpha0 and alpha1 are 8-bit unsigned bytes converted to
315 alpha0, code(x,y) == 0
318 (6*alpha0 + 1*alpha1)/7, alpha0 > alpha1 and code(x,y) == 2
319 (5*alpha0 + 2*alpha1)/7, alpha0 > alpha1 and code(x,y) == 3
320 (4*alpha0 + 3*alpha1)/7, alpha0 > alpha1 and code(x,y) == 4
321 (3*alpha0 + 4*alpha1)/7, alpha0 > alpha1 and code(x,y) == 5
322 (2*alpha0 + 5*alpha1)/7, alpha0 > alpha1 and code(x,y) == 6
323 (1*alpha0 + 6*alpha1)/7, alpha0 > alpha1 and code(x,y) == 7
325 (4*alpha0 + 1*alpha1)/5, alpha0 <= alpha1 and code(x,y) == 2
[all …]
/third_party/ffmpeg/libavcodec/
Daacsbr_fixed.c236 int (*alpha0)[2], int (*alpha1)[2], in sbr_hf_inverse_filter()
289 alpha0[k][0] = 0x7fffffff; in sbr_hf_inverse_filter()
291 alpha0[k][0] = 0; in sbr_hf_inverse_filter()
295 alpha0[k][0] = a00.mant * (1<<-shift); in sbr_hf_inverse_filter()
298 alpha0[k][0] = (a00.mant + round) >> shift; in sbr_hf_inverse_filter()
304 alpha0[k][1] = 0x7fffffff; in sbr_hf_inverse_filter()
306 alpha0[k][1] = 0; in sbr_hf_inverse_filter()
310 alpha0[k][1] = a01.mant * (1<<-shift); in sbr_hf_inverse_filter()
313 alpha0[k][1] = (a01.mant + round) >> shift; in sbr_hf_inverse_filter()
352 alpha0[k][0] = 0; in sbr_hf_inverse_filter()
[all …]
Daacsbr.c141 float (*alpha0)[2], float (*alpha1)[2], in sbr_hf_inverse_filter()
171 alpha0[k][0] = 0; in sbr_hf_inverse_filter()
172 alpha0[k][1] = 0; in sbr_hf_inverse_filter()
180 alpha0[k][0] = -temp_real / phi[1][0][0]; in sbr_hf_inverse_filter()
181 alpha0[k][1] = -temp_im / phi[1][0][0]; in sbr_hf_inverse_filter()
185 alpha0[k][0] * alpha0[k][0] + alpha0[k][1] * alpha0[k][1] >= 16.0f) { in sbr_hf_inverse_filter()
188 alpha0[k][0] = 0; in sbr_hf_inverse_filter()
189 alpha0[k][1] = 0; in sbr_hf_inverse_filter()
Dtexturedsp.c262 uint8_t alpha0 = *(block); in dxt5_block_internal() local
276 alpha = alpha0; in dxt5_block_internal()
280 if (alpha0 > alpha1) { in dxt5_block_internal()
281 alpha = (uint8_t) (((8 - alpha_code) * alpha0 + in dxt5_block_internal()
289 alpha = (uint8_t) (((6 - alpha_code) * alpha0 + in dxt5_block_internal()
Dsbr.h135 INTFLOAT (*alpha0)[2], INTFLOAT (*alpha1)[2],
197 DECLARE_ALIGNED(16, INTFLOAT, alpha0)[64][2];
Dsbrdsp.c160 const float alpha0[2], const float alpha1[2], in sbr_hf_gen_c()
168 alpha[2] = alpha0[0] * bw; in sbr_hf_gen_c()
169 alpha[3] = alpha0[1] * bw; in sbr_hf_gen_c()
Dsbrdsp_fixed.c209 const int alpha0[2], const int alpha1[2], in sbr_hf_gen_c()
216 accu = (int64_t)alpha0[0] * bw; in sbr_hf_gen_c()
218 accu = (int64_t)alpha0[1] * bw; in sbr_hf_gen_c()
Dnotchlc.c290 unsigned alpha0, alpha1; in decode_blocks() local
301 alpha0 = control & 0xFF; in decode_blocks()
325 …dsta[x + (i + by * 4) * alinesize + bx * 4 + j] = (alpha0 + (alpha1 - alpha0) * (control & 7)) << … in decode_blocks()
Dsbrdsp.h38 const INTFLOAT alpha0[2], const INTFLOAT alpha1[2],
/third_party/ffmpeg/tests/checkasm/
Dsbrdsp.c176 LOCAL_ALIGNED_16(INTFLOAT, alpha0, [2]); in test_hf_gen()
184 const INTFLOAT alpha0[2], const INTFLOAT alpha1[2], in test_hf_gen()
188 randomize((INTFLOAT *)alpha0, 2); in test_hf_gen()
193 call_ref(dst0, low, alpha0, alpha1, 0.0, i, 128); in test_hf_gen()
194 call_new(dst1, low, alpha0, alpha1, 0.0, i, 128); in test_hf_gen()
197 bench_new(dst1, low, alpha0, alpha1, bw, i, 128); in test_hf_gen()
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_color_unquantize.cpp306 int alpha0 = color_unquantization_tables[quantization_level][input[2]]; in luminance_alpha_unpack() local
308 *output0 = uint4(lum0, lum0, lum0, alpha0); in luminance_alpha_unpack()
320 int alpha0 = color_unquantization_tables[quantization_level][input[2]]; in luminance_alpha_delta_unpack() local
324 alpha0 |= (alpha1 & 0x80) << 1; in luminance_alpha_delta_unpack()
334 alpha0 >>= 1; in luminance_alpha_delta_unpack()
337 alpha1 += alpha0; in luminance_alpha_delta_unpack()
349 *output0 = uint4(lum0, lum0, lum0, alpha0); in luminance_alpha_delta_unpack()
792 int alpha0, alpha1; in hdr_rgb_hdr_alpha_unpack3() local
793 hdr_alpha_unpack(input + 6, quantization_level, &alpha0, &alpha1); in hdr_rgb_hdr_alpha_unpack3()
795 output0->w = alpha0; in hdr_rgb_hdr_alpha_unpack3()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_s3tc.c832 LLVMValueRef alpha0, in lp_build_lerpdxta() argument
868 alpha0 = LLVMBuildBitCast(builder, alpha0, bld16.vec_type, ""); in lp_build_lerpdxta()
879 delta = LLVMBuildSub(builder, alpha1, alpha0, ""); in lp_build_lerpdxta()
886 alpha0 = LLVMBuildBitCast(builder, alpha0, lp_build_vec_type(gallivm, type8), ""); in lp_build_lerpdxta()
887 ainterp = LLVMBuildAdd(builder, alpha0, ainterp, ""); in lp_build_lerpdxta()
902 LLVMValueRef tmp, alpha0, alpha1, alphac, alphac0, bit_pos, shift; in s3tc_dxt5_alpha_channel() local
928 alpha0 = LLVMBuildAnd(builder, alpha_lo, in s3tc_dxt5_alpha_channel()
931 alpha0 = LLVMBuildTrunc(builder, alpha0, lp_build_vec_type(gallivm, type8), ""); in s3tc_dxt5_alpha_channel()
932 alpha0 = LLVMBuildSExt(builder, alpha0, lp_build_vec_type(gallivm, type), ""); in s3tc_dxt5_alpha_channel()
997 alpha0, alpha1); in s3tc_dxt5_alpha_channel()
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_texture_compression_s3tc.txt787 alpha0, alpha1, bits_0, bits_1, bits_2, bits_3, bits_4, bits_5
789 The alpha0 and alpha1 are 8-bit unsigned bytes converted to alpha
808 alpha0, code(x,y) == 0
811 (6*alpha0 + 1*alpha1)/7, alpha0 > alpha1 and code(x,y) == 2
812 (5*alpha0 + 2*alpha1)/7, alpha0 > alpha1 and code(x,y) == 3
813 (4*alpha0 + 3*alpha1)/7, alpha0 > alpha1 and code(x,y) == 4
814 (3*alpha0 + 4*alpha1)/7, alpha0 > alpha1 and code(x,y) == 5
815 (2*alpha0 + 5*alpha1)/7, alpha0 > alpha1 and code(x,y) == 6
816 (1*alpha0 + 6*alpha1)/7, alpha0 > alpha1 and code(x,y) == 7
818 (4*alpha0 + 1*alpha1)/5, alpha0 <= alpha1 and code(x,y) == 2
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_texture_compression_s3tc.txt787 alpha0, alpha1, bits_0, bits_1, bits_2, bits_3, bits_4, bits_5
789 The alpha0 and alpha1 are 8-bit unsigned bytes converted to alpha
808 alpha0, code(x,y) == 0
811 (6*alpha0 + 1*alpha1)/7, alpha0 > alpha1 and code(x,y) == 2
812 (5*alpha0 + 2*alpha1)/7, alpha0 > alpha1 and code(x,y) == 3
813 (4*alpha0 + 3*alpha1)/7, alpha0 > alpha1 and code(x,y) == 4
814 (3*alpha0 + 4*alpha1)/7, alpha0 > alpha1 and code(x,y) == 5
815 (2*alpha0 + 5*alpha1)/7, alpha0 > alpha1 and code(x,y) == 6
816 (1*alpha0 + 6*alpha1)/7, alpha0 > alpha1 and code(x,y) == 7
818 (4*alpha0 + 1*alpha1)/5, alpha0 <= alpha1 and code(x,y) == 2
[all …]
/third_party/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h37 const TYPE alpha0 = blksrc[0]; in TAG() local
46 decode = alpha0; in TAG()
49 else if (alpha0 > alpha1) in TAG()
50 decode = ((alpha0 * (8 - code) + (alpha1 * (code - 1))) / 7); in TAG()
52 decode = ((alpha0 * (6 - code) + (alpha1 * (code - 1))) / 5); in TAG()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dcompositor.c1509 gint height0, gdouble alpha0, gint xpos1, gint ypos1, gint width1, in _test_obscured() argument
1557 "height", height0, "alpha", alpha0, NULL); in _test_obscured()
1598 gdouble alpha0, alpha1; in GST_START_TEST() local
1604 alpha0 = alpha1 = 1.0; in GST_START_TEST()
1613 _test_obscured (caps_str, xpos0, ypos0, width0, height0, alpha0, xpos1, ypos1, in GST_START_TEST()
1620 _test_obscured (caps_str, xpos0, ypos0, width0, height0, alpha0, xpos1, ypos1, in GST_START_TEST()
1628 _test_obscured (caps_str, xpos0, ypos0, width0, height0, alpha0, xpos1, ypos1, in GST_START_TEST()
1637 _test_obscured (caps_str, xpos0, ypos0, width0, height0, alpha0, xpos1, in GST_START_TEST()
1646 _test_obscured (caps_str, xpos0, ypos0, width0, height0, alpha0, xpos1, ypos1, in GST_START_TEST()
1654 _test_obscured (caps_str, xpos0, ypos0, width0, height0, alpha0, xpos1, ypos1, in GST_START_TEST()
[all …]
/third_party/ffmpeg/libavcodec/mips/
Dsbrdsp_mips.c612 const float alpha0[2], const float alpha1[2], in sbr_hf_gen_mips()
624 alpha[2] = alpha0[0] * bw; in sbr_hf_gen_mips()
625 alpha[3] = alpha0[1] * bw; in sbr_hf_gen_mips()
Daacsbr_mips.c489 float (*alpha0)[2], float (*alpha1)[2], in sbr_hf_inverse_filter_mips()
503 alpha_0 = &alpha0[k][0]; in sbr_hf_inverse_filter_mips()
/third_party/ffmpeg/libavcodec/aarch64/
Dsbrdsp_init_aarch64.c34 const float alpha0[2], const float alpha1[2],
/third_party/ffmpeg/libavcodec/arm/
Dsbrdsp_init_arm.c36 const float alpha0[2], const float alpha1[2],
/third_party/ffmpeg/libavcodec/x86/
Dsbrdsp_init.c33 const float alpha0[2], const float alpha1[2],
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fMultisampleTests.cpp802 …Vec4 alpha0 (0.0f, 0.0f, 0.0f, m_isAlphaToCoverageCase ? (float)col / (float)(numQuadRowsCols-1)… in iterate() local
829 …ec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseGreen + alpha0, baseGreen + alpha1, baseGreen + alpha… in iterate()
830 …), Vec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseRed + alpha0, baseRed + alpha1, baseRed + alpha0,… in iterate()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h157 const GLubyte alpha0 = blksrc[0]; in fetch_2d_texel_rgba_dxt5() local
166 rgba[ACOMP] = UBYTE_TO_CHAN( alpha0 ); in fetch_2d_texel_rgba_dxt5()
169 else if (alpha0 > alpha1) in fetch_2d_texel_rgba_dxt5()
170 rgba[ACOMP] = UBYTE_TO_CHAN( ((alpha0 * (8 - code) + (alpha1 * (code - 1))) / 7) ); in fetch_2d_texel_rgba_dxt5()
172 rgba[ACOMP] = UBYTE_TO_CHAN( ((alpha0 * (6 - code) + (alpha1 * (code - 1))) / 5) ); in fetch_2d_texel_rgba_dxt5()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp84 uint8_t alpha0 = src[srcOffset + yy * 2 + (xx >> 1)]; in UncompressDXTBlock() local
85 uint8_t alpha1 = (alpha0 >> ((xx % 2) * 4)) & 0xF; in UncompressDXTBlock()
91 uint8_t alpha0 = src[srcOffset + 0]; in UncompressDXTBlock() local
100 if (alpha0 > alpha1) in UncompressDXTBlock()
105 alpha = alpha0; in UncompressDXTBlock()
112 alpha = ((8 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 7; in UncompressDXTBlock()
121 alpha = alpha0; in UncompressDXTBlock()
134 alpha = ((6 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 5; in UncompressDXTBlock()

12