@@ -207,13 +207,13 @@ MOS_STATUS VpL0FcFilter::GenerateFc420PL3InputParam(L0_FC_LAYER_PARAM &inputLaye
207
207
VP_PUBLIC_CHK_STATUS_RETURN (ConvertInputSingleChannelIndexToKrnParam (inputSurf->osSurface ->Format , lumaChannelIndices));
208
208
VP_PUBLIC_CHK_STATUS_RETURN (ConvertInputChannelIndicesToKrnParam (inputSurf->osSurface ->Format , chromaChannelIndices));
209
209
210
- uint32_t srcSurfaceWith = inputSurf->osSurface ->dwWidth ;
210
+ uint32_t srcSurfaceWidth = inputSurf->osSurface ->dwWidth ;
211
211
uint32_t srcSurfaceHeight = inputSurf->osSurface ->dwHeight ;
212
- uint32_t tarSurfaceWith = inputSurf->osSurface ->dwWidth ;
212
+ uint32_t tarSurfaceWidth = inputSurf->osSurface ->dwWidth ;
213
213
uint32_t tarSurfaceHeight = inputSurf->osSurface ->dwHeight ;
214
214
uint32_t localSize[3 ] = {128 , 2 , 1 }; // localWidth, localHeight, localDepth
215
- uint32_t threadWidth = tarSurfaceWith / localSize[0 ] + (tarSurfaceWith % localSize[0 ] != 0 );
216
- uint32_t threadHeight = tarSurfaceWith / localSize[1 ] + (tarSurfaceWith % localSize[1 ] != 0 );
215
+ uint32_t threadWidth = tarSurfaceWidth / localSize[0 ] + (tarSurfaceWidth % localSize[0 ] != 0 );
216
+ uint32_t threadHeight = tarSurfaceHeight / localSize[1 ] + (tarSurfaceHeight % localSize[1 ] != 0 );
217
217
KERNEL_ARGS krnArgs = {};
218
218
KERNEL_ARG_INDEX_SURFACE_MAP krnStatefulSurfaces = {};
219
219
std::string krnName = " ImageRead_fc_420PL3_input" ;
@@ -257,7 +257,7 @@ MOS_STATUS VpL0FcFilter::GenerateFc420PL3InputParam(L0_FC_LAYER_PARAM &inputLaye
257
257
VP_PUBLIC_CHK_VALUE_RETURN (krnArg.uSize , kernelArg.uSize );
258
258
MOS_ZeroMemory (krnArg.pData , krnArg.uSize );
259
259
}
260
- VP_PUBLIC_CHK_STATUS_RETURN (SetupSingleFc420PL3InputKrnArg (srcSurfaceWith , srcSurfaceHeight, lumaChannelIndices, chromaChannelIndices, localSize, krnArg, bInit))
260
+ VP_PUBLIC_CHK_STATUS_RETURN (SetupSingleFc420PL3InputKrnArg (srcSurfaceWidth , srcSurfaceHeight, lumaChannelIndices, chromaChannelIndices, localSize, krnArg, bInit))
261
261
if (bInit)
262
262
{
263
263
krnArgs.push_back (krnArg);
@@ -528,13 +528,13 @@ MOS_STATUS VpL0FcFilter::GenerateFcCommonKrnParam(L0_FC_COMP_PARAM &compParam, L
528
528
return MOS_STATUS_SUCCESS;
529
529
}
530
530
531
- MOS_STATUS VpL0FcFilter::SetupSingleFc420PL3InputKrnArg (uint32_t srcSurfaceWith , uint32_t srcSurfaceHeight, uint32_t lumaChannelIndices, uint32_t chromaChannelIndices[4 ], uint32_t localSize[3 ], KRN_ARG &krnArg, bool &bInit)
531
+ MOS_STATUS VpL0FcFilter::SetupSingleFc420PL3InputKrnArg (uint32_t srcSurfaceWidth , uint32_t srcSurfaceHeight, uint32_t lumaChannelIndices, uint32_t chromaChannelIndices[4 ], uint32_t localSize[3 ], KRN_ARG &krnArg, bool &bInit)
532
532
{
533
533
switch (krnArg.uIndex )
534
534
{
535
535
case FC_420PL3_INPUT_IMAGEREAD_WIDTH:
536
536
VP_PUBLIC_CHK_NULL_RETURN (krnArg.pData );
537
- *(uint32_t *)krnArg.pData = srcSurfaceWith ;
537
+ *(uint32_t *)krnArg.pData = srcSurfaceWidth ;
538
538
break ;
539
539
case FC_420PL3_INPUT_IMAGEREAD_HEIGHT:
540
540
VP_PUBLIC_CHK_NULL_RETURN (krnArg.pData );
0 commit comments