Lines Matching defs:cp
316 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr;
318 if (!cp->mAlloc.get()) {
322 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
323 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
324 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
325 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
327 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
346 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) {
347 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
349 uint32_t xinc16 = rint(cp->scaleX * 0x10000);
373 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
383 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr;
385 if (!cp->mAlloc.get()) {
389 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
390 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
391 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
392 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
394 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
413 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) {
414 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
416 uint32_t xinc16 = rint(cp->scaleX * 0x10000);
440 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
450 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr;
452 if (!cp->mAlloc.get()) {
456 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
457 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
458 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
459 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
461 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
480 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) {
481 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
483 uint32_t xinc16 = rint(cp->scaleX * 0x10000);
507 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
517 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr;
519 if (!cp->mAlloc.get()) {
523 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
524 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
525 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
526 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
528 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
547 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
557 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr;
559 if (!cp->mAlloc.get()) {
563 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
564 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
565 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
566 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
568 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
587 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
597 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr;
599 if (!cp->mAlloc.get()) {
603 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
604 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
605 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
606 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
608 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
627 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;