4040 * This function returns an engine descriptor corresponding to the class
4141 * and engine instance passed in.
4242 *
43- * @params[in] externalClassId Id of classs being allocated
43+ * @params[in] externalClassId Id of class being allocated
4444 * @params[in] pAllocParams void pointer containing creation parameters.
4545 *
4646 * @returns
@@ -56,15 +56,15 @@ nvdecGetEngineDescFromAllocParams
5656{
5757 CALL_CONTEXT * pCallContext = resservGetTlsCallContext ();
5858 NvU32 engineInstance = 0 ;
59- NV_BSP_ALLOCATION_PARAMETERS * pNvdecAllocParms = pAllocParams ;
59+ NV_BSP_ALLOCATION_PARAMETERS * pNvdecAllocParams = pAllocParams ;
6060
61- NV_ASSERT_OR_RETURN ((pNvdecAllocParms != NULL ), ENG_INVALID );
61+ NV_ASSERT_OR_RETURN ((pNvdecAllocParams != NULL ), ENG_INVALID );
6262
63- if (pNvdecAllocParms -> size != sizeof (NV_BSP_ALLOCATION_PARAMETERS ))
63+ if (pNvdecAllocParams -> size != sizeof (NV_BSP_ALLOCATION_PARAMETERS ))
6464 {
6565 NV_PRINTF (LEVEL_ERROR , "createParams size mismatch (rm = 0x%x / client = 0x%x)\n" ,
6666 (NvU32 ) sizeof (NV_BSP_ALLOCATION_PARAMETERS ),
67- pNvdecAllocParms -> size );
67+ pNvdecAllocParams -> size );
6868 DBG_BREAKPOINT ();
6969 return ENG_INVALID ;
7070 }
@@ -82,7 +82,7 @@ nvdecGetEngineDescFromAllocParams
8282 case NVC4B0_VIDEO_DECODER :
8383 case NVC6B0_VIDEO_DECODER :
8484 case NVC7B0_VIDEO_DECODER :
85- engineInstance = pNvdecAllocParms -> engineInstance ;
85+ engineInstance = pNvdecAllocParams -> engineInstance ;
8686 break ;
8787 default :
8888 return ENG_INVALID ;
0 commit comments