Home
last modified time | relevance | path

Searched refs:nBframes (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp4243 int ratio, sub_gop_size, gop_size, nPframes, nBframes, nLayers; in venc_calibrate_gop() local
4246 nBframes = intra_period.num_bframes; in venc_calibrate_gop()
4260 gop_size = MAX(sub_gop_size, ROUND(nPframes + nBframes, sub_gop_size)); in venc_calibrate_gop()
4262 if (nBframes) { /*Hier-B case*/ in venc_calibrate_gop()
4277 nBframes = gop_size - nPframes; in venc_calibrate_gop()
4295 if (nBframes) { in venc_calibrate_gop()
4304 ratio = MAX(1, MIN((nBframes + (nPframes >> 1))/nPframes, 3)); in venc_calibrate_gop()
4305 nBframes = ratio * nPframes; in venc_calibrate_gop()
4309 intra_period.num_pframes, intra_period.num_bframes, nPframes, nBframes); in venc_calibrate_gop()
4311 intra_period.num_bframes = nBframes; in venc_calibrate_gop()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp5444 int ratio, sub_gop_size, gop_size, nPframes, nBframes, nLayers; in venc_calibrate_gop() local
5447 nBframes = intra_period.num_bframes; in venc_calibrate_gop()
5464 gop_size = MAX(sub_gop_size, ROUND(nPframes + nBframes, sub_gop_size)); in venc_calibrate_gop()
5466 if (nBframes) { /*Hier-B case*/ in venc_calibrate_gop()
5481 nBframes = gop_size - nPframes; in venc_calibrate_gop()
5499 if (nBframes) { in venc_calibrate_gop()
5508 ratio = MAX(1, MIN((nBframes + (nPframes >> 1))/nPframes, 3)); in venc_calibrate_gop()
5509 nBframes = ratio * nPframes; in venc_calibrate_gop()
5513 intra_period.num_pframes, intra_period.num_bframes, nPframes, nBframes); in venc_calibrate_gop()
5515 intra_period.num_bframes = nBframes; in venc_calibrate_gop()