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

📄 omxicjp_dctinv_s16_i.c

📁 The OpenMAX DL (Development Layer) APIs contain a comprehensive set of audio, video, signal processi
💻 C
字号:
/** *  * File Name:  omxICJP_DCTInv_S16_I.c * OpenMAX DL: v1.0.2 * Revision:   10586 * Date:       Wednesday, March 5, 2008 *  * (c) Copyright 2007-2008 ARM Limited. All Rights Reserved. *  *  * * Description: * This file contains module for inplace IDCT * */#include "omxtypes.h"#include "armOMX.h"#include "omxIC.h"#include "armCOMM.h"/** * Function:  omxICJP_DCTInv_S16_I   (5.1.3.3.5) * * Description: * This function implements an in-place inverse DCT for 8-bit image data.  It  * processes one block (8x8).  * * Input Arguments: *    *   pSrcDst - pointer to the in-place input DCT coefficient block (8x8)  *            buffer and output image pixel data buffer; must be arranged in  *            raster scan order and 8-byte aligned.  Buffer values should lie  *            in the range [-2040, 2040].  * * Output Arguments: * * Return Value: *     *    OMX_Sts_NoErr - no error  *    OMX_Sts_BadArgErr - Bad arguments. Returned for any of the following  *              conditions:  *    -    pSrcDst was NULL  *    -    pSrcDst was not 8-byte aligned.  * */OMXResult omxICJP_DCTInv_S16_I(     OMX_S16 *pSrcDst ){    OMXResult errorCode;    OMX_S16   tempBuffer[67]; /*3 dummy elements for alignment consideration*/    OMX_S16   *pBuffer;    OMX_INT   i;        pBuffer = armAlignTo8Bytes(tempBuffer);    errorCode = omxICJP_DCTInv_S16((const OMX_S16 *)pSrcDst,pBuffer);                                                    armRetArgErrIf(errorCode != OMX_Sts_NoErr, errorCode);        for ( i = 0 ; i < 64 ; i++)    {        pSrcDst[i] = pBuffer[i];    }    return OMX_Sts_NoErr;}/* End of file */

⌨️ 快捷键说明

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