HomeSort by relevance Sort by last modified time
    Searched refs:dimX (Results 1 - 25 of 72) sorted by null

1 2 3

  /frameworks/rs/scriptc/
rs_allocation_create.rsh 83 * dimX specifies the size of the X dimension.
99 * dimX: Size along the X dimension
108 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps,
114 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ);
119 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY);
124 rsCreateType(rs_element element, uint32_t dimX);
159 rsCreateAllocation_half(uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
161 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
168 rsCreateAllocation_float(uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
170 rs_type t = rsCreateType(e, dimX, dimY, dimZ)
    [all...]
  /prebuilts/sdk/renderscript/include/
rs_allocation_create.rsh 83 * dimX specifies the size of the X dimension.
99 * dimX: Size along the X dimension
108 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps,
114 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ);
119 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY);
124 rsCreateType(rs_element element, uint32_t dimX);
159 rsCreateAllocation_half(uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
161 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
168 rsCreateAllocation_float(uint32_t dimX, uint32_t dimY, uint32_t dimZ) {
170 rs_type t = rsCreateType(e, dimX, dimY, dimZ)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationByteBufferTest.java 36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) {
40 t = Type.createX(mRS, e, dimX);
42 t = Type.createXY(mRS, e, dimX, dimY);
48 void testByteBufferHelper(DataType dt, int byteSize, int dimX, int dimY) {
53 byte[] data = new byte[dimX * dimY * vecWidth * byteSize];
56 Allocation alloc = createTypedAllocation(dt, size, dimX, dimY);
62 int posX = r.nextInt(dimX);
64 byte byteInData = data[(posY * dimX + posX) * vecWidth * byteSize];
73 int dimX = r.nextInt(MAX_DIM) + 1;
74 testByteBufferHelper(dt, byteSize, dimX, 1)
    [all...]
single_source_script.rs 43 void testLaunchOptions(rs_allocation in, rs_allocation out, int dimX, int dimY) {
46 opts.xEnd = dimX;
52 void testAllocationlessLaunch(rs_allocation inAndOut, int dimX, int dimY) {
56 opts.xEnd = dimX;
AtomicTest.rs 65 uint32_t dimX = rsAllocationGetDimX(a);
68 for (uint32_t x = 0; x < dimX; x++) {
77 uint32_t dimX = rsAllocationGetDimX(a);
80 for (uint32_t x = 0; x < dimX; x++) {
89 uint32_t dimX = rsAllocationGetDimX(a);
92 for (uint32_t x = 0; x < dimX; x++) {
101 uint32_t dimX = rsAllocationGetDimX(a);
104 for (uint32_t x = 0; x < dimX; x++) {
TestCtxDim.rs 26 uint32_t dimX = rsGetDimX(context);
27 _RS_ASSERT(gDimX == dimX);
SingleSourceAllocationTest.java 31 private static final int dimX = 3;
41 s.set_gDimX(dimX);
launchclip.rs 21 int dimX;
  /external/skia/src/utils/
SkTextureCompressor.cpp 37 void GetBlockDimensions(Format format, int* dimX, int* dimY, bool matchSpec) {
38 if (nullptr == dimX || nullptr == dimY) {
42 if (!matchSpec && SkOpts::fill_block_dimensions(format, dimX, dimY)) {
70 *dimX = kFormatDimensions[format].fBlockSizeX;
75 int dimX, dimY;
76 GetBlockDimensions(fmt, &dimX, &dimY, true);
111 if(((width % dimX) == 0) && ((height % dimY) == 0)) {
112 const int blocksX = width / dimX;
185 int dimX, dimY;
186 GetBlockDimensions(format, &dimX, &dimY, true)
    [all...]
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_small_struct.java 26 private static final int dimX = 3;
34 s.set_gDimX(dimX);
38 builderA.setX(dimX);
45 builderB.setX(dimX);
UT_array_alloc.java 36 int dimX = s.get_dimX();
37 Allocation[] Arr = new Allocation[dimX];
40 for (int i = 0; i < dimX; i++) {
UT_reduce_backward.java 116 final int dimX = 450, dimY = 225;
118 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13);
120 typeBuilder.setX(dimX).setY(dimY);
122 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
187 final int dimX = 225, dimY = 450;
188 final int inputLen = dimX * dimY;
195 typeBuilder.setX(dimX).setY(dimY);
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
201 final int cellVal = inputArray[rsRslt.x + dimX * rsRslt.y];
212 final int dimX = 59, dimY = 48, dimZ = 37
    [all...]
UT_single_source_alloc.java 27 private int dimX = 3;
42 s.set_gDimX(dimX);
  /frameworks/base/rs/java/android/renderscript/
Type.java 260 * @param dimX The X dimension, must be > 0
264 static public Type createX(RenderScript rs, Element e, int dimX) {
265 if (dimX < 1) {
269 long id = rs.nTypeCreate(e.getID(rs), dimX, 0, 0, false, false, 0);
272 t.mDimX = dimX;
283 * @param dimX The X dimension, must be > 0
288 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) {
289 if ((dimX < 1) || (dimY < 1)) {
293 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0);
296 t.mDimX = dimX;
    [all...]
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
UT_array_alloc.java 36 int dimX = s.get_dimX();
37 Allocation[] Arr = new Allocation[dimX];
40 for (int i = 0; i < dimX; i++) {
UT_reduce.java 106 final int dimX = 450, dimY = 225;
108 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13);
110 typeBuilder.setX(dimX).setY(dimY);
112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
171 final int dimX = 225, dimY = 450;
172 final int inputLen = dimX * dimY;
179 typeBuilder.setX(dimX).setY(dimY);
181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
185 final int cellVal = inputArray[rsRslt.x + dimX * rsRslt.y];
196 final int dimX = 59, dimY = 48, dimZ = 37
    [all...]
UT_reduce_backward.java 106 final int dimX = 450, dimY = 225;
108 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13);
110 typeBuilder.setX(dimX).setY(dimY);
112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
171 final int dimX = 225, dimY = 450;
172 final int inputLen = dimX * dimY;
179 typeBuilder.setX(dimX).setY(dimY);
181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
185 final int cellVal = inputArray[rsRslt.x + dimX * rsRslt.y];
196 final int dimX = 59, dimY = 48, dimZ = 37
    [all...]
  /frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_array_alloc.java 36 int dimX = s.get_dimX();
37 Allocation[] Arr = new Allocation[dimX];
40 for (int i = 0; i < dimX; i++) {
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Type.java 206 * @param dimX The X dimension, must be > 0
210 static public Type createX(RenderScript rs, Element e, int dimX) {
211 if (dimX < 1) {
215 long id = rs.nTypeCreate(e.getID(rs), dimX, 0, 0, false, false, 0);
218 t.mDimX = dimX;
229 * @param dimX The X dimension, must be > 0
234 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) {
235 if ((dimX < 1) || (dimY < 1)) {
239 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0);
242 t.mDimX = dimX;
    [all...]
  /frameworks/rs/
rsType.h 46 uint32_t dimX;
71 uint32_t getDimX() const {return mHal.state.dimX;}
108 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
109 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
121 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) {
124 p.dimX = dimX;
  /external/mesa3d/include/VG/
vgext.h 86 VG_API_CALL void vgIterativeAverageBlurKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGTilingMode tilingMode);
88 typedef void (VG_API_ENTRYP PFNVGITERATIVEAVERAGEBLURKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGTilingMode tilingMode);
145 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguDropShadowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint shadowColorRGBA);
146 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGlowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint glowColorRGBA) ;
147 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguBevelKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint highlightColorRGBA,VGuint shadowColorRGBA);
148 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGradientGlowKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint stopsCount,const VGfloat* glowColorRampStops);
149 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguGradientBevelKHR(VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint stopsCount,const VGfloat* bevelColorRampStops);
152 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUDROPSHADOWKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint shadowColorRGBA);
153 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUGLOWKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGbitfield filterFlags,VGbitfield allowedQuality,VGuint glowColorRGBA);
154 typedef VGUErrorCode (VGU_API_ENTRYP PFNVGUBEVELKHRPROC) (VGImage dst,VGImage src,VGfloat dimX,VGfloat dimY,VGuint iterative,VGfloat strength,VGfloat distance,VGfloat angle,VGbitfield filterFla (…)
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_input/
ScriptField_MyStruct.java.expect 72 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX, int usages) {
74 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
78 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX) {
79 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
82 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY) {
83 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
86 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY, int usages) {
89 b.setX(dimX);
  /frameworks/compile/slang/tests/P_reduce_general_inputs/
ScriptField_MyStruct.java.expect 72 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX, int usages) {
74 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
78 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX) {
79 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
82 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY) {
83 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
86 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY, int usages) {
89 b.setX(dimX);
  /frameworks/compile/slang/tests/P_reduce_general_result/
ScriptField_MyStruct.java.expect 72 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX, int usages) {
74 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
78 public static ScriptField_MyStruct create1D(RenderScript rs, int dimX) {
79 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
82 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY) {
83 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
86 public static ScriptField_MyStruct create2D(RenderScript rs, int dimX, int dimY, int usages) {
89 b.setX(dimX);
  /frameworks/rs/api/
rs_allocation_create.spec 79 arg: uint32_t dimX, "Size along the X dimension"
89 dimX specifies the size of the X dimension.
109 arg: uint32_t dimX
119 arg: uint32_t dimX
128 arg: uint32_t dimX
176 arg: uint32_t dimX
181 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
191 arg: uint32_t dimX
196 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
205 arg: uint32_t dimX
    [all...]

Completed in 498 milliseconds

1 2 3