Home
last modified time | relevance | path

Searched refs:PicSizeInMbs (Results 1 – 12 of 12) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Drate_control.cpp178 rateCtrl->basicUnit = video->PicSizeInMbs; in InitRateControlModule()
181 video->PicSizeInMbs * sizeof(double), DEFAULT_ATTR); in InitRateControlModule()
251 bpp = 1.0 * rateCtrl->bitRate / (rateCtrl->frame_rate * (video->PicSizeInMbs << 8)); in InitRateControlModule()
379 …pMP->mad = (OsclFloat)rateCtrl->totalSAD / video->PicSizeInMbs; //ComputeFrameMAD(video, rateCtrl); in RCInitFrameQP()
429 curr_mad = (OsclFloat)rateCtrl->totalSAD / video->PicSizeInMbs; in calculateQuantizer_Multipass()
543 curr_mad = (OsclFloat)rateCtrl->totalSAD / video->PicSizeInMbs; in targetBitCalculation()
810 …pMP->mad = (OsclFloat)rateCtrl->totalSAD / video->PicSizeInMbs; //ComputeFrameMAD(video, rateCtrl); in RCUpdateFrame()
907 for (i = 0; i < (int)video->PicSizeInMbs; i++) in ComputeFrameMAD()
909 TotalMAD /= video->PicSizeInMbs; in ComputeFrameMAD()
Dinit.cpp88 video->PicSizeInMbs = video->PicWidthInMbs * video->PicHeightInMbs; in SetEncodeParam()
650 mb_per_sec = (int)(video->PicSizeInMbs * rateCtrl->frame_rate + 0.5); in VerifyLevel()
651 dpb_size = (seqParam->num_ref_frames * video->PicSizeInMbs * 3) >> 6; in VerifyLevel()
658 video->PicSizeInMbs <= (uint)MaxFS[ii] && in VerifyLevel()
689 video->PicSizeInMbs > (uint)MaxFS[lev_idx] || in VerifyLevel()
Dslice.cpp100 (uint)CurrMbAddr < video->PicSizeInMbs) in AVCEncodeSlice()
105 if ((uint)CurrMbAddr >= video->PicSizeInMbs) in AVCEncodeSlice()
120 (uint)CurrMbAddr < video->PicSizeInMbs) in AVCEncodeSlice()
124 if ((uint)CurrMbAddr >= video->PicSizeInMbs) in AVCEncodeSlice()
Dmotion_est.cpp247 int totalMB = video->PicSizeInMbs; in AVCMotionEstimation()
/external/opencore/codecs_v2/video/avc_h264/dec/src/
Davcdec_api.cpp521 … ConcealSlice(decvid, video->PicSizeInMbs - video->numMBs, video->PicSizeInMbs); // Conceal in PVAVCDecodeSlice()
569 ConcealSlice(decvid, 0, video->PicSizeInMbs); // Conceal in PVAVCDecodeSlice()
602 video->numMBs = video->PicSizeInMbs; in PVAVCDecodeSlice()
Dslice.cpp54 if (CurrMbAddr >= video->PicSizeInMbs) in DecodeSlice()
95 …while (++CurrMbAddr < video->PicSizeInMbs && video->MbToSliceGroupMap[CurrMbAddr] != (int)slice_gr… in DecodeSlice()
Dheader.cpp614 video->PicSizeInMbs = video->PicWidthInMbs * video->PicHeightInMbs; in DecodeSliceHeader()
616 if (sliceHdr->first_mb_in_slice >= video->PicSizeInMbs) in DecodeSliceHeader()
/external/opencore/codecs_v2/video/avc_h264/common/src/
Dmb_access.cpp52 bool mb_is_available(AVCMacroblock *mblock, uint PicSizeInMbs, int mbAddr, int currMbAddr) in mb_is_available() argument
54 if (mbAddr < 0 || mbAddr >= (int)PicSizeInMbs) in mb_is_available()
Ddeblock.cpp311 … filterLeftMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - 1, mbNum); in DeblockMb()
312 …filterTopMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - video->PicWidth… in DeblockMb()
Ddpb.cpp301 luma_framesize = video->PicSizeInMbs << 8; in DPBInitPic()
/external/opencore/codecs_v2/video/avc_h264/common/include/
Davclib_common.h376 bool mb_is_available(AVCMacroblock *mblock, uint PicSizeInMbs, int mbAddr, int currMbAddr);
Davcint_common.h727 uint PicSizeInMbs; /* PicWidthInMbs*PicHeightInMbs */ member