Lines Matching refs:dk
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) {
351 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk,
358 switch(dk) {
388 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk,
396 switch(dk) {
425 rs_data_kind dk, rs_data_type dt,
453 return getBilinearSample1D(alloc, weights, location, next, dk, dt, lod);
458 rs_data_kind dk, rs_data_type dt,
467 return getNearestSample(alloc, location, dk, dt, lod);
472 rs_data_kind dk, rs_data_type dt,
516 return getBilinearSample2D(alloc, w0, w1, w2, w3, lx, ly, nx, ny, dk, dt, lod);
522 rs_data_kind dk, rs_data_type dt,
539 return getNearestSample(alloc, location, dk, dt, lod);
545 rs_data_kind dk = rsElementGetDataKind(elem);
548 if (dk == RS_KIND_USER || (dt != RS_TYPE_UNSIGNED_8 && dt != RS_TYPE_UNSIGNED_5_6_5)) {
560 return sample_LOD_NearestPixel(alloc, dk, dt, s, uv, 0);
562 return sample_LOD_LinearPixel(alloc, dk, dt, s, uv, 0);
569 return sample_LOD_LinearPixel(alloc, dk, dt, s, uv, nearestLOD);
578 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, s, uv, lod0);
579 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, s, uv, lod1);
584 return sample_LOD_NearestPixel(alloc, dk, dt, s, uv, 0);
599 rs_data_kind dk = rsElementGetDataKind(elem);
602 if (dk == RS_KIND_USER ||
613 return sample_LOD_NearestPixel(alloc, dk, dt, s, uv, 0);
615 return sample_LOD_LinearPixel(alloc, dk, dt, s, uv, 0);
623 return sample_LOD_LinearPixel(alloc, dk, dt, s, uv, nearestLOD);
633 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, s, uv, lod0);
634 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, s, uv, lod1);
639 return sample_LOD_NearestPixel(alloc, dk, dt, s, uv, 0);
648 rs_data_kind dk = rsElementGetDataKind(elem);
651 if (dk == RS_KIND_USER ||
658 return sample_LOD_NearestPixel(alloc, dk, dt, s, uv, 0);
660 return sample_LOD_LinearPixel(alloc, dk, dt, s, uv, 0);