omxicjp_decodehuffmanspecgetbufsize_u8.c

来自「The OpenMAX DL (Development Layer) APIs 」· C语言 代码 · 共 59 行

C
59
字号
/** * *  * File Name:  omxICJP_DecodeHuffmanSpecGetBufSize_U8.c * OpenMAX DL: v1.0.2 * Revision:   10586 * Date:       Wednesday, March 5, 2008 *  * (c) Copyright 2007-2008 ARM Limited. All Rights Reserved. *  *  * * Description        : JPEG Huffman Decoder function. * */#include "omxtypes.h"#include "armOMX.h"#include "omxIC.h"#include "armCOMM.h"#include "armIC.h"/** * Function:  omxICJP_DecodeHuffmanSpecGetBufSize_U8   (5.1.3.5.1) * * Description: * Returns the size, in bytes, of the buffer required to store the Huffman  * decoder table.  * * Input Arguments: *    *   none  * * Output Arguments: *    *   pSize -pointer to the size  * * Return Value: *     *    OMX_Sts_NoErr -no error  *    OMX_Sts_BadArgErr -bad arguments  *    If following conditions are not satisfied, this function returns  *              OMX_Sts_BadArgErr:  *    -   pointer cannot be NULL  * */OMXResult omxICJP_DecodeHuffmanSpecGetBufSize_U8(        OMX_INT* pSize       ){    armRetArgErrIf(!pSize, OMX_Sts_BadArgErr);    *pSize = (OMX_INT) sizeof(armICJP_DecHuffmanSpec);    return OMX_Sts_NoErr;}/* End of file */

⌨️ 快捷键说明

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