Home
last modified time | relevance | path

Searched refs:numAlloc (Results 1 – 13 of 13) sorted by relevance

/frameworks/rs/
DrsGrallocConsumer.cpp25 GrallocConsumer::GrallocConsumer (const Context *rsc, Allocation *a, uint32_t numAlloc) in GrallocConsumer() argument
28 mAlloc = new Allocation *[numAlloc]; in GrallocConsumer()
29 mAcquiredBuffer = new AcquiredBuffer[numAlloc]; in GrallocConsumer()
30 isIdxUsed = new bool[numAlloc]; in GrallocConsumer()
34 mNumAlloc = numAlloc; in GrallocConsumer()
63 for (uint32_t i = 1; i < numAlloc; i++) { in GrallocConsumer()
DrsGrallocConsumer.h40 GrallocConsumer(const Context *, Allocation *, uint32_t numAlloc);
DrsAllocation.cpp579 void Allocation::setupGrallocConsumer(const Context *rsc, uint32_t numAlloc) { in setupGrallocConsumer() argument
582 if (numAlloc > MAX_NUM_ALLOC || numAlloc <= 0) { in setupGrallocConsumer()
586 mGrallocConsumer = new GrallocConsumer(rsc, this, numAlloc); in setupGrallocConsumer()
855 void rsi_AllocationSetupBufferQueue(Context *rsc, RsAllocation valloc, uint32_t numAlloc) { in rsi_AllocationSetupBufferQueue() argument
857 alloc->setupGrallocConsumer(rsc, numAlloc); in rsi_AllocationSetupBufferQueue()
DrsHidlAdaptation.h102 … static void AllocationSetupBufferQueue(RsContext context, RsAllocation valloc, uint32_t numAlloc);
DrsAllocation.h181 void setupGrallocConsumer(const Context *rsc, uint32_t numAlloc);
Drs.spec85 param uint32_t numAlloc
DrsApiStubs.cpp365 …"C" void rsAllocationSetupBufferQueue (RsContext ctxWrapper, RsAllocation alloc, uint32_t numAlloc) in rsAllocationSetupBufferQueue() argument
367 RS_DISPATCH(ctxWrapper, AllocationSetupBufferQueue, alloc, numAlloc); in rsAllocationSetupBufferQueue()
DrsApiStubs.h97 extern "C" void rsAllocationSetupBufferQueue(RsContext rsc, RsAllocation alloc, uint32_t numAlloc)
DrsHidlAdaptation.cpp1063 …ptation::AllocationSetupBufferQueue (RsContext context, RsAllocation allocation, uint32_t numAlloc) in AllocationSetupBufferQueue() argument
1067 GetIContextHandle(context)->allocationSetupBufferQueue(_allocation, numAlloc); in AllocationSetupBufferQueue()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java2890 public static Allocation[] createAllocations(RenderScript rs, Type t, int usage, int numAlloc) { in createAllocations() argument
2898 Allocation[] mAllocationArray = new Allocation[numAlloc]; in createAllocations()
2901 if (numAlloc > MAX_NUMBER_IO_INPUT_ALLOC) { in createAllocations()
2906 mAllocationArray[0].setupBufferQueue(numAlloc);; in createAllocations()
2909 for (int i=1; i<numAlloc; i++) { in createAllocations()
2957 void setupBufferQueue(int numAlloc) { in setupBufferQueue() argument
2962 mRS.nAllocationSetupBufferQueue(getID(mRS), numAlloc); in setupBufferQueue() local
DRenderScript.java498 native void rsnAllocationSetupBufferQueue(long con, long alloc, int numAlloc); in rsnAllocationSetupBufferQueue() argument
499 synchronized void nAllocationSetupBufferQueue(long alloc, int numAlloc) { in nAllocationSetupBufferQueue() argument
501 rsnAllocationSetupBufferQueue(mContext, alloc, numAlloc); in nAllocationSetupBufferQueue()
/frameworks/rs/cpp/
DrsDispatch.h74 …oid (*AllocationSetupBufferQueueFnPtr) (RsContext context, RsAllocation valloc, uint32_t numAlloc);
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1240 nAllocationSetupBufferQueue(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint numAlloc) in nAllocationSetupBufferQueue() argument
1244 (RsAllocation)alloc, numAlloc); in nAllocationSetupBufferQueue()
1246 rsAllocationSetupBufferQueue((RsContext)con, (RsAllocation)alloc, (uint32_t)numAlloc); in nAllocationSetupBufferQueue()