Home | History | Annotate | Download | only in src

Lines Matching refs:bits_per_second

234     if (!pSequenceParams->bits_per_second) {
235 pSequenceParams->bits_per_second = ctx->Height * ctx->Width * 30 * 12;
236 drv_debug_msg(VIDEO_DEBUG_GENERAL, "bits_per_second is 0, set to %d\n",
237 pSequenceParams->bits_per_second);
240 (pSequenceParams->bits_per_second == ctx->sRCParams.BitsPerSecond ?
243 if (pSequenceParams->bits_per_second > TOPAZ_H264_MAX_BITRATE) {
245 drv_debug_msg(VIDEO_DEBUG_GENERAL, " bits_per_second(%d) exceeds \
247 pSequenceParams->bits_per_second,
261 if (pSequenceParams->bits_per_second > max_bps) {
264 "\n clip to %d bps\n", pSequenceParams->bits_per_second, max_bps);
270 pSequenceParams->bits_per_second =
271 pSequenceParams->bits_per_second / 100 * 110;
274 pSequenceParams->bits_per_second);
275 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second;
1062 if ((rate_control_param->bits_per_second == 0 ||
1063 rate_control_param->bits_per_second == ctx->sRCParams.BitsPerSecond) &&
1079 if (rate_control_param->bits_per_second > TOPAZ_H264_MAX_BITRATE) {
1080 drv_debug_msg(VIDEO_DEBUG_ERROR, " bits_per_second(%d) exceeds \
1082 rate_control_param->bits_per_second,
1088 if (rate_control_param->bits_per_second != 0 &&
1093 rate_control_param->bits_per_second,
1103 if (rate_control_param->bits_per_second > max_bps) {
1106 "\n clip to %d bps\n", rate_control_param->bits_per_second, max_bps);
1112 rate_control_param->bits_per_second =
1113 rate_control_param->bits_per_second / 100 * 110;
1115 rate_control_param->bits_per_second);
1116 ctx->sRCParams.BitsPerSecond = rate_control_param->bits_per_second;