Searched refs:DstFormat (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_conversion.h | 143 template<SWR_FORMAT DstFormat> 147 …if ((FormatTraits<DstFormat>::GetType(0) == SWR_TYPE_FLOAT) && (FormatTraits<DstFormat>::GetBPC(0)… in StoreSOA() 149 for (uint32_t comp = 0; comp < FormatTraits<DstFormat>::numComps; ++comp) in StoreSOA() 151 simdscalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)]; in StoreSOA() 154 if (FormatTraits<DstFormat>::isSRGB) in StoreSOA() 169 simdscalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)]; in StoreSOA() 172 if (FormatTraits<DstFormat>::isSRGB) in StoreSOA() 181 vComp = Clamp<DstFormat>(vComp, comp); in StoreSOA() 184 vComp = Normalize<DstFormat>(vComp, comp); in StoreSOA() 187 vComp = FormatTraits<DstFormat>::pack(comp, vComp); in StoreSOA() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | StoreTile.h | 344 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 364 StoreSOA<DstFormat>(src, soaTile); 367 FormatTraits<DstFormat>::TransposeT::Transpose_16(soaTile, aosTile); 378 StoreSOA<DstFormat>(src, soaTile); 381 FormatTraits<DstFormat>::TransposeT::Transpose(soaTile, aosTile); 385 StorePixels<FormatTraits<DstFormat>::bpp, NumDests>::Store(aosTile, ppDsts); 442 static const SWR_FORMAT DstFormat = B5G6R5_UNORM; 453 dst.x = src[FormatTraits<DstFormat>::swizzle(0)]; 454 dst.y = src[FormatTraits<DstFormat>::swizzle(1)]; 455 dst.z = src[FormatTraits<DstFormat>::swizzle(2)]; [all …]
|
D | Convert.h | 230 template<SWR_FORMAT DstFormat> 238 for (UINT comp = 0; comp < FormatTraits<DstFormat>::numComps; ++comp) in ConvertPixelFromFloat() 240 SWR_TYPE type = FormatTraits<DstFormat>::GetType(comp); in ConvertPixelFromFloat() 256 if (FormatTraits<DstFormat>::isSRGB && comp != 3) in ConvertPixelFromFloat() 262 UINT scale = (1 << FormatTraits<DstFormat>::GetBPC(comp)) - 1; in ConvertPixelFromFloat() 270 SWR_ASSERT(!FormatTraits<DstFormat>::isSRGB); in ConvertPixelFromFloat() 280 UINT scale = (1 << (FormatTraits<DstFormat>::GetBPC(comp) - 1)) - 1; in ConvertPixelFromFloat() 297 if (FormatTraits<DstFormat>::GetBPC(comp) == 32) in ConvertPixelFromFloat() 304 UINT max = (1 << FormatTraits<DstFormat>::GetBPC(comp)) - 1; // 2^numBits - 1 in ConvertPixelFromFloat() 312 if (FormatTraits<DstFormat>::GetBPC(comp) == 32) in ConvertPixelFromFloat() [all …]
|
D | ClearTile.cpp | 48 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 109 template<SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 122 UINT dstBytesPerPixel = (FormatTraits<DstFormat>::bpp / 8); in StoreClear() 128 for (UINT comp = 0; comp < FormatTraits<DstFormat>::numComps; ++comp) in StoreClear() 130 srcColor[comp] = pColor[FormatTraits<DstFormat>::swizzle(comp)]; in StoreClear() 134 ConvertPixelFromFloat<DstFormat>(dstFormattedColor, srcColor); in StoreClear() 143 …StoreRasterTileClear<SrcFormat, DstFormat>::StoreClear(dstFormattedColor, dstBytesPerPixel, pDstSu… in StoreClear()
|
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() 140 template<typename TTraits, SWR_FORMAT SrcFormat, SWR_FORMAT DstFormat> 154 loadRasterTileFn = LoadRasterTile<TTraits, SrcFormat, DstFormat>::Load; in Load() 164 … pDstHotTile += KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * (FormatTraits<DstFormat>::bpp / 8); in Load()
|
/external/skia/src/core/ |
D | SkColorSpaceXform.cpp | 738 enum DstFormat { enum 751 DstFormat kDst, 998 template <SrcFormat kSrc, DstFormat kDst, ColorSpaceMatch kCSM> 1016 template <DstFormat kDst, ColorSpaceMatch kCSM>
|