mp4_predict.h

来自「实现在linux下的mpeg4编解码」· C头文件 代码 · 共 49 行

H
49
字号
/************************************************************************** *                                                                        * * This code has been developed by Andrea Graziani. This software is an   * * implementation of a part of one or more MPEG-4 Video tools as          * * specified in ISO/IEC 14496-2 standard.  Those intending to use this    * * software module in hardware or software products are advised that its  * * use may infringe existing patents or copyrights, and any such use      * * would be at such party's own risk.  The original developer of this     * * software module and his/her company, and subsequent editors and their  * * companies (including Project Mayo), will have no liability for use of  * * this software or modifications or derivatives thereof.                 * *                                                                        * * Project Mayo gives users of the Codec a license to this software       * * module or modifications thereof for use in hardware or software        * * products claiming conformance to the MPEG-4 Video Standard as          * * described in the Open DivX license.                                    * *                                                                        * * The complete Open DivX license can be found at                         * * http://www.projectmayo.com/opendivx/license.php                        * *                                                                        * **************************************************************************//***  Copyright (C) 2001 - Project Mayo * * Andrea Graziani (Ag) * * DivX Advanced Research Center <darc@projectmayo.com>***/// mp4_predict.h //#ifndef _MP4_PREDICT_H_#define _MP4_PREDICT_H_#define TOP 1#define LEFT 0#endif // _MP4_PREDICT_H_/*** aritmetic operators ***/#define _div_div(a, b) (a>0) ? (a+(b>>1))/b : (a-(b>>1))/b/*** *** ***/extern void dc_recon(int block_num, short * dc_value);extern void ac_recon(int block_num, short * psBlock);extern int ac_rescaling(int block_num, short * psBlock);extern void ac_store(int block_num, short * psBlock);

⌨️ 快捷键说明

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