Lines Matching refs:cp
324 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelU4() local
326 if (!cp->mAlloc.get()) { in kernelU4()
330 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
331 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4()
332 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU4()
333 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()
337 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelU4()
339 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU4()
361 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU4()
362 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4()
364 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU4()
389 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelU4()
391 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4()
402 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelU2() local
404 if (!cp->mAlloc.get()) { in kernelU2()
408 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
409 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU2()
410 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU2()
411 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU2()
415 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelU2()
417 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU2()
438 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU2()
439 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU2()
441 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU2()
467 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelU2()
469 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU2()
480 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelU1() local
482 if (!cp->mAlloc.get()) { in kernelU1()
486 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU1()
487 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU1()
488 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU1()
489 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU1()
493 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelU1()
495 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU1()
516 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU1()
517 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU1()
519 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU1()
545 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelU1()
547 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU1()
559 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelF4() local
561 if (!cp->mAlloc.get()) { in kernelF4()
565 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF4()
566 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelF4()
567 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelF4()
568 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelF4()
571 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelF4()
573 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelF4()
596 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelF4()
598 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelF4()
610 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelF2() local
612 if (!cp->mAlloc.get()) { in kernelF2()
616 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF2()
617 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelF2()
618 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelF2()
619 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelF2()
623 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelF2()
625 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelF2()
648 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelF2()
650 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelF2()
662 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelF1() local
664 if (!cp->mAlloc.get()) { in kernelF1()
668 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelF1()
669 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelF1()
670 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelF1()
671 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelF1()
675 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelF1()
677 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelF1()
700 …float xf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(x1 + 0.5f) , _mm_set1_ps(cp->scaleX) , _mm_set1_… in kernelF1()
702 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelF1()