mem_transfer.h

来自「这是市场上采用瑞芯微方案的蓝魔MP4的源代码,是我好不容易弄来与大家分享的,一起」· C头文件 代码 · 共 55 行

H
55
字号
/*****************************************************************************
 *
 *  XVID MPEG-4@220x176 VIDEO DECODER ON ROCKCHIP RK2606
 *	
 *	Author:
 *		Jian Huan	<jh@rock-chips.com>
 *
 *	Date:
 *		2006-2-15 10:16
 ****************************************************************************/

#ifndef _MEM_TRANSFER_H
#define _MEM_TRANSFER_H

#include "../xvid_decoder.h"

/*****************************************************************************
 * transfer API
 ****************************************************************************/
__attribute__((section(".avi_v_text, \"ax\"")))
void
DMA_YUV_I2E(DECODER *xvid_dec,short y, short size);

__attribute__((section(".avi_v_text, \"ax\"")))
void
DMA_YUV_E2I_A(short index,    short dst_offset_pos);

__attribute__((section(".avi_v_text, \"ax\"")))
void
DMA_YUV_E2I_B(short index,    short dst_offset_pos);

__attribute__((section(".avi_v_text, \"ax\"")))
void
DMA_YUV_E2I(short index,    short dst_offset_pos);

__attribute__((section(".avi_v_text, \"ax\"")))
void
copy_y_from_external_to_internal(DECODER *xvid_dec, short x, short y);

__attribute__((section(".avi_v_text, \"ax\"")))
void
copy_uv_from_external_to_internal(DECODER *xvid_dec, short x, short y);

__attribute__((section(".avi_v_text, \"ax\"")))
void AviDmaRelease(void *pArg,void * );

__attribute__((section(".avi_v_text, \"ax\"")))
void DMA_RGB_I2E(unsigned short *RgbBuf, short y, short size);

 __attribute__((section(".avi_v_text, \"ax\"")))
void DMA_RGB_E2LCD( );
 __attribute__((section(".avi_v_text, \"ax\"")))
unsigned int GetLCDSdramIndex();
#endif

⌨️ 快捷键说明

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