Revert "Bug 5034785: Update all non-ctx nppi APIs to ctx APIs as per latest change on NPP"

This reverts commit a9869fd6ea
This commit is contained in:
Shawn Zeng
2025-02-27 02:48:03 -08:00
parent a9869fd6ea
commit acd3a015c8
18 changed files with 173 additions and 279 deletions

View File

@@ -328,10 +328,9 @@ main( int argc, char** argv )
int nCompressedLabelCount = 0;
nppStatus = nppiCompressMarkerLabelsUF_32u_C1IR_Ctx(pSegmentLabelsOutputBufferDev[nImage], oSizeROI[nImage].width * sizeof(Npp32u), oSizeROI[nImage],
oSizeROI[nImage].width * oSizeROI[nImage].height, &nCompressedLabelCount,
pCompressedLabelsScratchBufferDev,
nppStreamCtx);
nppStatus = nppiCompressMarkerLabelsUF_32u_C1IR(pSegmentLabelsOutputBufferDev[nImage], oSizeROI[nImage].width * sizeof(Npp32u), oSizeROI[nImage],
oSizeROI[nImage].width * oSizeROI[nImage].height, &nCompressedLabelCount,
pCompressedLabelsScratchBufferDev);
if (nppStatus != NPP_SUCCESS)
{
@@ -540,3 +539,6 @@ main( int argc, char** argv )
return 0;
}