Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_sample.c143 uint32_t vecSize = rsElementGetVectorSize(elem); \
152 return sample_LOD_NearestPixel(a, type, vecSize, dt, s, uv, 0); \
154 return sample_LOD_LinearPixel(a, type, vecSize, dt, s, uv, 0); \
161 return sample_LOD_LinearPixel(a, type, vecSize, dt, s, uv, nearestLOD); \
170 float4 sample0 = sample_LOD_LinearPixel(a, type, vecSize, dt, s, uv, lod0); \
171 float4 sample1 = sample_LOD_LinearPixel(a, type, vecSize, dt, s, uv, lod1); \
176 return sample_LOD_NearestPixel(a, type, vecSize, dt, s, uv, 0); \
188 switch(vecSize) { \
215 switch(vecSize) { \
236 uint32_t vecSize, rs_data_type dt, uint32_t lod) { in getBilinearSample() argument
[all …]
/frameworks/support/renderscript/v8/rs_support/
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.h116 uint32_t vecSize);
127 uint32_t vecSize) { in create() argument
128 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
DrsElement.cpp223 bool isNorm, uint32_t vecSize) { in createRef() argument
233 (ee->getComponent().getVectorSize() == vecSize)) { in createRef()
244 e->mComponent.set(dt, dk, isNorm, vecSize); in createRef()
388 uint32_t vecSize) { in rsi_ElementCreate() argument
389 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/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.h116 uint32_t vecSize);
127 uint32_t vecSize) { in create() argument
128 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
DrsElement.cpp223 bool isNorm, uint32_t vecSize) { in createRef() argument
233 (ee->getComponent().getVectorSize() == vecSize)) { in createRef()
244 e->mComponent.set(dt, dk, isNorm, vecSize); in createRef()
388 uint32_t vecSize) { in rsi_ElementCreate() argument
389 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.rsh48 static void writeFloatData(float *ptr, const float4 *input, uint32_t vecSize) {
51 rsDebug("Writing vec size ", vecSize);
54 switch (vecSize) {
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DElement.java761 int vecSize = 1; in createUser() local
762 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
763 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
DRenderScript.java152 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument
153 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { in nElementCreate() argument
155 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
/frameworks/base/graphics/java/android/renderscript/
DElement.java841 int vecSize = 1; in createUser() local
842 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
843 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
DRenderScript.java221 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument
222 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { in nElementCreate() argument
224 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
/frameworks/compile/slang/
Dslang_rs_export_type.h78 uint32_t vecSize; member
Dslang_rs_export_type.cpp1569 rtd->vecSize = 1; in convertToRTD()
1587 rtd->vecSize = EVT->getNumElement(); in convertToRTD()