MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ReorderSubBlock

Function ReorderSubBlock

Source/Core/JpegTask.cpp:463–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static void ReorderSubBlock(s16 *dst, const s16 *src, const u32 *table)
464{
465 /* source and destination sublocks cannot overlap */
466 //assert(abs(dst - src) > SUBBLOCK_SIZE);
467
468 for (u32 i {}; i < SUBBLOCK_SIZE; ++i)
469 {
470 dst[i] = src[table[i]];
471 }
472}
473
474static void MultSubBlocks(s16 *dst, const s16 *src1, const s16 *src2, u32 shift)
475{

Callers 2

TransposeSubBlockFunction · 0.85
ZigZagSubBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected