Compare commits
1 Commits
cleanup/se
...
agent/w092
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
469da430d9 |
@@ -53,7 +53,7 @@ Progress
|
||||
<!-- progress:start -->
|
||||
| Decompiled | Matched | Linked | Data |
|
||||
|:---:|:---:|:---:|:---:|
|
||||
| 98.02% | 84.69% | 58.20% | 90.34% |
|
||||
| 98.04% | 84.69% | 58.20% | 90.34% |
|
||||
|
||||
units 778/1027 complete, functions 12069/12563 matched.
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ static TMCHuffmanEntry readHuffmanLimit(const TMCHuffmanEntry* entries) {
|
||||
}
|
||||
|
||||
s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_ptr, TMCCJPEGDecWork* work) {
|
||||
TMCHuffmanEntry acEntry;
|
||||
const TMCHuffmanEntry* ac_fast;
|
||||
u8* huff_sym;
|
||||
u32* huff_tbl;
|
||||
@@ -60,6 +59,7 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
work->bitCount = bit_pos;
|
||||
r = extra;
|
||||
} else {
|
||||
s32 dcResult;
|
||||
u32 code;
|
||||
unsigned int i;
|
||||
const TMCHuffmanEntry* entry;
|
||||
@@ -70,9 +70,9 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
huff_tbl = work->pDCHuffTbl;
|
||||
|
||||
if (bit_pos <= 17) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
dcResult = TMCJPEGDEC_load_buff(work);
|
||||
if (dcResult < 0) {
|
||||
goto dc_end;
|
||||
}
|
||||
}
|
||||
bit_pos = work->bitCount;
|
||||
@@ -90,7 +90,7 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
i++;
|
||||
entry++;
|
||||
if (i > 16) {
|
||||
r = TMCC_ERROR_OVERFLOW;
|
||||
dcResult = TMCC_ERROR_OVERFLOW;
|
||||
goto dc_end;
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
{
|
||||
TMCHuffmanEntry decoded = readHuffmanLimit(entry);
|
||||
thresh = decoded.bitLength;
|
||||
offs = decoded.symbol;
|
||||
offs = entry->symbol;
|
||||
}
|
||||
|
||||
if (code > (u32)thresh) {
|
||||
@@ -113,13 +113,14 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
}
|
||||
|
||||
code = code - entry->bitLength + offs;
|
||||
r = huff_sym[code & 0xFF];
|
||||
dcResult = huff_sym[code & 0xFF];
|
||||
break;
|
||||
}
|
||||
|
||||
dc_end:
|
||||
if (r < 0) {
|
||||
return r;
|
||||
r = dcResult;
|
||||
if (dcResult < 0) {
|
||||
return dcResult;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,164 +140,167 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
bit_pos -= r;
|
||||
work->bitCount = bit_pos;
|
||||
extra = extra & (bit_data >> bit_pos);
|
||||
if (extra < (s32)tmp >> 1) {
|
||||
extra = extra + 1 - tmp;
|
||||
if (((s32)tmp >> 1) > extra) {
|
||||
extra -= tmp - 1;
|
||||
}
|
||||
dc_predict_row_ptr[0] += extra;
|
||||
}
|
||||
|
||||
*block = dc_predict_row_ptr[0] * blk0;
|
||||
|
||||
ac_fast = (const TMCHuffmanEntry*)work->pACFast;
|
||||
huff_tbl = work->pACHuffTbl;
|
||||
huff_sym = work->pACHuffSym;
|
||||
{
|
||||
TMCHuffmanEntry acEntry;
|
||||
ac_fast = (const TMCHuffmanEntry*)work->pACFast;
|
||||
huff_tbl = work->pACHuffTbl;
|
||||
huff_sym = work->pACHuffSym;
|
||||
|
||||
memset(block + 1, 0, 0xFC);
|
||||
memset(block + 1, 0, 0xFC);
|
||||
|
||||
bit_pos = work->bitCount;
|
||||
idx = 1;
|
||||
if (bit_pos <= 8) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
|
||||
bit_pos = work->bitCount;
|
||||
zztbl = TMCJPEGDEC_Zigzag_data;
|
||||
bit_data = work->bitBuf;
|
||||
t = bit_pos - 8;
|
||||
acEntry = readHuffmanEntry(ac_fast, (bit_data >> t) & 0xFF);
|
||||
|
||||
while (idx < 64) {
|
||||
s32 ac_thresh = acEntry.bitLength;
|
||||
if (ac_thresh != 0) {
|
||||
bit_pos = work->bitCount;
|
||||
bit_pos -= ac_thresh;
|
||||
work->bitCount = bit_pos;
|
||||
r = acEntry.symbol;
|
||||
} else {
|
||||
u32 code;
|
||||
unsigned int i;
|
||||
const TMCHuffmanEntry* entry;
|
||||
s32 thresh;
|
||||
s32 offs;
|
||||
|
||||
bit_pos = work->bitCount;
|
||||
if (bit_pos <= 17) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
bit_pos = work->bitCount;
|
||||
}
|
||||
bit_data = work->bitBuf;
|
||||
bit_pos -= 9;
|
||||
code = (bit_data >> bit_pos) & 0x1FF;
|
||||
work->bitCount = bit_pos;
|
||||
|
||||
i = 9;
|
||||
entry = (const TMCHuffmanEntry*)huff_tbl + 9;
|
||||
|
||||
goto ac_entry_huff;
|
||||
|
||||
while (1) {
|
||||
i++;
|
||||
entry++;
|
||||
if (i > 16) {
|
||||
r = TMCC_ERROR_OVERFLOW;
|
||||
goto ac_end;
|
||||
}
|
||||
|
||||
bit_pos = work->bitCount;
|
||||
code <<= 1;
|
||||
bit_data = work->bitBuf;
|
||||
bit_pos--;
|
||||
work->bitCount = bit_pos;
|
||||
code |= (bit_data >> bit_pos) & 1;
|
||||
|
||||
ac_entry_huff:
|
||||
{
|
||||
TMCHuffmanEntry decoded = readHuffmanLimit(entry);
|
||||
thresh = decoded.bitLength;
|
||||
offs = decoded.symbol;
|
||||
}
|
||||
|
||||
if (code > (u32)thresh) {
|
||||
continue;
|
||||
}
|
||||
|
||||
code = code - entry->bitLength + offs;
|
||||
r = huff_sym[code & 0xFF];
|
||||
break;
|
||||
}
|
||||
|
||||
ac_end:
|
||||
if (r < 0) {
|
||||
bit_pos = work->bitCount;
|
||||
idx = 1;
|
||||
if (bit_pos <= 8) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
t = r & 0x0F;
|
||||
if (t != 0) {
|
||||
r >>= 4;
|
||||
idx += r;
|
||||
bit_pos = work->bitCount;
|
||||
zztbl = TMCJPEGDEC_Zigzag_data;
|
||||
bit_data = work->bitBuf;
|
||||
t = bit_pos - 8;
|
||||
acEntry = readHuffmanEntry(ac_fast, (bit_data >> t) & 0xFF);
|
||||
|
||||
if (idx >= 64) {
|
||||
return TMCC_ERROR_OVERFLOW;
|
||||
}
|
||||
while (idx < 64) {
|
||||
s32 ac_thresh = acEntry.bitLength;
|
||||
if (ac_thresh != 0) {
|
||||
bit_pos = work->bitCount;
|
||||
bit_pos -= ac_thresh;
|
||||
work->bitCount = bit_pos;
|
||||
r = acEntry.symbol;
|
||||
} else {
|
||||
u32 code;
|
||||
unsigned int i;
|
||||
const TMCHuffmanEntry* entry;
|
||||
s32 thresh;
|
||||
s32 offs;
|
||||
|
||||
zz = zztbl[idx];
|
||||
bit_pos = work->bitCount;
|
||||
if (bit_pos <= 17) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
bit_pos = work->bitCount;
|
||||
}
|
||||
bit_data = work->bitBuf;
|
||||
bit_pos -= 9;
|
||||
code = (bit_data >> bit_pos) & 0x1FF;
|
||||
work->bitCount = bit_pos;
|
||||
|
||||
bit_pos = work->bitCount;
|
||||
if (bit_pos <= t + 8) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
i = 9;
|
||||
entry = (const TMCHuffmanEntry*)huff_tbl + 9;
|
||||
|
||||
goto ac_entry_huff;
|
||||
|
||||
while (1) {
|
||||
i++;
|
||||
entry++;
|
||||
if (i > 16) {
|
||||
r = TMCC_ERROR_OVERFLOW;
|
||||
goto ac_end;
|
||||
}
|
||||
|
||||
bit_pos = work->bitCount;
|
||||
code <<= 1;
|
||||
bit_data = work->bitBuf;
|
||||
bit_pos--;
|
||||
work->bitCount = bit_pos;
|
||||
code |= (bit_data >> bit_pos) & 1;
|
||||
|
||||
ac_entry_huff:
|
||||
{
|
||||
TMCHuffmanEntry decoded = readHuffmanLimit(entry);
|
||||
thresh = decoded.bitLength;
|
||||
offs = entry->symbol;
|
||||
}
|
||||
|
||||
if (code > (u32)thresh) {
|
||||
continue;
|
||||
}
|
||||
|
||||
code = code - entry->bitLength + offs;
|
||||
r = huff_sym[code & 0xFF];
|
||||
break;
|
||||
}
|
||||
|
||||
ac_end:
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
t = r & 0x0F;
|
||||
if (t != 0) {
|
||||
r >>= 4;
|
||||
idx += r;
|
||||
|
||||
if (idx >= 64) {
|
||||
return TMCC_ERROR_OVERFLOW;
|
||||
}
|
||||
|
||||
zz = zztbl[idx];
|
||||
|
||||
bit_pos = work->bitCount;
|
||||
if (bit_pos <= t + 8) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
bit_pos = work->bitCount;
|
||||
}
|
||||
tmp = 1 << t;
|
||||
bit_data = work->bitBuf;
|
||||
extra = tmp - 1;
|
||||
bit_pos -= t;
|
||||
work->bitCount = bit_pos;
|
||||
t = bit_pos - 8;
|
||||
extra = extra & (bit_data >> bit_pos);
|
||||
acEntry = readHuffmanEntry(ac_fast, (bit_data >> t) & 0xFF);
|
||||
|
||||
if (((s32)tmp >> 1) > extra) {
|
||||
extra -= tmp - 1;
|
||||
}
|
||||
|
||||
q = ((s32*)conv_row_ptr)[zz];
|
||||
block[zz] = extra * q;
|
||||
|
||||
idx++;
|
||||
} else {
|
||||
if (r == 0) {
|
||||
break;
|
||||
}
|
||||
bit_pos = work->bitCount;
|
||||
}
|
||||
tmp = 1 << t;
|
||||
bit_data = work->bitBuf;
|
||||
extra = tmp - 1;
|
||||
bit_pos -= t;
|
||||
work->bitCount = bit_pos;
|
||||
t = bit_pos - 8;
|
||||
extra = extra & (bit_data >> bit_pos);
|
||||
acEntry = readHuffmanEntry(ac_fast, (bit_data >> t) & 0xFF);
|
||||
|
||||
if (extra < (s32)tmp >> 1) {
|
||||
extra = extra + 1 - tmp;
|
||||
}
|
||||
|
||||
q = ((s32*)conv_row_ptr)[zz];
|
||||
block[zz] = extra * q;
|
||||
|
||||
idx++;
|
||||
} else {
|
||||
if (r == 0) {
|
||||
break;
|
||||
}
|
||||
bit_pos = work->bitCount;
|
||||
if (bit_pos <= 8) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
if (bit_pos <= 8) {
|
||||
r = TMCJPEGDEC_load_buff(work);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
bit_data = work->bitBuf;
|
||||
bit_pos = work->bitCount;
|
||||
t = bit_pos - 8;
|
||||
tmp = ((bit_data >> t) & 0xFF) << 2;
|
||||
acEntry = readHuffmanEntry(ac_fast, tmp >> 2);
|
||||
|
||||
idx += 16;
|
||||
}
|
||||
bit_data = work->bitBuf;
|
||||
bit_pos = work->bitCount;
|
||||
t = bit_pos - 8;
|
||||
tmp = ((bit_data >> t) & 0xFF) << 2;
|
||||
acEntry = readHuffmanEntry(ac_fast, tmp >> 2);
|
||||
|
||||
idx += 16;
|
||||
}
|
||||
}
|
||||
|
||||
if (idx > 64) {
|
||||
return TMCC_ERROR_OVERFLOW;
|
||||
}
|
||||
if (idx > 64) {
|
||||
return TMCC_ERROR_OVERFLOW;
|
||||
}
|
||||
|
||||
idx--;
|
||||
return TMCJPEGDEC_Zigzag_loop[idx];
|
||||
idx--;
|
||||
return TMCJPEGDEC_Zigzag_loop[idx];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -247,8 +247,8 @@ static void TMCJPEGDEC_converterYUV411toRGB565edge(TMCCJPEGDecWork* work, s32 x,
|
||||
}
|
||||
{
|
||||
s32 value = luminance[0];
|
||||
s32 red = value + redOffset;
|
||||
s32 green = value + greenOffset;
|
||||
s32 red = value + redOffset;
|
||||
s32 blue = value + blueOffset;
|
||||
if ((blue | red | green) >> 8) {
|
||||
blue = (blue > 255) ? 255 : blue & ~(blue >> 31);
|
||||
@@ -334,8 +334,8 @@ static void TMCJPEGDEC_converterYUV422toRGB565(TMCCJPEGDecWork* work, s32 x, s32
|
||||
static void TMCJPEGDEC_converterYUV422toRGB565edge(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 column;
|
||||
u8* luminance = work->convBuf + 4;
|
||||
u8* cb = work->convBuf + 132;
|
||||
u8* cr = work->convBuf + 196;
|
||||
s8* cb = (s8*) work->convBuf + 132;
|
||||
s8* cr = (s8*) work->convBuf + 196;
|
||||
TMCCJPEGDecState* state = work->pState;
|
||||
u32 tileWidth = state->convWidth >> 2;
|
||||
u8* texture = state->pTexBuffer;
|
||||
@@ -461,8 +461,8 @@ static void TMCJPEGDEC_converterYUV420toRGB565(TMCCJPEGDecWork* work, s32 x, s32
|
||||
|
||||
static void TMCJPEGDEC_converterYUV420toRGB565edge(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
u8* luminance = work->convBuf + 4;
|
||||
u8* cb = work->convBuf + 260;
|
||||
u8* cr = work->convBuf + 324;
|
||||
s8* cb = (s8*) work->convBuf + 260;
|
||||
s8* cr = (s8*) work->convBuf + 324;
|
||||
TMCCJPEGDecState* state = work->pState;
|
||||
u32 tileWidth = state->convWidth >> 2;
|
||||
u8* texture = state->pTexBuffer;
|
||||
@@ -554,8 +554,8 @@ static void TMCJPEGDEC_converterYUV211toRGB565(TMCCJPEGDecWork* work, s32 x, s32
|
||||
}
|
||||
{
|
||||
s32 value = luminance[0];
|
||||
s32 red = value + redOffset;
|
||||
s32 green = value + greenOffset;
|
||||
s32 red = value + redOffset;
|
||||
s32 blue = value + blueOffset;
|
||||
if ((blue | red | green) >> 8) {
|
||||
blue = (blue > 255) ? 255 : blue & ~(blue >> 31);
|
||||
@@ -618,8 +618,8 @@ static void TMCJPEGDEC_converterYUV211toRGB565edge(TMCCJPEGDecWork* work, s32 x,
|
||||
}
|
||||
{
|
||||
s32 value = luminance[0];
|
||||
s32 red = value + redOffset;
|
||||
s32 green = value + greenOffset;
|
||||
s32 red = value + redOffset;
|
||||
s32 blue = value + blueOffset;
|
||||
if ((blue | red | green) >> 8) {
|
||||
blue = (blue > 255) ? 255 : blue & ~(blue >> 31);
|
||||
@@ -687,20 +687,17 @@ static void TMCJPEGDEC_converterYUV444toRGB565(TMCCJPEGDecWork* work, s32 x, s32
|
||||
red = value + ((crValue * 359) >> 8);
|
||||
blue = value + ((cbValue * 454) >> 8);
|
||||
if ((blue | red | green) >> 8) {
|
||||
blue &= ~(blue >> 31);
|
||||
if (blue > 255) {
|
||||
blue = 255;
|
||||
} else {
|
||||
blue &= ~(blue >> 31);
|
||||
}
|
||||
green &= ~(green >> 31);
|
||||
if (green > 255) {
|
||||
green = 255;
|
||||
} else {
|
||||
green &= ~(green >> 31);
|
||||
}
|
||||
red &= ~(red >> 31);
|
||||
if (red > 255) {
|
||||
red = 255;
|
||||
} else {
|
||||
red &= ~(red >> 31);
|
||||
}
|
||||
}
|
||||
output[(column & 3) + (((column >> 2) + tileRow) << 4)] =
|
||||
@@ -764,20 +761,17 @@ static void TMCJPEGDEC_converterYUV444toRGB565edge(TMCCJPEGDecWork* work, s32 x,
|
||||
red = value + ((crValue * 359) >> 8);
|
||||
blue = value + ((cbValue * 454) >> 8);
|
||||
if ((blue | red | green) >> 8) {
|
||||
blue &= ~(blue >> 31);
|
||||
if (blue > 255) {
|
||||
blue = 255;
|
||||
} else {
|
||||
blue &= ~(blue >> 31);
|
||||
}
|
||||
green &= ~(green >> 31);
|
||||
if (green > 255) {
|
||||
green = 255;
|
||||
} else {
|
||||
green &= ~(green >> 31);
|
||||
}
|
||||
red &= ~(red >> 31);
|
||||
if (red > 255) {
|
||||
red = 255;
|
||||
} else {
|
||||
red &= ~(red >> 31);
|
||||
}
|
||||
}
|
||||
output[(column & 3) + (((column >> 2) + tileRow) << 4)] =
|
||||
|
||||
@@ -119,6 +119,7 @@ s32 TMCJPEGDEC_set_converterRGBA8(TMCCJPEGDecWork* work) {
|
||||
}
|
||||
|
||||
static void TMCJPEGDEC_converterYUV411toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 row;
|
||||
u8* luminance = work->convBuf + 4;
|
||||
u8* cb = work->convBuf + 260;
|
||||
u8* cr = work->convBuf + 324;
|
||||
@@ -134,9 +135,9 @@ static void TMCJPEGDEC_converterYUV411toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
|
||||
s32 xEnd = x + width;
|
||||
s32 lumaSkip = 32 - width;
|
||||
s32 chromaSkip = lumaSkip >> 2;
|
||||
for (; y < yEnd; y++) {
|
||||
s32 tileRow = (y >> 2) * tileWidth;
|
||||
u16* output = (u16*)(texture + ((y & 3) << 3));
|
||||
for (row = y; row < yEnd; row++) {
|
||||
u16* output = (u16*)(texture + ((row & 3) << 3));
|
||||
s32 tileRow = (row >> 2) * tileWidth;
|
||||
s32 column;
|
||||
for (column = x; column < xEnd; column += 4) {
|
||||
s32 redOffset, greenOffset, blueOffset;
|
||||
@@ -278,39 +279,59 @@ static void TMCJPEGDEC_converterYUV411toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
|
||||
}
|
||||
|
||||
static void TMCJPEGDEC_converterYUV422toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
u8* luminance = work->convBuf + 4;
|
||||
u8* cb = work->convBuf + 132;
|
||||
u8* cr = work->convBuf + 196;
|
||||
TMCCJPEGDecState* state = work->pState;
|
||||
s32 tileWidth = (state->convWidth >> 2) << 1;
|
||||
u8* texture = state->pTexBuffer;
|
||||
u8* luminance;
|
||||
u8* cb;
|
||||
u8* cr;
|
||||
TMCCJPEGDecState* state;
|
||||
s32 tileWidth;
|
||||
u8* texture;
|
||||
s32 width;
|
||||
s32 height;
|
||||
s32 xEnd;
|
||||
s32 yEnd;
|
||||
s32 lumaSkip;
|
||||
s32 chromaSkip;
|
||||
s32 tileRow;
|
||||
u16* output;
|
||||
s32 column;
|
||||
s32 cbValue;
|
||||
s32 crValue;
|
||||
s32 value;
|
||||
s32 green;
|
||||
s32 red;
|
||||
s32 blue;
|
||||
luminance = work->convBuf + 4;
|
||||
cb = work->convBuf + 132;
|
||||
cr = work->convBuf + 196;
|
||||
state = work->pState;
|
||||
tileWidth = (state->convWidth >> 2) << 1;
|
||||
texture = state->pTexBuffer;
|
||||
|
||||
width = 16 / state->scaleFactor;
|
||||
height = 8 / state->scaleFactor;
|
||||
{
|
||||
s32 xEnd = x + width;
|
||||
s32 yEnd = y + height;
|
||||
s32 lumaSkip = 16 - width;
|
||||
s32 chromaSkip = lumaSkip >> 1;
|
||||
xEnd = x + width;
|
||||
yEnd = y + height;
|
||||
lumaSkip = 16 - width;
|
||||
chromaSkip = lumaSkip >> 1;
|
||||
for (; y < yEnd; y++) {
|
||||
s32 tileRow = (y >> 2) * tileWidth;
|
||||
u16* output = (u16*)(texture + ((y & 3) << 3));
|
||||
s32 column;
|
||||
tileRow = (y >> 2) * tileWidth;
|
||||
output = (u16*)(texture + ((y & 3) << 3));
|
||||
|
||||
for (column = x; column < xEnd; column += 2) {
|
||||
s32 redOffset, greenOffset, blueOffset;
|
||||
{
|
||||
s32 cbValue = (s8)*cb++;
|
||||
s32 crValue = (s8)*cr++;
|
||||
cbValue = (s8)*cb++;
|
||||
crValue = (s8)*cr++;
|
||||
greenOffset = -(cbValue * 88 + crValue * 183) >> 8;
|
||||
redOffset = (crValue * 359) >> 8;
|
||||
blueOffset = (cbValue * 454) >> 8;
|
||||
}
|
||||
{
|
||||
s32 value = luminance[0];
|
||||
s32 green = value + greenOffset;
|
||||
s32 red = value + redOffset;
|
||||
s32 blue = value + blueOffset;
|
||||
value = luminance[0];
|
||||
green = value + greenOffset;
|
||||
red = value + redOffset;
|
||||
blue = value + blueOffset;
|
||||
if ((blue | green | red) >> 8) {
|
||||
blue = (blue > 255) ? 255 : blue & ~(blue >> 31);
|
||||
green = (green > 255) ? 255 : green & ~(green >> 31);
|
||||
@@ -408,8 +429,8 @@ static void TMCJPEGDEC_converterYUV422toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
|
||||
|
||||
static void TMCJPEGDEC_converterYUV420toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
u8* luminance = work->convBuf + 4;
|
||||
u8* cb = work->convBuf + 260;
|
||||
u8* cr = work->convBuf + 324;
|
||||
s8* cb = (s8*) work->convBuf + 260;
|
||||
s8* cr = (s8*) work->convBuf + 324;
|
||||
TMCCJPEGDecState* state = work->pState;
|
||||
s32 tileWidth = (state->convWidth >> 2) << 1;
|
||||
u8* texture = state->pTexBuffer;
|
||||
@@ -505,8 +526,8 @@ static void TMCJPEGDEC_converterYUV420toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
|
||||
s32 chromaSkip = lumaSkip >> 1;
|
||||
s32 redOffset = 0, greenOffset = 0, blueOffset = 0;
|
||||
for (; y < yEnd; y++) {
|
||||
s32 tileRow = (y >> 2) * tileWidth;
|
||||
u16* output = (u16*)(texture + ((y & 3) << 3));
|
||||
s32 tileRow = (y >> 2) * tileWidth;
|
||||
s32 column;
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
if ((column & 1) == 0) {
|
||||
@@ -670,6 +691,7 @@ static void TMCJPEGDEC_converterYUV211toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
|
||||
}
|
||||
|
||||
static void TMCJPEGDEC_converterYUV444toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 row;
|
||||
s32 column;
|
||||
s32 tileRow;
|
||||
u16* output;
|
||||
@@ -689,7 +711,6 @@ static void TMCJPEGDEC_converterYUV444toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
|
||||
s32 value;
|
||||
s32 green;
|
||||
s32 red;
|
||||
s32 blue;
|
||||
|
||||
luminance = work->convBuf + 4;
|
||||
cb = work->convBuf + 68;
|
||||
@@ -702,37 +723,34 @@ static void TMCJPEGDEC_converterYUV444toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
|
||||
xEnd = x + width;
|
||||
yEnd = y + height;
|
||||
rowSkip = 8 - width;
|
||||
for (; y < yEnd; y++) {
|
||||
output = (u16*)(texture + ((y & 3) << 3));
|
||||
tileRow = (y >> 2) * tileWidth;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
output = (u16*)(texture + ((row & 3) << 3));
|
||||
tileRow = (row >> 2) * tileWidth;
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbValue = (s8)*cb++;
|
||||
crValue = (s8)*cr++;
|
||||
value = *luminance++;
|
||||
green = value + (-(cbValue * 88 + crValue * 183) >> 8);
|
||||
red = value + ((crValue * 359) >> 8);
|
||||
blue = value + ((cbValue * 454) >> 8);
|
||||
if ((blue | green | red) >> 8) {
|
||||
if (blue > 255) {
|
||||
blue = 255;
|
||||
} else {
|
||||
blue &= ~(blue >> 31);
|
||||
value += (cbValue * 454) >> 8;
|
||||
if ((value | green | red) >> 8) {
|
||||
value &= ~(value >> 31);
|
||||
if (value > 255) {
|
||||
value = 255;
|
||||
}
|
||||
green &= ~(green >> 31);
|
||||
if (green > 255) {
|
||||
green = 255;
|
||||
} else {
|
||||
green &= ~(green >> 31);
|
||||
}
|
||||
red &= ~(red >> 31);
|
||||
if (red > 255) {
|
||||
red = 255;
|
||||
} else {
|
||||
red &= ~(red >> 31);
|
||||
}
|
||||
}
|
||||
output[(column & 3) + ((((column >> 2) << 1) + tileRow) << 4)] =
|
||||
(u8)red + 0x10000 - 0x100;
|
||||
output[(column & 3) + ((((column >> 2) << 1) + tileRow + 1) << 4)] =
|
||||
((green & 255) << 8) + (blue & 255);
|
||||
((green & 255) << 8) + (value & 255);
|
||||
}
|
||||
luminance += rowSkip;
|
||||
cb += rowSkip;
|
||||
@@ -760,7 +778,6 @@ static void TMCJPEGDEC_converterYUV444toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
|
||||
s32 value;
|
||||
s32 green;
|
||||
s32 red;
|
||||
s32 blue;
|
||||
|
||||
luminance = work->convBuf + 4;
|
||||
cb = work->convBuf + 68;
|
||||
@@ -790,28 +807,25 @@ static void TMCJPEGDEC_converterYUV444toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
|
||||
value = *luminance++;
|
||||
green = value + (-(cbValue * 88 + crValue * 183) >> 8);
|
||||
red = value + ((crValue * 359) >> 8);
|
||||
blue = value + ((cbValue * 454) >> 8);
|
||||
if ((blue | green | red) >> 8) {
|
||||
if (blue > 255) {
|
||||
blue = 255;
|
||||
} else {
|
||||
blue &= ~(blue >> 31);
|
||||
value += (cbValue * 454) >> 8;
|
||||
if ((value | green | red) >> 8) {
|
||||
value &= ~(value >> 31);
|
||||
if (value > 255) {
|
||||
value = 255;
|
||||
}
|
||||
green &= ~(green >> 31);
|
||||
if (green > 255) {
|
||||
green = 255;
|
||||
} else {
|
||||
green &= ~(green >> 31);
|
||||
}
|
||||
red &= ~(red >> 31);
|
||||
if (red > 255) {
|
||||
red = 255;
|
||||
} else {
|
||||
red &= ~(red >> 31);
|
||||
}
|
||||
}
|
||||
output[(column & 3) + ((((column >> 2) << 1) + tileRow) << 4)] =
|
||||
(u8)red + 0x10000 - 0x100;
|
||||
output[(column & 3) + ((((column >> 2) << 1) + tileRow + 1) << 4)] =
|
||||
((green & 255) << 8) + (blue & 255);
|
||||
((green & 255) << 8) + (value & 255);
|
||||
}
|
||||
luminance += rowSkip;
|
||||
cb += rowSkip;
|
||||
|
||||
@@ -25,82 +25,106 @@ s32 TMCJPEGDEC_set_converterY8U8V8(TMCCJPEGDecWork* work) {
|
||||
|
||||
switch (cc) {
|
||||
case 0: {
|
||||
TMCConverterFunc* converter;
|
||||
TMCConverterFunc* edgeConverter;
|
||||
u8 mode = work->idctMode;
|
||||
u8* ptr = ob + 4;
|
||||
u8* p1 = ptr + mode;
|
||||
u8* p2 = p1 + mode;
|
||||
u8* p3 = p2 + mode;
|
||||
|
||||
work->pConverterFunc = TMCJPEG_814EFEAC;
|
||||
work->pConverterFuncEdge = TMCJPEG_814F043C;
|
||||
converter = TMCJPEG_814EFEAC;
|
||||
edgeConverter = TMCJPEG_814F043C;
|
||||
work->pConvRowPtrs[0] = (void*)ptr;
|
||||
work->pConvRowPtrs[1] = (void*)p1;
|
||||
work->pConvRowPtrs[2] = (void*)p2;
|
||||
work->pConvRowPtrs[3] = (void*)p3;
|
||||
work->pConvRowPtrs[5] = (void*)(ob + 0x104);
|
||||
work->pConvRowPtrs[6] = (void*)(ob + 0x144);
|
||||
work->pConverterFunc = converter;
|
||||
work->pConverterFuncEdge = edgeConverter;
|
||||
work->pitch = 0x20;
|
||||
work->converterFlags = 0;
|
||||
break;
|
||||
}
|
||||
case 1: {
|
||||
TMCConverterFunc* converter;
|
||||
TMCConverterFunc* edgeConverter;
|
||||
u8 mode = work->idctMode;
|
||||
u8* ptr = ob + 4;
|
||||
work->pConverterFunc = TMCJPEG_814F0A58;
|
||||
work->pConverterFuncEdge = TMCJPEG_814F11C4;
|
||||
converter = TMCJPEG_814F0A58;
|
||||
edgeConverter = TMCJPEG_814F11C4;
|
||||
work->pConvRowPtrs[0] = (void*)ptr;
|
||||
work->pConvRowPtrs[1] = (void*)(ptr + mode);
|
||||
work->pConvRowPtrs[5] = (void*)(ob + 0x84);
|
||||
work->pConvRowPtrs[6] = (void*)(ob + 0xC4);
|
||||
work->pConverterFunc = converter;
|
||||
work->pConverterFuncEdge = edgeConverter;
|
||||
work->pitch = 0x10;
|
||||
work->converterFlags = 0;
|
||||
break;
|
||||
}
|
||||
case 2: {
|
||||
TMCConverterFunc* converter;
|
||||
TMCConverterFunc* edgeConverter;
|
||||
u8 mode = work->idctMode;
|
||||
u8* ptr = ob + 4;
|
||||
u8* p1 = ptr + mode;
|
||||
u8* p2 = ptr + mode * 16;
|
||||
u8* p3 = p2 + mode;
|
||||
work->pConverterFunc = TMCJPEG_814F17E0;
|
||||
work->pConverterFuncEdge = TMCJPEG_814F1F48;
|
||||
converter = TMCJPEG_814F17E0;
|
||||
edgeConverter = TMCJPEG_814F1F48;
|
||||
work->pConvRowPtrs[0] = (void*)ptr;
|
||||
work->pConvRowPtrs[1] = (void*)p1;
|
||||
work->pConvRowPtrs[2] = (void*)p2;
|
||||
work->pConvRowPtrs[3] = (void*)p3;
|
||||
work->pConvRowPtrs[5] = (void*)(ob + 0x104);
|
||||
work->pConvRowPtrs[6] = (void*)(ob + 0x144);
|
||||
work->pConverterFunc = converter;
|
||||
work->pConverterFuncEdge = edgeConverter;
|
||||
work->pitch = 0x10;
|
||||
work->converterFlags = 0;
|
||||
break;
|
||||
}
|
||||
case 3: {
|
||||
TMCConverterFunc* converter;
|
||||
TMCConverterFunc* edgeConverter;
|
||||
u8 mode = work->idctMode;
|
||||
u8* ptr = ob + 4;
|
||||
work->pConverterFunc = TMCJPEG_814F2570;
|
||||
work->pConverterFuncEdge = TMCJPEG_814F2B50;
|
||||
converter = TMCJPEG_814F2570;
|
||||
edgeConverter = TMCJPEG_814F2B50;
|
||||
work->pConvRowPtrs[0] = (void*)ptr;
|
||||
work->pConvRowPtrs[1] = (void*)(ptr + mode * 8);
|
||||
work->pConvRowPtrs[5] = (void*)(ob + 0x84);
|
||||
work->pConvRowPtrs[6] = (void*)(ob + 0xC4);
|
||||
work->pConverterFunc = converter;
|
||||
work->pConverterFuncEdge = edgeConverter;
|
||||
work->pitch = 0x08;
|
||||
work->converterFlags = 0;
|
||||
break;
|
||||
}
|
||||
case 4: {
|
||||
work->pConverterFunc = TMCJPEG_814F3158;
|
||||
work->pConverterFuncEdge = TMCJPEG_814F32E4;
|
||||
TMCConverterFunc* converter;
|
||||
TMCConverterFunc* edgeConverter;
|
||||
converter = TMCJPEG_814F3158;
|
||||
edgeConverter = TMCJPEG_814F32E4;
|
||||
work->pConvRowPtrs[0] = (void*)(ob + 4);
|
||||
work->pConvRowPtrs[5] = (void*)(ob + 0x44);
|
||||
work->pConvRowPtrs[6] = (void*)(ob + 0x84);
|
||||
work->pConverterFunc = converter;
|
||||
work->pConverterFuncEdge = edgeConverter;
|
||||
work->pitch = 0x08;
|
||||
work->converterFlags = 0;
|
||||
break;
|
||||
}
|
||||
case 5: {
|
||||
work->pConverterFunc = TMCJPEG_814F34A4;
|
||||
work->pConverterFuncEdge = TMCJPEG_814F372C;
|
||||
TMCConverterFunc* converter;
|
||||
TMCConverterFunc* edgeConverter;
|
||||
converter = TMCJPEG_814F34A4;
|
||||
edgeConverter = TMCJPEG_814F372C;
|
||||
work->pConvRowPtrs[0] = (void*)(ob + 4);
|
||||
work->pConverterFunc = converter;
|
||||
work->pConverterFuncEdge = edgeConverter;
|
||||
work->pitch = 0x08;
|
||||
work->converterFlags = 0;
|
||||
break;
|
||||
@@ -198,9 +222,9 @@ static void TMCJPEG_814F043C(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 yEnd = y + height;
|
||||
s32 row;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
u8* output = lumaTexture + ((row & 3) << 3);
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
output[((column) & 7) + ((((column) >> 3) + tileRow) << 5)] = luminance[0];
|
||||
luminance += 1;
|
||||
}
|
||||
@@ -212,10 +236,10 @@ static void TMCJPEG_814F043C(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
yEnd = y + height;
|
||||
tileWidth = state->chromaWidth >> 3;
|
||||
for (; y < yEnd; y++) {
|
||||
for (column = x; column < xEnd; column++) {
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
u8* cbOutput = cbTexture + ((y & 3) << 3);
|
||||
u8* crOutput = crTexture + ((y & 3) << 3);
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cb++ + 128;
|
||||
crOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cr++ + 128;
|
||||
}
|
||||
@@ -243,8 +267,8 @@ static void TMCJPEG_814F0A58(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 yEnd = y + height;
|
||||
s32 row;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
u8* output = lumaTexture + ((row & 3) << 3);
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
for (column = x; column < xEnd; column += 2) {
|
||||
output[((column) & 7) + ((((column) >> 3) + tileRow) << 5)] = luminance[0];
|
||||
output[((column + 1) & 7) + ((((column + 1) >> 3) + tileRow) << 5)] = luminance[1];
|
||||
@@ -259,9 +283,9 @@ static void TMCJPEG_814F0A58(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
yEnd = y + height;
|
||||
tileWidth = state->chromaWidth >> 3;
|
||||
for (; y < yEnd; y++) {
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
u8* cbOutput = cbTexture + ((y & 3) << 3);
|
||||
u8* crOutput = crTexture + ((y & 3) << 3);
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cb++ + 128;
|
||||
crOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cr++ + 128;
|
||||
@@ -298,9 +322,9 @@ static void TMCJPEG_814F11C4(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 yEnd = y + height;
|
||||
s32 row;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
u8* output = lumaTexture + ((row & 3) << 3);
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
output[((column) & 7) + ((((column) >> 3) + tileRow) << 5)] = luminance[0];
|
||||
luminance += 1;
|
||||
}
|
||||
@@ -312,10 +336,10 @@ static void TMCJPEG_814F11C4(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
yEnd = y + height;
|
||||
tileWidth = state->chromaWidth >> 3;
|
||||
for (; y < yEnd; y++) {
|
||||
for (column = x; column < xEnd; column++) {
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
u8* cbOutput = cbTexture + ((y & 3) << 3);
|
||||
u8* crOutput = crTexture + ((y & 3) << 3);
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cb++ + 128;
|
||||
crOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cr++ + 128;
|
||||
}
|
||||
@@ -342,8 +366,8 @@ static void TMCJPEG_814F17E0(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 yEnd = y + height;
|
||||
s32 row;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
u8* output = lumaTexture + ((row & 3) << 3);
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
s32 column;
|
||||
for (column = x; column < xEnd; column += 2) {
|
||||
output[((column) & 7) + ((((column) >> 3) + tileRow) << 5)] = luminance[0];
|
||||
@@ -360,9 +384,9 @@ static void TMCJPEG_814F17E0(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
yEnd = y + height;
|
||||
tileWidth = state->chromaWidth >> 3;
|
||||
for (; y < yEnd; y++) {
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
u8* cbOutput = cbTexture + ((y & 3) << 3);
|
||||
u8* crOutput = crTexture + ((y & 3) << 3);
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
s32 column;
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cb++ + 128;
|
||||
@@ -400,9 +424,9 @@ static void TMCJPEG_814F1F48(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 yEnd = y + height;
|
||||
s32 row;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
u8* output = lumaTexture + ((row & 3) << 3);
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
output[((column) & 7) + ((((column) >> 3) + tileRow) << 5)] = luminance[0];
|
||||
luminance += 1;
|
||||
}
|
||||
@@ -416,10 +440,10 @@ static void TMCJPEG_814F1F48(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
yEnd = y + height;
|
||||
tileWidth = state->chromaWidth >> 3;
|
||||
for (; y < yEnd; y++) {
|
||||
for (column = x; column < xEnd; column++) {
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
u8* cbOutput = cbTexture + ((y & 3) << 3);
|
||||
u8* crOutput = crTexture + ((y & 3) << 3);
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cb++ + 128;
|
||||
crOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cr++ + 128;
|
||||
}
|
||||
@@ -447,9 +471,9 @@ static void TMCJPEG_814F2570(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 yEnd = y + height;
|
||||
s32 row;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
u8* output = lumaTexture + ((row & 3) << 3);
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
output[((column) & 7) + ((((column) >> 3) + tileRow) << 5)] = luminance[0];
|
||||
luminance += 1;
|
||||
}
|
||||
@@ -462,10 +486,10 @@ static void TMCJPEG_814F2570(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
yEnd = y + height;
|
||||
tileWidth = state->chromaWidth >> 3;
|
||||
for (; y < yEnd; y++) {
|
||||
for (column = x; column < xEnd; column++) {
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
u8* cbOutput = cbTexture + ((y & 3) << 3);
|
||||
u8* crOutput = crTexture + ((y & 3) << 3);
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cb++ + 128;
|
||||
crOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cr++ + 128;
|
||||
}
|
||||
@@ -501,9 +525,9 @@ static void TMCJPEG_814F2B50(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
s32 yEnd = y + height;
|
||||
s32 row;
|
||||
for (row = y; row < yEnd; row++) {
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
u32 tileRow = (row >> 2) * tileWidth;
|
||||
u8* output = lumaTexture + ((row & 3) << 3);
|
||||
for (column = x; column < xEnd; column += 1) {
|
||||
output[((column) & 7) + ((((column) >> 3) + tileRow) << 5)] = luminance[0];
|
||||
luminance += 1;
|
||||
}
|
||||
@@ -515,10 +539,10 @@ static void TMCJPEG_814F2B50(TMCCJPEGDecWork* work, s32 x, s32 y) {
|
||||
yEnd = y + height;
|
||||
tileWidth = state->chromaWidth >> 3;
|
||||
for (; y < yEnd; y++) {
|
||||
for (column = x; column < xEnd; column++) {
|
||||
u32 tileRow = (y >> 2) * tileWidth;
|
||||
u8* cbOutput = cbTexture + ((y & 3) << 3);
|
||||
u8* crOutput = crTexture + ((y & 3) << 3);
|
||||
for (column = x; column < xEnd; column++) {
|
||||
cbOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cb++ + 128;
|
||||
crOutput[(column & 7) + (((column >> 3) + tileRow) << 5)] = *cr++ + 128;
|
||||
}
|
||||
|
||||
@@ -313,3 +313,447 @@ TMCJPEGDEC_converterYUV444toRGBA8edge, 77.60000%, 110/110 instructions; 28 opcod
|
||||
### libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32
|
||||
|
||||
TMCJPEGDEC_decode_iquant, 85.11232%, instruction count 282/276; loop/control-flow shape and scheduling remain
|
||||
|
||||
## Continued matching after c923937c
|
||||
|
||||
Fresh baseline quick gate: PASS, zero regressions. All five original objects contain only code, with zero data bytes; their string pools are identical. No tables, vtables, or string literals require reconstruction in these units.
|
||||
|
||||
| Function | Distinct source attempt | Before percent | After percent | Evidence |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| TMCJPEGDEC_set_converterRGB565 | converter stores before row stores | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGB565 | pointer to whole conversion buffer | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGB565 | signed conversion sample pointer | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGB565 | case scoped converter function pointers | 93.864710 | 93.864710 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGB565 | buffer initialized after state and component | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGBA8 | converter stores before row stores | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGBA8 | pointer to whole conversion buffer | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGBA8 | signed conversion sample pointer | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGBA8 | case scoped converter function pointers | 93.864710 | 93.864710 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterRGBA8 | buffer initialized after state and component | 93.864710 | 93.635290 | 169/170 instructions; 169 differences |
|
||||
| TMCJPEGDEC_set_converterY8U8V8 | converter stores before row stores | 92.540820 | 92.540820 | 195/196 instructions; 195 differences |
|
||||
| TMCJPEGDEC_set_converterY8U8V8 | pointer to whole conversion buffer | 92.540820 | 92.540820 | 195/196 instructions; 195 differences |
|
||||
| TMCJPEGDEC_set_converterY8U8V8 | signed conversion sample pointer | 92.540820 | 92.540820 | 195/196 instructions; 195 differences |
|
||||
| TMCJPEGDEC_set_converterY8U8V8 | case scoped converter function pointers | 92.540820 | 92.739800 | 195/196 instructions; 195 differences |
|
||||
| TMCJPEGDEC_set_converterY8U8V8 | buffer initialized after state and component | 92.540820 | 92.540820 | 195/196 instructions; 195 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | reuse luminance temporary for blue | 88.241760 | 88.241760 | 91/91 instructions; 49 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | saturation low branch first | 88.241760 | 88.241760 | 91/91 instructions; 49 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | pixel arithmetic locals scoped to pixel loop | 88.241760 | 88.021980 | 91/91 instructions; 53 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | combined saturation mask | 88.241760 | 87.582420 | 91/91 instructions; 50 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | pack green after red and blue sum | 88.241760 | 88.241760 | 91/91 instructions; 49 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | reuse luminance temporary for blue | 88.076920 | 88.076920 | 104/104 instructions; 72 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | saturation low branch first | 88.076920 | 88.076920 | 104/104 instructions; 72 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | pixel arithmetic locals scoped to pixel loop | 88.076920 | 88.076920 | 104/104 instructions; 72 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | combined saturation mask | 88.076920 | 87.500000 | 104/104 instructions; 73 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | pack green after red and blue sum | 88.076920 | 88.076920 | 104/104 instructions; 72 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | reuse luminance temporary for blue | 72.381450 | 73.226810 | 97/97 instructions; 76 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | saturation low branch first | 72.381450 | 72.381450 | 97/97 instructions; 78 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | pixel arithmetic locals scoped to pixel loop | 72.381450 | 72.381450 | 97/97 instructions; 78 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | combined saturation mask | 72.381450 | 72.381450 | 97/97 instructions; 78 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | pack green after red and blue sum | 72.381450 | 72.381450 | 97/97 instructions; 78 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | reuse luminance temporary for blue | 77.600000 | 78.345450 | 110/110 instructions; 72 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | saturation low branch first | 77.600000 | 77.600000 | 110/110 instructions; 74 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | pixel arithmetic locals scoped to pixel loop | 77.600000 | 77.600000 | 110/110 instructions; 74 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | combined saturation mask | 77.600000 | 77.600000 | 110/110 instructions; 74 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | pack green after red and blue sum | 77.600000 | 77.600000 | 110/110 instructions; 74 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | saturation block with early break | 88.241760 | 88.241760 | 91/91 instructions; 49 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | negative mask before saturation decision | 88.241760 | 89.450550 | 88/91 instructions; 65 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | unsigned upper bound following negative clamp | 88.241760 | 85.879120 | 88/91 instructions; 65 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | saturation block with early break | 88.076920 | 88.076920 | 104/104 instructions; 72 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | negative mask before saturation decision | 88.076920 | 88.942310 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | unsigned upper bound following negative clamp | 88.076920 | 86.009610 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | saturation block with early break | 73.226810 | 73.226810 | 97/97 instructions; 76 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | negative mask before saturation decision | 73.226810 | 76.216490 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | unsigned upper bound following negative clamp | 73.226810 | 73.690720 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | saturation block with early break | 78.345450 | 78.345450 | 110/110 instructions; 72 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | negative mask before saturation decision | 78.345450 | 80.981820 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | unsigned upper bound following negative clamp | 78.345450 | 78.754550 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | row output pointer before tile product | 83.728070 | 83.640350 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | green pixel sum before red pixel sum | 83.728070 | 83.859650 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | explicit saturation branches in each pixel | 83.728070 | 83.728070 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | named output pixel offset before each store | 83.728070 | 83.728070 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | signed chroma source pointers | 83.728070 | 83.991230 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | row output pointer before tile product | 82.858490 | 82.858490 | 109/106 instructions; 100 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | green pixel sum before red pixel sum | 82.858490 | 84.292450 | 109/106 instructions; 99 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | explicit saturation branches in each pixel | 82.858490 | 82.858490 | 109/106 instructions; 100 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | named output pixel offset before each store | 82.858490 | 82.858490 | 109/106 instructions; 100 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | signed chroma source pointers | 82.858490 | 82.716980 | 109/106 instructions; 100 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | row output pointer before tile product | 82.663550 | 82.663550 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | green pixel sum before red pixel sum | 82.663550 | 82.710280 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | explicit saturation branches in each pixel | 82.663550 | 82.663550 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | named output pixel offset before each store | 82.663550 | 82.663550 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | signed chroma source pointers | 82.663550 | 82.803740 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | converter locals flattened like exact siblings | 79.165140 | 79.165140 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | row output pointer before tile product | 79.165140 | 79.165140 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | green pixel sum before red pixel sum | 79.165140 | 86.788994 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | explicit saturation branches in each pixel | 79.165140 | 79.165140 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | named output pixel offset before each store | 79.165140 | 79.165140 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | signed chroma source pointers | 79.165140 | 79.119260 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | converter locals flattened like exact siblings | 78.117645 | 77.970590 | 136/136 instructions; 124 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | row output pointer before tile product | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | green pixel sum before red pixel sum | 78.117645 | 65.985290 | 136/136 instructions; 124 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | explicit saturation branches in each pixel | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | named output pixel offset before each store | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | signed chroma source pointers | 78.117645 | 78.080880 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | converter locals flattened like exact siblings | 77.375885 | 77.234040 | 141/141 instructions; 127 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | row output pointer before tile product | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | green pixel sum before red pixel sum | 77.375885 | 65.673760 | 141/141 instructions; 127 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | explicit saturation branches in each pixel | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | named output pixel offset before each store | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | signed chroma source pointers | 77.375885 | 77.340420 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | converter locals flattened like exact siblings | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | row output pointer before tile product | 75.921740 | 75.834785 | 115/115 instructions; 96 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | green pixel sum before red pixel sum | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | explicit saturation branches in each pixel | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | named output pixel offset before each store | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | signed chroma source pointers | 75.921740 | 75.791306 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | converter locals flattened like exact siblings | 75.336730 | 75.336730 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | row output pointer before tile product | 75.336730 | 75.336730 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | green pixel sum before red pixel sum | 75.336730 | 83.816330 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | explicit saturation branches in each pixel | 75.336730 | 75.336730 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | named output pixel offset before each store | 75.336730 | 75.336730 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | signed chroma source pointers | 75.336730 | 75.285710 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | row output pointer before tile product | 74.608330 | 74.691666 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | green pixel sum before red pixel sum | 74.608330 | 74.608330 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | explicit saturation branches in each pixel | 74.608330 | 74.608330 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | named output pixel offset before each store | 74.608330 | 74.608330 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | signed chroma source pointers | 74.608330 | 74.566666 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | converter locals flattened like exact siblings | 74.239630 | 70.884796 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | row output pointer before tile product | 74.239630 | 74.009220 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | green pixel sum before red pixel sum | 74.239630 | 61.179720 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | explicit saturation branches in each pixel | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | named output pixel offset before each store | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | signed chroma source pointers | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | row output pointer before tile product | 71.901790 | 71.812500 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | green pixel sum before red pixel sum | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | explicit saturation branches in each pixel | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | named output pixel offset before each store | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | signed chroma source pointers | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | converter locals flattened like exact siblings | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | row output pointer before tile product | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | green pixel sum before red pixel sum | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | explicit saturation branches in each pixel | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | named output pixel offset before each store | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | signed chroma source pointers | 71.048080 | 70.903850 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | converter locals flattened like exact siblings | 71.032680 | 70.960785 | 153/153 instructions; 133 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | row output pointer before tile product | 71.032680 | 71.032680 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | green pixel sum before red pixel sum | 71.032680 | 71.032680 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | explicit saturation branches in each pixel | 71.032680 | 71.032680 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | named output pixel offset before each store | 71.032680 | 69.071890 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | signed chroma source pointers | 71.032680 | 71.065360 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | row output pointer before tile product | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | green pixel sum before red pixel sum | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | explicit saturation branches in each pixel | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | named output pixel offset before each store | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | signed chroma source pointers | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | converter locals flattened like exact siblings | 69.442150 | 69.442150 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | row output pointer before tile product | 69.442150 | 69.462810 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | green pixel sum before red pixel sum | 69.442150 | 69.442150 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | explicit saturation branches in each pixel | 69.442150 | 69.442150 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | named output pixel offset before each store | 69.442150 | 63.801650 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | signed chroma source pointers | 69.442150 | 69.442150 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | converter locals flattened like exact siblings | 67.770270 | 69.060814 | 148/148 instructions; 138 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | row output pointer before tile product | 67.770270 | 67.770270 | 148/148 instructions; 137 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | green pixel sum before red pixel sum | 67.770270 | 67.770270 | 148/148 instructions; 137 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | explicit saturation branches in each pixel | 67.770270 | 67.770270 | 148/148 instructions; 137 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | named output pixel offset before each store | 67.770270 | 68.412160 | 148/148 instructions; 137 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | signed chroma source pointers | 67.770270 | 67.770270 | 148/148 instructions; 136 differences |
|
||||
| TMCJPEG_814F2B50 | exact sibling split tile and pixel addressing | 53.634716 | 53.634716 | 385/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | unsigned chroma samples with split addressing | 53.634716 | 53.634716 | 385/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | row output pointers before tile row arithmetic | 53.634716 | 53.634716 | 385/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | row arithmetic inside pixel loop as exact grayscale | 53.634716 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814EFEAC | exact sibling split tile and pixel addressing | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | unsigned chroma samples with split addressing | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | row output pointers before tile row arithmetic | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | row arithmetic inside pixel loop as exact grayscale | 53.101124 | 52.412920 | 339/356 instructions; 355 differences |
|
||||
| TMCJPEG_814F043C | exact sibling split tile and pixel addressing | 52.511510 | 52.511510 | 391/391 instructions; 387 differences |
|
||||
| TMCJPEG_814F043C | unsigned chroma samples with split addressing | 52.511510 | 52.511510 | 391/391 instructions; 387 differences |
|
||||
| TMCJPEG_814F043C | row output pointers before tile row arithmetic | 52.511510 | 53.222507 | 391/391 instructions; 387 differences |
|
||||
| TMCJPEG_814F043C | row arithmetic inside pixel loop as exact grayscale | 52.511510 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | exact sibling split tile and pixel addressing | 52.511510 | 52.511510 | 391/391 instructions; 387 differences |
|
||||
| TMCJPEG_814F11C4 | unsigned chroma samples with split addressing | 52.511510 | 52.511510 | 391/391 instructions; 387 differences |
|
||||
| TMCJPEG_814F11C4 | row output pointers before tile row arithmetic | 52.511510 | 53.222507 | 391/391 instructions; 387 differences |
|
||||
| TMCJPEG_814F11C4 | row arithmetic inside pixel loop as exact grayscale | 52.511510 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F1F48 | exact sibling split tile and pixel addressing | 49.791878 | 49.791878 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | unsigned chroma samples with split addressing | 49.791878 | 49.791878 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | row output pointers before tile row arithmetic | 49.791878 | 48.713200 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | row arithmetic inside pixel loop as exact grayscale | 49.791878 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F2570 | exact sibling split tile and pixel addressing | 47.103720 | 47.103720 | 376/376 instructions; 370 differences |
|
||||
| TMCJPEG_814F2570 | unsigned chroma samples with split addressing | 47.103720 | 47.103720 | 376/376 instructions; 370 differences |
|
||||
| TMCJPEG_814F2570 | row output pointers before tile row arithmetic | 47.103720 | 49.789894 | 376/376 instructions; 371 differences |
|
||||
| TMCJPEG_814F2570 | row arithmetic inside pixel loop as exact grayscale | 47.103720 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F0A58 | exact sibling split tile and pixel addressing | 43.555790 | 43.555790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | unsigned chroma samples with split addressing | 43.555790 | 43.555790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | row output pointers before tile row arithmetic | 43.555790 | 45.195790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | row arithmetic inside pixel loop as exact grayscale | 43.555790 | 44.507370 | 478/475 instructions; 478 differences |
|
||||
| TMCJPEG_814F17E0 | exact sibling split tile and pixel addressing | 41.890297 | 41.890297 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | unsigned chroma samples with split addressing | 41.890297 | 41.890297 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | row output pointers before tile row arithmetic | 41.890297 | 44.407173 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | row arithmetic inside pixel loop as exact grayscale | 41.890297 | 41.890297 | 475/474 instructions; 472 differences |
|
||||
|
||||
Converter checkpoint: full clean gate PASS; zero regressions, forbidden patterns, and readability warnings. Global fuzzy 97.98290 -> 98.00015. Retained real source-shape gains in all three converters. Setup buffer base still folds; colored saturation and loop scheduling still differ. Data inventory from original ELF sections confirmed all five units have no data sections. Failed flattening experiments were reverted before the gate.
|
||||
| TMCJPEGDEC_IdctBlock_Col | AC reduction from newly loaded coefficient | 69.112335 | 69.112335 | 480/454 instructions; 466 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Col | last butterfly sum uses target operand order | 69.112335 | 69.112335 | 480/454 instructions; 466 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Col | odd outer sum grouped before inner correction | 69.112335 | 69.112335 | 480/454 instructions; 466 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Col | column pass decrements pointer in loop update | 69.112335 | 69.085900 | 480/454 instructions; 466 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Col | row pass zero fill uses pointer bound | 69.112335 | 69.017624 | 480/454 instructions; 467 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Col | butterfly coefficients load odd terms before even terms | 69.112335 | 69.112335 | 480/454 instructions; 466 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | AC reduction from newly loaded coefficient | 66.618675 | 66.618675 | 257/257 instructions; 217 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | last butterfly sum uses target operand order | 66.618675 | 66.618675 | 257/257 instructions; 217 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | odd outer sum grouped before inner correction | 66.618675 | 66.618675 | 257/257 instructions; 217 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | column pass decrements pointer in loop update | 66.618675 | 66.610890 | 257/257 instructions; 217 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | row pass zero fill uses pointer bound | 66.618675 | 65.038910 | 257/257 instructions; 224 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | butterfly coefficients load odd terms before even terms | 66.618675 | 63.797665 | 257/257 instructions; 213 differences |
|
||||
| TMCJPEGDEC_decode_iquant | sign extension subtracts amplitude mask | 85.112320 | 84.731890 | 280/276 instructions; 252 differences |
|
||||
| TMCJPEGDEC_decode_iquant | AC entry lifetime begins after DC decoding | 85.112320 | 85.126810 | 282/276 instructions; 251 differences |
|
||||
| TMCJPEGDEC_decode_iquant | DC entry declared before AC entry | 85.112320 | 85.119570 | 282/276 instructions; 253 differences |
|
||||
| TMCJPEGDEC_decode_iquant | slow Huffman offset reads original entry symbol | 85.112320 | 85.293480 | 280/276 instructions; 245 differences |
|
||||
| TMCJPEGDEC_decode_iquant | slow Huffman offsets added after code difference | 85.112320 | 85.039856 | 282/276 instructions; 254 differences |
|
||||
| TMCJPEGDEC_decode_iquant | quantizer and predictor multiplication operands | 85.112320 | 85.094200 | 282/276 instructions; 254 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | unique converter locals at function scope | 89.450550 | 89.450550 | 88/91 instructions; 65 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | sample loads before pointer increments | 89.450550 | 82.087910 | 88/91 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | explicit addition for pixel counter updates | 89.450550 | 89.450550 | 88/91 instructions; 65 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | tile column multiply replaces tile shift | 89.450550 | 89.450550 | 88/91 instructions; 65 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | row traversal uses exact sibling row variable | 89.450550 | 87.252750 | 88/91 instructions; 68 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | output tile product cast to unsigned | 89.450550 | 89.450550 | 88/91 instructions; 65 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565 | prefix increment for row and column counters | 89.450550 | 89.450550 | 88/91 instructions; 65 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | unique converter locals at function scope | 88.942310 | 88.942310 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | sample loads before pointer increments | 88.942310 | 88.365390 | 101/104 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | explicit addition for pixel counter updates | 88.942310 | 88.942310 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | tile column multiply replaces tile shift | 88.942310 | 88.942310 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | row traversal uses exact sibling row variable | 88.942310 | 88.942310 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | output tile product cast to unsigned | 88.942310 | 88.942310 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGB565edge | prefix increment for row and column counters | 88.942310 | 88.942310 | 101/104 instructions; 82 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | unique converter locals at function scope | 86.788994 | 86.788994 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | explicit addition for pixel counter updates | 86.788994 | 86.788994 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | tile column multiply replaces tile shift | 86.788994 | 86.788994 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | row traversal uses exact sibling row variable | 86.788994 | 86.788994 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | output tile product cast to unsigned | 86.788994 | 86.788994 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565edge | prefix increment for row and column counters | 86.788994 | 86.788994 | 109/109 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | explicit addition for pixel counter updates | 84.292450 | 84.292450 | 109/106 instructions; 99 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | tile column multiply replaces tile shift | 84.292450 | 84.292450 | 109/106 instructions; 99 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | row traversal uses exact sibling row variable | 84.292450 | 84.292450 | 109/106 instructions; 99 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | output tile product cast to unsigned | 84.292450 | 84.292450 | 109/106 instructions; 99 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565edge | prefix increment for row and column counters | 84.292450 | 84.292450 | 109/106 instructions; 99 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | explicit addition for pixel counter updates | 83.991230 | 83.991230 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | tile column multiply replaces tile shift | 83.991230 | 83.991230 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | row traversal uses exact sibling row variable | 83.991230 | 83.991230 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | output tile product cast to unsigned | 83.991230 | 83.991230 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565edge | prefix increment for row and column counters | 83.991230 | 83.991230 | 117/114 instructions; 110 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | unique converter locals at function scope | 83.816330 | 83.816330 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | explicit addition for pixel counter updates | 83.816330 | 83.816330 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | tile column multiply replaces tile shift | 83.816330 | 83.816330 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | row traversal uses exact sibling row variable | 83.816330 | 83.602040 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | output tile product cast to unsigned | 83.816330 | 83.816330 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGB565 | prefix increment for row and column counters | 83.816330 | 83.816330 | 98/98 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | explicit addition for pixel counter updates | 82.803740 | 82.803740 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | tile column multiply replaces tile shift | 82.803740 | 82.803740 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | row traversal uses exact sibling row variable | 82.803740 | 82.803740 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | output tile product cast to unsigned | 82.803740 | 82.803740 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565edge | prefix increment for row and column counters | 82.803740 | 82.803740 | 110/107 instructions; 103 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | unique converter locals at function scope | 80.981820 | 80.981820 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | sample loads before pointer increments | 80.981820 | 80.209090 | 107/110 instructions; 86 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | explicit addition for pixel counter updates | 80.981820 | 80.981820 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | tile column multiply replaces tile shift | 80.981820 | 80.981820 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | row traversal uses exact sibling row variable | 80.981820 | 80.981820 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | output tile product cast to unsigned | 80.981820 | 80.981820 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8edge | prefix increment for row and column counters | 80.981820 | 80.981820 | 107/110 instructions; 83 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | unique converter locals at function scope | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | explicit addition for pixel counter updates | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | tile column multiply replaces tile shift | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | row traversal uses exact sibling row variable | 78.117645 | 78.110290 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | output tile product cast to unsigned | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGB565 | prefix increment for row and column counters | 78.117645 | 78.117645 | 136/136 instructions; 122 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | unique converter locals at function scope | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | explicit addition for pixel counter updates | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | tile column multiply replaces tile shift | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | row traversal uses exact sibling row variable | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | output tile product cast to unsigned | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGB565 | prefix increment for row and column counters | 77.375885 | 77.375885 | 141/141 instructions; 125 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | unique converter locals at function scope | 76.216490 | 76.216490 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | sample loads before pointer increments | 76.216490 | 75.340210 | 94/97 instructions; 90 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | explicit addition for pixel counter updates | 76.216490 | 76.216490 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | tile column multiply replaces tile shift | 76.216490 | 76.216490 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | row traversal uses exact sibling row variable | 76.216490 | 76.257730 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | output tile product cast to unsigned | 76.216490 | 76.216490 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV444toRGBA8 | prefix increment for row and column counters | 76.216490 | 76.216490 | 94/97 instructions; 87 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | unique converter locals at function scope | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | explicit addition for pixel counter updates | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | tile column multiply replaces tile shift | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | row traversal uses exact sibling row variable | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | output tile product cast to unsigned | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8edge | prefix increment for row and column counters | 75.921740 | 75.921740 | 115/115 instructions; 95 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | explicit addition for pixel counter updates | 74.691666 | 74.691666 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | tile column multiply replaces tile shift | 74.691666 | 74.691666 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | row traversal uses exact sibling row variable | 74.691666 | 74.691666 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | output tile product cast to unsigned | 74.691666 | 74.691666 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8edge | prefix increment for row and column counters | 74.691666 | 74.691666 | 123/120 instructions; 108 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | unique converter locals at function scope | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | explicit addition for pixel counter updates | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | tile column multiply replaces tile shift | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | row traversal uses exact sibling row variable | 74.239630 | 74.235020 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | output tile product cast to unsigned | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGB565 | prefix increment for row and column counters | 74.239630 | 74.239630 | 217/217 instructions; 201 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | explicit addition for pixel counter updates | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | tile column multiply replaces tile shift | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | row traversal uses exact sibling row variable | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | output tile product cast to unsigned | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8edge | prefix increment for row and column counters | 71.901790 | 71.901790 | 115/112 instructions; 104 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | unique converter locals at function scope | 71.065360 | 71.065360 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | explicit addition for pixel counter updates | 71.065360 | 71.065360 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | tile column multiply replaces tile shift | 71.065360 | 71.065360 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | row traversal uses exact sibling row variable | 71.065360 | 71.065360 | 153/153 instructions; 134 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | output tile product cast to unsigned | 71.065360 | 71.065360 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV420toRGBA8 | prefix increment for row and column counters | 71.065360 | 71.065360 | 153/153 instructions; 135 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | unique converter locals at function scope | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | explicit addition for pixel counter updates | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | tile column multiply replaces tile shift | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | row traversal uses exact sibling row variable | 71.048080 | 69.269230 | 104/104 instructions; 90 differences |
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | output tile product cast to unsigned | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
|
||||
Additional sibling pass tests the exact grayscale declaration and row traversal shape against every remaining colored/planar sibling. Counter spelling and arithmetic casts can compile identically; these are recorded as source attempts, not as improvements. Failed variants are restored. No data has been added: the original ELF data inventory is empty for all five units.
|
||||
| TMCJPEGDEC_converterYUV211toRGBA8 | prefix increment for row and column counters | 71.048080 | 71.048080 | 104/104 instructions; 91 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | explicit addition for pixel counter updates | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | tile column multiply replaces tile shift | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | row traversal uses exact sibling row variable | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | output tile product cast to unsigned | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8edge | prefix increment for row and column counters | 70.424780 | 70.424780 | 116/113 instructions; 107 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | unique converter locals at function scope | 69.462810 | 69.462810 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | explicit addition for pixel counter updates | 69.462810 | 69.462810 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | tile column multiply replaces tile shift | 69.462810 | 69.462810 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | row traversal uses exact sibling row variable | 69.462810 | 69.595040 | 242/242 instructions; 213 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | output tile product cast to unsigned | 69.462810 | 69.462810 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV411toRGBA8 | prefix increment for row and column counters | 69.462810 | 69.462810 | 242/242 instructions; 216 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | unique converter locals at function scope | 69.060814 | 67.770270 | 148/148 instructions; 137 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | sample loads before pointer increments | 69.060814 | 69.060814 | 148/148 instructions; 138 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | explicit addition for pixel counter updates | 69.060814 | 69.060814 | 148/148 instructions; 138 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | tile column multiply replaces tile shift | 69.060814 | 69.060814 | 148/148 instructions; 138 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | row traversal uses exact sibling row variable | 69.060814 | 67.675674 | 148/148 instructions; 137 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | output tile product cast to unsigned | 69.060814 | 69.060814 | 148/148 instructions; 138 differences |
|
||||
| TMCJPEGDEC_converterYUV422toRGBA8 | prefix increment for row and column counters | 69.060814 | 69.060814 | 148/148 instructions; 138 differences |
|
||||
| TMCJPEG_814F043C | unique converter locals at function scope | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F043C | sample loads before pointer increments | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F043C | explicit addition for pixel counter updates | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F043C | tile column multiply replaces tile shift | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F043C | row traversal uses exact sibling row variable | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F043C | output tile product cast to unsigned | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F043C | prefix increment for row and column counters | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | unique converter locals at function scope | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | sample loads before pointer increments | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | explicit addition for pixel counter updates | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | tile column multiply replaces tile shift | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | row traversal uses exact sibling row variable | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | output tile product cast to unsigned | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F11C4 | prefix increment for row and column counters | 57.682865 | 57.682865 | 391/391 instructions; 383 differences |
|
||||
| TMCJPEG_814F2B50 | unique converter locals at function scope | 55.795338 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | sample loads before pointer increments | 55.795338 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | explicit addition for pixel counter updates | 55.795338 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | tile column multiply replaces tile shift | 55.795338 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | row traversal uses exact sibling row variable | 55.795338 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | output tile product cast to unsigned | 55.795338 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814F2B50 | prefix increment for row and column counters | 55.795338 | 55.795338 | 386/386 instructions; 382 differences |
|
||||
| TMCJPEG_814EFEAC | unique converter locals at function scope | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | sample loads before pointer increments | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | explicit addition for pixel counter updates | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | tile column multiply replaces tile shift | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | row traversal uses exact sibling row variable | 53.101124 | 53.073032 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | output tile product cast to unsigned | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814EFEAC | prefix increment for row and column counters | 53.101124 | 53.101124 | 338/356 instructions; 356 differences |
|
||||
| TMCJPEG_814F2570 | unique converter locals at function scope | 52.587765 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F2570 | sample loads before pointer increments | 52.587765 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F2570 | explicit addition for pixel counter updates | 52.587765 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F2570 | tile column multiply replaces tile shift | 52.587765 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F2570 | row traversal uses exact sibling row variable | 52.587765 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F2570 | output tile product cast to unsigned | 52.587765 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F2570 | prefix increment for row and column counters | 52.587765 | 52.587765 | 376/376 instructions; 373 differences |
|
||||
| TMCJPEG_814F1F48 | unique converter locals at function scope | 52.167510 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | sample loads before pointer increments | 52.167510 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | explicit addition for pixel counter updates | 52.167510 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | tile column multiply replaces tile shift | 52.167510 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | row traversal uses exact sibling row variable | 52.167510 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | output tile product cast to unsigned | 52.167510 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F1F48 | prefix increment for row and column counters | 52.167510 | 52.167510 | 400/394 instructions; 395 differences |
|
||||
| TMCJPEG_814F0A58 | sample loads before pointer increments | 45.195790 | 45.195790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | explicit addition for pixel counter updates | 45.195790 | 45.195790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | tile column multiply replaces tile shift | 45.195790 | 45.195790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | row traversal uses exact sibling row variable | 45.195790 | 42.867367 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | output tile product cast to unsigned | 45.195790 | 45.195790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F0A58 | prefix increment for row and column counters | 45.195790 | 45.195790 | 477/475 instructions; 475 differences |
|
||||
| TMCJPEG_814F17E0 | sample loads before pointer increments | 44.407173 | 44.407173 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | explicit addition for pixel counter updates | 44.407173 | 44.407173 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | tile column multiply replaces tile shift | 44.407173 | 44.407173 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | row traversal uses exact sibling row variable | 44.407173 | 44.407173 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | output tile product cast to unsigned | 44.407173 | 44.407173 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEG_814F17E0 | prefix increment for row and column counters | 44.407173 | 44.407173 | 475/474 instructions; 472 differences |
|
||||
| TMCJPEGDEC_decode_iquant | slow DC result has separate lifetime | 85.293480 | 85.384056 | 280/276 instructions; 243 differences |
|
||||
| TMCJPEGDEC_decode_iquant | DC sign extension and AC sign extension use mask temporary | 85.293480 | 86.634056 | 278/276 instructions; 225 differences |
|
||||
| TMCJPEGDEC_decode_iquant | scoped AC entry following scoped slow DC result | 85.293480 | 85.398550 | 280/276 instructions; 240 differences |
|
||||
| TMCJPEGDEC_decode_iquant | slow DC load errors flow through DC end | 85.293480 | 85.181160 | 279/276 instructions; 250 differences |
|
||||
| TMCJPEGDEC_decode_iquant | DC and AC amplitudes subtract precomputed masks | 85.293480 | 86.739130 | 278/276 instructions; 219 differences |
|
||||
| TMCJPEGDEC_decode_iquant | DC load and symbol errors share final assignment | 86.739130 | 87.576090 | 277/276 instructions; 256 differences |
|
||||
| TMCJPEGDEC_decode_iquant | DC final assignment then signed result check | 86.739130 | 86.648550 | 278/276 instructions; 221 differences |
|
||||
| TMCJPEGDEC_decode_iquant | Huffman code subtraction before symbol offset | 86.739130 | 87.576090 | 277/276 instructions; 256 differences |
|
||||
| TMCJPEGDEC_decode_iquant | DC bit buffer and position load order | 86.739130 | 87.576090 | 277/276 instructions; 256 differences |
|
||||
| TMCJPEGDEC_decode_iquant | amplitude bit position stored after extraction | 86.739130 | 87.123190 | 277/276 instructions; 256 differences |
|
||||
| TMCJPEGDEC_decode_iquant | AC entry declared last among outer locals | 87.576090 | 87.561590 | 277/276 instructions; 257 differences |
|
||||
| TMCJPEGDEC_decode_iquant | DC entry outer lifetime with AC declaration last | 87.576090 | 87.568840 | 277/276 instructions; 256 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | first IDCT butterfly translated in target block order | 66.618675 | 65.120620 | 257/257 instructions; 215 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | last odd rotation scheduled between target stores | 66.618675 | 65.120620 | 257/257 instructions; 215 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | outer odd sum added after corrected inner sum | 66.618675 | 65.120620 | 257/257 instructions; 215 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | sum and difference stores grouped by output pair | 66.618675 | 64.443580 | 257/257 instructions; 216 differences |
|
||||
| TMCJPEGDEC_IdctBlock_Lumi | temporary array walk with remaining row count | 66.618675 | 64.354090 | 257/257 instructions; 221 differences |
|
||||
|
||||
Scalar block work: IDCT Lumi first butterfly was translated in target address order, then tried delayed odd rotation, alternate sum grouping, store order, and remaining-row loop. All five builds retained 257 instructions; none exceeded baseline, so all were reverted. Col retains 480 versus target 454 after six separately built arithmetic, store-loop and coefficient-load changes. IQ DC/AC lifetimes, common error path, Huffman symbol load and amplitude-mask subtraction reduced 282 to 277 instructions, improving 85.11232 -> 87.57609. No newly exact function has been obtained in this continuation.
|
||||
|
||||
## Continuation final remaining functions
|
||||
|
||||
Every remaining function has at least five logged source-level attempts across the two continued passes. Identical compiler output is reported without claiming a gain. Instruction difference counts are positional; one insertion shifts later comparisons. The two already exact CR1 grayscale functions still trigger the known ctxdiff branch normalization discrepancy.
|
||||
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8
|
||||
|
||||
TMCJPEGDEC_set_converterY8U8V8: 92.739800%; buffer base address folded; store scheduling and register allocation differ.
|
||||
TMCJPEG_814EFEAC: 53.101124%; tile address loops, unrolling and register allocation differ.
|
||||
TMCJPEG_814F043C: 57.682865%; tile address loops, unrolling and register allocation differ.
|
||||
TMCJPEG_814F0A58: 45.195790%; tile address loops, unrolling and register allocation differ.
|
||||
TMCJPEG_814F11C4: 57.682865%; tile address loops, unrolling and register allocation differ.
|
||||
TMCJPEG_814F17E0: 44.407173%; tile address loops, unrolling and register allocation differ.
|
||||
TMCJPEG_814F1F48: 52.167510%; tile address loops, unrolling and register allocation differ.
|
||||
TMCJPEG_814F2570: 52.587765%; tile address loops, unrolling and register allocation differ.
|
||||
TMCJPEG_814F2B50: 55.795338%; tile address loops, unrolling and register allocation differ.
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565
|
||||
|
||||
TMCJPEGDEC_set_converterRGB565: 93.864710%; buffer base address folded; store scheduling and register allocation differ.
|
||||
TMCJPEGDEC_converterYUV411toRGB565: 74.239630%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV411toRGB565edge: 84.292450%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV422toRGB565: 78.117645%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV422toRGB565edge: 82.803740%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV420toRGB565: 77.375885%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV420toRGB565edge: 83.991230%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV211toRGB565: 83.816330%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV211toRGB565edge: 86.788994%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV444toRGB565: 89.450550%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV444toRGB565edge: 88.942310%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8
|
||||
|
||||
TMCJPEGDEC_set_converterRGBA8: 93.864710%; buffer base address folded; store scheduling and register allocation differ.
|
||||
TMCJPEGDEC_converterYUV411toRGBA8: 69.595040%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV411toRGBA8edge: 71.901790%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV422toRGBA8: 69.060814%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV422toRGBA8edge: 70.424780%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV420toRGBA8: 71.065360%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV420toRGBA8edge: 74.691666%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV211toRGBA8: 71.048080%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV211toRGBA8edge: 75.921740%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV444toRGBA8: 76.257730%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
TMCJPEGDEC_converterYUV444toRGBA8edge: 80.981820%; chroma arithmetic, saturation branches and register scheduling differ.
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var
|
||||
|
||||
TMCJPEGDEC_IdctBlock_Lumi: 66.618675%; IDCT butterflies, sparse path and register scheduling differ.
|
||||
TMCJPEGDEC_IdctBlock_Col: 69.112335%; IDCT butterflies, sparse path and register scheduling differ.
|
||||
|
||||
libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32
|
||||
|
||||
TMCJPEGDEC_decode_iquant: 87.576090%; AC Huffman loop scheduling and register allocation; 277/276 instructions.
|
||||
|
||||
223
tools/decomp-assist/jpeg-round2-gates.md
Normal file
223
tools/decomp-assist/jpeg-round2-gates.md
Normal file
@@ -0,0 +1,223 @@
|
||||
# JPEG continuation gates
|
||||
|
||||
## Converter improvements
|
||||
|
||||
```text
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] objdiff: code 2192/15948 data None/None functions 4/13 fuzzy 60.5393 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] section .text size 15948 match 60.539253
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEGDEC_set_converterY8U8V8 92.7398
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814EFEAC 53.101124
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F043C 57.682865
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F0A58 45.19579
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F11C4 57.682865
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F17E0 44.407173
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F1F48 52.16751
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F2570 52.587765
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F2B50 55.795338
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] baseline: code 2192/15948 data None functions 4 fuzzy 58.0594
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] objdiff: code 612/6184 data None/None functions 2/13 fuzzy 84.9515 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] section .text size 6184 match 84.951485
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_set_converterRGB565 93.86471
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV411toRGB565 74.23963
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV411toRGB565edge 84.29245
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV422toRGB565 78.117645
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV422toRGB565edge 82.80374
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV420toRGB565 77.375885
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV420toRGB565edge 83.99123
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV211toRGB565 83.81633
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV211toRGB565edge 86.788994
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV444toRGB565 89.45055
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV444toRGB565edge 88.94231
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] baseline: code 612/6184 data None functions 2 fuzzy 83.6197
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] objdiff: code 660/6596 data None/None functions 2/13 fuzzy 77.4748 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] section .text size 6596 match 77.47483
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_set_converterRGBA8 93.86471
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV411toRGBA8 69.46281
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV411toRGBA8edge 71.90179
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV422toRGBA8 69.060814
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV422toRGBA8edge 70.42478
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV420toRGBA8 71.06536
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV420toRGBA8edge 74.691666
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV211toRGBA8 71.04808
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV211toRGBA8edge 75.92174
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV444toRGBA8 76.21649
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV444toRGBA8edge 80.98182
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] baseline: code 660/6596 data None functions 2 fuzzy 76.8957
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] objdiff: code None/2844 data None/None functions 0/2 fuzzy 68.2110 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] instruction-exact functions: 0/2
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] section .text size 2844 match 68.21097
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] below 100: TMCJPEGDEC_IdctBlock_Lumi 66.618675
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] below 100: TMCJPEGDEC_IdctBlock_Col 69.112335
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] baseline: code None/2844 data None functions 0 fuzzy 68.2110
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] objdiff: code None/1104 data None/None functions 0/1 fuzzy 85.1123 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] instruction-exact functions: 0/1
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] section .text size 1104 match 85.11232
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] below 100: TMCJPEGDEC_decode_iquant 85.11232
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] baseline: code None/1104 data None functions 0 fuzzy 85.1123
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 84.58613 -> 84.58613
|
||||
global fuzzy_match_percent: 97.98290 -> 98.00015
|
||||
global complete_code_percent: 58.20100 -> 58.20100
|
||||
global matched_data_percent: 90.32545 -> 90.32545
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
## Fresh baseline quick gate
|
||||
|
||||
```text
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] objdiff: code 2192/15948 data None/None functions 4/13 fuzzy 58.0594 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] section .text size 15948 match 58.059444
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEGDEC_set_converterY8U8V8 92.54082
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814EFEAC 53.101124
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F043C 52.51151
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F0A58 43.55579
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F11C4 52.51151
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F17E0 41.890297
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F1F48 49.791878
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F2570 47.10372
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F2B50 53.634716
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] baseline: code 2192/15948 data None functions 4 fuzzy 58.0594
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] objdiff: code 612/6184 data None/None functions 2/13 fuzzy 83.6197 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] section .text size 6184 match 83.61967
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_set_converterRGB565 93.86471
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV411toRGB565 74.23963
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV411toRGB565edge 82.85849
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV422toRGB565 78.117645
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV422toRGB565edge 82.66355
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV420toRGB565 77.375885
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV420toRGB565edge 83.72807
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV211toRGB565 75.33673
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV211toRGB565edge 79.16514
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV444toRGB565 88.24176
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV444toRGB565edge 88.07692
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] baseline: code 612/6184 data None functions 2 fuzzy 83.6197
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] objdiff: code 660/6596 data None/None functions 2/13 fuzzy 76.8957 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] section .text size 6596 match 76.89569
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_set_converterRGBA8 93.86471
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV411toRGBA8 69.44215
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV411toRGBA8edge 71.90179
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV422toRGBA8 67.77027
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV422toRGBA8edge 70.42478
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV420toRGBA8 71.03268
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV420toRGBA8edge 74.60833
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV211toRGBA8 71.04808
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV211toRGBA8edge 75.92174
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV444toRGBA8 72.38145
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV444toRGBA8edge 77.6
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] baseline: code 660/6596 data None functions 2 fuzzy 76.8957
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] objdiff: code None/2844 data None/None functions 0/2 fuzzy 68.2110 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] instruction-exact functions: 0/2
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] section .text size 2844 match 68.21097
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] below 100: TMCJPEGDEC_IdctBlock_Lumi 66.618675
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] below 100: TMCJPEGDEC_IdctBlock_Col 69.112335
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] baseline: code None/2844 data None functions 0 fuzzy 68.2110
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] objdiff: code None/1104 data None/None functions 0/1 fuzzy 85.1123 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] instruction-exact functions: 0/1
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] section .text size 1104 match 85.11232
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] below 100: TMCJPEGDEC_decode_iquant 85.11232
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] baseline: code None/1104 data None functions 0 fuzzy 85.1123
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 84.58613 -> 84.58613
|
||||
global fuzzy_match_percent: 97.98290 -> 97.98290
|
||||
global complete_code_percent: 58.20100 -> 58.20100
|
||||
global matched_data_percent: 90.32545 -> 90.32545
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
## Final full clean gate
|
||||
|
||||
```text
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] objdiff: code 2192/15948 data None/None functions 4/13 fuzzy 60.5393 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] section .text size 15948 match 60.539253
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEGDEC_set_converterY8U8V8 92.7398
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814EFEAC 53.101124
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F043C 57.682865
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F0A58 45.19579
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F11C4 57.682865
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F17E0 44.407173
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F1F48 52.16751
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F2570 52.587765
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F2B50 55.795338
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] baseline: code 2192/15948 data None functions 4 fuzzy 58.0594
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] objdiff: code 612/6184 data None/None functions 2/13 fuzzy 84.9515 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] section .text size 6184 match 84.951485
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_set_converterRGB565 93.86471
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV411toRGB565 74.23963
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV411toRGB565edge 84.29245
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV422toRGB565 78.117645
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV422toRGB565edge 82.80374
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV420toRGB565 77.375885
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV420toRGB565edge 83.99123
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV211toRGB565 83.81633
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV211toRGB565edge 86.788994
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV444toRGB565 89.45055
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] below 100: TMCJPEGDEC_converterYUV444toRGB565edge 88.94231
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565] baseline: code 612/6184 data None functions 2 fuzzy 83.6197
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] objdiff: code 660/6596 data None/None functions 2/13 fuzzy 77.4967 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] section .text size 6596 match 77.496666
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_set_converterRGBA8 93.86471
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV411toRGBA8 69.59504
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV411toRGBA8edge 71.90179
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV422toRGBA8 69.060814
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV422toRGBA8edge 70.42478
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV420toRGBA8 71.06536
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV420toRGBA8edge 74.691666
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV211toRGBA8 71.04808
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV211toRGBA8edge 75.92174
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV444toRGBA8 76.25773
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] below 100: TMCJPEGDEC_converterYUV444toRGBA8edge 80.98182
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8] baseline: code 660/6596 data None functions 2 fuzzy 76.8957
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] objdiff: code None/2844 data None/None functions 0/2 fuzzy 68.2110 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] instruction-exact functions: 0/2
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] section .text size 2844 match 68.21097
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] below 100: TMCJPEGDEC_IdctBlock_Lumi 66.618675
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] below 100: TMCJPEGDEC_IdctBlock_Col 69.112335
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var] baseline: code None/2844 data None functions 0 fuzzy 68.2110
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] objdiff: code None/1104 data None/None functions 0/1 fuzzy 87.5761 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] instruction-exact functions: 0/1
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] section .text size 1104 match 87.57609
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] below 100: TMCJPEGDEC_decode_iquant 87.57609
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] baseline: code None/1104 data None functions 0 fuzzy 85.1123
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 84.58613 -> 84.58613
|
||||
global fuzzy_match_percent: 97.98290 -> 98.00108
|
||||
global complete_code_percent: 58.20100 -> 58.20100
|
||||
global matched_data_percent: 90.32545 -> 90.32545
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
Reference in New Issue
Block a user