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

Function CMP_CompressBlockXY

cmp_framework/compute_base.cpp:631–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)
633{
634 CMP_Encoder* encoder = (CMP_Encoder*)*block_encoder;
635 encoder->m_srcStride = sourceStride;
636 encoder->m_dstStride = DestStride;
637 CMP_ERROR res = (CMP_ERROR)encoder->CompressBlock(x, y, in, out);
638 return (res);
639}
640
641void CMP_API CMP_DestroyBlockEncoder(void** block_encoder)
642{

Callers 4

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

CompressBlockMethod · 0.45

Tested by 2

mainFunction · 0.68
mainFunction · 0.68