Home
last modified time | relevance | path

Searched refs:vecSize (Results 1 – 12 of 12) sorted by relevance

/frameworks/rs/
DrsComponent.cpp29 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()
DrsElement.h107 uint32_t vecSize);
118 uint32_t vecSize) { in create() argument
119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
DrsElement.cpp229 bool isNorm, uint32_t vecSize) { in createRef() argument
239 (ee->getComponent().getVectorSize() == vecSize)) { in createRef()
257 e->mComponent.set(dt, dk, isNorm, vecSize); in createRef()
417 uint32_t vecSize) { in rsi_ElementCreate() argument
418 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
DrsComponent.h34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Dparams.rsh47 static inline void writeFloatData(float *ptr, const float4 *input, uint32_t vecSize) {
50 rsDebug("Writing vec size ", vecSize);
53 switch (vecSize) {
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java341 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()
989 native long rsnIncElementCreate(long con, long type, int kind, boolean norm, int vecSize); in rsnIncElementCreate() argument
990 synchronized long nIncElementCreate(long type, int kind, boolean norm, int vecSize) { in nIncElementCreate() argument
992 return rsnIncElementCreate(mIncCon, type, kind, norm, vecSize); in nIncElementCreate()
DElement.java775 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()
/frameworks/base/rs/java/android/renderscript/
DElement.java889 int vecSize = 1; in createUser() local
890 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
891 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
DRenderScript.java397 native long rsnElementCreate(long con, long type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument
398 synchronized long nElementCreate(long type, int kind, boolean norm, int vecSize) { in nElementCreate() argument
400 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp240 static void * ElementAt(Allocation *a, RsDataType dt, uint32_t vecSize, in IS_CLEAR_SET_OBJ()
265 if (vecSize > 0) { in IS_CLEAR_SET_OBJ()
266 if (vecSize != e->getVectorSize()) { in IS_CLEAR_SET_OBJ()
267 … sprintf(buf, "Vector size mismatch for ElementAt %i of %i", vecSize, e->getVectorSize()); in IS_CLEAR_SET_OBJ()
/frameworks/compile/slang/
Dslang_rs_export_type.h153 uint32_t vecSize; member
Dslang_rs_export_type.cpp1558 rtd->vecSize = 1; in convertToRTD()
1576 rtd->vecSize = EVT->getNumElement(); in convertToRTD()