Searched refs:SrcFormat (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_conversion.h | 36 template<SWR_FORMAT SrcFormat> 40 …if ((FormatTraits<SrcFormat>::GetType(0) == SWR_TYPE_FLOAT) && (FormatTraits<SrcFormat>::GetBPC(0)… in LoadSOA() 46 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; in LoadSOA() 49 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA() 56 simdscalar vComp = FormatTraits<SrcFormat>::loadSOA(comp, pSrc); in LoadSOA() 59 vComp = FormatTraits<SrcFormat>::unpack(comp, vComp); in LoadSOA() 62 if (FormatTraits<SrcFormat>::isNormalized(comp)) in LoadSOA() 65 vComp = _simd_mul_ps(vComp, _simd_set1_ps(FormatTraits<SrcFormat>::toFloat(comp))); in LoadSOA() 68 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; in LoadSOA() 70 pSrc += (FormatTraits<SrcFormat>::GetBPC(comp) * KNOB_SIMD_WIDTH) / 8; in LoadSOA() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | StoreTile.h | 344 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 363 LoadSOA<SrcFormat>(pSrc, src); 377 LoadSOA<SrcFormat>(pSrc, src); 441 static const SWR_FORMAT SrcFormat = R32G32B32A32_FLOAT; 450 LoadSOA<SrcFormat>(pSrc, src); 485 static const SWR_FORMAT SrcFormat = R32G32B32A32_FLOAT; 493 LoadSOA<SrcFormat>(pSrc, src); 536 static const SWR_FORMAT SrcFormat = R32_FLOAT; 588 LoadSOA<SrcFormat>(pSrc, src); 1064 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> [all …]
|
D | Convert.h | 392 template<SWR_FORMAT SrcFormat> 400 …typename FormatTraits<SrcFormat>::FormatT* pPixel = (typename FormatTraits<SrcFormat>::FormatT*)pS… in ConvertPixelToFloat() 405 uint32_t def = FormatTraits<SrcFormat>::GetDefault(comp); in ConvertPixelToFloat() 410 switch (FormatTraits<SrcFormat>::numComps) in ConvertPixelToFloat() 426 for (uint32_t comp = 0; comp < FormatTraits<SrcFormat>::numComps; ++comp) in ConvertPixelToFloat() 428 SWR_TYPE type = FormatTraits<SrcFormat>::GetType(comp); in ConvertPixelToFloat() 437 if (FormatTraits<SrcFormat>::isSRGB && comp != 3) in ConvertPixelToFloat() 444 if (FormatTraits<SrcFormat>::GetBPC(comp) > 16) in ConvertPixelToFloat() 446 dst = (float)src / (float)((1 << FormatTraits<SrcFormat>::GetBPC(comp)) - 1); in ConvertPixelToFloat() 450 … const float scale = (1.0f / (float)((1 << FormatTraits<SrcFormat>::GetBPC(comp)) - 1)); in ConvertPixelToFloat() [all …]
|
D | LoadTile.h | 57 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 71 typedef SimdTile_16<DstFormat, SrcFormat> SimdT; in SetSwizzledDstColor() 85 typedef SimdTile<DstFormat, SrcFormat> SimdT; in SetSwizzledDstColor() 127 ConvertPixelToFloat<SrcFormat>(srcColor, pSrc); in Load() 140 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 154 loadRasterTileFn = LoadRasterTile<TTraits, SrcFormat, DstFormat>::Load; in Load()
|
D | ClearTile.cpp | 48 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 109 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 143 …StoreRasterTileClear<SrcFormat, DstFormat>::StoreClear(dstFormattedColor, dstBytesPerPixel, pDstSu… in StoreClear()
|
/external/skia/src/core/ |
D | SkColorSpaceXform.cpp | 731 enum SrcFormat { enum 750 template <SrcFormat kSrc, 998 template <SrcFormat kSrc, DstFormat kDst, ColorSpaceMatch kCSM>
|