Searched refs:uint32_t (Results 251 - 275 of 2075) sorted by last modified time

<<11121314151617181920>>

/frameworks/rs/tests/cpp_api/cppbasic-getpointer/
H A Dcompute.cpp8 const uint32_t DIMX = 128;
9 const uint32_t DIMY = 128;
41 uint32_t *input = (uint32_t*)ain->getPointer(&inputStride);
42 uint32_t *output = (uint32_t*)aout->getPointer(&outputStride);
49 inputStride /= sizeof(uint32_t);
50 outputStride /= sizeof(uint32_t);
H A Dmono.rs21 uint32_t RS_KERNEL copyAndNot(uint32_t in) {
/frameworks/rs/tests/cpp_api/cppbasic-shared/
H A Dcompute.cpp56 uint32_t *buf = new uint32_t[t->getCount()];
57 for (uint32_t ct=0; ct < t->getCount(); ct++) {
75 static const uint32_t xDim = 7;
76 static const uint32_t yDim = 7;
86 for (uint32_t ct=0; ct < t->getCount(); ct++) {
H A Dmono.rs74 int RS_KERNEL kern1(int i, uint32_t x, uint32_t y) {
78 void RS_KERNEL verify_kern1(int i, uint32_t x, uint32_t y) {
/frameworks/rs/tests/cpp_api/cppf16/
H A Dcompute.cpp9 static const uint32_t dimX = 7, dimY = 5, dimZ = 3;
11 void testAllocationCreation(const sp<RS>& rs, const sp<const Element>& e, uint32_t nDims) {
39 for (uint32_t nDims = 1; nDims <= 3; nDims ++) {
/frameworks/rs/tests/cpp_api/cppstrided/
H A Dcompute.cpp9 uint32_t numElems = 1024;
10 uint32_t stride = 1025;
18 stride = (uint32_t) tempStride;
40 uint32_t* buf = (uint32_t*) malloc(stride * numElems * sizeof(uint32_t));
46 for (uint32_t i = 0; i < numElems; i++) {
47 for (uint32_t ct=0; ct < numElems; ct++) {
48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems);
52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t));
[all...]
H A Dmultiply.rs21 uint32_t RS_KERNEL multiply(uint32_t in) {
/frameworks/rs/tests/cpp_api/latency/
H A Dlatency.cpp53 uint32_t flags = 0;
68 uint32_t *buf = new uint32_t[numElems];
H A Dlatency.rs21 void root(const uint32_t *v_in, uint32_t *v_out) {
/frameworks/rs/tests/cpp_api/typecheck/
H A Dtypecheck.cpp20 const static uint32_t x = 7;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A Dcanny.rs30 uchar4 __attribute__((kernel)) toRGB(uint32_t x, uint32_t y) {
39 uchar4 __attribute__((kernel)) toWhiteRGB(uint32_t x, uint32_t y) {
46 uchar4 __attribute__((kernel)) toRGBfuzz(uint32_t x, uint32_t y) {
55 uchar4 __attribute__((kernel)) toWhiteRGBfuzz(uint32_t x, uint32_t y) {
63 uchar4 __attribute__((kernel)) toRGBCartoon(uchar4 in, uint32_t x, uint32_t
[all...]
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
H A Dlaunchtest.rs23 void __attribute__((kernel)) k_x(uchar in, uint32_t x) {
29 uchar __attribute__((kernel)) k_xy(uint32_t x, uint32_t y) {
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dfind_region.rs140 float __attribute__((kernel)) bordercorrelation(uint32_t x, uint32_t y) {
H A Dhealing.rs73 float3 __attribute__((kernel)) laplacian( uint32_t x, uint32_t y) {
91 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) {
100 uchar4 __attribute__((kernel)) alphaMask(uchar4 in, uint32_t x, uint32_t y) {
108 float3 __attribute__((kernel)) solve1(uchar in, uint32_t x, uint32_t y) {
122 float3 __attribute__((kernel)) solve2(uchar in, uint32_t x, uint32_t
[all...]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dartistic1.rs41 uchar4 RS_KERNEL process(uchar4 in, uint32_t x, uint32_t y) {
H A Dbwfilter.rs24 void prepareBwFilter(uint32_t rw, uint32_t gw, uint32_t bw) {
H A Dconvolve3x3.rs26 uchar4 RS_KERNEL root(uint32_t x, uint32_t y) {
27 uint32_t x1 = min((int32_t)x+1, gWidth-1);
28 uint32_t x2 = max((int32_t)x-1, 0);
29 uint32_t y1 = min((int32_t)y+1, gHeight-1);
30 uint32_t y2 = max((int32_t)y-1, 0);
H A Dconvolve5x5.rs26 uchar4 RS_KERNEL root(uint32_t x, uint32_t y) {
27 uint32_t x0 = max((int32_t)x-2, 0);
28 uint32_t x1 = max((int32_t)x-1, 0);
29 uint32_t x2 = x;
30 uint32_t x3 = min((int32_t)x+1, gWidth-1);
31 uint32_t x4 = min((int32_t)x+2, gWidth-1);
33 uint32_t y0 = max((int32_t)y-2, 0);
34 uint32_t y1 = max((int32_t)y-1, 0);
35 uint32_t y
[all...]
H A Dfisheye.rsh23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
45 uchar4 __attribute__((kernel)) root(uint32_t x, uint32_t y) {
H A Dfisheye_approx.rsh23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
45 uchar4 __attribute__((kernel)) root(uint32_t x, uint32_t y) {
H A Dgrain.rs44 uchar RS_KERNEL blend9(uint32_t x, uint32_t y) {
45 uint32_t x1 = (x-1) & gWMask;
46 uint32_t x2 = (x+1) & gWMask;
47 uint32_t y1 = (y-1) & gHMask;
48 uint32_t y2 = (y+1) & gHMask;
78 uchar4 RS_KERNEL root(uchar4 in, uint32_t x, uint32_t y) {
H A Dmirror.rs24 uchar4 RS_KERNEL mirror(uint32_t x, uint32_t y) {
25 uint32_t x0 = gWidth-x-1;
H A Dresize.rs26 uchar4 __attribute__((kernel)) nearest(uint32_t x, uint32_t y) {
29 uint32_t ix = xf;
30 uint32_t iy = yf;
43 uchar4 __attribute__((kernel)) bicubic(uint32_t x, uint32_t y) {
54 uint32_t xs0 = (uint32_t) max(0, startx + 0);
55 uint32_t xs1 = (uint32_t) ma
[all...]
H A Dthreshold.rs77 uchar4 RS_KERNEL vert(uint32_t x, uint32_t y) {
99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) {
H A Dvignette.rsh20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y,
47 uchar4 __attribute__((kernel)) root(uchar4 in, uint32_t x, uint32_t y) {

Completed in 213 milliseconds

<<11121314151617181920>>