Lines Matching refs:sRCParams
139 switch(ctx->sRCParams.eRCMode) {
150 drv_debug_msg(VIDEO_DEBUG_ERROR, "Unknown RCMode %08x\n", ctx->sRCParams.eRCMode);
214 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
251 ctx->sRCParams.ui32BitsPerSecond = TOPAZ_H263_MAX_BITRATE;
257 ctx->sRCParams.ui32BitsPerSecond = psSeqParams->bits_per_second;
282 ctx->sRCParams.ui16BFrames = 0;
383 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
456 if (ctx->sRCParams.FrameRate == frame_rate_param->framerate)
460 ctx->sRCParams.FrameRate,
462 ctx->sRCParams.FrameRate = frame_rate_param->framerate;
463 ctx->sRCParams.bBitrateChanged = IMG_TRUE;
479 ctx->sRCParams.ui32BitsPerSecond,
482 if ((rate_control_param->bits_per_second == ctx->sRCParams.ui32BitsPerSecond) &&
483 (ctx->sRCParams.ui32BufferSize == ctx->sRCParams.ui32BitsPerSecond / 1000 * rate_control_param->window_size) &&
484 (ctx->sRCParams.iMinQP == rate_control_param->min_qp) &&
485 (ctx->sRCParams.ui32InitialQp == rate_control_param->initial_qp))
488 ctx->sRCParams.bBitrateChanged = IMG_TRUE;
491 ctx->sRCParams.ui32BitsPerSecond = TOPAZ_H264_MAX_BITRATE;
497 ctx->sRCParams.ui32BitsPerSecond = rate_control_param->bits_per_second;
500 ctx->sRCParams.ui32BufferSize = ctx->sRCParams.ui32BitsPerSecond * rate_control_param->window_size / 1000;
502 ctx->sRCParams.ui32InitialQp = rate_control_param->initial_qp;
504 ctx->sRCParams.iMinQP = rate_control_param->min_qp;