Home
last modified time | relevance | path

Searched refs:bits_per_second (Results 1 – 25 of 26) sorted by relevance

12

/hardware/intel/img/psb_video/src/
Dtng_H263ES.c250 if (psSeqParams->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in tng__H263ES_process_sequence_param()
254 psSeqParams->bits_per_second, in tng__H263ES_process_sequence_param()
257 ctx->sRCParams.ui32BitsPerSecond = psSeqParams->bits_per_second; in tng__H263ES_process_sequence_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()
413 if (rate_control_param->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in tng__H263ES_process_misc_param()
417 rate_control_param->bits_per_second, in tng__H263ES_process_misc_param()
420 psRCParams->ui32BitsPerSecond = rate_control_param->bits_per_second; in tng__H263ES_process_misc_param()
480 rate_control_param->bits_per_second); in tng__H263ES_process_misc_param()
482 if ((rate_control_param->bits_per_second == ctx->sRCParams.ui32BitsPerSecond) && in tng__H263ES_process_misc_param()
[all …]
Dpnw_H264ES.c234 if (!pSequenceParams->bits_per_second) { in pnw__H264ES_process_sequence_param()
235 pSequenceParams->bits_per_second = ctx->Height * ctx->Width * 30 * 12; in pnw__H264ES_process_sequence_param()
237 pSequenceParams->bits_per_second); in pnw__H264ES_process_sequence_param()
240 (pSequenceParams->bits_per_second == ctx->sRCParams.BitsPerSecond ? in pnw__H264ES_process_sequence_param()
243 if (pSequenceParams->bits_per_second > TOPAZ_H264_MAX_BITRATE) { in pnw__H264ES_process_sequence_param()
247 pSequenceParams->bits_per_second, 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()
270 pSequenceParams->bits_per_second = in pnw__H264ES_process_sequence_param()
271 pSequenceParams->bits_per_second / 100 * 110; in pnw__H264ES_process_sequence_param()
[all …]
Dtng_MPEG4ES.c260 if (psSeqParams->bits_per_second > TOPAZ_MPEG4_MAX_BITRATE) { in tng__MPEG4ES_process_sequence_param()
264 psSeqParams->bits_per_second, in tng__MPEG4ES_process_sequence_param()
267 ctx->sRCParams.ui32BitsPerSecond = psSeqParams->bits_per_second; in tng__MPEG4ES_process_sequence_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()
410 if (rate_control_param->bits_per_second > TOPAZ_MPEG4_MAX_BITRATE) { in tng__MPEG4ES_process_misc_param()
414 rate_control_param->bits_per_second, in tng__MPEG4ES_process_misc_param()
417 psRCParams->ui32BitsPerSecond = rate_control_param->bits_per_second; in tng__MPEG4ES_process_misc_param()
Dtng_H264ES.c243 __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()
305 __FUNCTION__, psRCParams->ui32BitsPerSecond, psMiscRcParams->bits_per_second); in tng__H264ES_process_misc_ratecontrol_param()
689 if (!psSeqParams->bits_per_second) { in tng__H264ES_process_sequence_param()
[all …]
Dvsp_vp8.c310 seq->rc_target_bitrate = va_seq->bits_per_second / 1000; in vsp_vp8_process_seqence_param()
312 (va_seq->bits_per_second / seq->frame_rate); in vsp_vp8_process_seqence_param()
620 if (rate_control_param->bits_per_second / 1000 != seq->rc_target_bitrate) { in vsp_vp8_process_misc_param()
622 seq->rc_target_bitrate, rate_control_param->bits_per_second / 1000); in vsp_vp8_process_misc_param()
623 seq->rc_target_bitrate = rate_control_param->bits_per_second / 1000; in vsp_vp8_process_misc_param()
624 seq->ts_target_bitrate[0] = rate_control_param->bits_per_second / 1000; in vsp_vp8_process_misc_param()
629 if (rate_control_param->bits_per_second / 1000 != seq->ts_target_bitrate[layer_id]) { in vsp_vp8_process_misc_param()
631 … seq->ts_target_bitrate[layer_id], rate_control_param->bits_per_second / 1000); in vsp_vp8_process_misc_param()
632 seq->ts_target_bitrate[layer_id] = rate_control_param->bits_per_second / 1000; in vsp_vp8_process_misc_param()
Dpnw_H263ES.c203 if (pSequenceParams->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in pnw__H263ES_process_sequence_param()
207 pSequenceParams->bits_per_second, in pnw__H263ES_process_sequence_param()
210 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in pnw__H263ES_process_sequence_param()
Dpnw_MPEG4ES.c213 if (seq_params->bits_per_second > TOPAZ_MPEG4_MAX_BITRATE) { in pnw__MPEG4ES_process_sequence_param()
217 seq_params->bits_per_second, in pnw__MPEG4ES_process_sequence_param()
220 ctx->sRCParams.BitsPerSecond = seq_params->bits_per_second; in pnw__MPEG4ES_process_sequence_param()
Dtng_trace.c1143 …O_DEBUG_GENERAL,"%s: bits_per_second = 0x%08x\n", __FUNCTION__, psTraceSeqParams->bits_per_second); in tng_H264ES_trace_seq_params()
1181 …EBUG_GENERAL, "%s bits_per_second = 0x%08x\n", __FUNCTION__, psTraceMiscRcParams->bits_per_second); in tng_H264ES_trace_misc_rc_params()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_MPEG4ES.c215 (ctx->sRCParams.BitsPerSecond != seq_params->bits_per_second)) in lnc__MPEG4ES_process_sequence_param()
218 if (seq_params->bits_per_second > TOPAZ_MPEG4_MAX_BITRATE) { in lnc__MPEG4ES_process_sequence_param()
222 seq_params->bits_per_second, in lnc__MPEG4ES_process_sequence_param()
225 ctx->sRCParams.BitsPerSecond = seq_params->bits_per_second; in lnc__MPEG4ES_process_sequence_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.c206 (ctx->sRCParams.BitsPerSecond != pSequenceParams->bits_per_second)) in lnc__H263ES_process_sequence_param()
209 if (pSequenceParams->bits_per_second > TOPAZ_H263_MAX_BITRATE) { in lnc__H263ES_process_sequence_param()
213 pSequenceParams->bits_per_second, in lnc__H263ES_process_sequence_param()
216 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in lnc__H263ES_process_sequence_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()
Dlnc_H264ES.c232 (ctx->sRCParams.BitsPerSecond != pSequenceParams->bits_per_second)) in lnc__H264ES_process_sequence_param()
238 if (pSequenceParams->bits_per_second > TOPAZ_H264_MAX_BITRATE) { in lnc__H264ES_process_sequence_param()
242 pSequenceParams->bits_per_second, in lnc__H264ES_process_sequence_param()
245 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in lnc__H264ES_process_sequence_param()
630 if (rate_control_param->bits_per_second > TOPAZ_H264_MAX_BITRATE) { in lnc__H264ES_process_misc_param()
634 rate_control_param->bits_per_second, in lnc__H264ES_process_misc_param()
637 bit_rate = rate_control_param->bits_per_second; in lnc__H264ES_process_misc_param()
641 rate_control_param->bits_per_second); in lnc__H264ES_process_misc_param()
643 if ((rate_control_param->bits_per_second == ctx->sRCParams.BitsPerSecond) && in lnc__H264ES_process_misc_param()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderH263.cpp58 h263SequenceParam.bits_per_second= mComParams.rcParams.bitRate; in renderSequenceParams()
68 LOG_I( "bitrate = %d\n", h263SequenceParam.bits_per_second); in renderSequenceParams()
DVideoEncoderVP8.cpp91 vp8SeqParam.bits_per_second = mComParams.rcParams.bitRate; in renderSequenceParams()
165 misc_rate_ctrl->bits_per_second = mComParams.rcParams.bitRate; in renderRCParams()
170 misc_rate_ctrl->bits_per_second = mTemporalLayerBitrateFramerate[layer_id].bitRate; in renderRCParams()
DVideoEncoderMP4.cpp142 mp4SequenceParams.bits_per_second= mComParams.rcParams.bitRate; in renderSequenceParams()
158 LOG_I("bitrate = %d\n", mp4SequenceParams.bits_per_second); in renderSequenceParams()
DVideoEncoderAVC.cpp991 avcSeqParams.bits_per_second = mComParams.rcParams.bitRate; in renderSequenceParams()
1003 rcMiscParam->bits_per_second = 0; in renderSequenceParams()
1055 LOG_V( "bitrate = %d\n", rcMiscParam->bits_per_second); in renderSequenceParams()
Dbitstream.h318 sps_rbsp(&bs, profile, seq_param->bits_per_second, seq_param); in build_packed_seq_buffer()
DVideoEncoderBase.cpp1806 bitrateControlParam->bits_per_second = mComParams.rcParams.bitRate; in renderDynamicBitrate()
1825 LOG_I("bits_per_second = %d\n", bitrateControlParam->bits_per_second); in renderDynamicBitrate()
/hardware/intel/common/libva/va/
Dva_enc_vp8.h86 unsigned int bits_per_second; member
Dva_enc_mpeg2.h126 unsigned int bits_per_second; member
Dva_enc_h264.h168 unsigned int bits_per_second; member
Dva.h1418 unsigned int bits_per_second; member
2312 unsigned int bits_per_second; member
2341 unsigned int bits_per_second; member
Dva_trace.c1131 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferMPEG4()
1442 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferH264()
1742 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncMiscParameterBuffer()
1955 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferVP8()
2298 va_TraceMsg(trace_ctx, "\tbits_per_second = %d\n", p->bits_per_second); in va_TraceVAEncSequenceParameterBufferH263()
/hardware/intel/common/libva/test/encode/
Dmpeg2enc.c292 …bitstream_put_ui(bs, (seq_param->bits_per_second + 399) / 400, 18); /* the low 18 bits of bit_rate… in sps_rbsp()
308 …bitstream_put_ui(bs, ((seq_param->bits_per_second + 399) / 400) >> 18, 12); /* bit_rate_extension … in sps_rbsp()
768 seq_param->bits_per_second = 1024 * ctx->bit_rate; /* use kbps as input */ in mpeg2enc_init_sequence_parameter()
770 seq_param->bits_per_second = 0x3FFFF * 400; in mpeg2enc_init_sequence_parameter()
Dmpeg2vaenc.c292 …bitstream_put_ui(bs, (seq_param->bits_per_second + 399) / 400, 18); /* the low 18 bits of bit_rate… in sps_rbsp()
308 …bitstream_put_ui(bs, ((seq_param->bits_per_second + 399) / 400) >> 18, 12); /* bit_rate_extension … in sps_rbsp()
768 seq_param->bits_per_second = 1024 * ctx->bit_rate; /* use kbps as input */ in mpeg2enc_init_sequence_parameter()
770 seq_param->bits_per_second = 0x3FFFF * 400; in mpeg2enc_init_sequence_parameter()
Davcenc.c1420 seq_param->bits_per_second = 1024 * frame_bit_rate; /* use kbps as input */ in avcenc_context_seq_param_init()
1422 seq_param->bits_per_second = 0; in avcenc_context_seq_param_init()
1483 target_bit_rate = avcenc_context.seq_param.bits_per_second; in avcenc_context_sei_init()

12