Searched refs:numAlloc (Results 1 - 8 of 8) sorted by relevance
/frameworks/rs/ |
H A D | rsGrallocConsumer.h | 47 GrallocConsumer(Allocation *, const sp<IGraphicBufferConsumer>& bq, int flags, uint32_t numAlloc);
|
H A D | rsGrallocConsumer.cpp | 33 GrallocConsumer::GrallocConsumer(Allocation *a, const sp<IGraphicBufferConsumer>& bq, int flags, uint32_t numAlloc) : argument 36 mAlloc = new Allocation *[numAlloc]; 37 mAcquiredBuffer = new AcquiredBuffer[numAlloc]; 38 isIdxUsed = new bool[numAlloc]; 42 mNumAlloc = numAlloc; 49 mConsumer->setMaxAcquiredBufferCount(numAlloc + 1); 58 for (uint32_t i = 1; i < numAlloc; i++) {
|
H A D | rsAllocation.cpp | 580 Allocation::NewBufferListener::NewBufferListener(uint32_t numAlloc) { argument 581 alloc = new const Allocation *[numAlloc]; 582 mNumAlloc = numAlloc; 583 for (uint32_t i = 0; i < numAlloc; i++) { 602 void Allocation::setupGrallocConsumer(const Context *rsc, uint32_t numAlloc) { argument 605 if (numAlloc > MAX_NUM_ALLOC || numAlloc <= 0) { 611 mGrallocConsumer = new GrallocConsumer(this, bc, mHal.drvState.grallocFlags, numAlloc); 613 mBufferListener = new NewBufferListener(numAlloc); 895 void rsi_AllocationSetupBufferQueue(Context *rsc, RsAllocation valloc, uint32_t numAlloc) { argument [all...] |
H A D | rsAllocation.h | 185 void setupGrallocConsumer(const Context *rsc, uint32_t numAlloc); 226 NewBufferListener(uint32_t numAlloc);
|
H A D | rs.spec | 85 param uint32_t numAlloc
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 2883 * @param numAlloc Number of Allocations in the array. 2886 public static Allocation[] createAllocations(RenderScript rs, Type t, int usage, int numAlloc) { argument 2894 Allocation[] mAllocationArray = new Allocation[numAlloc]; 2897 if (numAlloc > MAX_NUMBER_IO_INPUT_ALLOC) { 2901 mAllocationArray[0].setupBufferQueue(numAlloc);; 2904 for (int i=1; i<numAlloc; i++) { 2952 void setupBufferQueue(int numAlloc) { argument 2957 mRS.nAllocationSetupBufferQueue(getID(mRS), numAlloc);
|
H A D | RenderScript.java | 492 native void rsnAllocationSetupBufferQueue(long con, long alloc, int numAlloc); argument 493 synchronized void nAllocationSetupBufferQueue(long alloc, int numAlloc) { argument 495 rsnAllocationSetupBufferQueue(mContext, alloc, numAlloc);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1228 nAllocationSetupBufferQueue(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint numAlloc) argument 1231 ALOGD("nAllocationSetupBufferQueue, con(%p), alloc(%p), numAlloc(%d)", (RsContext)con, 1232 (RsAllocation)alloc, numAlloc); 1234 rsAllocationSetupBufferQueue((RsContext)con, (RsAllocation)alloc, (uint32_t)numAlloc);
|
Completed in 3933 milliseconds