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

1 2 3

  /frameworks/rs/scriptc/
rs_allocation_create.rsh 85 * dimY, if present and non-zero, indicates that the Y dimension is present and
100 * dimY: Size along the Y 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);
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);
177 rsCreateAllocation_double(uint32_t dimX, uint32_t dimY, uint32_t dimZ)
    [all...]
  /prebuilts/sdk/renderscript/include/
rs_allocation_create.rsh 85 * dimY, if present and non-zero, indicates that the Y dimension is present and
100 * dimY: Size along the Y 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);
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);
177 rsCreateAllocation_double(uint32_t dimX, uint32_t dimY, uint32_t dimZ)
    [all...]
  /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)) {
71 *dimY = kFormatDimensions[format].fBlockSizeY;
75 int dimX, dimY;
76 GetBlockDimensions(fmt, &dimX, &dimY, true);
111 if(((width % dimX) == 0) && ((height % dimY) == 0)) {
113 const int blocksY = height / dimY;
185 int dimX, dimY;
186 GetBlockDimensions(format, &dimX, &dimY, true)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
single_source_script.rs 43 void testLaunchOptions(rs_allocation in, rs_allocation out, int dimX, int dimY) {
48 opts.yEnd = dimY / 2;
52 void testAllocationlessLaunch(rs_allocation inAndOut, int dimX, int dimY) {
58 opts.yEnd = dimY;
AtomicTest.rs 66 uint32_t dimY = rsAllocationGetDimY(a);
67 for (uint32_t y = 0; y < dimY; y++) {
78 uint32_t dimY = rsAllocationGetDimY(a);
79 for (uint32_t y = 0; y < dimY; y++) {
90 uint32_t dimY = rsAllocationGetDimY(a);
91 for (uint32_t y = 0; y < dimY; y++) {
102 uint32_t dimY = rsAllocationGetDimY(a);
103 for (uint32_t y = 0; y < dimY; y++) {
TestCtxDim.rs 28 uint32_t dimY = rsGetDimY(context);
29 _RS_ASSERT(gDimY == dimY);
AllocationByteBufferTest.java 36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) {
39 if (dimY <= 1) {
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);
63 int posY = r.nextInt(dimY);
80 int dimY = r.nextInt(MAX_DIM) + 2; //Make sure dimY is larger than 1;
81 testByteBufferHelper(dt, byteSize, dimX, dimY);
    [all...]
SingleSourceAllocationTest.java 32 private static final int dimY = 4;
42 s.set_gDimY(dimY);
launchclip.rs 22 int dimY;
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_small_struct.java 27 private static final int dimY = 2;
35 s.set_gDimY(dimY);
39 builderA.setY(dimY);
46 builderB.setY(dimY);
UT_single_source_alloc.java 28 private int dimY = 4;
43 s.set_gDimY(nDims > 1? dimY: 0);
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);
212 final int dimX = 59, dimY = 48, dimZ = 37;
213 final int inputLen = dimX * dimY * dimZ
    [all...]
UT_fp16.java 26 private int dimY = 5;
42 typeBuilder.setX(dimX).setY(dimY);
45 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ);
51 s.set_gDimY(nDims > 1? dimY: 0);
  /frameworks/rs/
rsType.h 47 uint32_t dimY;
72 uint32_t getDimY() const {return mHal.state.dimY;}
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) {
125 p.dimY = dimY;
rsType.cpp 79 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1;
103 uint32_t ty = mHal.state.dimY;
156 mHal.state.dimY,
172 stream->addU32(mHal.state.dimY);
197 p.dimY = stream->loadU32();
236 if (t->getDimY() != params->dimY) continue;
269 nt->mHal.state.dimY = params->dimY;
300 p.dimY = getDimY();
308 uint32_t dimY) const
    [all...]
rsGrallocConsumer.cpp 51 uint32_t y = a->mHal.drvState.lod[0].dimY;
155 rsAssert(mAlloc[idx]->mHal.drvState.lod[0].dimY ==
174 const int yHeight = mAlloc[idx]->mHal.drvState.lod[0].dimY;
182 mAlloc[idx]->mHal.drvState.lod[1].dimY = cHeight;
184 mAlloc[idx]->mHal.drvState.lod[2].dimY = cHeight;
206 mAlloc[idx]->mHal.drvState.lod[1].dimY = cHeight;
208 mAlloc[idx]->mHal.drvState.lod[2].dimY = cHeight;
  /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 filterFlags,VGbitfield (…)
    [all...]
  /frameworks/base/rs/java/android/renderscript/
Type.java 284 * @param dimY The Y 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);
297 t.mDimY = dimY;
309 * @param dimY The Y dimension, must be > 0
314 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) {
315 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) {
319 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0);
323 t.mDimY = dimY;
    [all...]
  /frameworks/rs/tests/cppf16/
compute.cpp 6 static const uint32_t dimX = 7, dimY = 5, dimZ = 3;
12 tb.setY(dimY);
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Type.java 230 * @param dimY The Y 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);
243 t.mDimY = dimY;
255 * @param dimY The Y dimension, must be > 0
260 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) {
261 if ((dimX < 1) || (dimY < 1) || (dimZ < 1)) {
265 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0);
269 t.mDimY = dimY;
    [all...]
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
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);
196 final int dimX = 59, dimY = 48, dimZ = 37;
197 final int inputLen = dimX * dimY * dimZ
    [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);
196 final int dimX = 59, dimY = 48, dimZ = 37;
197 final int inputLen = dimX * dimY * dimZ
    [all...]
  /external/skia/src/gpu/
GrSWMaskHelper.cpp 188 int dimX, dimY;
189 SkTextureCompressor::GetBlockDimensions(fCompressedFormat, &dimX, &dimY);
191 cmpHeight = dimY * ((cmpHeight + (dimY - 1)) / dimY);
240 int dimX, dimY;
241 SkTextureCompressor::GetBlockDimensions(fCompressedFormat, &dimX, &dimY);
243 SkASSERT((desc.fHeight % dimY) == 0);
  /frameworks/rs/api/
rs_allocation_create.spec 80 arg: uint32_t dimY, "Size along the Y dimension"
91 dimY, if present and non-zero, indicates that the Y dimension is present and
110 arg: uint32_t dimY
120 arg: uint32_t dimY
177 arg: uint32_t dimY
181 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
192 arg: uint32_t dimY
196 rs_type t = rsCreateType(e, dimX, dimY, dimZ);
206 arg: uint32_t dimY
209 rs_type t = rsCreateType(e, dimX, dimY);
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_input/
ScriptField_MyStruct.java.expect 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) {
90 b.setY(dimY);

Completed in 869 milliseconds

1 2 3