Lines Matching defs: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) {
349 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk,
356 switch(dk) {
386 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk,
394 switch(dk) {
423 rs_data_kind dk, rs_data_type dt,
450 return getBilinearSample1D(alloc, weights, location, next, dk, dt, lod);
455 rs_data_kind dk, rs_data_type dt,
463 return getNearestSample(alloc, location, dk, dt, lod);
468 rs_data_kind dk, rs_data_type dt,
510 return getBilinearSample2D(alloc, w0, w1, w2, w3, lx, ly, nx, ny, dk, dt, lod);
516 rs_data_kind dk, rs_data_type dt,
531 return getNearestSample(alloc, location, dk, dt, lod);
541 rs_data_kind dk = elem->mHal.state.dataKind;
553 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, uv, 0);
555 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, 0);
562 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, nearestLOD);
571 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod0);
572 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod1);
577 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, uv, 0);
593 rs_data_kind dk = elem->mHal.state.dataKind;
606 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0);
608 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, 0);
615 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, nearestLOD);
624 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod0);
625 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod1);
630 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0);
640 rs_data_kind dk = elem->mHal.state.dataKind;
650 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0);
652 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, 0);