MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / imageConvert

Function imageConvert

Source/3rdParty/bimg/src/image.cpp:1171–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1169 }
1170
1171 bool imageConvert(TextureFormat::Enum _dstFormat, TextureFormat::Enum _srcFormat)
1172 {
1173 UnpackFn unpack = s_packUnpack[_srcFormat].unpack;
1174 PackFn pack = s_packUnpack[_dstFormat].pack;
1175 return NULL != pack
1176 && NULL != unpack
1177 ;
1178 }
1179
1180 void imageConvert(void* _dst, uint32_t _bpp, PackFn _pack, const void* _src, UnpackFn _unpack, uint32_t _size)
1181 {

Callers 9

createTextureFunction · 0.85
imageParseFunction · 0.85
imageDecodeToR8Function · 0.85
imageDecodeToBgra8Function · 0.85
imageDecodeToRgba32fFunction · 0.85
initMethod · 0.85
isSwapChainReadableMethod · 0.85
readSwapChainMethod · 0.85
createMethod · 0.85

Calls 7

imageDecodeToRgba8Function · 0.85
imageDecodeToBgra8Function · 0.85
imageDecodeToRgba32fFunction · 0.85
memCopyFunction · 0.85
imageAllocFunction · 0.85
imageGetRawDataFunction · 0.85
getNameFunction · 0.70

Tested by

no test coverage detected