?? intrapredictionprocess.h
字號:
/* Open H.264
*
* #include <standard_disclaimer>
*
* Authors: aitorgaray@yifan.net
* _
*/
#include "../Common.h"
#include "IntraPredictor.h"
#include "../transform/Transform.h"
#include "../LumaMacroblock.h"
#include "../sad/SADCalculator.h"
#include "../quantize/Quantize.h"
#if !defined( __INTRA_PREDICTION_PROCESS_H)
#define __INTRA_PREDICTION_PROCESS_H
class IntraPredictionProcess {
protected:
IntraPredictor& _intraPredictor;
Transform& _transform;
SADCalculator& _sadCalculator;
Quantize& _quantize;
protected:
// *noTE* 'Transform' used by Hadamar based "rate-distorsion" optimization
// *toDO* in a future, real rate-distortion analysis will require 'Quantize' & 'Entropy'
IntraPredictionProcess( IntraPredictor& intraPredictor, Transform& transform, SADCalculator& sadCalculator, Quantize& quantize);
public:
// *toDO* generalize and sync 'Plane', 'Frame'... names
// *noTE* the method needs the quantization parameter ( qp) for the decoding loop-back
// returns: 16 if 16x16 choosed, macroblockMode is filled
// returns: 4 if 4x4 choosed, blockModes[][] is filled
virtual int predictLumaMacroBlock( /* in out */ LumaMacroblock& macroblock,
/* out */ int* macroblockMode, int blockModes[ 4][ 4],
/* in */ int qp) = 0;
};
#endif
/* $Log:$
*
*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -