Lines Matching refs:stride

84         getElementAt1(const uint8_t *p, size_t stride, int32_t x, int32_t y) {  in getElementAt1()  argument
85 p += y * stride; in getElementAt1()
91 getElementAt2(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt2() argument
92 p += y * stride; in getElementAt2()
99 getElementAt3(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt3() argument
100 p += y * stride; in getElementAt3()
107 getElementAt4(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt4() argument
108 p += y * stride; in getElementAt4()
115 getElementAt565(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt565() argument
116 p += y * stride; in getElementAt565()
188 getSample_A(const uint8_t *p, size_t stride, in getSample_A() argument
191 float p0 = getElementAt1(p, stride, locX, locY); in getSample_A()
192 float p1 = getElementAt1(p, stride, nextX, locY); in getSample_A()
193 float p2 = getElementAt1(p, stride, locX, nextY); in getSample_A()
194 float p3 = getElementAt1(p, stride, nextX, nextY); in getSample_A()
201 getSample_L(const uint8_t *p, size_t stride, in getSample_L() argument
204 float p0 = getElementAt1(p, stride, locX, locY); in getSample_L()
205 float p1 = getElementAt1(p, stride, nextX, locY); in getSample_L()
206 float p2 = getElementAt1(p, stride, locX, nextY); in getSample_L()
207 float p3 = getElementAt1(p, stride, nextX, nextY); in getSample_L()
214 getSample_LA(const uint8_t *p, size_t stride, in getSample_LA() argument
217 float2 p0 = getElementAt2(p, stride, locX, locY); in getSample_LA()
218 float2 p1 = getElementAt2(p, stride, nextX, locY); in getSample_LA()
219 float2 p2 = getElementAt2(p, stride, locX, nextY); in getSample_LA()
220 float2 p3 = getElementAt2(p, stride, nextX, nextY); in getSample_LA()
227 getSample_RGB(const uint8_t *p, size_t stride, in getSample_RGB() argument
230 float4 p0 = getElementAt4(p, stride, locX, locY); in getSample_RGB()
231 float4 p1 = getElementAt4(p, stride, nextX, locY); in getSample_RGB()
232 float4 p2 = getElementAt4(p, stride, locX, nextY); in getSample_RGB()
233 float4 p3 = getElementAt4(p, stride, nextX, nextY); in getSample_RGB()
240 getSample_RGBA(const uint8_t *p, size_t stride, in getSample_RGBA() argument
243 float4 p0 = getElementAt4(p, stride, locX, locY); in getSample_RGBA()
244 float4 p1 = getElementAt4(p, stride, nextX, locY); in getSample_RGBA()
245 float4 p2 = getElementAt4(p, stride, locX, nextY); in getSample_RGBA()
246 float4 p3 = getElementAt4(p, stride, nextX, nextY); in getSample_RGBA()
252 getSample_565(const uint8_t *p, size_t stride, in getSample_565() argument
255 float3 p0 = getElementAt565(p, stride, locX, locY); in getSample_565()
256 float3 p1 = getElementAt565(p, stride, nextX, locY); in getSample_565()
257 float3 p2 = getElementAt565(p, stride, locX, nextY); in getSample_565()
258 float3 p3 = getElementAt565(p, stride, nextX, nextY); in getSample_565()
323 size_t stride = alloc->mHal.drvState.lod[lod].stride; in getBilinearSample2D() local
327 return getSample_RGBA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D()
329 return getSample_A(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D()
331 return getSample_LA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D()
334 return getSample_565(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D()
336 return getSample_RGB(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D()
338 return getSample_L(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D()
389 size_t stride = alloc->mHal.drvState.lod[lod].stride; in getNearestSample() local
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()