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

📄 omxicjp_dctinv_s16.c

📁 The OpenMAX DL (Development Layer) APIs contain a comprehensive set of audio, video, signal processi
💻 C
字号:
/** *  * File Name:  omxICJP_DCTInv_S16.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 IDCT * */#include "omxtypes.h"#include "armOMX.h"#include "omxIC.h"#include "armIC.h"#include "armCOMM.h"/** * Function:  omxICJP_DCTInv_S16   (5.1.3.3.4) * * Description: * This function implements inverse DCT for 8-bit image data.  It processes  * one block (8x8).  * * Input Arguments: *    *   pSrc - pointer to the input DCT coefficient block (8x8) buffer; must be  *            arranged in raster scan order, and the start address must be  *            8-byte aligned.  Buffer values should lie in the range [-2040,  *            2040].  * * Output Arguments: *    *   pDst - pointer to the output image pixel data block(8x8) buffer.  The  *            start address must be 8-byte aligned.  * * Return Value: *     *    OMX_Sts_NoErr - no error  *    OMX_Sts_BadArgErr - Bad arguments. Returned for any of the following  *              conditions: a pointer was NULL the start address of a pointer  *              was not 8-byte aligned.  * */ OMXResult omxICJP_DCTInv_S16(     const OMX_S16 *pSrc,     OMX_S16 *pDst ){    /* Argument Checks */    armRetArgErrIf( pSrc == NULL, OMX_Sts_BadArgErr)    armRetArgErrIf( pDst == NULL, OMX_Sts_BadArgErr)        armRetArgErrIf( armNot8ByteAligned(pSrc), OMX_Sts_BadArgErr)    armRetArgErrIf( armNot8ByteAligned(pDst), OMX_Sts_BadArgErr)    /* Processing */    armICJP_DCTQuantInv_S16(pSrc, pDst, NULL);    return OMX_Sts_NoErr;}/*End of File*/

⌨️ 快捷键说明

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