Home
last modified time | relevance | path

Searched refs:AVC_ABS (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp454AVC_ABS(prev_mad - curr_mad) > AVC_ABS(pMP->pRDSamples[i][0].mad - curr_mad)) in calculateQuantizer_Multipass()
465 …if (AVC_ABS(prev_actual_bits - curr_target) > AVC_ABS(pMP->pRDSamples[j][i].actual_bits - curr_tar… in calculateQuantizer_Multipass()
620 …if (AVC_ABS(prev_counter_diff) >= rateCtrl->max_BitVariance_num || AVC_ABS(curr_counter_diff) >= r… in targetBitCalculation()
Dsad_halfpel.cpp93 sad += AVC_ABS(temp); in AVCSAD_MB_HalfPel_Cxhyh()
132 sad += AVC_ABS(temp); in AVCSAD_MB_HalfPel_Cyh()
166 sad += AVC_ABS(temp); in AVCSAD_MB_HalfPel_Cxh()
Dmotion_est.cpp1641 if (AVC_ABS(mvx[i] - mvx[j]) + AVC_ABS(mvy[i] - mvy[j]) < CANDIDATE_DISTANCE) in AVCCandidateSelection()
/frameworks/av/media/libstagefright/codecs/avc/common/include/
Davcint_common.h44 #define AVC_ABS(x) (((x)<0)? -(x) : (x)) macro
54 #define AVC_ROUND(x) (AVC_SIGN(x)*AVC_FLOOR(AVC_ABS(x)+0.5))