Home
last modified time | relevance | path

Searched refs:linear (Results 251 - 275 of 281) sorted by relevance

1...<<1112

/third_party/mesa3d/src/amd/addrlib/src/gfx10/
H A Dgfx10addrlib.cpp742 (pIn->dccKeyFlags.linear == TRUE) || in HwlSupportComputeDccAddrFromCoord()
2607 const BOOL_32 linear = IsLinear(swizzle);
2629 if ((pIn->bpp == 96) && (linear == FALSE))
2674 if (linear)
2914 allowedSwModeSet.value |= pIn->forbiddenBlock.linear ? 0 : Gfx10LinearSwModeMask;
3085 // Always ignore linear swizzle mode if:
3196 allowedBlockSet.linear = 0;
3233 // Remove linear block type if 2 or more block types are allowed
3236 allowedBlockSet.linear = 0;
4746 * Internal function to calculate alignment for linear surfac
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_clear_blit.c124 float linear = val->color.float32[i]; in r2d_clear_value() local
126 linear = util_format_linear_to_srgb_float(val->color.float32[i]); in r2d_clear_value()
129 clear_value[i] = _mesa_lroundevenf(CLAMP(linear, -1.0f, 1.0f) * 127.0f); in r2d_clear_value()
131 clear_value[i] = tu_pack_float32_for_unorm(linear, 8); in r2d_clear_value()
1852 * formats like B5G5R5A1 have a separate linear-only format when sampling.
1857 * format, i.e. only when the other image is linear.
1863 struct tu_native_format linear = tu6_format_texture(format, TILE6_LINEAR); in is_swapped_format() local
1865 return linear.fmt != tiled.fmt || linear.swap != tiled.swap; in is_swapped_format()
1932 /* If an image is linear, w in tu_copy_image_to_image()
[all...]
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
H A Dgfx9addrlib.h457 allowedBlockSet.linear = (allowedSwModeSet.value & Gfx9LinearSwModeMask) ? TRUE : FALSE; in GetAllowedBlockSet()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderImage.cpp82 sw::SIMD::Int linear = CmpLT(c, sw::SIMD::Float(0.04045f)); in sRGBtoLinear() local
84 return rr::As<sw::SIMD::Float>((linear & rr::As<sw::SIMD::Int>(lc)) | (~linear & rr::As<sw::SIMD::Int>(ec))); // TODO: IfThenElse() in sRGBtoLinear()
H A DPixelRoutine.cpp3270 Float4 linear = x * x; in sRGBtoLinear() local
3271 linear = linear * Float4(0.73f) + linear * x * Float4(0.27f); in sRGBtoLinear()
3273 return Min(Max(linear, Float4(0.0f)), Float4(1.0f)); in sRGBtoLinear()
/third_party/skia/src/pathops/
H A DSkPathOpsTSect.cpp168 // -1 if linear and further checking is required
180 bool linear; in hullCheck() local
181 if (fPart->hullIntersects(*opp->fPart, &linear)) { in hullCheck()
182 if (!linear) { // check set true if linear in hullCheck()
188 } else { // hull is not linear; check set true if intersected at the end points in hullCheck()
194 // OPTIMIZE ? If at_most_end_pts_in_common detects that one quad is near linear,
196 // OPTIMIZE Once at_most_end_pts_in_common detects linear, mark span so all future splits are linear
261 // looks like q1 is near-linear in linearIntersects()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DUtilsVk.cpp2360 ASSERT((blitColor && !isResolve) || !params.linear); in blitResolveImpl()
2455 samplerInfo.sampler = params.linear ? mLinearSampler.getHandle() : mPointSampler.getHandle(); in blitResolveImpl()
2612 ASSERT(!params.linear); in stencilBlitResolveNoShaderExport()
2642 samplerInfo.sampler = params.linear ? mLinearSampler.getHandle() : mPointSampler.getHandle(); in stencilBlitResolveNoShaderExport()
2751 // the shader can work with sRGB data and pretend they are linear. in copyImage()
/third_party/mesa3d/src/amd/common/
H A Dac_surface_meta_address_test.c600 cin.cMaskFlags.linear = false; in one_cmask_address_test()
H A Dac_surface.c647 /* Make GFX6 linear surfaces compatible with GFX9 for hybrid graphics, in gfx6_compute_level()
648 * because GFX9 needs linear alignment of 256 bytes. in gfx6_compute_level()
776 * provide this info. As DCC memory is linear (each in gfx6_compute_level()
1050 /* DB doesn't support linear layouts. */ in gfx6_compute_surface()
1469 sin.forbiddenBlock.linear = 1; in gfx9_get_preferred_swizzle_mode()
1473 sin.forbiddenBlock.linear = 1; in gfx9_get_preferred_swizzle_mode()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_private.h873 } linear; member
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_from_tgsi.cpp1321 info_out->in[i].linear = 1; in scanDeclaration()
3040 // Check whether the input is linear. All other attributes ignored. in handleINTERP()
3044 bool linear; in handleINTERP() local
3090 linear = info_out->in[src.getIndex(0)].linear; in handleINTERP()
3091 if (linear) { in handleINTERP()
H A Dnv50_ir_from_nir.cpp924 var->linear = 1; in setInterpolate()
927 var->linear = 1; in setInterpolate()
1756 if (vary.linear) {
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DPixelRoutine.cpp2721 Float4 linear = x * x; in sRGBtoLinear() local
2722 linear = linear * Float4(0.73f) + linear * x * Float4(0.27f); in sRGBtoLinear()
2724 return Min(Max(linear, Float4(0.0f)), Float4(1.0f)); in sRGBtoLinear()
/third_party/alsa-lib/src/pcm/
H A Dpcm_rate.c1398 return strcmp(type, "linear") == 0; in is_builtin_plugin()
1402 "speexrate", "linear", NULL
1506 extern int SND_PCM_RATE_PLUGIN_ENTRY(linear) (unsigned int version, void **objp, snd_pcm_rate_ops_t *ops); in snd_pcm_rate_open()
1587 type = "linear"; in snd_pcm_rate_open()
1588 open_func = SND_PCM_RATE_PLUGIN_ENTRY(linear); in snd_pcm_rate_open()
1625 This plugin converts a stream rate. The input and output formats must be linear.
1717 SNDERR("slave format is not linear"); in _snd_pcm_rate_open()
/third_party/mesa3d/src/amd/addrlib/inc/
H A Daddrinterface.h520 UINT_32 disableLinearOpt : 1; ///< Disable tile mode optimization to linear
566 // Needed by 2D tiling, for linear and 1D tiling, just keep them 0's
1101 BOOL_32 isLinear; ///< Linear or tiled layout, Only SI can be linear
1171 BOOL_32 isLinear; ///< Linear or tiled layout, Only SI can be linear
1231 BOOL_32 isLinear; ///< Linear or tiled layout, Only SI can be linear
1720 * Which swizzle generating options: legacy or linear
1726 ADDR_SWIZZLE_GEN_LINEAR = 1, ///< Using a linear increment of swizzle
2174 ADDR_TILEINFO* pTileInfo; ///< Pointer to tile-info structure, can be NULL for linear/1D
2697 UINT_32 linear : 1; ///< if Metadata linear, GFX member
3756 UINT_32 linear : 1; // Linear block global() member
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_resource.c552 fd_resource_uncompress(struct fd_context *ctx, struct fd_resource *rsc, bool linear) in fd_resource_uncompress() argument
556 uint64_t modifier = linear ? DRM_FORMAT_MOD_LINEAR : FD_FORMAT_MOD_QCOM_TILED; in fd_resource_uncompress()
796 * a situation where we have a linear bo, but are unable to mmap it in resource_transfer_map_unsync()
1158 /* First, find all the conditions which would force us to linear */ in get_best_layout()
1170 perf_debug("%" PRSC_FMT ": forcing linear: bind flags", in get_best_layout()
1178 /* Shared resources with implicit modifiers must always be linear */ in get_best_layout()
1181 ": forcing linear: shared resource + implicit modifiers", in get_best_layout()
1213 perf_debug("%" PRSC_FMT ": need linear but not in modifier set", in get_best_layout()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBlitter.cpp1504 Int4 linear = CmpLT(c, Float4(0.04045f)); in sRGBtoLinear() local
1507 s.xyz = As<Float4>((linear & As<Int4>(lc)) | (~linear & As<Int4>(ec))); // TODO: IfThenElse() in sRGBtoLinear()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dpngstest.c60 * misbehavior, such as using a simple power law to correct sRGB to linear.
81 * architecture. It's a linear congruential generator (Knuth or Sedgewick
172 sRGB(double linear /*range 0.0 .. 1.0*/) in sRGB()
174 return u8d(255 * sRGB_from_linear(linear)); in sRGB()
381 "linear-gray",
382 "linear-gray+alpha",
383 "linear-rgb",
384 "linear-rgb+alpha",
390 "color-mapped-linear-gray",
391 "color-mapped-linear
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_program.c428 if (var->linear) in nvc0_hdr_interp_mode()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/
H A Djdsample-avx2.asm42 ; The upsampling algorithm is linear interpolation between pixel centers,
H A Djdsample-mmx.asm41 ; The upsampling algorithm is linear interpolation between pixel centers,
H A Djdsample-sse2.asm41 ; The upsampling algorithm is linear interpolation between pixel centers,
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
H A Djdsample-avx2.asm43 ; The upsampling algorithm is linear interpolation between pixel centers,
H A Djdsample-sse2.asm42 ; The upsampling algorithm is linear interpolation between pixel centers,
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-charset-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ com/ com/ibm/ com/ibm/icu/ ...

Completed in 63 milliseconds

1...<<1112