Lines Matching refs:sp

180         sp<const Element> U8;
181 sp<const Element> U8_2;
182 sp<const Element> U8_3;
183 sp<const Element> U8_4;
184 sp<const Element> I8;
185 sp<const Element> I8_2;
186 sp<const Element> I8_3;
187 sp<const Element> I8_4;
188 sp<const Element> U16;
189 sp<const Element> U16_2;
190 sp<const Element> U16_3;
191 sp<const Element> U16_4;
192 sp<const Element> I16;
193 sp<const Element> I16_2;
194 sp<const Element> I16_3;
195 sp<const Element> I16_4;
196 sp<const Element> U32;
197 sp<const Element> U32_2;
198 sp<const Element> U32_3;
199 sp<const Element> U32_4;
200 sp<const Element> I32;
201 sp<const Element> I32_2;
202 sp<const Element> I32_3;
203 sp<const Element> I32_4;
204 sp<const Element> U64;
205 sp<const Element> U64_2;
206 sp<const Element> U64_3;
207 sp<const Element> U64_4;
208 sp<const Element> I64;
209 sp<const Element> I64_2;
210 sp<const Element> I64_3;
211 sp<const Element> I64_4;
212 sp<const Element> F32;
213 sp<const Element> F32_2;
214 sp<const Element> F32_3;
215 sp<const Element> F32_4;
216 sp<const Element> F64;
217 sp<const Element> F64_2;
218 sp<const Element> F64_3;
219 sp<const Element> F64_4;
220 sp<const Element> BOOLEAN;
222 sp<const Element> ELEMENT;
223 sp<const Element> TYPE;
224 sp<const Element> ALLOCATION;
225 sp<const Element> SAMPLER;
226 sp<const Element> SCRIPT;
227 sp<const Element> MESH;
228 sp<const Element> PROGRAM_FRAGMENT;
229 sp<const Element> PROGRAM_VERTEX;
230 sp<const Element> PROGRAM_RASTER;
231 sp<const Element> PROGRAM_STORE;
233 sp<const Element> A_8;
234 sp<const Element> RGB_565;
235 sp<const Element> RGB_888;
236 sp<const Element> RGBA_5551;
237 sp<const Element> RGBA_4444;
238 sp<const Element> RGBA_8888;
240 sp<const Element> YUV;
242 sp<const Element> MATRIX_4X4;
243 sp<const Element> MATRIX_3X3;
244 sp<const Element> MATRIX_2X2;
248 sp<const Sampler> CLAMP_NEAREST;
249 sp<const Sampler> CLAMP_LINEAR;
250 sp<const Sampler> CLAMP_LINEAR_MIP_LINEAR;
251 sp<const Sampler> WRAP_NEAREST;
252 sp<const Sampler> WRAP_LINEAR;
253 sp<const Sampler> WRAP_LINEAR_MIP_LINEAR;
254 sp<const Sampler> MIRRORED_REPEAT_NEAREST;
255 sp<const Sampler> MIRRORED_REPEAT_LINEAR;
256 sp<const Sampler> MIRRORED_REPEAT_LINEAR_MIP_LINEAR;
271 virtual bool equals(sp<const BaseObj> obj);
278 BaseObj(void *id, sp<RS> rs);
281 static void * getObjID(sp<const BaseObj> o);
302 sp<const Type> mType;
304 sp<Allocation> mAdaptedAllocation;
324 void updateCacheInfo(sp<const Type> t);
326 Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage);
348 sp<const Type> getType() const {
387 sp<Surface> getSurface();
394 void setSurface(sp<Surface> s);
421 void copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff);
478 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff);
548 sp<const Allocation> data,
573 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
586 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
596 static sp<Allocation> createTyped(sp<RS> rs, sp<const Type> type,
606 static sp<Allocation> createSized(sp<RS> rs, sp<const Element> e, size_t count,
618 static sp<Allocation> createSized2D(sp<RS> rs, sp<const Element> e,
672 sp<const Element> getSubElement(uint32_t index);
734 static sp<const Element> BOOLEAN(sp<RS> rs);
740 static sp<const Element> U8(sp<RS> rs);
746 static sp<const Element> I8(sp<RS> rs);
752 static sp<const Element> U16(sp<RS> rs);
758 static sp<const Element> I16(sp<RS> rs);
764 static sp<const Element> U32(sp<RS> rs);
770 static sp<const Element> I32(sp<RS> rs);
776 static sp<const Element> U64(sp<RS> rs);
782 static sp<const Element> I64(sp<RS> rs);
788 static sp<const Element> F32(sp<RS> rs);
794 static sp<const Element> F64(sp<RS> rs);
800 static sp<const Element> ELEMENT(sp<RS> rs);
806 static sp<const Element> TYPE(sp<RS> rs);
812 static sp<const Element> ALLOCATION(sp<RS> rs);
818 static sp<const Element> SAMPLER(sp<RS> rs);
824 static sp<const Element> SCRIPT(sp<RS> rs);
830 static sp<const Element> A_8(sp<RS> rs);
836 static sp<const Element> RGB_565(sp<RS> rs);
842 static sp<const Element> RGB_888(sp<RS> rs);
848 static sp<const Element> RGBA_5551(sp<RS> rs);
854 static sp<const Element> RGBA_4444(sp<RS> rs);
860 static sp<const Element> RGBA_8888(sp<RS> rs);
867 static sp<const Element> F32_2(sp<RS> rs);
873 static sp<const Element> F32_3(sp<RS> rs);
879 static sp<const Element> F32_4(sp<RS> rs);
885 static sp<const Element> F64_2(sp<RS> rs);
891 static sp<const Element> F64_3(sp<RS> rs);
897 static sp<const Element> F64_4(sp<RS> rs);
903 static sp<const Element> U8_2(sp<RS> rs);
909 static sp<const Element> U8_3(sp<RS> rs);
915 static sp<const Element> U8_4(sp<RS> rs);
921 static sp<const Element> I8_2(sp<RS> rs);
927 static sp<const Element> I8_3(sp<RS> rs);
933 static sp<const Element> I8_4(sp<RS> rs);
939 static sp<const Element> U16_2(sp<RS> rs);
945 static sp<const Element> U16_3(sp<RS> rs);
951 static sp<const Element> U16_4(sp<RS> rs);
957 static sp<const Element> I16_2(sp<RS> rs);
963 static sp<const Element> I16_3(sp<RS> rs);
969 static sp<const Element> I16_4(sp<RS> rs);
975 static sp<const Element> U32_2(sp<RS> rs);
981 static sp<const Element> U32_3(sp<RS> rs);
987 static sp<const Element> U32_4(sp<RS> rs);
993 static sp<const Element> I32_2(sp<RS> rs);
999 static sp<const Element> I32_3(sp<RS> rs);
1005 static sp<const Element> I32_4(sp<RS> rs);
1011 static sp<const Element> U64_2(sp<RS> rs);
1017 static sp<const Element> U64_3(sp<RS> rs);
1023 static sp<const Element> U64_4(sp<RS> rs);
1029 static sp<const Element> I64_2(sp<RS> rs);
1035 static sp<const Element> I64_3(sp<RS> rs);
1041 static sp<const Element> I64_4(sp<RS> rs);
1047 static sp<const Element> YUV(sp<RS> rs);
1053 static sp<const Element> MATRIX_4X4(sp<RS> rs);
1059 static sp<const Element> MATRIX_3X3(sp<RS> rs);
1065 static sp<const Element> MATRIX_2X2(sp<RS> rs);
1075 static sp<const Element> createUser(sp<RS> rs, RsDataType dt);
1083 static sp<const Element> createVector(sp<RS> rs, RsDataType dt, uint32_t size);
1091 static sp<const Element> createPixel(sp<RS> rs, RsDataType dt, RsDataKind dk);
1098 bool isCompatible(sp<const Element>e) const;
1110 sp<const Element> * mElements;
1117 Builder(sp<RS> rs);
1119 void add(sp<const Element> e, const char * name, uint32_t arraySize = 1);
1120 sp<const Element> create();
1124 Element(void *id, sp<RS> rs,
1125 sp<const Element> * elements,
1130 Element(void *id, sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size);
1131 Element(sp<RS> rs);
1140 sp<const Element> * mElements;
1239 void add(sp<BaseObj> obj) {
1276 sp<const Element> mElement;
1278 Type(void *id, sp<RS> rs);
1297 sp<const Element> getElement() const {
1366 static sp<const Type> create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ);
1377 sp<const Element> mElement;
1380 Builder(sp<RS> rs, sp<const Element> e);
1388 sp<const Type> create();
1400 Script(void *id, sp<RS> rs);
1401 void forEach(uint32_t slot, sp<const Allocation> in, sp<const Allocation> out,
1403 void bindAllocation(sp<Allocation> va, uint32_t slot) const;
1405 void setVar(uint32_t index, sp<const BaseObj> o) const;
1434 sp<const Element> mElement;
1435 sp<Allocation> mAllocation;
1437 void init(sp<RS> rs, uint32_t dimx, uint32_t usages = 0);
1440 sp<const Element> getElement() {
1444 sp<const Type> getType() {
1448 sp<const Allocation> getAllocation() {
1461 ScriptC(sp<RS> rs,
1474 sp<const Element> mElement;
1475 ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e);
1487 ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e);
1495 static sp<ScriptIntrinsic3DLUT> create(sp<RS> rs, sp<const Element> e);
1502 void forEach(sp<Allocation> ain, sp<Allocation> aout);
1509 void setLUT(sp<Allocation> lut);
1517 ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e);
1525 static sp<ScriptIntrinsicBlend> create(sp<RS> rs, sp<const Element> e);
1531 void forEachClear(sp<Allocation> in, sp<Allocation> out);
1537 void forEachSrc(sp<Allocation> in, sp<Allocation> out);
1543 void forEachDst(sp<Allocation> in, sp<Allocation> out);
1549 void forEachSrcOver(sp<Allocation> in, sp<Allocation> out);
1555 void forEachDstOver(sp<Allocation> in, sp<Allocation> out);
1561 void forEachSrcIn(sp<Allocation> in, sp<Allocation> out);
1567 void forEachDstIn(sp<Allocation> in, sp<Allocation> out);
1573 void forEachSrcOut(sp<Allocation> in, sp<Allocation> out);
1579 void forEachDstOut(sp<Allocation> in, sp<Allocation> out);
1585 void forEachSrcAtop(sp<Allocation> in, sp<Allocation> out);
1591 void forEachDstAtop(sp<Allocation> in, sp<Allocation> out);
1597 void forEachXor(sp<Allocation> in, sp<Allocation> out);
1603 void forEachMultiply(sp<Allocation> in, sp<Allocation> out);
1609 void forEachAdd(sp<Allocation> in, sp<Allocation> out);
1615 void forEachSubtract(sp<Allocation> in, sp<Allocation> out);
1624 ScriptIntrinsicBlur(sp<RS> rs, sp<const Element> e);
1632 static sp<ScriptIntrinsicBlur> create(sp<RS> rs, sp<const Element> e);
1637 void setInput(sp<Allocation> in);
1642 void forEach(sp<Allocation> out);
1659 ScriptIntrinsicColorMatrix(sp<RS> rs, sp<const Element> e);
1666 static sp<ScriptIntrinsicColorMatrix> create(sp<RS> rs);
1673 void forEach(sp<Allocation> in, sp<Allocation> out);
1717 ScriptIntrinsicConvolve3x3(sp<RS> rs, sp<const Element> e);
1726 static sp<ScriptIntrinsicConvolve3x3> create(sp<RS> rs, sp<const Element> e);
1731 void setInput(sp<Allocation> in);
1736 void forEach(sp<Allocation> out);
1749 ScriptIntrinsicConvolve5x5(sp<RS> rs, sp<const Element> e);
1758 static sp<ScriptIntrinsicConvolve5x5> create(sp<RS> rs, sp<const Element> e);
1763 void setInput(sp<Allocation> in);
1768 void forEach(sp<Allocation> out);
1781 ScriptIntrinsicHistogram(sp<RS> rs, sp<const Element> e);
1782 sp<Allocation> mOut;
1795 static sp<ScriptIntrinsicHistogram> create(sp<RS> rs, sp<const Element> e);
1802 void setOutput(sp<Allocation> aout);
1827 void forEach(sp<Allocation> ain);
1838 void forEach_dot(sp<Allocation> ain);
1848 sp<Allocation> LUT;
1852 ScriptIntrinsicLUT(sp<RS> rs, sp<const Element> e);
1865 static sp<ScriptIntrinsicLUT> create(sp<RS> rs, sp<const Element> e);
1873 void forEach(sp<Allocation> ain, sp<Allocation> aout);
1910 sp<Allocation> mInput;
1911 ScriptIntrinsicResize(sp<RS> rs, sp<const Element> e);
1919 static sp<ScriptIntrinsicResize> create(sp<RS> rs);
1928 void forEach_bicubic(sp<Allocation> aout);
1934 void setInput(sp<Allocation> ain);
1946 ScriptIntrinsicYuvToRGB(sp<RS> rs, sp<const Element> e);
1958 static sp<ScriptIntrinsicYuvToRGB> create(sp<RS> rs, sp<const Element> e);
1964 void setInput(sp<Allocation> in);
1972 void forEach(sp<Allocation> out);
1988 Sampler(sp<RS> rs, void* id);
1989 Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag,
2007 static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
2038 static sp<const Sampler> CLAMP_NEAREST(sp<RS> rs);
2047 static sp<const Sampler> CLAMP_LINEAR(sp<RS> rs);
2056 static sp<const Sampler> CLAMP_LINEAR_MIP_LINEAR(sp<RS> rs);
2065 static sp<const Sampler> WRAP_NEAREST(sp<RS> rs);
2074 static sp<const Sampler> WRAP_LINEAR(sp<RS> rs);
2083 static sp<const Sampler> WRAP_LINEAR_MIP_LINEAR(sp<RS> rs);
2092 static sp<const Sampler> MIRRORED_REPEAT_NEAREST(sp<RS> rs);
2101 static sp<const Sampler> MIRRORED_REPEAT_LINEAR(sp<RS> rs);
2110 static sp<const Sampler> MIRRORED_REPEAT_LINEAR_MIP_LINEAR(sp<RS> rs);