/frameworks/compile/libbcc/lib/ScriptCRT/ |
rs_sample.c | 94 #define SAMPLE_1D_FUNC(vecsize, intype, outtype, convert) \ 96 getSample##vecsize(rs_allocation a, float2 weights, \ 104 #define SAMPLE_2D_FUNC(vecsize, intype, outtype, convert) \ 106 getSample##vecsize(rs_allocation a, float4 weights, \ 143 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); [all...] |
/frameworks/rs/ |
rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
rsComponent.cpp | 29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { 33 mVectorSize = vecSize; 34 rsAssert(vecSize <= 4);
|
rsElement.h | 116 uint32_t vecSize); 127 uint32_t vecSize) { 128 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize);
|
rsElement.cpp | 223 bool isNorm, uint32_t vecSize) { 233 (ee->getComponent().getVectorSize() == vecSize)) { 244 e->mComponent.set(dt, dk, isNorm, vecSize); 388 uint32_t vecSize) { 389 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize);
|
/external/skia/src/gpu/ |
GrDrawTarget.cpp | 125 size_t vecSize = (vertexLayout & kTextFormat_VertexLayoutBit) ? 129 size_t size = vecSize; // position 130 size += num_tex_coords(vertexLayout) * vecSize; 166 int vecSize = (vertexLayout & kTextFormat_VertexLayoutBit) ? 169 int offset = vecSize; // position 173 offset += vecSize; 186 int vecSize = (vertexLayout & kTextFormat_VertexLayoutBit) ? 189 return vecSize * (num_tex_coords(vertexLayout) + 1); //+1 for pos 198 int vecSize = (vertexLayout & kTextFormat_VertexLayoutBit) ? 202 int offset = vecSize * (num_tex_coords(vertexLayout) + 1) [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
ParseHelper.h | 59 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, int line);
|
ParseHelper.cpp | 51 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields, int line) 123 if (fields.offsets[i] >= vecSize) { [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
Element.java | 841 int vecSize = 1; 842 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 843 return new Element(id, rs, dt, dk, norm, vecSize); [all...] |
RenderScript.java | 221 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); 222 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { 224 return rsnElementCreate(mContext, type, kind, norm, vecSize); [all...] |
/external/clang/lib/Sema/ |
SemaType.cpp | [all...] |
/frameworks/compile/slang/ |
slang_rs_export_type.h | 78 uint32_t vecSize;
|
slang_rs_export_type.cpp | [all...] |