Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_SyncParams.cpp39 frame_rate = env->GetFieldID(clazz, "mFrameRate", "F"); in init()
63 frameRate = env->GetFloatField(params, fields.frame_rate); in fillFromJobject()
80 env->SetFloatField(params, fields.frame_rate, (jfloat)frameRate); in asJobject()
Dandroid_media_SyncParams.h42 jfieldID frame_rate; member
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp89 …currFrameNum = (int32)(((modTime - modTimeRef) * rateCtrl->frame_rate + 200) / 1000); /* add small… in RCDetermineFrameNum()
113 encvid->modTimeRef += (uint32)(rateCtrl->idrPeriod * 1000 / rateCtrl->frame_rate); in RCDetermineFrameNum()
118 encvid->modTimeRef += (uint32)(video->MaxFrameNum * 1000 / rateCtrl->frame_rate); in RCDetermineFrameNum()
210 rateCtrl->pMP->frameRange = (int)(rateCtrl->frame_rate * 1.0); /* 1.0s time frame*/ in InitRateControlModule()
217 rateCtrl->bitsPerFrame = (int32)(rateCtrl->bitRate / rateCtrl->frame_rate); in InitRateControlModule()
243 rateCtrl->pMP->framerate = rateCtrl->frame_rate; in InitRateControlModule()
247 bpp = 1.0 * rateCtrl->bitRate / (rateCtrl->frame_rate * (video->PicSizeInMbs << 8)); in InitRateControlModule()
362 pMP->counter_BTdst = (int)(rateCtrl->frame_rate * 7.5 + 0.5); /* 0.75s time frame */ in RCInitFrameQP()
379 pMP->framerate = rateCtrl->frame_rate; in RCInitFrameQP()
863 frame_bits = (int)(rateCtrl->bitRate / rateCtrl->frame_rate); in updateRateControl()
Dinit.cpp519 if (encParam->frame_rate == 0) in SetEncodeParam()
524 rateCtrl->frame_rate = (OsclFloat)(encParam->frame_rate * 1.0 / 1000); in SetEncodeParam()
645 mb_per_sec = (int)(video->PicSizeInMbs * rateCtrl->frame_rate + 0.5); in VerifyLevel()
Davcenc_api.h154 uint32 frame_rate; /* frame rate in the unit of frames per 1000 second */ member
Davcenc_int.h244 OsclFloat frame_rate; /* frame rate */ member
Dmotion_est.cpp317 && ((rateCtrl->frame_rate < 5.0) || (video->sliceHdr->frame_num > MIN_GOP))) in AVCMotionEstimation()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp266 mEncParams->frame_rate = (1000 * mFramerate) >> 16; // In frames/ms!, mFramerate is in Q16 in initEncParams()