Home
last modified time | relevance | path

Searched refs:AVC_MIN (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp212 rateCtrl->pMP->frameRange = AVC_MIN(rateCtrl->pMP->frameRange, 30); in InitRateControlModule()
363 …pMP->counter_BTdst = AVC_MIN(pMP->counter_BTdst, (int)(rateCtrl->max_BitVariance_num / 2 * 0.40));… in RCInitFrameQP()
365 … pMP->counter_BTdst = AVC_MIN(pMP->counter_BTdst, 20); /* Limit the target to be smaller than 3C */ in RCInitFrameQP()
604 diff_counter_BTsrc = AVC_MIN(diff_counter_BTsrc, bound); in targetBitCalculation()
605 diff_counter_BTdst = AVC_MIN(diff_counter_BTdst, bound); in targetBitCalculation()
612 diff_counter_BTsrc = AVC_MIN(diff_counter_BTsrc, bound); in targetBitCalculation()
613 diff_counter_BTdst = AVC_MIN(diff_counter_BTdst, bound); in targetBitCalculation()
Dheader.cpp706 video->PicOrderCnt = AVC_MIN(video->TopFieldOrderCnt, video->BottomFieldOrderCnt); in InitPOC()
801 video->PicOrderCnt = AVC_MIN(video->TopFieldOrderCnt, video->BottomFieldOrderCnt); in InitPOC()
Dinit.cpp882AVC_MIN(sliceHdr->slice_group_change_cycle * video->SliceGroupChangeRate, video->PicSizeInMapUnits… in InitSlice()
Dslice.cpp990 predIntra4x4PredMode = AVC_MIN(intra4x4PredModeA, intra4x4PredModeB); in EncodeIntra4x4Mode()
Dintra_est.cpp1284 predIntra4x4PredMode = AVC_MIN(intra4x4PredModeA, intra4x4PredModeB); in FindMostProbableI4Mode()
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Dfmo.cpp171 rightBound = AVC_MIN(rightBound + 1, (int)PicWidthInMbs - 1); in FmoGenerateType3MapUnitMap()
185 bottomBound = AVC_MIN(bottomBound + 1, (int)video->PicHeightInMapUnits - 1); in FmoGenerateType3MapUnitMap()
Dreflist.cpp133 …video->refList0Size = AVC_MIN(video->refList0Size, (int)video->sliceHdr->num_ref_idx_l0_active_min… in RefListInit()
134 …video->refList1Size = AVC_MIN(video->refList1Size, (int)video->sliceHdr->num_ref_idx_l1_active_min… in RefListInit()
/frameworks/av/media/libstagefright/codecs/avc/common/include/
Davcint_common.h48 #define AVC_MIN(x,y) ((x)<(y)? (x):(y)) macro
50 #define AVC_CLIP3(a,b,x) (AVC_MAX(a,AVC_MIN(x,b))) /* clip x between a and b */