|
66 | 66 |
|
67 | 67 | #if defined(SPNG_ARM) |
68 | 68 | static uint32_t expand_palette_rgba8_neon(unsigned char *row, const unsigned char *scanline, const unsigned char *plte, uint32_t width); |
69 | | - static uint32_t expand_palette_rgb8_neon(unsigned char *row, const unsigned char *scanline, const unsigned char *plte, uint32_t width); |
| 69 | + /*static uint32_t expand_palette_rgb8_neon(unsigned char *row, const unsigned char *scanline, const unsigned char *plte, uint32_t width);*/ |
70 | 70 | #endif |
71 | 71 | #endif |
72 | 72 | #endif |
@@ -1883,7 +1883,7 @@ static void expand_row(unsigned char *row, |
1883 | 1883 | if(fmt == SPNG_FMT_RGBA8) i = expand_palette_rgba8_neon(row, scanline, decode_plte->raw, width); |
1884 | 1884 | else if(fmt == SPNG_FMT_RGB8) |
1885 | 1885 | { |
1886 | | - i = expand_palette_rgb8_neon(row, scanline, decode_plte->raw, width); |
| 1886 | + /*i = expand_palette_rgb8_neon(row, scanline, decode_plte->raw, width);*/ |
1887 | 1887 |
|
1888 | 1888 | for(; i < width; i++) |
1889 | 1889 | {/* In this case the LUT is 3 bytes packed */ |
@@ -6903,7 +6903,7 @@ static uint32_t expand_palette_rgba8_neon(unsigned char *row, const unsigned cha |
6903 | 6903 |
|
6904 | 6904 | return i; |
6905 | 6905 | } |
6906 | | - |
| 6906 | +#if 0 /* Disabled pending a fix in the next version */ |
6907 | 6907 | /* Expands a palettized row into RGB8. */ |
6908 | 6908 | static uint32_t expand_palette_rgb8_neon(unsigned char *row, const unsigned char *scanline, const unsigned char *plte, uint32_t width) |
6909 | 6909 | { |
@@ -6931,5 +6931,5 @@ static uint32_t expand_palette_rgb8_neon(unsigned char *row, const unsigned char |
6931 | 6931 |
|
6932 | 6932 | return i; |
6933 | 6933 | } |
6934 | | - |
| 6934 | +#endif |
6935 | 6935 | #endif /* SPNG_ARM */ |
0 commit comments