Home | History | Annotate | Download | only in src

Lines Matching refs:nPFrames

1461                     if (!venc_set_intra_period (pParam->nPFrames,bFrames)) {
1494 if (venc_set_intra_period (pParam->nPFrames, bFrames) == false) {
1535 if (!venc_set_intra_period (pParam->nPFrames, bFrames)) {
1944 if (venc_set_intra_period(intraperiod->nPFrames, intraperiod->nBFrames) == false) {
1998 if (venc_set_idr_period(avc_iperiod->nPFrames, avc_iperiod->nIDRPeriod)
3565 bool venc_dev::venc_set_intra_period(OMX_U32 nPFrames, OMX_U32 nBFrames)
3568 DEBUG_PRINT_LOW("venc_set_intra_period: nPFrames = %u, nBFrames: %u", (unsigned int)nPFrames, (unsigned int)nBFrames);
3586 intra_period.num_pframes = nPFrames;
3635 bool venc_dev::venc_set_idr_period(OMX_U32 nPFrames, OMX_U32 nIDRPeriod)
3639 DEBUG_PRINT_LOW("venc_set_idr_period: nPFrames = %u, nIDRPeriod: %u",
3640 (unsigned int)nPFrames, (unsigned int)nIDRPeriod);
3647 if (venc_set_intra_period (nPFrames, intra_period.num_bframes) == false) {
3653 intra_period.num_pframes = nPFrames;
4119 int ratio, sub_gop_size, gop_size, nPframes, nBframes, nLayers;
4121 nPframes = intra_period.num_pframes;
4125 if (!nPframes) {
4126 DEBUG_PRINT_ERROR("nPframes should be non-zero\n");
4132 /* Actual GOP definition is nPframes + nBframes + 1 but for the sake of
4136 gop_size = MAX(sub_gop_size, ROUND(nPframes + nBframes, sub_gop_size));
4142 * nPframes = 2, nBframes = 6, nLayers = 3
4145 * by the client while adjusting nPframes and nBframes to meet other constraints.
4146 * eg1: Input by client: nPframes = 9, nBframes = 14, nLayers = 2
4147 * Output of this fn: nPframes = 12, nBframes = 12, nLayers = 2
4149 * eg2: Input by client: nPframes = 9, nBframes = 4, nLayers = 2
4150 * Output of this fn: nPframes = 7, nBframes = 7, nLayers = 2
4152 nPframes = num_sub_gops_in_a_gop;
4153 nBframes = gop_size - nPframes;
4158 * nPframes = 7, nBframes = 0, nLayers = 3
4161 * by the client while adjusting nPframes and nBframes to meet other constraints.
4162 * eg1: Input by client: nPframes = 9, nBframes = 0, nLayers = 3
4163 * Output of this fn: nPframes = 7, nBframes = 0, nLayers = 3
4165 * eg2: Input by client: nPframes = 10, nBframes = 0, nLayers = 3
4166 * Output of this fn:nPframes = 12, nBframes = 0, nLayers = 3
4168 nPframes = gop_size - 1;
4174 * nPframes = 3, nBframes = 9, nLayers = 0
4177 * eg1: nPframes = 9, nBframes = 11 => ratio = 1
4178 * eg2: nPframes = 9, nBframes = 16 => ratio = 2
4180 ratio = MAX(1, MIN((nBframes + (nPframes >> 1))/nPframes, 3));
4181 nBframes = ratio * nPframes;
4185 intra_period.num_pframes, intra_period.num_bframes, nPframes, nBframes);
4186 intra_period.num_pframes = nPframes;
4211 // Update the driver with the new nPframes and nBframes
4227 DEBUG_PRINT_LOW("Updated nPframes (%ld) and nBframes (%ld)",