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

Function EmitTilesMode2

Source/Core/JpegTask.cpp:360–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360static void EmitTilesMode2(const tile_line_emitter_t emit_line, const s16 *macroblock, u32 address)
361{
362
363 u32 y_offset {0};
364 u32 u_offset {4*SUBBLOCK_SIZE};
365
366 for (u32 i = 0; i < 8; ++i)
367 {
368 emit_line(&macroblock[y_offset], &macroblock[u_offset], address);
369 emit_line(&macroblock[y_offset + 8], &macroblock[u_offset], address + 32);
370
371 y_offset += (i == 3) ? SUBBLOCK_SIZE+16 : 16;
372 u_offset += 8;
373 address += 64;
374 }
375}
376
377static void DecodeMacroblock1(s16 *macroblock, s32 *y_dc, s32 *u_dc, s32 *v_dc, const s16 *qtable)
378{

Callers 1

jpeg_decode_OBFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected