Searched refs:PV_MAX (Results 1 – 7 of 7) 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 | mp4def.h | 116 #define PV_MAX(a,b) ((a)>(b)? (a):(b)) macro
|
D | mp4enc_api.cpp | 307 encParams->IntraDCVlcThr = PV_MAX(PV_MIN(encOption->intraDCVlcTh, 7), 0); in PVInitVideoEncoder() 741 video->oBSize = PV_MAX((encParams->BufferSize[0] >> 3), (encParams->BufferSize[1] >> 3)); in PVInitVideoEncoder() 865 video->pMP[idx]->frameRange = PV_MAX(video->pMP[idx]->frameRange, 5); in PVInitVideoEncoder() 3043 base_bitrate = PV_MAX(base_bitrate, video->encParams->LayerMaxBitRate[0]); in SetProfile_BufferSize() 3053 base_framerate = PV_MAX(base_framerate, video->encParams->LayerMaxFrameRate[0]); in SetProfile_BufferSize() 3062 base_VBV_size = PV_MAX((Int)(base_bitrate * delay), in SetProfile_BufferSize() 3064 base_VBV_size = PV_MAX(base_VBV_size, MIN_BUFF); in SetProfile_BufferSize() 3101 enhance_VBV_size = PV_MAX((Int)((total_bitrate - base_bitrate) * delay), in SetProfile_BufferSize() 3103 enhance_VBV_size = PV_MAX(enhance_VBV_size, MIN_BUFF); 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()
|
D | rate_control.cpp | 236 …pMP->counter_BTdst = PV_MAX(pMP->counter_BTdst, (Int)((rc->Bs / 2 - rc->VBV_fullness) * 0.30 / (rc… in RC_VopQPSetting()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | chvr_filter.cpp | 214 delta = PV_MAX(A3_0, 0); in CombinedHorzVertRingFilter() 225 delta = PV_MAX(A3_0, delta); in CombinedHorzVertRingFilter() 371 delta = PV_MAX(A3_0, 0); in CombinedHorzVertRingFilter() 382 delta = PV_MAX(A3_0, delta); in CombinedHorzVertRingFilter()
|
D | mp4def.h | 44 #define PV_MAX(a,b) ((a)>(b)? (a):(b)) macro
|