Home
last modified time | relevance | path

Searched refs:MADofMB (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp178 rateCtrl->MADofMB = (double*) avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, in InitRateControlModule()
181 if (!rateCtrl->MADofMB) in InitRateControlModule()
301 if (rateCtrl->MADofMB) in CleanupRateControlModule()
303 avcHandle->CBAVC_Free(avcHandle->userData, (int)(rateCtrl->MADofMB)); in CleanupRateControlModule()
778 rateCtrl->MADofMB[video->mbNum] = AVCSAD_Macroblock_C(orgL, in RCCalculateMAD()
783 rateCtrl->MADofMB[video->mbNum] = encvid->i4_sad / 256.; in RCCalculateMAD()
906 TotalMAD += rateCtrl->MADofMB[i]; in ComputeFrameMAD()
Dmotion_est.cpp390 rateCtrl->MADofMB[mbnum] = abe_cost; in AVCMotionEstimation()
398 totalSAD += (int) rateCtrl->MADofMB[mbnum];//mot_mb_16x16->sad; in AVCMotionEstimation()
412 rateCtrl->MADofMB[mbnum] = abe_cost; in AVCMotionEstimation()
1203 encvid->rateCtrl->MADofMB[mbnum] = min_sad / 256.0; in AVCMBMotionSearch()
1217 encvid->rateCtrl->MADofMB[mbnum] = min_sad / 256.0; in AVCMBMotionSearch()
1231 encvid->rateCtrl->MADofMB[mbnum] = min_sad / 256.0; in AVCMBMotionSearch()
1340 encvid->rateCtrl->MADofMB[encvid->common->mbNum] = (min_sad / 256.0); // for rate control in AVCFullSearch()
Davcenc_int.h303 double *MADofMB; member