/frameworks/rs/cpp/ |
H A D | Element.cpp | 244 RsDataType dt, RsDataKind dk, bool norm, uint32_t size) : 260 mKind = dk; 287 android::RSC::sp<const Element> Element::createPixel(android::RSC::sp<RS> rs, RsDataType dt, RsDataKind dk) { argument 288 if (!(dk == RS_KIND_PIXEL_L || 289 dk == RS_KIND_PIXEL_A || 290 dk == RS_KIND_PIXEL_LA || 291 dk == RS_KIND_PIXEL_RGB || 292 dk == RS_KIND_PIXEL_RGBA || 293 dk == RS_KIND_PIXEL_DEPTH)) { 305 if (dt == RS_TYPE_UNSIGNED_5_6_5 && dk ! 243 Element(void *id, android::RSC::sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size) argument [all...] |
H A D | rsCppStructs.h | 1015 * @param[in] dk DataKind 1018 static sp<const Element> createPixel(sp<RS> rs, RsDataType dt, RsDataKind dk); 1052 Element(void *id, sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sample.c | 271 rs_data_kind dk, rs_data_type dt, uint32_t lod) { 275 switch(dk) { 321 rs_data_kind dk, rs_data_type dt, uint32_t lod) { 326 switch(dk) { 349 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, argument 356 switch(dk) { 386 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, argument 394 switch(dk) { 423 rs_data_kind dk, rs_data_type dt, 450 return getBilinearSample1D(alloc, weights, location, next, dk, d 269 getBilinearSample1D(const Allocation_t *alloc, float2 weights, uint32_t iPixel, uint32_t next, rs_data_kind dk, rs_data_type dt, uint32_t lod) argument 319 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, int lx, int ly, int nx, int ny, rs_data_kind dk, rs_data_type dt, uint32_t lod) argument 422 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument 454 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument 467 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument 515 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument 541 rs_data_kind dk = elem->mHal.state.dataKind; local 593 rs_data_kind dk = elem->mHal.state.dataKind; local 640 rs_data_kind dk = elem->mHal.state.dataKind; local [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Element.java | 779 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument 793 mKind = dk; 819 for (DataKind dk: DataKind.values()) { 820 if(dk.mID == dataBuffer[1]){ 821 mKind = dk; 853 DataKind dk = DataKind.USER; 856 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 857 return new Element(id, rs, dt, dk, norm, vecSize); 891 DataKind dk = DataKind.USER; 893 int id = rs.nElementCreate(dt.mID, dk 916 createPixel(RenderScript rs, DataType dt, DataKind dk) argument [all...] |
/frameworks/rs/ |
H A D | rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
H A D | rsElement.h | 103 RsDataKind dk, 114 RsDataKind dk, 117 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); 112 create(Context *rsc, RsDataType dt, RsDataKind dk, bool isNorm, uint32_t vecSize) argument
|
H A D | rsComponent.cpp | 29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { argument 31 mKind = dk;
|
H A D | rsElement.cpp | 221 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, argument 230 (ee->getComponent().getKind() == dk) && 243 e->mComponent.set(dt, dk, isNorm, vecSize); 380 RsDataKind dk, 383 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); 378 rsi_ElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) argument
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Element.java | 726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument 740 mKind = dk; 762 DataKind dk = DataKind.USER; 765 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 766 return new Element(id, rs, dt, dk, norm, vecSize); 804 DataKind dk = DataKind.USER; 806 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 807 return new Element(id, rs, dt, dk, norm, size); 824 * @param dk The DataKind to specify the mapping of each component in the 829 public static Element createPixel(RenderScript rs, DataType dt, DataKind dk) { argument [all...] |
H A D | ElementThunker.java | 261 public static Element createPixel(RenderScript rs, DataType dt, DataKind dk) { argument 265 e = android.renderscript.Element.createPixel(rst.mN, convertType(dt), convertKind(dk));
|