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

📄 defines.h

📁 au1200 linux2.6.11 硬件解码mae驱动和maiplayer播放器源码
💻 H
字号:
/* <LIC_AMD_STD> * Copyright (c) 2005 Advanced Micro Devices, Inc. *  * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *  * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. *  * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA *  * The full GNU General Public License is included in this distribution in the * file called COPYING * </LIC_AMD_STD>  *//* <CTL_AMD_STD> * </CTL_AMD_STD>  *//* <DOC_AMD_STD> * </DOC_AMD_STD>  */#ifndef __defines_h__#define __defines_h__// mismatch control#define MAE_MISMATCH_OFF	0#define MAE_MISMATCH_ON		1#ifndef __mae_fe_h__/* HWG - already defined in mae_fe.h */// Macroblock typeenum macro_block_type {  MBT_16x16         = 0,  MBT_16x8          = 2,  MBT_8x8           = 3};// Macroblock modeenum macro_block_mode {  MBM_INTRA         = 0,  MBM_FORWARD       = 1,  MBM_BACKWARD      = 2,  MBM_BIDIRECTIONAL = 3};#endif// Motion comp precision#define MAE_FULL_PEL	0#define MAE_HALF_PEL_MULTITAP	1#define MAE_HALF_PEL_BILINEAR	2	#define MAE_QUARTER_PEL	3	// DCT type#define MAE_DCT_TYPE_FRAME	0#define MAE_DCT_TYPE_FIELD	1// Prediciton type#define MAE_FRAME_PREDICTION	0#define MAE_FIELD_PREDICTION	1// Weight change mask#define WM_INTRA_Y   0x1#define WM_INTRA_C   0x2#define WM_INTER_Y   0x4#define WM_INTER_C   0x8 // BBLK#define MAE_BIG_BLOCK_OFF	0#define MAE_BIG_BLOCK_ON	1// transform size#define XFORMSIZE_8_8			0#define XFORMSIZE_8_4			1#define XFORMSIZE_4_8			2#define XFORMSIZE_4_4			3#define BLOCK_SIZE				8#define BLOCK_SQUARE_SIZE		64#define WM_DATA_SIZE			(sizeof(uint8) * BLOCK_SQUARE_SIZE)// FORWARD REFERENCES#define MBMODE_FWD_Y0			0x00004000#define MBMODE_FWD_Y1			0x00001000#define MBMODE_FWD_Y2			0x00000400#define MBMODE_FWD_Y3			0x00000100#define MBMODE_FWD_CB0			0x00000040#define MBMODE_FWD_CR0			0x00000010#define MBMODE_FWD_CB1			0x00000004#define MBMODE_FWD_CR1			0x00000001#define MBMODE_FWD_ALL_420		(MBMODE_FWD_Y0  | MBMODE_FWD_Y1  | \								MBMODE_FWD_Y2  | MBMODE_FWD_Y3  | \								MBMODE_FWD_CB0 | MBMODE_FWD_CR0)// BACKWARD REFERENCES#define MBMODE_BWD_Y0			0x00008000#define MBMODE_BWD_Y1			0x00002000#define MBMODE_BWD_Y2			0x00000800#define MBMODE_BWD_Y3			0x00000200#define MBMODE_BWD_CB0			0x00000080#define MBMODE_BWD_CR0			0x00000020#define MBMODE_BWD_CB1			0x00000008#define MBMODE_BWD_CR1			0x00000002#define MBMODE_BWD_ALL_420		(MBMODE_BWD_Y0  | MBMODE_BWD_Y1  | \								MBMODE_BWD_Y2  | MBMODE_BWD_Y3  | \								MBMODE_BWD_CB0 | MBMODE_BWD_CR0)// BI-DIRECTIONAL REFERENCES#define MBMODE_BID_Y0			0x0000C000#define MBMODE_BID_Y1			0x00003000#define MBMODE_BID_Y2			0x00000C00#define MBMODE_BID_Y3			0x00000300#define MBMODE_BID_CB0			0x000000C0#define MBMODE_BID_CR0			0x00000030#define MBMODE_BID_CB1			0x0000000C#define MBMODE_BID_CR1			0x00000003#define MBMODE_BID_ALL_420		(MBMODE_BID_Y0  | MBMODE_BID_Y1  | \								MBMODE_BID_Y2  | MBMODE_BID_Y3  | \								MBMODE_BID_CB0 | MBMODE_BID_CR0)#endif // __defines_h__

⌨️ 快捷键说明

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