MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / CMP_CompressBlock

Function CMP_CompressBlock

cmp_framework/compute_base.cpp:622–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622CMP_ERROR CMP_API CMP_CompressBlock(void** block_encoder, void* SourceTexture, unsigned int sourceStride, void* DestTexture, unsigned int DestStride)
623{
624 CMP_Encoder* encoder = (CMP_Encoder*)*block_encoder;
625 encoder->m_srcStride = sourceStride;
626 encoder->m_dstStride = DestStride;
627 CMP_ERROR res = (CMP_ERROR)encoder->CompressBlock(0, 0, SourceTexture, DestTexture);
628 return (res);
629}
630
631CMP_ERROR CMP_API
632CMP_CompressBlockXY(void** block_encoder, unsigned int x, unsigned int y, void* in, unsigned int sourceStride, void* out, unsigned int DestStride)

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

CompressBlockMethod · 0.45

Tested by 2

mainFunction · 0.68
mainFunction · 0.68