Lines Matching refs:iPixel

127             getSample_A(const uint8_t *p, int32_t iPixel,  in getSample_A()  argument
129 float p0 = getElementAt1(p, iPixel); in getSample_A()
137 getSample_L(const uint8_t *p, int32_t iPixel, in getSample_L() argument
139 float p0 = getElementAt1(p, iPixel); in getSample_L()
147 getSample_LA(const uint8_t *p, int32_t iPixel, in getSample_LA() argument
149 float2 p0 = getElementAt2(p, iPixel); in getSample_LA()
157 getSample_RGB(const uint8_t *p, int32_t iPixel, in getSample_RGB() argument
159 float3 p0 = getElementAt3(p, iPixel); in getSample_RGB()
167 getSample_565(const uint8_t *p, int32_t iPixel, in getSample_565() argument
169 float3 p0 = getElementAt565(p, iPixel); in getSample_565()
177 getSample_RGBA(const uint8_t *p, int32_t iPixel, in getSample_RGBA() argument
179 float4 p0 = getElementAt4(p, iPixel); in getSample_RGBA()
269 uint32_t iPixel, uint32_t next, in getBilinearSample1D() argument
276 return getSample_RGBA(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
278 return getSample_A(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
281 return getSample_565(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
283 return getSample_RGB(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
285 return getSample_L(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
287 return getSample_LA(p, iPixel, next, weights.x, weights.y); in getBilinearSample1D()
348 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, in getNearestSample() argument
357 result = getElementAt4(p, iPixel); in getNearestSample()
360 result.w = getElementAt1(p, iPixel); in getNearestSample()
363 result.zw = getElementAt2(p, iPixel); in getNearestSample()
368 result.xyz = getElementAt565(p, iPixel); in getNearestSample()
370 result.xyz = getElementAt3(p, iPixel); in getNearestSample()
374 result.xyz = getElementAt1(p, iPixel); in getNearestSample()
385 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, in getNearestSample() argument
395 result = getElementAt4(p, stride, iPixel.x, iPixel.y); in getNearestSample()
398 result.w = getElementAt1(p, stride, iPixel.x, iPixel.y); in getNearestSample()
401 result.zw = getElementAt2(p, stride, iPixel.x, iPixel.y); in getNearestSample()
406 result.xyz = getElementAt565(p, stride, iPixel.x, iPixel.y); in getNearestSample()
408 result.xyz = getElementAt3(p, stride, iPixel.x, iPixel.y); in getNearestSample()
428 int32_t iPixel = floor(pixelUV); in sample_LOD_LinearPixel() local
429 float frac = pixelUV - (float)iPixel; in sample_LOD_LinearPixel()
432 iPixel -= 1; in sample_LOD_LinearPixel()
444 uint32_t next = wrapI(wrapS, iPixel + 1, sourceW); in sample_LOD_LinearPixel()
445 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_LinearPixel()
457 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel() local
458 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_NearestPixel()
521 int2 iPixel = convert_int2(floor(uv * dimF)); in sample_LOD_NearestPixel() local
524 location.x = wrapI(wrapS, iPixel.x, sourceW); in sample_LOD_NearestPixel()
525 location.y = wrapI(wrapT, iPixel.y, sourceH); in sample_LOD_NearestPixel()