Lines Matching refs:lod

270                           rs_data_kind dk, rs_data_type dt, uint32_t lod) {  in getBilinearSample1D()  argument
272 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getBilinearSample1D()
320 rs_data_kind dk, rs_data_type dt, uint32_t lod) { in getBilinearSample2D() argument
322 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getBilinearSample2D()
323 size_t stride = alloc->mHal.drvState.lod[lod].stride; in getBilinearSample2D()
349 rs_data_type dt, uint32_t lod) { in getNearestSample() argument
351 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getNearestSample()
386 rs_data_type dt, uint32_t lod) { in getNearestSample() argument
388 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in getNearestSample()
389 size_t stride = alloc->mHal.drvState.lod[lod].stride; in getNearestSample()
424 float uv, uint32_t lod) { in sample_LOD_LinearPixel() argument
426 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in sample_LOD_LinearPixel()
428 int32_t sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_LinearPixel()
449 return getBilinearSample1D(alloc, weights, location, next, dk, dt, lod); in sample_LOD_LinearPixel()
456 float uv, uint32_t lod) { in sample_LOD_NearestPixel() argument
458 int32_t sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_NearestPixel()
462 return getNearestSample(alloc, location, dk, dt, lod); in sample_LOD_NearestPixel()
470 float2 uv, uint32_t lod) { in sample_LOD_LinearPixel() argument
472 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in sample_LOD_LinearPixel()
474 int sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_LinearPixel()
475 int sourceH = alloc->mHal.drvState.lod[lod].dimY; in sample_LOD_LinearPixel()
509 return getBilinearSample2D(alloc, w0, w1, w2, w3, lx, ly, nx, ny, dk, dt, lod); in sample_LOD_LinearPixel()
518 float2 uv, uint32_t lod) { in sample_LOD_NearestPixel() argument
519 int sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_NearestPixel()
520 int sourceH = alloc->mHal.drvState.lod[lod].dimY; in sample_LOD_NearestPixel()
530 return getNearestSample(alloc, location, dk, dt, lod); in sample_LOD_NearestPixel()
534 rsSample(rs_allocation a, rs_sampler s, float uv, float lod) { in rsSample() argument
550 if (lod <= 0.0f) { in rsSample()
559 lod = min(lod, (float)maxLOD); in rsSample()
560 uint32_t nearestLOD = (uint32_t)round(lod); in rsSample()
565 uint32_t lod0 = (uint32_t)floor(lod); in rsSample()
566 uint32_t lod1 = (uint32_t)ceil(lod); in rsSample()
572 float frac = lod - (float)lod0; in rsSample()
586 rsSample(rs_allocation a, rs_sampler s, float2 uv, float lod) { in rsSample() argument
603 if (lod <= 0.0f) { in rsSample()
612 lod = min(lod, (float)maxLOD); in rsSample()
613 uint32_t nearestLOD = (uint32_t)round(lod); in rsSample()
618 uint32_t lod0 = (uint32_t)floor(lod); in rsSample()
619 uint32_t lod1 = (uint32_t)ceil(lod); in rsSample()
625 float frac = lod - (float)lod0; in rsSample()