Lines Matching refs:dst
213 Uint8 *dst = (Uint8 *) info->dst; in Blit_RGB888_RGB565Altivec() local
248 *(Uint16 *)(dst) = (((sR << 8) & 0x0000F800) | \ in Blit_RGB888_RGB565Altivec()
251 dst += 2; \ in Blit_RGB888_RGB565Altivec()
256 ONE_PIXEL_BLEND(((UNALIGNED_PTR(dst)) && (width)), width); in Blit_RGB888_RGB565Altivec()
290 vec_st(vdst, 0, dst); in Blit_RGB888_RGB565Altivec()
294 dst += 16; in Blit_RGB888_RGB565Altivec()
305 dst += dstskip; in Blit_RGB888_RGB565Altivec()
317 Uint8 *dst = (Uint8 *) info->dst; in Blit_RGB565_32Altivec() local
398 ASSEMBLE_RGBA(dst, 4, dstfmt, sR, sG, sB, alpha); \ in Blit_RGB565_32Altivec()
400 dst += 4; \ in Blit_RGB565_32Altivec()
403 ONE_PIXEL_BLEND(((UNALIGNED_PTR(dst)) && (width)), width); in Blit_RGB565_32Altivec()
428 vec_st(vdst1, 0, dst); in Blit_RGB565_32Altivec()
436 vec_st(vdst2, 16, dst); in Blit_RGB565_32Altivec()
439 dst += 32; in Blit_RGB565_32Altivec()
452 dst += dstskip; in Blit_RGB565_32Altivec()
464 Uint8 *dst = (Uint8 *) info->dst; in Blit_RGB555_32Altivec() local
545 ASSEMBLE_RGBA(dst, 4, dstfmt, sR, sG, sB, alpha); \ in Blit_RGB555_32Altivec()
547 dst += 4; \ in Blit_RGB555_32Altivec()
550 ONE_PIXEL_BLEND(((UNALIGNED_PTR(dst)) && (width)), width); in Blit_RGB555_32Altivec()
575 vec_st(vdst1, 0, dst); in Blit_RGB555_32Altivec()
583 vec_st(vdst2, 16, dst); in Blit_RGB555_32Altivec()
586 dst += 32; in Blit_RGB555_32Altivec()
599 dst += dstskip; in Blit_RGB555_32Altivec()
612 Uint32 *dstp = (Uint32 *) info->dst; in Blit32to32KeyAltivec()
734 Uint32 *dst = (Uint32 *) info->dst; in ConvertAltivec32to32_noprefetch() local
762 while ((UNALIGNED_PTR(dst)) && (width)) { in ConvertAltivec32to32_noprefetch()
767 *(dst++) = MAKE8888(dstfmt, r, g, b, a); in ConvertAltivec32to32_noprefetch()
787 vec_st(vbits, 0, dst); /* store it back out. */ in ConvertAltivec32to32_noprefetch()
788 dst += 4; in ConvertAltivec32to32_noprefetch()
800 *(dst++) = MAKE8888(dstfmt, r, g, b, a); in ConvertAltivec32to32_noprefetch()
805 dst += dstskip; in ConvertAltivec32to32_noprefetch()
821 Uint32 *dst = (Uint32 *) info->dst; in ConvertAltivec32to32_prefetch() local
849 while ((UNALIGNED_PTR(dst)) && (width)) { in ConvertAltivec32to32_prefetch()
852 vec_dstst(dst + scalar_dst_lead, DST_CTRL(2, 32, 1024), in ConvertAltivec32to32_prefetch()
858 *(dst++) = MAKE8888(dstfmt, r, g, b, a); in ConvertAltivec32to32_prefetch()
871 vec_dstst(dst + vector_dst_lead, DST_CTRL(2, 32, 1024), in ConvertAltivec32to32_prefetch()
882 vec_st(vbits, 0, dst); /* store it back out. */ in ConvertAltivec32to32_prefetch()
883 dst += 4; in ConvertAltivec32to32_prefetch()
895 *(dst++) = MAKE8888(dstfmt, r, g, b, a); in ConvertAltivec32to32_prefetch()
900 dst += dstskip; in ConvertAltivec32to32_prefetch()
942 void Blit_BGR888_RGB888ARMSIMDAsm(int32_t w, int32_t h, uint32_t *dst, int32_t dst_stride, uint32_t…
949 uint32_t *dstp = (uint32_t *)info->dst; in Blit_BGR888_RGB888ARMSIMD()
957 void Blit_RGB444_RGB888ARMSIMDAsm(int32_t w, int32_t h, uint32_t *dst, int32_t dst_stride, uint16_t…
964 uint32_t *dstp = (uint32_t *)info->dst; in Blit_RGB444_RGB888ARMSIMD()
983 #define RGB888_RGB332(dst, src) { \ argument
984 dst = (Uint8)((((src)&0x00E00000)>>16)| \
997 Uint8 *dst; in Blit_RGB888_index8() local
1005 dst = info->dst; in Blit_RGB888_index8()
1014 RGB888_RGB332(*dst++, *src); in Blit_RGB888_index8()
1021 RGB888_RGB332(*dst++, *src); in Blit_RGB888_index8()
1023 RGB888_RGB332(*dst++, *src); in Blit_RGB888_index8()
1025 RGB888_RGB332(*dst++, *src); in Blit_RGB888_index8()
1030 RGB888_RGB332(*dst++, *src); in Blit_RGB888_index8()
1033 RGB888_RGB332(*dst++, *src); in Blit_RGB888_index8()
1036 RGB888_RGB332(*dst++, *src); in Blit_RGB888_index8()
1041 dst += dstskip; in Blit_RGB888_index8()
1051 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1059 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1062 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1065 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1068 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1074 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1078 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1082 *dst++ = map[Pixel]; in Blit_RGB888_index8()
1087 dst += dstskip; in Blit_RGB888_index8()
1093 #define RGB101010_RGB332(dst, src) { \ argument
1094 dst = (Uint8)((((src)&0x38000000)>>22)| \
1107 Uint8 *dst; in Blit_RGB101010_index8() local
1115 dst = info->dst; in Blit_RGB101010_index8()
1124 RGB101010_RGB332(*dst++, *src); in Blit_RGB101010_index8()
1131 RGB101010_RGB332(*dst++, *src); in Blit_RGB101010_index8()
1133 RGB101010_RGB332(*dst++, *src); in Blit_RGB101010_index8()
1135 RGB101010_RGB332(*dst++, *src); in Blit_RGB101010_index8()
1140 RGB101010_RGB332(*dst++, *src); in Blit_RGB101010_index8()
1143 RGB101010_RGB332(*dst++, *src); in Blit_RGB101010_index8()
1146 RGB101010_RGB332(*dst++, *src); in Blit_RGB101010_index8()
1151 dst += dstskip; in Blit_RGB101010_index8()
1161 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1169 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1172 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1175 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1178 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1184 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1188 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1192 *dst++ = map[Pixel]; in Blit_RGB101010_index8()
1197 dst += dstskip; in Blit_RGB101010_index8()
1203 #define RGB888_RGB555(dst, src) { \ argument
1204 *(Uint16 *)(dst) = (Uint16)((((*src)&0x00F80000)>>9)| \
1209 #define RGB888_RGB555_TWO(dst, src) { \ argument
1210 *(Uint32 *)(dst) = (((((src[HI])&0x00F80000)>>9)| \
1226 Uint16 *dst; in Blit_RGB888_RGB555() local
1234 dst = (Uint16 *) info->dst; in Blit_RGB888_RGB555()
1241 RGB888_RGB555(dst, src); in Blit_RGB888_RGB555()
1243 ++dst; in Blit_RGB888_RGB555()
1247 dst += dstskip; in Blit_RGB888_RGB555()
1251 if ((long) dst & 0x03) { in Blit_RGB888_RGB555()
1260 RGB888_RGB555(dst, src); in Blit_RGB888_RGB555()
1262 ++dst; in Blit_RGB888_RGB555()
1266 RGB888_RGB555_TWO(dst, src); in Blit_RGB888_RGB555()
1268 dst += 2; in Blit_RGB888_RGB555()
1269 RGB888_RGB555_TWO(dst, src); in Blit_RGB888_RGB555()
1271 dst += 2; in Blit_RGB888_RGB555()
1276 RGB888_RGB555(dst, src); in Blit_RGB888_RGB555()
1278 ++dst; in Blit_RGB888_RGB555()
1280 RGB888_RGB555_TWO(dst, src); in Blit_RGB888_RGB555()
1282 dst += 2; in Blit_RGB888_RGB555()
1285 RGB888_RGB555(dst, src); in Blit_RGB888_RGB555()
1287 ++dst; in Blit_RGB888_RGB555()
1291 dst += dstskip; in Blit_RGB888_RGB555()
1297 RGB888_RGB555_TWO(dst, src); in Blit_RGB888_RGB555()
1299 dst += 2; in Blit_RGB888_RGB555()
1300 RGB888_RGB555_TWO(dst, src); in Blit_RGB888_RGB555()
1302 dst += 2; in Blit_RGB888_RGB555()
1307 RGB888_RGB555(dst, src); in Blit_RGB888_RGB555()
1309 ++dst; in Blit_RGB888_RGB555()
1311 RGB888_RGB555_TWO(dst, src); in Blit_RGB888_RGB555()
1313 dst += 2; in Blit_RGB888_RGB555()
1316 RGB888_RGB555(dst, src); in Blit_RGB888_RGB555()
1318 ++dst; in Blit_RGB888_RGB555()
1322 dst += dstskip; in Blit_RGB888_RGB555()
1329 #define RGB888_RGB565(dst, src) { \ argument
1330 *(Uint16 *)(dst) = (Uint16)((((*src)&0x00F80000)>>8)| \
1335 #define RGB888_RGB565_TWO(dst, src) { \ argument
1336 *(Uint32 *)(dst) = (((((src[HI])&0x00F80000)>>8)| \
1352 Uint16 *dst; in Blit_RGB888_RGB565() local
1360 dst = (Uint16 *) info->dst; in Blit_RGB888_RGB565()
1367 RGB888_RGB565(dst, src); in Blit_RGB888_RGB565()
1369 ++dst; in Blit_RGB888_RGB565()
1373 dst += dstskip; in Blit_RGB888_RGB565()
1377 if ((long) dst & 0x03) { in Blit_RGB888_RGB565()
1386 RGB888_RGB565(dst, src); in Blit_RGB888_RGB565()
1388 ++dst; in Blit_RGB888_RGB565()
1392 RGB888_RGB565_TWO(dst, src); in Blit_RGB888_RGB565()
1394 dst += 2; in Blit_RGB888_RGB565()
1395 RGB888_RGB565_TWO(dst, src); in Blit_RGB888_RGB565()
1397 dst += 2; in Blit_RGB888_RGB565()
1402 RGB888_RGB565(dst, src); in Blit_RGB888_RGB565()
1404 ++dst; in Blit_RGB888_RGB565()
1406 RGB888_RGB565_TWO(dst, src); in Blit_RGB888_RGB565()
1408 dst += 2; in Blit_RGB888_RGB565()
1411 RGB888_RGB565(dst, src); in Blit_RGB888_RGB565()
1413 ++dst; in Blit_RGB888_RGB565()
1417 dst += dstskip; in Blit_RGB888_RGB565()
1423 RGB888_RGB565_TWO(dst, src); in Blit_RGB888_RGB565()
1425 dst += 2; in Blit_RGB888_RGB565()
1426 RGB888_RGB565_TWO(dst, src); in Blit_RGB888_RGB565()
1428 dst += 2; in Blit_RGB888_RGB565()
1433 RGB888_RGB565(dst, src); in Blit_RGB888_RGB565()
1435 ++dst; in Blit_RGB888_RGB565()
1437 RGB888_RGB565_TWO(dst, src); in Blit_RGB888_RGB565()
1439 dst += 2; in Blit_RGB888_RGB565()
1442 RGB888_RGB565(dst, src); in Blit_RGB888_RGB565()
1444 ++dst; in Blit_RGB888_RGB565()
1448 dst += dstskip; in Blit_RGB888_RGB565()
1458 #define RGB565_32(dst, src, map) (map[src[LO]*2] + map[src[HI]*2+1]) argument
1467 Uint32 *dst; in Blit_RGB565_32() local
1475 dst = (Uint32 *) info->dst; in Blit_RGB565_32()
1483 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1489 dst += dstskip; in Blit_RGB565_32()
1495 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1497 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1499 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1501 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1507 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1510 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1513 *dst++ = RGB565_32(dst, src, map); in Blit_RGB565_32()
1518 dst += dstskip; in Blit_RGB565_32()
2086 Uint8 *dst; in BlitNto1() local
2098 dst = info->dst; in BlitNto1()
2113 *dst = ((sR>>5)<<(3+2))| in BlitNto1()
2117 dst++; in BlitNto1()
2126 *dst = ((sR >> 5) << (3 + 2)) | in BlitNto1()
2129 dst++; in BlitNto1()
2134 dst += dstskip; in BlitNto1()
2145 *dst = map[((sR>>5)<<(3+2))| in BlitNto1()
2149 dst++; in BlitNto1()
2158 *dst = map[((sR >> 5) << (3 + 2)) | in BlitNto1()
2161 dst++; in BlitNto1()
2166 dst += dstskip; in BlitNto1()
2179 Uint32 *dst = (Uint32 *) info->dst; in Blit4to4MaskAlpha() local
2192 *dst = *src | mask; in Blit4to4MaskAlpha()
2193 ++dst; in Blit4to4MaskAlpha()
2199 dst = (Uint32 *) ((Uint8 *) dst + dstskip); in Blit4to4MaskAlpha()
2209 *dst = *src & mask; in Blit4to4MaskAlpha()
2210 ++dst; in Blit4to4MaskAlpha()
2216 dst = (Uint32 *) ((Uint8 *) dst + dstskip); in Blit4to4MaskAlpha()
2229 Uint32 *dst = (Uint32 *) info->dst; in Blit4to4CopyAlpha() local
2237 *dst = *src; in Blit4to4CopyAlpha()
2238 ++dst; in Blit4to4CopyAlpha()
2244 dst = (Uint32 *) ((Uint8 *) dst + dstskip); in Blit4to4CopyAlpha()
2336 Uint8 *dst = info->dst; in BlitNtoN() local
2358 dst[0] = src[p0]; in BlitNtoN()
2359 dst[1] = src[p1]; in BlitNtoN()
2360 dst[2] = src[p2]; in BlitNtoN()
2361 dst[3] = src[p3]; in BlitNtoN()
2362 dst[alpha_channel] = alpha; in BlitNtoN()
2364 dst += 4; in BlitNtoN()
2368 dst += dstskip; in BlitNtoN()
2386 dst[0] = src[p0]; in BlitNtoN()
2387 dst[1] = src[p1]; in BlitNtoN()
2388 dst[2] = src[p2]; in BlitNtoN()
2390 dst += 3; in BlitNtoN()
2394 dst += dstskip; in BlitNtoN()
2412 dst[0] = src[p0]; in BlitNtoN()
2413 dst[1] = src[p1]; in BlitNtoN()
2414 dst[2] = src[p2]; in BlitNtoN()
2415 dst[3] = src[p3]; in BlitNtoN()
2416 dst[alpha_channel] = alpha; in BlitNtoN()
2418 dst += 4; in BlitNtoN()
2422 dst += dstskip; in BlitNtoN()
2437 ASSEMBLE_RGBA(dst, dstbpp, dstfmt, sR, sG, sB, alpha); in BlitNtoN()
2438 dst += dstbpp; in BlitNtoN()
2444 dst += dstskip; in BlitNtoN()
2455 Uint8 *dst = info->dst; in BlitNtoNCopyAlpha() local
2477 dst[0] = src[p0]; in BlitNtoNCopyAlpha()
2478 dst[1] = src[p1]; in BlitNtoNCopyAlpha()
2479 dst[2] = src[p2]; in BlitNtoNCopyAlpha()
2480 dst[3] = src[p3]; in BlitNtoNCopyAlpha()
2482 dst += 4; in BlitNtoNCopyAlpha()
2486 dst += dstskip; in BlitNtoNCopyAlpha()
2497 ASSEMBLE_RGBA(dst, dstbpp, dstfmt, sR, sG, sB, sA); in BlitNtoNCopyAlpha()
2498 dst += dstbpp; in BlitNtoNCopyAlpha()
2502 dst += dstskip; in BlitNtoNCopyAlpha()
2513 Uint8 *dst = info->dst; in BlitNto1Key() local
2536 *dst = (Uint8)(((sR>>5)<<(3+2))| in BlitNto1Key()
2540 dst++; in BlitNto1Key()
2546 dst += dstskip; in BlitNto1Key()
2557 *dst = (Uint8)palmap[((sR>>5)<<(3+2))| in BlitNto1Key()
2561 dst++; in BlitNto1Key()
2567 dst += dstskip; in BlitNto1Key()
2579 Uint16 *dstp = (Uint16 *) info->dst; in Blit2to2Key()
2613 Uint8 *dst = info->dst; in BlitNtoNKey() local
2631 Uint32 *dst32 = (Uint32*)dst; in BlitNtoNKey()
2689 dst[0] = src[p0]; in BlitNtoNKey()
2690 dst[1] = src[p1]; in BlitNtoNKey()
2691 dst[2] = src[p2]; in BlitNtoNKey()
2692 dst[3] = src[p3]; in BlitNtoNKey()
2693 dst[alpha_channel] = alpha; in BlitNtoNKey()
2696 dst += 4; in BlitNtoNKey()
2700 dst += dstskip; in BlitNtoNKey()
2729 dst[0] = s0; in BlitNtoNKey()
2730 dst[1] = s1; in BlitNtoNKey()
2731 dst[2] = s2; in BlitNtoNKey()
2734 dst += 3; in BlitNtoNKey()
2739 dst += dstskip; in BlitNtoNKey()
2767 dst[0] = s2; in BlitNtoNKey()
2768 dst[1] = s1; in BlitNtoNKey()
2769 dst[2] = s0; in BlitNtoNKey()
2772 dst += 3; in BlitNtoNKey()
2777 dst += dstskip; in BlitNtoNKey()
2796 dst[0] = src[p0]; in BlitNtoNKey()
2797 dst[1] = src[p1]; in BlitNtoNKey()
2798 dst[2] = src[p2]; in BlitNtoNKey()
2801 dst += 3; in BlitNtoNKey()
2805 dst += dstskip; in BlitNtoNKey()
2838 dst[0] = src[p0]; in BlitNtoNKey()
2839 dst[1] = src[p1]; in BlitNtoNKey()
2840 dst[2] = src[p2]; in BlitNtoNKey()
2841 dst[3] = src[p3]; in BlitNtoNKey()
2842 dst[alpha_channel] = alpha; in BlitNtoNKey()
2845 dst += 4; in BlitNtoNKey()
2849 dst += dstskip; in BlitNtoNKey()
2866 ASSEMBLE_RGBA(dst, dstbpp, dstfmt, sR, sG, sB, alpha); in BlitNtoNKey()
2868 dst += dstbpp; in BlitNtoNKey()
2874 dst += dstskip; in BlitNtoNKey()
2885 Uint8 *dst = info->dst; in BlitNtoNKeyCopyAlpha() local
2911 Uint32 *dst32 = (Uint32*)dst; in BlitNtoNKeyCopyAlpha()
2947 dst[0] = src[p0]; in BlitNtoNKeyCopyAlpha()
2948 dst[1] = src[p1]; in BlitNtoNKeyCopyAlpha()
2949 dst[2] = src[p2]; in BlitNtoNKeyCopyAlpha()
2950 dst[3] = src[p3]; in BlitNtoNKeyCopyAlpha()
2953 dst += 4; in BlitNtoNKeyCopyAlpha()
2957 dst += dstskip; in BlitNtoNKeyCopyAlpha()
2969 ASSEMBLE_RGBA(dst, dstbpp, dstfmt, sR, sG, sB, sA); in BlitNtoNKeyCopyAlpha()
2971 dst += dstbpp; in BlitNtoNKeyCopyAlpha()
2977 dst += dstskip; in BlitNtoNKeyCopyAlpha()
2989 Uint8 *dst = info->dst; in Blit2101010toN() local
3002 ASSEMBLE_RGBA(dst, dstbpp, dstfmt, sR, sG, sB, sA); in Blit2101010toN()
3003 dst += dstbpp; in Blit2101010toN()
3009 dst += dstskip; in Blit2101010toN()
3021 Uint8 *dst = info->dst; in BlitNto2101010() local
3034 *(Uint32 *)dst = Pixel; in BlitNto2101010()
3035 dst += 4; in BlitNto2101010()
3041 dst += dstskip; in BlitNto2101010()
3053 Uint8 *dst = info->dst; in Blit_3or4_to_3or4__same_rgb() local
3074 Uint32 *dst32 = (Uint32*)dst; in Blit_3or4_to_3or4__same_rgb()
3079 dst += 4; in Blit_3or4_to_3or4__same_rgb()
3084 dst += dstskip; in Blit_3or4_to_3or4__same_rgb()
3106 dst[j0] = s0; in Blit_3or4_to_3or4__same_rgb()
3107 dst[j1] = s1; in Blit_3or4_to_3or4__same_rgb()
3108 dst[j2] = s2; in Blit_3or4_to_3or4__same_rgb()
3109 dst += dstbpp; in Blit_3or4_to_3or4__same_rgb()
3114 dst += dstskip; in Blit_3or4_to_3or4__same_rgb()
3127 Uint8 *dst = info->dst; in Blit_3or4_to_3or4__inversed_rgb() local
3147 Uint32 *dst32 = (Uint32*)dst; in Blit_3or4_to_3or4__inversed_rgb()
3154 dst += 4; in Blit_3or4_to_3or4__inversed_rgb()
3159 dst += dstskip; in Blit_3or4_to_3or4__inversed_rgb()
3175 Uint32 *dst32 = (Uint32*)dst; in Blit_3or4_to_3or4__inversed_rgb()
3181 dst += 4; in Blit_3or4_to_3or4__inversed_rgb()
3186 dst += dstskip; in Blit_3or4_to_3or4__inversed_rgb()
3210 dst[j0] = s0; in Blit_3or4_to_3or4__inversed_rgb()
3211 dst[j1] = s1; in Blit_3or4_to_3or4__inversed_rgb()
3212 dst[j2] = s2; in Blit_3or4_to_3or4__inversed_rgb()
3213 dst += dstbpp; in Blit_3or4_to_3or4__inversed_rgb()
3218 dst += dstskip; in Blit_3or4_to_3or4__inversed_rgb()
3370 dstfmt = surface->map->dst->format; in SDL_CalculateBlitN()