UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
M4Prediction.h File Reference
#include "vdecmpeg4.h"
#include "M4Global.h"

Go to the source code of this file.

Namespaces

namespace  vdecmpeg4
 

Macros

#define M4ABS(X)   (((X)>0)?(X):-(X))
 
#define M4DIVDIV(A, B)   ( (A) > 0 ? ((A)+((B)>>1))/(B) : ((A)-((B)>>1))/(B) )
 

Functions

void vdecmpeg4::M4PredictionInit (M4_MB *macroblocks, int32 mbx, int32 mby, int32 pMBWidth, uint32 block, uint8 currentQuant, uint16 iDcScaler, int16 *pPredictionOut)
 
void vdecmpeg4::M4PredictionAdd (M4_MB *mb, int16 *dctBlock, uint32 block, uint16 iDcScaler, const int16 *pPrediction)
 
int32 vdecmpeg4::rescale (int32 predictQuant, int32 currentQuant, int32 coeff)
 

Macro Definition Documentation

◆ M4ABS

#define M4ABS (   X)    (((X)>0)?(X):-(X))

◆ M4DIVDIV

#define M4DIVDIV (   A,
  B 
)    ( (A) > 0 ? ((A)+((B)>>1))/(B) : ((A)-((B)>>1))/(B) )