Searched refs:max_bps (Results 1 – 2 of 2) sorted by relevance
215 unsigned int max_bps; in pnw__H264ES_process_sequence_param() local253 max_bps = (ctx->Width * ctx->Height * 3 / 2 ) * 8 * ctx->sRCParams.FrameRate; in pnw__H264ES_process_sequence_param()255 max_bps /= 4; in pnw__H264ES_process_sequence_param()257 max_bps /= 2; in pnw__H264ES_process_sequence_param()261 if (pSequenceParams->bits_per_second > max_bps) { in pnw__H264ES_process_sequence_param()264 "\n clip to %d bps\n", pSequenceParams->bits_per_second, max_bps); in pnw__H264ES_process_sequence_param()265 ctx->sRCParams.BitsPerSecond = max_bps; in pnw__H264ES_process_sequence_param()987 unsigned int max_bps; in pnw__H264ES_process_misc_param() local1095 max_bps = (ctx->Width * ctx->Height * 3 / 2 ) * 8 * ctx->sRCParams.FrameRate; in pnw__H264ES_process_misc_param()1097 max_bps /= 4; in pnw__H264ES_process_misc_param()[all …]
231 unsigned int max_bps; in tng__H264ES_process_misc_ratecontrol_param() local283 …max_bps = (ctx->obj_context->picture_width * ctx->obj_context->picture_height * 3 / 2 ) * 8 * psR… in tng__H264ES_process_misc_ratecontrol_param()285 max_bps /= 4; in tng__H264ES_process_misc_ratecontrol_param()287 max_bps /= 2; in tng__H264ES_process_misc_ratecontrol_param()288 psRCParams->ui32BitsPerSecond = max_bps; in tng__H264ES_process_misc_ratecontrol_param()