Searched defs:dk (Results 1 - 11 of 11) sorted by relevance

/frameworks/rs/
H A DrsComponent.cpp29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { argument
31 mKind = dk;
H A DrsElement.h107 RsDataKind dk,
118 RsDataKind dk,
121 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize);
116 create(Context *rsc, RsDataType dt, RsDataKind dk, bool isNorm, uint32_t vecSize) argument
H A DrsElement.cpp230 ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsDataKind dk, argument
239 (ee->getComponent().getKind() == dk) &&
259 e->mComponent.set(dt, dk, isNorm, vecSize);
414 RsDataKind dk,
417 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize);
412 rsi_ElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) argument
H A DrsScriptC_Lib.cpp334 RsElement rsrElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, argument
336 return rsi_ElementCreate(rsc, dt, dk, norm, vecSize);
H A DrsHidlAdaptation.cpp511 RsDataKind dk,
516 (DataKind) dk,
509 ElementCreate(RsContext context, RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) argument
/frameworks/rs/cpp/
H A DElement.cpp274 RsDataType dt, RsDataKind dk, bool norm, uint32_t size) :
290 mKind = dk;
332 android::RSC::sp<const Element> Element::createPixel(const android::RSC::sp<RS>& rs, RsDataType dt, RsDataKind dk) { argument
333 if (!(dk == RS_KIND_PIXEL_L ||
334 dk == RS_KIND_PIXEL_A ||
335 dk == RS_KIND_PIXEL_LA ||
336 dk == RS_KIND_PIXEL_RGB ||
337 dk == RS_KIND_PIXEL_RGBA ||
338 dk == RS_KIND_PIXEL_DEPTH ||
339 dk
273 Element(void *id, android::RSC::sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size) argument
[all...]
/frameworks/rs/driver/runtime/
H A Drs_sample.c270 rs_data_kind dk, rs_data_type dt, uint32_t lod) {
274 switch(dk) {
320 rs_data_kind dk, rs_data_type dt, uint32_t lod) {
325 switch(dk) {
348 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, argument
355 switch(dk) {
385 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, argument
393 switch(dk) {
422 rs_data_kind dk, rs_data_type dt,
447 return getBilinearSample1D(alloc, weights, location, next, dk, d
268 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
318 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
421 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
451 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
464 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
510 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
536 rs_data_kind dk = elem->mHal.state.dataKind; local
588 rs_data_kind dk = elem->mHal.state.dataKind; local
635 rs_data_kind dk = elem->mHal.state.dataKind; local
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DElement.java1076 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument
1090 mKind = dk;
1116 for (DataKind dk: DataKind.values()) {
1117 if(dk.mID == dataBuffer[1]){
1118 mKind = dk;
1150 DataKind dk = DataKind.USER;
1153 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize);
1154 return new Element(id, rs, dt, dk, norm, vecSize);
1189 DataKind dk = DataKind.USER;
1191 long id = rs.nElementCreate(dt.mID, dk
1214 createPixel(RenderScript rs, DataType dt, DataKind dk) argument
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DElement.java734 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument
748 mKind = dk;
773 DataKind dk = DataKind.USER;
776 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize);
777 return new Element(id, rs, dt, dk, norm, vecSize);
811 DataKind dk = DataKind.USER;
813 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size);
814 return new Element(id, rs, dt, dk, norm, size);
831 * @param dk The DataKind to specify the mapping of each component in the
836 public static Element createPixel(RenderScript rs, DataType dt, DataKind dk) { argument
[all...]
/frameworks/rs/rsov/driver/
H A DrsovRuntimeStubs.cpp221 RsDataKind dk,
230 (Element *)rsrElementCreate(rsc, dt, dk, isNormalized, vecSize);
355 Element *rsCreateElement(int32_t dt, int32_t dk, bool isNormalized, argument
358 CreateElement((RsDataType)dt, (RsDataKind)dk, isNormalized, vecSize);
381 android::renderscript::rs_element rsCreateElement(int32_t dt, int32_t dk, argument
384 return CreateElement((RsDataType)dt, (RsDataKind)dk, isNormalized, vecSize);
220 CreateElement(RsDataType dt, RsDataKind dk, bool isNormalized, uint32_t vecSize) argument
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp238 RsDataKind dk,
246 Element *element = (Element *) rsrElementCreate(rsc, dt, dk, isNormalized,
379 Element *rsCreateElement(int32_t dt, int32_t dk, bool isNormalized, argument
383 (RsDataKind) dk,
409 android::renderscript::rs_element rsCreateElement(int32_t dt, int32_t dk, argument
413 return CreateElement((RsDataType) dt, (RsDataKind) dk, isNormalized,
237 CreateElement(RsDataType dt, RsDataKind dk, bool isNormalized, uint32_t vecSize) argument

Completed in 246 milliseconds