Lines Matching refs:psMiscRcParams

228     VAEncMiscParameterRateControl *psMiscRcParams;  in tng__H264ES_process_misc_ratecontrol_param()  local
235 psMiscRcParams = (VAEncMiscParameterRateControl *)pBuffer->data; in tng__H264ES_process_misc_ratecontrol_param()
238 tng_H264ES_trace_misc_rc_params(psMiscRcParams); in tng__H264ES_process_misc_ratecontrol_param()
243 __FUNCTION__, psRCParams->ui32BitsPerSecond, psMiscRcParams->bits_per_second); in tng__H264ES_process_misc_ratecontrol_param()
245 if (psMiscRcParams->bits_per_second > TOPAZ_H264_MAX_BITRATE) { in tng__H264ES_process_misc_ratecontrol_param()
248 __FUNCTION__, psMiscRcParams->bits_per_second, TOPAZ_H264_MAX_BITRATE); in tng__H264ES_process_misc_ratecontrol_param()
249 psMiscRcParams->bits_per_second = TOPAZ_H264_MAX_BITRATE; in tng__H264ES_process_misc_ratecontrol_param()
252 if ((psRCParams->ui32BitsPerSecond != psMiscRcParams->bits_per_second) && in tng__H264ES_process_misc_ratecontrol_param()
253 psMiscRcParams->bits_per_second != 0) { in tng__H264ES_process_misc_ratecontrol_param()
254 psRCParams->ui32BitsPerSecond = psMiscRcParams->bits_per_second; in tng__H264ES_process_misc_ratecontrol_param()
260 psRCParams->ui32BitsPerSecond, psMiscRcParams->bits_per_second); in tng__H264ES_process_misc_ratecontrol_param()
262 if (psMiscRcParams->rc_flags.value != 0) { in tng__H264ES_process_misc_ratecontrol_param()
263 if (psMiscRcParams->rc_flags.bits.disable_bit_stuffing) in tng__H264ES_process_misc_ratecontrol_param()
269 if (psMiscRcParams->window_size > 2000) { in tng__H264ES_process_misc_ratecontrol_param()
274 if (psMiscRcParams->window_size != 0) in tng__H264ES_process_misc_ratecontrol_param()
275 ctx->uiCbrBufferTenths = psMiscRcParams->window_size / 100; in tng__H264ES_process_misc_ratecontrol_param()
305 __FUNCTION__, psRCParams->ui32BitsPerSecond, psMiscRcParams->bits_per_second); in tng__H264ES_process_misc_ratecontrol_param()
318 if (psMiscRcParams->initial_qp > 51 || in tng__H264ES_process_misc_ratecontrol_param()
319 psMiscRcParams->min_qp > 51 || in tng__H264ES_process_misc_ratecontrol_param()
320 psMiscRcParams->max_qp > 51) { in tng__H264ES_process_misc_ratecontrol_param()
323 … __FUNCTION__, psMiscRcParams->initial_qp, psMiscRcParams->min_qp, psMiscRcParams->max_qp); in tng__H264ES_process_misc_ratecontrol_param()
327 if ((psRCParams->ui32InitialQp != psMiscRcParams->initial_qp) && in tng__H264ES_process_misc_ratecontrol_param()
328 (psMiscRcParams->initial_qp != 0)) { in tng__H264ES_process_misc_ratecontrol_param()
331 __FUNCTION__, psRCParams->ui32InitialQp, psMiscRcParams->initial_qp); in tng__H264ES_process_misc_ratecontrol_param()
333 psRCParams->ui32InitialQp = psMiscRcParams->initial_qp; in tng__H264ES_process_misc_ratecontrol_param()
336 if ((psRCParams->iMinQP != psMiscRcParams->min_qp) && in tng__H264ES_process_misc_ratecontrol_param()
337 (psMiscRcParams->min_qp != 0)) { in tng__H264ES_process_misc_ratecontrol_param()
340 __FUNCTION__, psRCParams->iMinQP, psMiscRcParams->min_qp); in tng__H264ES_process_misc_ratecontrol_param()
342 psRCParams->iMinQP = psMiscRcParams->min_qp; in tng__H264ES_process_misc_ratecontrol_param()
345 if ((ctx->max_qp != psMiscRcParams->max_qp) && in tng__H264ES_process_misc_ratecontrol_param()
346 (psMiscRcParams->max_qp != 0)) { in tng__H264ES_process_misc_ratecontrol_param()
349 __FUNCTION__, ctx->max_qp, psMiscRcParams->max_qp); in tng__H264ES_process_misc_ratecontrol_param()
351 ctx->max_qp = psMiscRcParams->max_qp; in tng__H264ES_process_misc_ratecontrol_param()