# HG changeset patch # User alex # Date 1030706235 0 # Node ID 1df24fd752d069da0bd389652eb66d2e064a4238 # Parent 90ff4ef3ca9e813dbaf8a3f944876b2f27a370ae added missing palette8tobgr pairs (hope it's correct) diff -r 90ff4ef3ca9e -r 1df24fd752d0 postproc/rgb2rgb.c --- a/postproc/rgb2rgb.c Fri Aug 30 10:57:08 2002 +0000 +++ b/postproc/rgb2rgb.c Fri Aug 30 11:17:15 2002 +0000 @@ -12,6 +12,7 @@ #include "rgb2rgb.h" #include "../cpudetect.h" #include "../mangle.h" +#include "../bswap.h" #ifdef ARCH_X86 #define CAN_COMPILE_X86_ASM @@ -268,6 +269,29 @@ ((unsigned *)dst)[i] = ((unsigned *)palette)[ src[i] ]; } +#if 0 +void palette8tobgr32(const uint8_t *src, uint8_t *dst, unsigned num_pixels, const uint8_t *palette) +{ + unsigned i; + for(i=0; i