|
|
@ -54,6 +54,7 @@ int main(int argc, char **argv) |
|
|
|
const char *name; |
|
|
|
const char *name; |
|
|
|
void (*func)(const uint8_t *src, uint8_t *dst, int src_size); |
|
|
|
void (*func)(const uint8_t *src, uint8_t *dst, int src_size); |
|
|
|
} func_info[] = { |
|
|
|
} func_info[] = { |
|
|
|
|
|
|
|
FUNC(2, 2, rgb12to15), |
|
|
|
FUNC(2, 2, rgb15to16), |
|
|
|
FUNC(2, 2, rgb15to16), |
|
|
|
FUNC(2, 3, rgb15to24), |
|
|
|
FUNC(2, 3, rgb15to24), |
|
|
|
FUNC(2, 4, rgb15to32), |
|
|
|
FUNC(2, 4, rgb15to32), |
|
|
@ -66,6 +67,7 @@ int main(int argc, char **argv) |
|
|
|
FUNC(4, 2, rgb32to16), |
|
|
|
FUNC(4, 2, rgb32to16), |
|
|
|
FUNC(4, 3, rgb32to24), |
|
|
|
FUNC(4, 3, rgb32to24), |
|
|
|
FUNC(2, 2, rgb16to15), |
|
|
|
FUNC(2, 2, rgb16to15), |
|
|
|
|
|
|
|
FUNC(2, 2, rgb12tobgr12), |
|
|
|
FUNC(2, 2, rgb15tobgr15), |
|
|
|
FUNC(2, 2, rgb15tobgr15), |
|
|
|
FUNC(2, 2, rgb15tobgr16), |
|
|
|
FUNC(2, 2, rgb15tobgr16), |
|
|
|
FUNC(2, 3, rgb15tobgr24), |
|
|
|
FUNC(2, 3, rgb15tobgr24), |
|
|
@ -82,6 +84,8 @@ int main(int argc, char **argv) |
|
|
|
FUNC(4, 2, rgb32tobgr16), |
|
|
|
FUNC(4, 2, rgb32tobgr16), |
|
|
|
FUNC(4, 3, rgb32tobgr24), |
|
|
|
FUNC(4, 3, rgb32tobgr24), |
|
|
|
FUNC(4, 4, shuffle_bytes_2103), /* rgb32tobgr32 */ |
|
|
|
FUNC(4, 4, shuffle_bytes_2103), /* rgb32tobgr32 */ |
|
|
|
|
|
|
|
FUNC(6, 6, rgb48tobgr48_LL), |
|
|
|
|
|
|
|
FUNC(6, 6, rgb48tobgr48_LB), |
|
|
|
FUNC(0, 0, NULL) |
|
|
|
FUNC(0, 0, NULL) |
|
|
|
}; |
|
|
|
}; |
|
|
|
int width; |
|
|
|
int width; |
|
|
|