1 #ifndef __NR_COMPOSE_TRANSFORM_H__
2 #define __NR_COMPOSE_TRANSFORM_H__
4 /*
5 * Pixel buffer rendering library
6 *
7 * Authors:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 *
10 * This code is in public domain
11 */
13 #include <libnr/nr-forward.h>
15 /* FINAL DST SRC */
17 void nr_R8G8B8A8_N_EMPTY_R8G8B8A8_N_TRANSFORM (unsigned char *px, int w, int h, int rs,
18 const unsigned char *spx, int sw, int sh, int srs,
19 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
20 void nr_R8G8B8A8_N_EMPTY_R8G8B8A8_P_TRANSFORM (unsigned char *px, int w, int h, int rs,
21 const unsigned char *spx, int sw, int sh, int srs,
22 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
23 void nr_R8G8B8A8_P_EMPTY_R8G8B8A8_N_TRANSFORM (unsigned char *px, int w, int h, int rs,
24 const unsigned char *spx, int sw, int sh, int srs,
25 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
26 void nr_R8G8B8A8_P_EMPTY_R8G8B8A8_P_TRANSFORM (unsigned char *px, int w, int h, int rs,
27 const unsigned char *spx, int sw, int sh, int srs,
28 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
30 void nr_R8G8B8A8_N_R8G8B8A8_N_R8G8B8A8_N_TRANSFORM (unsigned char *px, int w, int h, int rs,
31 const unsigned char *spx, int sw, int sh, int srs,
32 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
33 void nr_R8G8B8A8_N_R8G8B8A8_N_R8G8B8A8_P_TRANSFORM (unsigned char *px, int w, int h, int rs,
34 const unsigned char *spx, int sw, int sh, int srs,
35 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
36 void nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM (unsigned char *px, int w, int h, int rs,
37 const unsigned char *spx, int sw, int sh, int srs,
38 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
39 void nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_P_TRANSFORM (unsigned char *px, int w, int h, int rs,
40 const unsigned char *spx, int sw, int sh, int srs,
41 const NR::Matrix &d2s, unsigned int alpha, int xd, int yd);
43 #endif