⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 omxippp_momentinit.c

📁 The OpenMAX DL (Development Layer) APIs contain a comprehensive set of audio, video, signal processi
💻 C
字号:
/** * *  * File Name:  omxIPPP_MomentInit.c * OpenMAX DL: v1.0.2 * Revision:   10586 * Date:       Wednesday, March 5, 2008 *  * (c) Copyright 2007-2008 ARM Limited. All Rights Reserved. *  *  * * Description  : Image Statistics Routine - Initializes the Moment state structure. * */#include "omxtypes.h"#include "armOMX.h"#include "omxIP.h"#include "armCOMM.h"#include "armIP.h" /** * Function:  omxIPPP_MomentInit   (4.3.1.2.2) * * Description: * Initialize moment state structure.  * * Input Arguments: *    *   pState - pointer to the uninitialized state structure  * * Output Arguments: *    *   pState - pointer to the initialized state structure  * * Return Value: *     *    OMX_Sts_NoErr - no errors detected  *    OMX_Sts_BadArgErr - bad arguments detected; at least one of the  *              following is true:  *    -   pState is NULL  * */OMXResult omxIPPP_MomentInit(    OMXMomentState *pState    ){    OMX_INT i, j, k;    ARMIPPP_MomentState *pMomentState = (ARMIPPP_MomentState *)pState;        armRetArgErrIf(!pMomentState, OMX_Sts_BadArgErr);        pMomentState->maxValidChannel = -1;    for(i = 0; i < ARM_IPPP_MOMENTS_MAX_CHANL; i++)    {        for(j = 0; j < ARM_IPPP_MOMENTS_MAX_ORDER; j++)        {            for(k = 0; k < ARM_IPPP_MOMENTS_MAX_ORDER; k++)            {                pMomentState->spMoments[i][j][k] = 0;                pMomentState->ctMoments[i][j][k] = 0;            }        }    }        return OMX_Sts_NoErr;}/* End of file */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -