/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_small_struct.java | 26 private static final int dimX = 3; field in class:UT_small_struct 34 s.set_gDimX(dimX); 38 builderA.setX(dimX); 45 builderB.setX(dimX);
|
H A D | UT_single_source_alloc.java | 27 private int dimX = 3; field in class:UT_single_source_alloc 42 s.set_gDimX(dimX);
|
H A D | UT_fp16.java | 25 private int dimX = 7; field in class:UT_fp16 39 typeBuilder.setX(dimX); 42 typeBuilder.setX(dimX).setY(dimY); 45 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); 50 s.set_gDimX(dimX);
|
/frameworks/rs/tests/cppf16/ |
H A D | compute.cpp | 6 static const uint32_t dimX = 7, dimY = 5, dimZ = 3; variable 10 tb.setX(dimX);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | AllocationAdapter.java | 310 * @param dimX ignored. 312 public synchronized void resize(int dimX) { argument
|
H A D | Type.java | 260 * @param dimX The X dimension, must be > 0 264 static public Type createX(RenderScript rs, Element e, int dimX) { argument 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) { argument 289 if ((dimX < 1) || (dimY < 1)) { 293 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); 296 t.mDimX = dimX; 314 createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) argument [all...] |
H A D | Allocation.java | 2066 * @param dimX The new size of the allocation. 2072 public synchronized void resize(int dimX) { argument 2079 mRS.nAllocationResize1D(getID(mRS), dimX);
|
H A D | RenderScript.java | 662 native void rsnAllocationResize1D(long con, long id, int dimX); argument 663 synchronized void nAllocationResize1D(long id, int dimX) { argument 665 rsnAllocationResize1D(mContext, id, dimX);
|
/frameworks/rs/cpp/ |
H A D | Type.cpp | 110 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) { argument 111 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); 115 t->mDimX = dimX;
|
/frameworks/rs/ |
H A D | rsType.h | 46 uint32_t dimX; member in struct:android::renderscript::Type::Hal::State 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;
|
H A D | rsType.cpp | 78 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; 102 uint32_t tx = mHal.state.dimX; 155 mHal.state.dimX, 171 stream->addU32(mHal.state.dimX); 196 p.dimX = stream->loadU32(); 235 if (t->getDimX() != params->dimX) continue; 268 nt->mHal.state.dimX = params->dimX; 296 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { 299 p.dimX 306 cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const argument 364 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument [all...] |
H A D | rsAllocation.h | 92 uint32_t dimX; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState 133 void resize1D(Context *rsc, uint32_t dimX); 134 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
|
H A D | rsScriptC_Lib.cpp | 284 RsType rsrTypeCreate(Context *rsc, const RsElement element, uint32_t dimX, argument 287 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv);
|
H A D | rsInternalDefines.h | 215 uint32_t dimX; member in struct:__anon1686
|
H A D | rsAllocation.cpp | 272 if (x >= mHal.drvState.lod[0].dimX) { 307 if (x >= mHal.drvState.lod[0].dimX) { 559 void Allocation::resize1D(Context *rsc, uint32_t dimX) { argument 560 uint32_t oldDimX = mHal.drvState.lod[0].dimX; 561 if (dimX == oldDimX) { 565 ObjectBaseRef<Type> t = mHal.state.type->cloneAndResize1D(rsc, dimX); 566 if (dimX < oldDimX) { 567 decRefs(rsc->mHal.funcs.allocation.lock1D(rsc, this), oldDimX - dimX, dimX); 575 void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_ argument 769 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument 774 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Type.java | 206 * @param dimX The X dimension, must be > 0 210 static public Type createX(RenderScript rs, Element e, int dimX) { argument 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) { argument 235 if ((dimX < 1) || (dimY < 1)) { 239 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0); 242 t.mDimX = dimX; 260 createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) argument [all...] |
H A D | RenderScript.java | 600 native void rsnAllocationResize1D(long con, long id, int dimX); argument 601 synchronized void nAllocationResize1D(long id, int dimX) { argument 603 rsnAllocationResize1D(mContext, id, dimX); 605 native void rsnAllocationResize2D(long con, long id, int dimX, int dimY); argument 606 synchronized void nAllocationResize2D(long id, int dimX, int dimY) { argument 608 rsnAllocationResize2D(mContext, id, dimX, dimY);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_allocation.c | 8 return alloc->mHal.drvState.lod[0].dimX; 503 rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, 632 uint32_t dimX, uint32_t dimY, 634 return rsCreateType(element, dimX, dimY, dimZ, false, false, RS_YUV_NONE); 638 uint32_t dimX, 640 return rsCreateType(element, dimX, dimY, 0, false, false, RS_YUV_NONE); 644 uint32_t dimX) { 645 return rsCreateType(element, dimX, 0, 0, false, false, RS_YUV_NONE); 631 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ) argument 637 rsCreateType(rs_element element, uint32_t dimX, uint32_t dimY) argument 643 rsCreateType(rs_element element, uint32_t dimX) argument
|
H A D | rs_structs.h | 66 uint32_t dimX; member in struct:Allocation::__anon1654::DrvState::LodState 254 uint32_t dimX; member in struct:Type::__anon1664::__anon1665
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | Filters.java | 122 dimX, dimY, 0.5f, 0.5f, 0.5f, Sampler.CLAMP_LINEAR(mRS)); 140 private final int dimX=1067, dimY=1600; field in class:Filters.FisheyeFilter
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 221 alloc->mHal.drvState.lod[0].dimX, alloc->mHal.drvState.lod[0].dimY); 267 state->lod[1].dimX = state->lod[0].dimX / 2; 269 state->lod[2].dimX = state->lod[0].dimX / 2; 289 //state->lod[1].dimX = state->lod[0].dimX; 307 alloc->mHal.drvState.lod[0].dimX = type->getDimX(); 312 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); 329 uint32_t tx = alloc->mHal.drvState.lod[0].dimX; 604 const uint32_t dimX = newType->getDimX(); local [all...] |
H A D | rsdRuntimeStubs.cpp | 246 uint32_t dimX, uint32_t dimY, 272 if (dimX < 1 || dimY < 1) { 286 if (dimY > 0 && dimX < 1) { 306 Type *type = (Type *) rsrTypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, 373 Type *rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, argument 376 android::renderscript::rs_type obj = CreateType((RsElement) element.p, dimX, 401 android::renderscript::rs_type rsCreateType(::rs_element element, uint32_t dimX, argument 405 return CreateType((RsElement) element.p, dimX, dimY, dimZ, mipmaps, faces, 245 CreateType(RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv_format) argument
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1364 nAllocationResize1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint dimX) argument 1367 (RsAllocation)alloc, dimX); 1368 dispatchTab.AllocationResize1D((RsContext)con, (RsAllocation)alloc, dimX);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1609 nAllocationResize1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint dimX) argument 1613 (RsAllocation)alloc, dimX); 1615 rsAllocationResize1D((RsContext)con, (RsAllocation)alloc, dimX);
|