Home
last modified time | relevance | path

Searched refs:dk (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/driver/runtime/
Drs_sample.c270 rs_data_kind dk, rs_data_type dt, uint32_t lod) { in getBilinearSample1D() argument
274 switch(dk) { in getBilinearSample1D()
320 rs_data_kind dk, rs_data_type dt, uint32_t lod) { in getBilinearSample2D() argument
325 switch(dk) { in getBilinearSample2D()
348 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, in getNearestSample() argument
355 switch(dk) { in getNearestSample()
385 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, in getNearestSample() argument
393 switch(dk) { in getNearestSample()
422 rs_data_kind dk, rs_data_type dt, in sample_LOD_LinearPixel() argument
447 return getBilinearSample1D(alloc, weights, location, next, dk, dt, lod); in sample_LOD_LinearPixel()
[all …]
Drs_allocation.c499 int32_t dt, int32_t dk, bool isNormalized, uint32_t vecSize);
/frameworks/rs/cpp/
DElement.cpp274 RsDataType dt, RsDataKind dk, bool norm, uint32_t size) : in Element() argument
290 mKind = dk; in Element()
332 …const Element> Element::createPixel(const android::RSC::sp<RS>& rs, RsDataType dt, RsDataKind dk) { in createPixel() argument
333 if (!(dk == RS_KIND_PIXEL_L || in createPixel()
334 dk == RS_KIND_PIXEL_A || in createPixel()
335 dk == RS_KIND_PIXEL_LA || in createPixel()
336 dk == RS_KIND_PIXEL_RGB || in createPixel()
337 dk == RS_KIND_PIXEL_RGBA || in createPixel()
338 dk == RS_KIND_PIXEL_DEPTH || in createPixel()
339 dk == RS_KIND_PIXEL_YUV)) { in createPixel()
[all …]
DrsCppStructs.h1389 static sp<const Element> createPixel(const sp<RS>& rs, RsDataType dt, RsDataKind dk);
1429 Element(void *id, sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DElement.java734 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element() argument
748 mKind = dk; in Element()
773 DataKind dk = DataKind.USER; 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()
811 DataKind dk = DataKind.USER; in createVector() local
813 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createVector()
814 return new Element(id, rs, dt, dk, norm, size); in createVector()
836 public static Element createPixel(RenderScript rs, DataType dt, DataKind dk) { in createPixel() argument
837 if (!(dk == DataKind.PIXEL_L || in createPixel()
[all …]
/frameworks/base/rs/java/android/renderscript/
DElement.java1076 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element() argument
1090 mKind = dk; in Element()
1116 for (DataKind dk: DataKind.values()) { in updateFromNative()
1117 if(dk.mID == dataBuffer[1]){ in updateFromNative()
1118 mKind = dk; in updateFromNative()
1150 DataKind dk = DataKind.USER; in createUser() local
1153 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
1154 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
1189 DataKind dk = DataKind.USER; in createVector() local
1191 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createVector()
[all …]
/frameworks/rs/
DrsElement.h107 RsDataKind dk,
118 RsDataKind dk, in create() argument
121 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create()
DrsElement.cpp230 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, in createRef() argument
239 (ee->getComponent().getKind() == dk) && in createRef()
259 e->mComponent.set(dt, dk, isNorm, vecSize); in createRef()
414 RsDataKind dk, in rsi_ElementCreate() argument
417 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
DrsComponent.cpp29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { in set() argument
31 mKind = dk; in set()
DrsComponent.h34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
DrsScriptC_Lib.cpp334 RsElement rsrElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, in rsrElementCreate() argument
336 return rsi_ElementCreate(rsc, dt, dk, norm, vecSize); in rsrElementCreate()
DrsRuntime.h162 RsElement rsrElementCreate(Context *rsc, RsDataType dt, RsDataKind dk,
DrsHidlAdaptation.cpp511 RsDataKind dk, in ElementCreate() argument
516 (DataKind) dk, in ElementCreate()
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
Dsingle_source_alloc.rs219 #define TEST_SUPPORTED_PIXEL(dt, dk) { \
220 _RS_ASSERT(rsIsObject(rsCreatePixelElement(dt, dk))); \
223 #define TEST_UNSUPPORTED_PIXEL(dt, dk) { \
224 _RS_ASSERT(!rsIsObject(rsCreatePixelElement(dt, dk))); \
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
Dsingle_source_alloc.rs216 #define TEST_SUPPORTED_PIXEL(dt, dk) { \
217 _RS_ASSERT(rsIsObject(rsCreatePixelElement(dt, dk))); \
220 #define TEST_UNSUPPORTED_PIXEL(dt, dk) { \
221 _RS_ASSERT(!rsIsObject(rsCreatePixelElement(dt, dk))); \
Dapitest.rs19 volatile rs_data_kind dk;
1184 dk = rsElementGetDataKind(elemNonNull);
/frameworks/compile/slang/tests/P_export_types_v20/
Dexport_types.rs32 rs_data_kind dk;
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rs27 rs_data_kind dk;
/frameworks/rs/rsov/driver/
DrsovRuntimeStubs.cpp221 RsDataKind dk, in CreateElement() argument
230 (Element *)rsrElementCreate(rsc, dt, dk, isNormalized, vecSize); in CreateElement()
355 Element *rsCreateElement(int32_t dt, int32_t dk, bool isNormalized, in rsCreateElement() argument
358 CreateElement((RsDataType)dt, (RsDataKind)dk, isNormalized, vecSize); in rsCreateElement()
381 android::renderscript::rs_element rsCreateElement(int32_t dt, int32_t dk, in rsCreateElement() argument
384 return CreateElement((RsDataType)dt, (RsDataKind)dk, isNormalized, vecSize); in rsCreateElement()
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp238 RsDataKind dk, in CreateElement() argument
246 Element *element = (Element *) rsrElementCreate(rsc, dt, dk, isNormalized, in CreateElement()
379 Element *rsCreateElement(int32_t dt, int32_t dk, bool isNormalized, in rsCreateElement() argument
383 (RsDataKind) dk, in rsCreateElement()
409 android::renderscript::rs_element rsCreateElement(int32_t dt, int32_t dk, in rsCreateElement() argument
413 return CreateElement((RsDataType) dt, (RsDataKind) dk, isNormalized, in rsCreateElement()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs19 volatile rs_data_kind dk;
1185 dk = rsElementGetDataKind(elemNonNull);