/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_single_source_alloc.java | 58 for (int vecSize = 1; vecSize <= 4; vecSize ++) { in run() 61 s.invoke_CreateAndTestAlloc(dataType, vecSize); in run()
|
D | single_source_alloc.rs | 80 switch (vecSize) { \ 109 if (vecSize == 1) rsForEach(verify_##CT, gAlloc, gAlloc); \ 110 else if (vecSize == 2) rsForEach(verify_##CT##2, gAlloc, gAlloc); \ 111 else if (vecSize == 3) rsForEach(verify_##CT##3, gAlloc, gAlloc); \ 112 else if (vecSize == 4) rsForEach(verify_##CT##4, gAlloc, gAlloc); \ 115 void CreateAndTestAlloc(int dataType, int vecSize) { 132 if (vecSize == 1) 135 element = rsCreateVectorElement((rs_data_type) dt, vecSize);
|
/frameworks/rs/ |
D | rsComponent.cpp | 29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { in set() argument 33 mVectorSize = vecSize; in set() 34 rsAssert(vecSize <= 4); in set()
|
D | rsElement.h | 107 uint32_t vecSize); 118 uint32_t vecSize) { in create() argument 119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
|
D | rsElement.cpp | 231 bool isNorm, uint32_t vecSize) { in createRef() argument 241 (ee->getComponent().getVectorSize() == vecSize)) { in createRef() 259 e->mComponent.set(dt, dk, isNorm, vecSize); in createRef() 419 uint32_t vecSize) { in rsi_ElementCreate() argument 420 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
|
D | rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
D | rsScriptC_Lib.cpp | 280 bool norm, uint32_t vecSize) { in rsrElementCreate() argument 281 return rsi_ElementCreate(rsc, dt, dk, norm, vecSize); in rsrElementCreate()
|
D | rsRuntime.h | 167 bool norm, uint32_t vecSize);
|
/frameworks/rs/driver/ |
D | rsdRuntimeStubs.cpp | 224 uint32_t vecSize) { in CreateElement() argument 231 vecSize); in CreateElement() 364 uint32_t vecSize) { in rsCreateElement() argument 369 vecSize); in rsCreateElement() 395 uint32_t vecSize) { in rsCreateElement() argument 398 vecSize); in rsCreateElement() 452 static void * ElementAt(Allocation *a, RsDataType dt, uint32_t vecSize, in IS_CLEAR_SET_OBJ() 477 if (vecSize > 0) { in IS_CLEAR_SET_OBJ() 478 if (vecSize != e->getVectorSize()) { in IS_CLEAR_SET_OBJ() 479 …snprintf(buf, sizeof(buf), "Vector size mismatch for ElementAt %i of %i", vecSize, e->getVectorSiz… in IS_CLEAR_SET_OBJ()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection.cpp | 1066 if (InTypeData.vecSize > 1) { in getReduceInputStrings() 1067 TypeString = InTypeData.type->s_name + std::to_string(InTypeData.vecSize) + " "; in getReduceInputStrings() 1128 (ResultTypeData.vecSize > 1 && !ResultTypeData.type->rs_java_vector_prefix)) { in genExportReduceArrayVariant() 1172 (InTypeData.vecSize > 1 && !InTypeData.type->rs_java_vector_prefix)) { in genExportReduceArrayVariant() 1178 if (InTypeData.vecSize > 1) in genExportReduceArrayVariant() 1179 InputComment += (", flattened " + std::to_string(InTypeData.vecSize) + "-vectors"); in genExportReduceArrayVariant() 1203 const uint32_t VecSize = InsTypeData[InIdx].vecSize; in genExportReduceArrayVariant() 1439 if (TypeData.vecSize == 1) { // result type is non-vector in genExportReduceResultType() 1484 const unsigned VectorElementCount = TypeData.vecSize; in genExportReduceResultType()
|
D | slang_rs_export_type.h | 178 uint32_t vecSize; // number of elements; one if not a vector member
|
D | slang_rs_export_type.cpp | 1596 rtd->vecSize = 1; in convertToRTD() 1614 rtd->vecSize = EVT->getNumElement(); in convertToRTD()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Element.java | 775 int vecSize = 1; in createUser() local 776 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser() 777 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
|
D | RenderScript.java | 341 native long rsnElementCreate(long con, long type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument 342 synchronized long nElementCreate(long type, int kind, boolean norm, int vecSize) { in nElementCreate() argument 344 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate() 1017 native long rsnIncElementCreate(long con, long type, int kind, boolean norm, int vecSize); in rsnIncElementCreate() argument 1018 synchronized long nIncElementCreate(long type, int kind, boolean norm, int vecSize) { in nIncElementCreate() argument 1020 return rsnIncElementCreate(mIncCon, type, kind, norm, vecSize); in nIncElementCreate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 1154 int vecSize = 1; in createUser() local 1155 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser() 1156 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
|
D | RenderScript.java | 408 native long rsnElementCreate(long con, long type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument 409 synchronized long nElementCreate(long type, int kind, boolean norm, int vecSize) { in nElementCreate() argument 411 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
|
/frameworks/rs/api/ |
D | rs_allocation_create.spec | 71 arg: uint32_t vecSize
|
/frameworks/rs/driver/runtime/ |
D | rs_allocation.c | 500 int32_t dt, int32_t dk, bool isNormalized, uint32_t vecSize);
|