Home
last modified time | relevance | path

Searched refs:rate_control_param (Results 1 – 7 of 7) sorted by relevance

/hardware/intel/img/psb_video/src/
Dtng_H263ES.c382 VAEncMiscParameterRateControl *rate_control_param; in tng__H263ES_process_misc_param() local
393 rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data; in tng__H263ES_process_misc_param()
395 if (rate_control_param->initial_qp > 51 || rate_control_param->min_qp > 51) { in tng__H263ES_process_misc_param()
398 rate_control_param->initial_qp, rate_control_param->min_qp); in tng__H263ES_process_misc_param()
405 rate_control_param->bits_per_second); in tng__H263ES_process_misc_param()
407 if ((rate_control_param->bits_per_second == psRCParams->ui32BitsPerSecond) && in tng__H263ES_process_misc_param()
408 …RCParams->ui32BufferSize == psRCParams->ui32BitsPerSecond / 1000 * rate_control_param->window_size… in tng__H263ES_process_misc_param()
409 (psRCParams->iMinQP == rate_control_param->min_qp) && in tng__H263ES_process_misc_param()
410 (psRCParams->ui32InitialQp == rate_control_param->initial_qp)) in tng__H263ES_process_misc_param()
413 if (rate_control_param->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in tng__H263ES_process_misc_param()
[all …]
Dtng_MPEG4ES.c379 VAEncMiscParameterRateControl *rate_control_param; in tng__MPEG4ES_process_misc_param() local
390 rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data; in tng__MPEG4ES_process_misc_param()
392 if (rate_control_param->initial_qp > 51 || rate_control_param->min_qp > 51) { in tng__MPEG4ES_process_misc_param()
395 rate_control_param->initial_qp, rate_control_param->min_qp); in tng__MPEG4ES_process_misc_param()
402 rate_control_param->bits_per_second); in tng__MPEG4ES_process_misc_param()
404 if ((rate_control_param->bits_per_second == psRCParams->ui32BitsPerSecond) && in tng__MPEG4ES_process_misc_param()
405 …RCParams->ui32BufferSize == psRCParams->ui32BitsPerSecond / 1000 * rate_control_param->window_size… in tng__MPEG4ES_process_misc_param()
406 (psRCParams->iMinQP == rate_control_param->min_qp) && in tng__MPEG4ES_process_misc_param()
407 (psRCParams->ui32InitialQp == rate_control_param->initial_qp)) in tng__MPEG4ES_process_misc_param()
410 if (rate_control_param->bits_per_second > TOPAZ_MPEG4_MAX_BITRATE) { in tng__MPEG4ES_process_misc_param()
[all …]
Dpnw_H264ES.c981 VAEncMiscParameterRateControl *rate_control_param; in pnw__H264ES_process_misc_param() local
1031 rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data; in pnw__H264ES_process_misc_param()
1036 if (rate_control_param->rc_flags.value != 0 || ctx->raw_frame_count == 0) { in pnw__H264ES_process_misc_param()
1037 if (rate_control_param->rc_flags.bits.disable_frame_skip) in pnw__H264ES_process_misc_param()
1039 if (rate_control_param->rc_flags.bits.disable_bit_stuffing) in pnw__H264ES_process_misc_param()
1046 if (rate_control_param->initial_qp > 51 || in pnw__H264ES_process_misc_param()
1047 rate_control_param->min_qp > 51) { in pnw__H264ES_process_misc_param()
1050 rate_control_param->initial_qp, rate_control_param->min_qp); in pnw__H264ES_process_misc_param()
1055 if (rate_control_param->window_size > 2000) { in pnw__H264ES_process_misc_param()
1062 if ((rate_control_param->bits_per_second == 0 || in pnw__H264ES_process_misc_param()
[all …]
Dvsp_vp8.c495 VAEncMiscParameterRateControl *rate_control_param; in vsp_vp8_process_misc_param() local
597 rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data; in vsp_vp8_process_misc_param()
598 if (rate_control_param->max_qp > 63 || in vsp_vp8_process_misc_param()
599 rate_control_param->min_qp > 63) { in vsp_vp8_process_misc_param()
602 rate_control_param->max_qp, rate_control_param->min_qp); in vsp_vp8_process_misc_param()
603 rate_control_param->max_qp = 63; in vsp_vp8_process_misc_param()
604 rate_control_param->min_qp = rate_control_param->max_qp; in vsp_vp8_process_misc_param()
607 if (rate_control_param->min_qp != seq->rc_min_quantizer) { in vsp_vp8_process_misc_param()
609 seq->rc_min_quantizer, rate_control_param->min_qp); in vsp_vp8_process_misc_param()
610 seq->rc_min_quantizer = rate_control_param->min_qp; in vsp_vp8_process_misc_param()
[all …]
/hardware/intel/img/psb_video/src/mrst/
Dlnc_H264ES.c568 VAEncMiscParameterRateControl *rate_control_param; in lnc__H264ES_process_misc_param() local
584 rate_control_param->initial_qp=26; in lnc__H264ES_process_misc_param()
585 rate_control_param->min_qp=3; in lnc__H264ES_process_misc_param()
611 rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data; in lnc__H264ES_process_misc_param()
614 rate_control_param->initial_qp = atoi(hardcoded_qp); in lnc__H264ES_process_misc_param()
617 rate_control_param->min_qp = atoi(hardcoded_qp); in lnc__H264ES_process_misc_param()
619 if (rate_control_param->initial_qp > 65535 || in lnc__H264ES_process_misc_param()
620 rate_control_param->min_qp > 65535 || in lnc__H264ES_process_misc_param()
621 rate_control_param->target_percentage > 65535) { in lnc__H264ES_process_misc_param()
627 rate_control_param->initial_qp, in lnc__H264ES_process_misc_param()
[all …]
Dlnc_MPEG4ES.c420 VAEncMiscParameterRateControl *rate_control_param; in lnc__MPEG4ES_process_misc_param() local
440 rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data; in lnc__MPEG4ES_process_misc_param()
443 rate_control_param->bits_per_second); in lnc__MPEG4ES_process_misc_param()
445 if (rate_control_param->bits_per_second == ctx->sRCParams.BitsPerSecond) in lnc__MPEG4ES_process_misc_param()
450 if (rate_control_param->bits_per_second > TOPAZ_MPEG4_MAX_BITRATE) { in lnc__MPEG4ES_process_misc_param()
454 rate_control_param->bits_per_second, in lnc__MPEG4ES_process_misc_param()
457 ctx->sRCParams.BitsPerSecond = rate_control_param->bits_per_second; in lnc__MPEG4ES_process_misc_param()
Dlnc_H263ES.c434 VAEncMiscParameterRateControl *rate_control_param; in lnc__H263ES_process_misc_param() local
454 rate_control_param = (VAEncMiscParameterRateControl *)pBuffer->data; in lnc__H263ES_process_misc_param()
457 rate_control_param->bits_per_second); in lnc__H263ES_process_misc_param()
459 if (rate_control_param->bits_per_second == ctx->sRCParams.BitsPerSecond) in lnc__H263ES_process_misc_param()
464 if (rate_control_param->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in lnc__H263ES_process_misc_param()
468 rate_control_param->bits_per_second, in lnc__H263ES_process_misc_param()
471 ctx->sRCParams.BitsPerSecond = rate_control_param->bits_per_second; in lnc__H263ES_process_misc_param()