Home
last modified time | relevance | path

Searched refs:dk (Results 1 – 23 of 23) 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.c414 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/androidx/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.java1078 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element() argument
1092 mKind = dk; in Element()
1118 for (DataKind dk: DataKind.values()) { in updateFromNative()
1119 if(dk.mID == dataBuffer[1]){ in updateFromNative()
1120 mKind = dk; in updateFromNative()
1153 DataKind dk = DataKind.USER; in createUser() local
1156 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
1157 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
1192 DataKind dk = DataKind.USER; in createVector() local
1194 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/compile/slang/tests/P_export_types_v20/
Dexport_types.rscript32 rs_data_kind dk;
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rscript27 rs_data_kind dk;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dsingle_source_alloc.rscript247 #define TEST_SUPPORTED_PIXEL(dt, dk) { \
248 _RS_ASSERT(rsIsObject(rsCreatePixelElement(dt, dk))); \
251 #define TEST_UNSUPPORTED_PIXEL(dt, dk) { \
252 _RS_ASSERT(!rsIsObject(rsCreatePixelElement(dt, dk))); \
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dsingle_source_alloc.rscript249 #define TEST_SUPPORTED_PIXEL(dt, dk) { \
250 _RS_ASSERT(rsIsObject(rsCreatePixelElement(dt, dk))); \
253 #define TEST_UNSUPPORTED_PIXEL(dt, dk) { \
254 _RS_ASSERT(!rsIsObject(rsCreatePixelElement(dt, dk))); \
Dapitest.rscript37 volatile rs_data_kind dk;
1202 dk = rsElementGetDataKind(elemNonNull);
/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.rscript19 volatile rs_data_kind dk;
1185 dk = rsElementGetDataKind(elemNonNull);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript35 volatile rs_data_kind dk;
1200 dk = rsElementGetDataKind(elemNonNull);
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password66 z����ݳ\mj �uj�yu�l�%�&�=J�2m?~P��Ⱥlf��������c�.j�5G����(9�.��01�dk�_�)x}�VW�-#[F'�4%�#����…
/frameworks/ml/nn/tools/api/
Dtypes.spec4139 * sum_{di, dj, dk} (
4141 * g * depth_group + dk] *
4142 * filter[g * channel_multiplier + q, di, dj, dk]