X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=platform%2Fcommon%2Farm_utils.h;h=21204c928bdecbfdc13d168f183573714349e057;hb=refs%2Fremotes%2Fgithub%2Fmaster;hp=8cf34ce837108719f18e3abcd0a359b1d4b448e5;hpb=19954be1966a04304b16d9180b003ec8ca3bc532;p=picodrive.git diff --git a/platform/common/arm_utils.h b/platform/common/arm_utils.h index 8cf34ce8..213186e5 100644 --- a/platform/common/arm_utils.h +++ b/platform/common/arm_utils.h @@ -1,13 +1,10 @@ -// (c) Copyright 2006-2009 notaz, All rights reserved. -// Free for non-commercial use. -// For commercial use, separate licencing terms must be obtained. - -void bgr444_to_rgb32(void *to, void *from); +void bgr444_to_rgb32(void *to, void *from, unsigned entries); void bgr444_to_rgb32_sh(void *to, void *from); -void vidcpy_m2(void *dest, void *src, int m32col, int with_32c_border); -void vidcpy_m2_rot(void *dest, void *src, int m32col, int with_32c_border); +void vidcpy_8bit(void *dest, void *src, int x_y, int w_h); +void vidcpy_8bit_rot(void *dest, void *src, int x_y, int w_h); + void spend_cycles(int c); // utility void rotated_blit8 (void *dst, void *linesx4, int y, int is_32col);