Searched refs:PV_MIN (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | fastquant.cpp | 315 coeff = PV_MAX(-2048, PV_MIN(2047, coeff)); in BlockQuantDequantH263Intra() 336 coeff = PV_MAX(1, PV_MIN(254, coeff)); in BlockQuantDequantH263Intra() 342 coeff = PV_MAX(-2048, PV_MIN(2047, coeff)); in BlockQuantDequantH263Intra() 513 tmp = PV_MAX(1, PV_MIN(254, tmp)); in BlockQuantDequantH263DCIntra() 519 coeff = PV_MAX(-2048, PV_MIN(2047, coeff)); in BlockQuantDequantH263DCIntra() 724 coeff = PV_MAX(1, PV_MIN(254, coeff)); in BlockQuantDequantMPEGIntra() 945 coeff = PV_MAX(1, PV_MIN(254, tmp)); in BlockQuantDequantMPEGDCIntra()
|
D | rate_control.cpp | 235 …pMP->counter_BTdst = PV_MIN(pMP->counter_BTdst, (Int)(rc->max_BitVariance_num / 2 * 0.40)); /* 0.7… in RC_VopQPSetting() 237 … pMP->counter_BTdst = PV_MIN(pMP->counter_BTdst, 20); /* Limit the target to be smaller than 3C */ in RC_VopQPSetting() 623 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation() 624 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound); in targetBitCalculation() 631 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation() 632 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound); in targetBitCalculation()
|
D | mp4def.h | 117 #define PV_MIN(a,b) ((a)<(b)? (a):(b)) macro
|
D | mp4enc_api.cpp | 307 encParams->IntraDCVlcThr = PV_MAX(PV_MIN(encOption->intraDCVlcTh, 7), 0); in PVInitVideoEncoder() 523 … encParams->LayerMaxFrameRate[i] = PV_MIN(profile_max_framerate, encParams->LayerFrameRate[i]); in PVInitVideoEncoder() 866 video->pMP[idx]->frameRange = PV_MIN(video->pMP[idx]->frameRange, 30); in PVInitVideoEncoder() 3077 total_bitrate = PV_MIN(total_bitrate, video->encParams->LayerMaxBitRate[1]); in SetProfile_BufferSize() 3087 total_framerate = PV_MIN(total_framerate, video->encParams->LayerMaxFrameRate[1]); in SetProfile_BufferSize() 3200 …video->encParams->LayerMaxFrameRate[0] = PV_MIN(30, (float)profile_level_max_mbsPerSec[i] / nTotal… in SetProfile_BufferSize() 3285 …video->encParams->LayerMaxFrameRate[0] = PV_MIN(30, (float)profile_level_max_mbsPerSec[j] / nTotal… in SetProfile_BufferSize() 3288 …video->encParams->LayerMaxFrameRate[1] = PV_MIN(30, (float)scalable_profile_level_max_mbsPerSec[i]… in SetProfile_BufferSize()
|
D | vlc_encode.cpp | 2724 *mvx = ((p1x + p2x + p3x - PV_MAX(p1x, PV_MAX(p2x, p3x)) - PV_MIN(p1x, PV_MIN(p2x, p3x)))); in find_pmvs() 2725 *mvy = ((p1y + p2y + p3y - PV_MAX(p1y, PV_MAX(p2y, p3y)) - PV_MIN(p1y, PV_MIN(p2y, p3y)))); in find_pmvs()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | mp4def.h | 45 #define PV_MIN(a,b) ((a)<(b)? (a):(b)) macro
|