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

📄 transform.cpp

📁 一个可以在DM642上运新的h.264算法
💻 CPP
字号:
/*	Open H.264
 *
 *	#include	<standard_disclaimer>
 *
 *  Authors:    aitorgaray@yifan.net
 *              _
 */

#define	__TRANSFORM_CC

#include	"../Common.h"
#include	"Transform.h"

void Transform::do4x4ForwardTransform( Block& block) {

	do4x4ForwardTransform( block, block);
}

void Transform::doForwardTransform( LumaMacroblock& sourceMacroblock, LumaMacroblock& targetMacroblock, Block& targetDCBlock) {

	for( int y = 0; y < 4; y++) {

		for( int x = 0; x < 4; x++) {
			Block	sourceBlock( sourceMacroblock.getBaseAddresForSubBlock( y, x), sourceMacroblock._stride),
					targetBlock( targetMacroblock.getBaseAddresForSubBlock( y, x), sourceMacroblock._stride);

			do4x4ForwardTransform( sourceBlock, targetBlock);
		}
	}

	//	*toDO*	all DC transforms...
}

void Transform::do16x16HadamarTransform( LumaMacroblock& macroBlock) {

    //  *toDO*
}

void Transform::do4x4DCLumaForwardTransform( Block& block) {

    //  *toDO*
}

/*  $Log:$
 *
 */

⌨️ 快捷键说明

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