diff options
author | Jason Sams <jsams@google.com> | 2014-02-12 00:19:14 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-02-12 00:19:14 +0000 |
commit | afdb47f35f2c2df1cab652e7899943ddfe00692d (patch) | |
tree | c3fdc1bab2a1e16a9557f775f3c33673e10be34a /scriptc | |
parent | acdb9bc32652a4c73b28798ad743a0e7db6468d6 (diff) | |
parent | 197fc09254eace8d2625c23c192487e376b39d35 (diff) | |
download | rs-afdb47f35f2c2df1cab652e7899943ddfe00692d.tar.gz |
Merge "Add image computing oriented builtin functions"
Diffstat (limited to 'scriptc')
-rw-r--r-- | scriptc/rs_core.rsh | 5 | ||||
-rw-r--r-- | scriptc/rs_dct.rsh | 14 | ||||
-rw-r--r-- | scriptc/rs_fadst.rsh | 14 | ||||
-rw-r--r-- | scriptc/rs_iadst.rsh | 14 | ||||
-rw-r--r-- | scriptc/rs_idct.rsh | 13 | ||||
-rw-r--r-- | scriptc/rs_walsh.rsh | 11 |
6 files changed, 71 insertions, 0 deletions
diff --git a/scriptc/rs_core.rsh b/scriptc/rs_core.rsh index 0d3642ec..9ff01900 100644 --- a/scriptc/rs_core.rsh +++ b/scriptc/rs_core.rsh @@ -60,6 +60,11 @@ #include "rs_quaternion.rsh" #include "rs_sampler.rsh" #include "rs_time.rsh" +#include "rs_idct.rsh" +#include "rs_dct.rsh" +#include "rs_iadst.rsh" +#include "rs_fadst.rsh" +#include "rs_walsh.rsh" /** * Send a message back to the client. Will not block and returns true diff --git a/scriptc/rs_dct.rsh b/scriptc/rs_dct.rsh new file mode 100644 index 00000000..51e789db --- /dev/null +++ b/scriptc/rs_dct.rsh @@ -0,0 +1,14 @@ +#ifndef __RS_DCT_RSH__ +#define __RS_DCT_RSH__ + +#if RS_VERSION > 19 + +extern void dct4x4(rs_allocation input, rs_allocation output, int xoff, int yoff); +extern void dct8x8(rs_allocation input, rs_allocation output, int xoff, int yoff); +extern void dct16x16(rs_allocation input, rs_allocation output, int xoff, int yoff); +extern void dct32x32(rs_allocation input, rs_allocation out, int xoff, int yoff); +extern void dct32x32_rd(rs_allocation input, rs_allocation out, int xoff, int yoff); + +#endif + +#endif diff --git a/scriptc/rs_fadst.rsh b/scriptc/rs_fadst.rsh new file mode 100644 index 00000000..6dc0170f --- /dev/null +++ b/scriptc/rs_fadst.rsh @@ -0,0 +1,14 @@ +#ifndef __RS_FADST_RSH__ +#define __RS_FADST_RSH__ + +#if RS_VERSION > 19 + +extern void fadst4(const rs_allocation input, rs_allocation output, int32_t xoff); + +extern void fadst8(const rs_allocation input, rs_allocation output, int32_t xoff); + +extern void fadst16(const rs_allocation input, rs_allocation output, int32_t xoff); + +#endif + +#endif
\ No newline at end of file diff --git a/scriptc/rs_iadst.rsh b/scriptc/rs_iadst.rsh new file mode 100644 index 00000000..dad396c8 --- /dev/null +++ b/scriptc/rs_iadst.rsh @@ -0,0 +1,14 @@ +#ifndef __RS_IADST_RSH__ +#define __RS_IADST_RSH__ + +#if RS_VERSION > 19 + +extern void iadst4(const rs_allocation input, rs_allocation output, int32_t xoff); + +extern void iadst8(const rs_allocation input, rs_allocation output, int32_t xoff); + +extern void iadst16(const rs_allocation input, rs_allocation output, int32_t xoff); + +#endif + +#endif
\ No newline at end of file diff --git a/scriptc/rs_idct.rsh b/scriptc/rs_idct.rsh new file mode 100644 index 00000000..e3797367 --- /dev/null +++ b/scriptc/rs_idct.rsh @@ -0,0 +1,13 @@ +#ifndef __RS_IDCT_RSH__ +#define __RS_IDCT_RSH__ + +#if RS_VERSION > 19 + +extern void idct4x4(const rs_allocation input, rs_allocation dest, int eob, int xoff, int yoff); +extern void idct8x8(const rs_allocation input, rs_allocation dest, int eob, int xoff, int yoff); +extern void idct16x16(const rs_allocation input, rs_allocation dest, int eob, int xoff, int yoff); +extern void idct32x32(const rs_allocation input, rs_allocation dest, int eob, int xoff, int yoff); + +#endif + +#endif diff --git a/scriptc/rs_walsh.rsh b/scriptc/rs_walsh.rsh new file mode 100644 index 00000000..de058cec --- /dev/null +++ b/scriptc/rs_walsh.rsh @@ -0,0 +1,11 @@ +#ifndef __RS_WALSH_RSH__ +#define __RS_WALSH_RSH__ + +#if RS_VERSION > 19 + +extern void walsh4x4(rs_allocation input, rs_allocation dest, int xoff, int yoff); +extern void walsh4x4_1(rs_allocation input, rs_allocation dest, int xoff, int yoff); + +#endif + +#endif |