Loading libs/rs/java/ImageProcessing/src/com/android/rs/image/threshold.rs +1 −2 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ static void computeGaussianWeights() { static void copyInput() { rs_allocation ain = {0}; rs_allocation ain; rsSetObject(&ain,rsGetAllocation(InPixel)); uint32_t dimx = rsAllocationGetDimX(ain); uint32_t dimy = rsAllocationGetDimY(ain); Loading @@ -73,7 +73,6 @@ static void copyInput() { ScratchPixel1[x + y * dimx] = convert_float4(InPixel[x + y * dimx]); } } rsClearObject(&ain); } void filter() { Loading libs/rs/java/Samples/src/com/android/samples/rslist.rs +1 −2 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ int root(int launchID) { rsgBindFont(gItalic); color(0.2, 0.2, 0.2, 0); rs_allocation listAlloc = {0}; rs_allocation listAlloc; rsSetObject(&listAlloc, rsGetAllocation(gList)); int allocSize = rsAllocationGetDimX(listAlloc); Loading @@ -67,7 +67,6 @@ int root(int launchID) { } currentYPos += itemHeight; } rsClearObject(&listAlloc); return 10; } libs/rs/java/tests/src/com/android/rs/test/rslist.rs +1 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ int root(int launchID) { rsgBindFont(gFont); color(0.2, 0.2, 0.2, 0); rs_allocation listAlloc = {0}; rs_allocation listAlloc; rsSetObject(&listAlloc, rsGetAllocation(gList)); int allocSize = rsAllocationGetDimX(listAlloc); Loading Loading @@ -103,7 +103,6 @@ int root(int launchID) { } currentYPos += itemHeight; } rsClearObject(&listAlloc); return 10; } Loading
libs/rs/java/ImageProcessing/src/com/android/rs/image/threshold.rs +1 −2 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ static void computeGaussianWeights() { static void copyInput() { rs_allocation ain = {0}; rs_allocation ain; rsSetObject(&ain,rsGetAllocation(InPixel)); uint32_t dimx = rsAllocationGetDimX(ain); uint32_t dimy = rsAllocationGetDimY(ain); Loading @@ -73,7 +73,6 @@ static void copyInput() { ScratchPixel1[x + y * dimx] = convert_float4(InPixel[x + y * dimx]); } } rsClearObject(&ain); } void filter() { Loading
libs/rs/java/Samples/src/com/android/samples/rslist.rs +1 −2 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ int root(int launchID) { rsgBindFont(gItalic); color(0.2, 0.2, 0.2, 0); rs_allocation listAlloc = {0}; rs_allocation listAlloc; rsSetObject(&listAlloc, rsGetAllocation(gList)); int allocSize = rsAllocationGetDimX(listAlloc); Loading @@ -67,7 +67,6 @@ int root(int launchID) { } currentYPos += itemHeight; } rsClearObject(&listAlloc); return 10; }
libs/rs/java/tests/src/com/android/rs/test/rslist.rs +1 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ int root(int launchID) { rsgBindFont(gFont); color(0.2, 0.2, 0.2, 0); rs_allocation listAlloc = {0}; rs_allocation listAlloc; rsSetObject(&listAlloc, rsGetAllocation(gList)); int allocSize = rsAllocationGetDimX(listAlloc); Loading Loading @@ -103,7 +103,6 @@ int root(int launchID) { } currentYPos += itemHeight; } rsClearObject(&listAlloc); return 10; }