Lines Matching refs:info

42     static void kernelU1(const RsExpandKernelDriverInfo *info,
45 static void kernelU2(const RsExpandKernelDriverInfo *info,
48 static void kernelU4(const RsExpandKernelDriverInfo *info,
51 static void kernelF1(const RsExpandKernelDriverInfo *info,
54 static void kernelF2(const RsExpandKernelDriverInfo *info,
57 static void kernelF4(const RsExpandKernelDriverInfo *info,
83 static void OneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, in OneU4() argument
90 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneU4()
91 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU4()
126 static void OneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, in OneU2() argument
133 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneU2()
134 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU2()
169 static void OneU1(const RsExpandKernelDriverInfo *info, uint32_t x, uchar *out, in OneU1() argument
176 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneU1()
177 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU1()
212 static void OneF4(const RsExpandKernelDriverInfo *info, uint32_t x, float4 *out, in OneF4() argument
219 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneF4()
220 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneF4()
254 static void OneF2(const RsExpandKernelDriverInfo *info, uint32_t x, float2 *out, in OneF2() argument
261 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneF2()
262 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneF2()
296 static void OneF1(const RsExpandKernelDriverInfo *info, uint32_t x, float *out, in OneF1() argument
303 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneF1()
304 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneF1()
343 void RsdCpuScriptIntrinsicConvolve5x5::kernelU4(const RsExpandKernelDriverInfo *info, in kernelU4() argument
346 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU4()
354 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0); in kernelU4()
355 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); in kernelU4()
356 uint32_t y2 = info->current.y; in kernelU4()
357 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelU4()
358 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU4()
366 uchar4 *out = (uchar4 *)info->outPtr[0]; in kernelU4()
371 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4()
397 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4()
403 void RsdCpuScriptIntrinsicConvolve5x5::kernelU2(const RsExpandKernelDriverInfo *info, in kernelU2() argument
406 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU2()
414 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0); in kernelU2()
415 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); in kernelU2()
416 uint32_t y2 = info->current.y; in kernelU2()
417 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelU2()
418 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU2()
426 uchar2 *out = (uchar2 *)info->outPtr[0]; in kernelU2()
431 OneU2(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU2()
446 OneU2(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU2()
452 void RsdCpuScriptIntrinsicConvolve5x5::kernelU1(const RsExpandKernelDriverInfo *info, in kernelU1() argument
455 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU1()
463 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0); in kernelU1()
464 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); in kernelU1()
465 uint32_t y2 = info->current.y; in kernelU1()
466 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelU1()
467 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU1()
475 uchar *out = (uchar *)info->outPtr[0]; in kernelU1()
480 OneU1(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU1()
495 OneU1(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU1()
501 void RsdCpuScriptIntrinsicConvolve5x5::kernelF4(const RsExpandKernelDriverInfo *info, in kernelF4() argument
504 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelF4()
512 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0); in kernelF4()
513 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); in kernelF4()
514 uint32_t y2 = info->current.y; in kernelF4()
515 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelF4()
516 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelF4()
524 float4 *out = (float4 *)info->outPtr[0]; in kernelF4()
529 OneF4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelF4()
544 OneF4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelF4()
550 void RsdCpuScriptIntrinsicConvolve5x5::kernelF2(const RsExpandKernelDriverInfo *info, in kernelF2() argument
553 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelF2()
561 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0); in kernelF2()
562 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); in kernelF2()
563 uint32_t y2 = info->current.y; in kernelF2()
564 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelF2()
565 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelF2()
573 float2 *out = (float2 *)info->outPtr[0]; in kernelF2()
578 OneF2(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelF2()
593 OneF2(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelF2()
599 void RsdCpuScriptIntrinsicConvolve5x5::kernelF1(const RsExpandKernelDriverInfo *info, in kernelF1() argument
602 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelF1()
610 uint32_t y0 = rsMax((int32_t)info->current.y-2, 0); in kernelF1()
611 uint32_t y1 = rsMax((int32_t)info->current.y-1, 0); in kernelF1()
612 uint32_t y2 = info->current.y; in kernelF1()
613 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelF1()
614 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelF1()
622 float *out = (float *)info->outPtr[0]; in kernelF1()
627 OneF1(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelF1()
642 OneF1(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelF1()
689 s->mHal.info.exportedVariableCount = 2; in populateScript()