#include <math.h>
#include <limits.h>
#include <float.h>
#include "global.h"
#include "rdopt_coding_state.h"
#include "mb_access.h"
#include "intrarefresh.h"
#include "image.h"
#include "transform8x8.h"
#include "ratectl.h"
#include "mode_decision.h"
#include "fmo.h"
#include "me_umhex.h"
#include "me_umhexsmp.h"
#include "macroblock.h"
#include "mv-search.h"

Go to the source code of this file.
Functions | |
| int64 | compute_SSE (imgpel **imgRef, imgpel **imgSrc, int xRef, int xSrc, int ySize, int xSize) |
| int64 | distortionSSE (Macroblock *currMB) |
Definition in file md_distortion.c.
| int64 distortionSSE | ( | Macroblock * | currMB | ) |
SSE distortion calculation for a macroblock.
Definition at line 56 of file md_distortion.c.
References storable_picture::imgUV, ImageParameters::mb_cr_size_x, ImageParameters::mb_cr_size_y, ImageParameters::opix_c_x, ImageParameters::opix_c_y, ImageParameters::opix_x, ImageParameters::opix_y, storable_picture::p_curr_img, pCurImg, ImageParameters::pix_c_x, ImageParameters::pix_c_y, ImageParameters::pix_x, ImageParameters::pix_y, InputParameters::WeightCb, InputParameters::WeightCr, InputParameters::WeightY, YUV400, and ImageParameters::yuv_format.
Referenced by init_rdopt().