Home
last modified time | relevance | path

Searched refs:unorm (Results 1 - 20 of 20) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkImageUtil.cpp548 const deUint8 unorm = (deUint8)tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; in getYCbCrPlanarFormatDescription() local
567 { 1, unorm, 8, 8, 2 }, // R in getYCbCrPlanarFormatDescription()
568 { 0, unorm, 0, 8, 1 }, // G in getYCbCrPlanarFormatDescription()
569 { 1, unorm, 0, 8, 2 }, // B in getYCbCrPlanarFormatDescription()
586 { 1, unorm, 22, 10, 4 }, // R in getYCbCrPlanarFormatDescription()
587 { 0, unorm, 6, 10, 2 }, // G in getYCbCrPlanarFormatDescription()
588 { 1, unorm, 6, 10, 4 }, // B in getYCbCrPlanarFormatDescription()
605 { 1, unorm, 20, 12, 4 }, // R in getYCbCrPlanarFormatDescription()
606 { 0, unorm, 4, 12, 2 }, // G in getYCbCrPlanarFormatDescription()
607 { 1, unorm, in getYCbCrPlanarFormatDescription()
1299 const deUint8 unorm = (deUint8)tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; getCorePlanarFormatDescription() local
2630 const auto unorm = static_cast<uint8_t>(tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT); getPlanarFormatDescription() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DSurface.cpp91 *(unsigned char*)element = unorm<8>(a); in write()
97 *(unsigned char*)element = unorm<8>(r); in write()
118 *(unsigned char*)element = (unorm<3>(r) << 5) | (unorm<3>(g) << 2) | (unorm<2>(b) << 0); in write()
121 *(unsigned short*)element = (unorm<8>(a) << 8) | (unorm<3>(r) << 5) | (unorm<3>(g) << 2) | (unorm<2>(b) << 0); in write()
124 *(unsigned short*)element = 0xF000 | (unorm< in write()
[all...]
/third_party/mesa3d/src/broadcom/compiler/
H A Dv3d_nir_lower_logic_ops.c151 nir_ssa_def *unorm = nir_format_float_to_unorm(b, c, bits); in pack_unorm_rgb10a2() local
155 chans[i] = nir_channel(b, unorm, i); in pack_unorm_rgb10a2()
179 nir_ssa_def *unorm = nir_iand(b, c, nir_imm_int(b, masks[i])); in unpack_unorm_rgb10a2() local
180 chans[i] = nir_format_unorm_to_float(b, unorm, &bits[i]); in unpack_unorm_rgb10a2()
/third_party/mesa3d/src/util/tests/format/
H A Du_format_test.c422 * Skip test cases which cannot be represented by four unorm bytes. in test_format_pack_rgba_8unorm()
693 /* Touch-test that the unorm/snorm flags are set up right by codegen. */
699 #define FORMAT_CASE(format, unorm, snorm) \ in test_format_norm_flags()
701 success = (format_desc->is_unorm == unorm && \ in test_format_norm_flags()
725 printf("FAILED: %s (unorm %s, snorm %s)\n", in test_format_norm_flags()
831 enum pipe_format unorm = util_format_snorm_to_unorm(format); in test_all() local
834 /* no unorm equivalent for this one */ in test_all()
835 } else if (unorm == format) { in test_all()
839 } else if (!util_format_is_unorm(unorm)) { in test_all()
840 fprintf(stderr, "util_format_snorm_to_unorm(%s) returned non-unorm in test_all()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A Dmathutil.h56 inline unsigned int unorm(float x) in unorm() function
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A Drenderer9_utils.cpp68 return D3DCOLOR_RGBA(gl::unorm<8>(color.red), gl::unorm<8>(color.green), in ConvertColor()
69 gl::unorm<8>(color.blue), gl::unorm<8>(color.alpha)); in ConvertColor()
H A DStateManager9.cpp717 D3DCOLOR_RGBA(gl::unorm<8>(blendColor.alpha), gl::unorm<8>(blendColor.alpha), in setBlendColor()
718 gl::unorm<8>(blendColor.alpha), gl::unorm<8>(blendColor.alpha))); in setBlendColor()
H A DRenderer9.cpp1958 D3DCOLOR_ARGB(gl::unorm<8>((formatInfo.alphaBits == 0 && d3dFormatInfo.alphaBits > 0) in clear()
1961 gl::unorm<8>((formatInfo.redBits == 0 && d3dFormatInfo.redBits > 0) in clear()
1964 gl::unorm<8>((formatInfo.greenBits == 0 && d3dFormatInfo.greenBits > 0) in clear()
1967 gl::unorm<8>((formatInfo.blueBits == 0 && d3dFormatInfo.blueBits > 0) in clear()
3153 D3DCOLOR_ARGB(gl::unorm<8>(clearColorValue.alpha), gl::unorm<8>(clearColorValue.red), in clearRenderTarget()
3154 gl::unorm<8>(clearColorValue.green), gl::unorm<8>(clearColorValue.blue)); in clearRenderTarget()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_hlsl.hpp302 for (auto &unorm : uav) in TextureSizeVariants()
303 for (auto &u : unorm) in TextureSizeVariants()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DImage.cpp728 dest8888[4 * x + 0] = sw::unorm<8>((rgba & 0x000003FF) * (1.0f / 0x000003FF)); in TransferRow()
729 dest8888[4 * x + 1] = sw::unorm<8>((rgba & 0x000FFC00) * (1.0f / 0x000FFC00)); in TransferRow()
730 dest8888[4 * x + 2] = sw::unorm<8>((rgba & 0x3FF00000) * (1.0f / 0x3FF00000)); in TransferRow()
731 dest8888[4 * x + 3] = sw::unorm<8>((rgba & 0xC0000000) * (1.0f / 0xC0000000)); in TransferRow()
745 dest565[x] = (sw::unorm<5>(r) << 11) | (sw::unorm<6>(g) << 5) | (sw::unorm<5>(b) << 0); in TransferRow()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DMath.hpp254 inline unsigned int unorm(float x) in unorm() function
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DMath.hpp222 inline unsigned int unorm(float x) in unorm() function
/third_party/mesa3d/src/amd/llvm/
H A Dac_llvm_build.h394 bool unorm : 1; member
H A Dac_nir_to_llvm.c4939 args.unorm = instr->sampler_dim == GLSL_SAMPLER_DIM_RECT; in visit_tex()
H A Dac_llvm_build.c2222 args[num_args++] = LLVMConstInt(ctx->i1, a->unorm, false); in ac_build_image_opcode()
/third_party/icu/icu4c/source/data/
H A Dmakedata.mak425 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.icu, ubidi.icu)
/third_party/skia/third_party/externals/angle2/src/common/
H A Dmathutil.h128 inline unsigned int unorm(float x) in unorm() function
/third_party/skia/third_party/externals/icu/source/data/
H A Dmakedata.mak406 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.icu, ubidi.icu)
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c315 uint16_t unorm = (cons * ((1 << chan_size) - 1)); in pack_blend_constant() local
316 return unorm << (16 - chan_size); in pack_blend_constant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSILoadStoreOptimizer.cpp673 AMDGPU::OpName::d16, AMDGPU::OpName::unorm, in dmasksCanBeCombined()

Completed in 50 milliseconds