Home
last modified time | relevance | path

Searched refs:sRCParams (Results 1 – 20 of 20) sorted by relevance

/hardware/intel/img/psb_video/src/
Dpnw_H264ES.c135 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H264ES_CreateContext()
136 ctx->sRCParams.bDisableBitStuffing = IMG_FALSE; in pnw_H264ES_CreateContext()
139 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H264ES_CreateContext()
140 ctx->sRCParams.bDisableBitStuffing = IMG_TRUE; in pnw_H264ES_CreateContext()
143 ctx->sRCParams.RCEnable = IMG_FALSE; in pnw_H264ES_CreateContext()
144 ctx->sRCParams.bDisableBitStuffing = IMG_FALSE; in pnw_H264ES_CreateContext()
147 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H264ES_CreateContext()
148 ctx->sRCParams.bDisableBitStuffing = IMG_FALSE; in pnw_H264ES_CreateContext()
160 ctx->sRCParams.FrameRate = 30; in pnw_H264ES_CreateContext()
226 if(ctx->sRCParams.FrameRate == 0) in pnw__H264ES_process_sequence_param()
[all …]
Dpnw_MPEG4ES.c133 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_MPEG4ES_CreateContext()
136 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_MPEG4ES_CreateContext()
139 ctx->sRCParams.RCEnable = IMG_FALSE; in pnw_MPEG4ES_CreateContext()
200 ctx->sRCParams.InitialQp = 15; in pnw__MPEG4ES_process_sequence_param()
201 ctx->sRCParams.MinQP = 1; in pnw__MPEG4ES_process_sequence_param()
202 ctx->sRCParams.FrameRate = 30; in pnw__MPEG4ES_process_sequence_param()
214 ctx->sRCParams.BitsPerSecond = TOPAZ_MPEG4_MAX_BITRATE; in pnw__MPEG4ES_process_sequence_param()
220 ctx->sRCParams.BitsPerSecond = seq_params->bits_per_second; in pnw__MPEG4ES_process_sequence_param()
222 ctx->sRCParams.FrameRate = (seq_params->frame_rate < 1) ? in pnw__MPEG4ES_process_sequence_param()
224 ctx->sRCParams.InitialQp = seq_params->initial_qp; in pnw__MPEG4ES_process_sequence_param()
[all …]
Dpnw_H263ES.c131 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H263ES_CreateContext()
134 ctx->sRCParams.RCEnable = IMG_TRUE; in pnw_H263ES_CreateContext()
137 ctx->sRCParams.RCEnable = IMG_FALSE; in pnw_H263ES_CreateContext()
190 ctx->sRCParams.InitialQp = 15; in pnw__H263ES_process_sequence_param()
191 ctx->sRCParams.MinQP = 1; in pnw__H263ES_process_sequence_param()
192 ctx->sRCParams.FrameRate = 30; in pnw__H263ES_process_sequence_param()
204 ctx->sRCParams.BitsPerSecond = TOPAZ_H263_MAX_BITRATE; in pnw__H263ES_process_sequence_param()
210 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in pnw__H263ES_process_sequence_param()
212 ctx->sRCParams.FrameRate = (pSequenceParams->frame_rate < 1) ? 1 : in pnw__H263ES_process_sequence_param()
214 ctx->sRCParams.InitialQp = pSequenceParams->initial_qp; in pnw__H263ES_process_sequence_param()
[all …]
Dtng_H263ES.c139 switch(ctx->sRCParams.eRCMode) { in tng_H263ES_CreateContext()
150 drv_debug_msg(VIDEO_DEBUG_ERROR, "Unknown RCMode %08x\n", ctx->sRCParams.eRCMode); in tng_H263ES_CreateContext()
214 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H263ES_process_sequence_param()
251 ctx->sRCParams.ui32BitsPerSecond = TOPAZ_H263_MAX_BITRATE; in tng__H263ES_process_sequence_param()
257 ctx->sRCParams.ui32BitsPerSecond = psSeqParams->bits_per_second; in tng__H263ES_process_sequence_param()
282 ctx->sRCParams.ui16BFrames = 0; in tng__H263ES_process_sequence_param()
383 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H263ES_process_misc_param()
456 if (ctx->sRCParams.FrameRate == frame_rate_param->framerate) in tng__H263ES_process_misc_param()
460 ctx->sRCParams.FrameRate, in tng__H263ES_process_misc_param()
462 ctx->sRCParams.FrameRate = frame_rate_param->framerate; in tng__H263ES_process_misc_param()
[all …]
Dpnw_hostcode.c633 ctx->sRCParams.bBitrateChanged = IMG_FALSE; in pnw_BeginPicture()
674 if (ctx->sRCParams.RCEnable) { in pnw_set_bias()
675 flBpp = 1.0 * ctx->sRCParams.BitsPerSecond / in pnw_set_bias()
676 (ctx->sRCParams.FrameRate * ctx->Width * ctx->Height); in pnw_set_bias()
693 LoadH264Bias(cmdbuf, core, THSkip, ctx->sRCParams.QCPOffset); in pnw_set_bias()
800 psPicParams->NumSlices = ctx->sRCParams.Slices; in pnw_RenderPictureParameter()
856 if (ctx->sRCParams.RCEnable) { in pnw_RenderPictureParameter()
857 if (ctx->sRCParams.bDisableFrameSkipping) { in pnw_RenderPictureParameter()
862 if (ctx->sRCParams.bDisableBitStuffing && IS_H264_ENC(ctx->eCodec)) { in pnw_RenderPictureParameter()
872 && ctx->in_params_cache.IntraPeriod != ctx->sRCParams.IntraFreq) { in pnw_RenderPictureParameter()
[all …]
Dtng_MPEG4ES.c139 switch(ctx->sRCParams.eRCMode) { in tng_MPEG4ES_CreateContext()
150 drv_debug_msg(VIDEO_DEBUG_ERROR, "Unknown RCMode %08x\n", ctx->sRCParams.eRCMode); in tng_MPEG4ES_CreateContext()
225 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__MPEG4ES_process_sequence_param()
261 ctx->sRCParams.ui32BitsPerSecond = TOPAZ_MPEG4_MAX_BITRATE; in tng__MPEG4ES_process_sequence_param()
267 ctx->sRCParams.ui32BitsPerSecond = psSeqParams->bits_per_second; in tng__MPEG4ES_process_sequence_param()
294 ctx->sRCParams.ui16BFrames = 0; in tng__MPEG4ES_process_sequence_param()
380 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__MPEG4ES_process_misc_param()
Dtng_hostcode.c155 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__alloc_context_buffer()
472 ctx->sRCParams.ui16BFrames = 0; in tng__patch_hw_profile()
566 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__init_rc_params()
583 ctx->sRCParams.bRCEnable = IMG_TRUE; in tng__init_rc_params()
584 ctx->sRCParams.bDisableBitStuffing = IMG_FALSE; in tng__init_rc_params()
587 ctx->sRCParams.bRCEnable = IMG_FALSE; in tng__init_rc_params()
588 ctx->sRCParams.eRCMode = IMG_RCMODE_NONE; in tng__init_rc_params()
590 ctx->sRCParams.eRCMode = IMG_RCMODE_CBR; in tng__init_rc_params()
592 ctx->sRCParams.eRCMode = IMG_RCMODE_VBR; in tng__init_rc_params()
594 ctx->sRCParams.eRCMode = IMG_RCMODE_VCM; in tng__init_rc_params()
[all …]
Dtng_H264ES.c105 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_get_codec_type()
195 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_process_misc_framerate_param()
229 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_process_misc_ratecontrol_param()
264 ctx->sRCParams.bDisableBitStuffing = IMG_TRUE; in tng__H264ES_process_misc_ratecontrol_param()
266 ctx->sRCParams.bDisableBitStuffing); in tng__H264ES_process_misc_ratecontrol_param()
362 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_process_misc_hrd_param()
502 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_calculate_level()
606 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_process_sequence_param()
791 IMG_RC_PARAMS * psRCParams = &(ctx->sRCParams);
933 if (ctx->sRCParams.ui32InitialQp == 0) in tng__H264ES_process_picture_param_base()
[all …]
Dtng_hostair.c146 … ui8TotalBUs = (ctx->ui16PictureHeight / 16) * (ctx->ui16Width / 16) / ctx->sRCParams.ui32BUSize; in tng_fill_slice_map()
197 ui8SizeInKicks = ((ui32SliceHeight / 16)*(ctx->ui16Width/16))/ctx->sRCParams.ui32BUSize; in tng_fill_slice_map()
211 ui8SizeInKicks = ((ui32SliceHeight / 16)*(ctx->ui16Width/16))/ctx->sRCParams.ui32BUSize; in tng_fill_slice_map()
298 IMG_UINT32 ui32HalfWayMB=ui32HalfWayBU * ctx->sRCParams.ui32BUSize; in tng__fill_inp_ctrl_buf()
344 i8QP = tng__max(tng__min(i8QP, iMaxQP), ctx->sRCParams.iMinQP); in tng__fill_inp_ctrl_buf()
367 i8QP = tng__max(tng__min(i8QP, iMaxQP), ctx->sRCParams.iMinQP); in tng__fill_inp_ctrl_buf()
391 IMG_INT8 i8InitialQp = ctx->sRCParams.ui32InitialQp; in tng__fill_input_control()
Dtng_cmdbuf.c447 *cmdbuf->cmd_idx++ = ctx->sRCParams.ui32InitialQp; in tng_cmdbuf_insert_command()
448 *cmdbuf->cmd_idx++ = ctx->sRCParams.iMinQP; in tng_cmdbuf_insert_command()
Dtng_picmgmt.c91 } else if (((ui32FrameNum - 1) % (ctx->sRCParams.ui16BFrames + 1)) == 0) { in tng__picmgmt_long_term_refs()
93 ui32FrameCnt = ui32FrameNum + ctx->sRCParams.ui16BFrames; in tng__picmgmt_long_term_refs()
Dpnw_hostcode.h213 IMG_RC_PARAMS sRCParams; member
Dtng_hostcode.h391 IMG_RC_PARAMS sRCParams; member
Dtng_hostbias.c743 psBiasParams->bRCEnable = ctx->sRCParams.bRCEnable; in tng_init_bias_params()
Dtng_trace.c437 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in apSeqHeader_dump()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_H264ES.c147 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_H264ES_CreateContext()
150 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_H264ES_CreateContext()
153 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_H264ES_CreateContext()
156 ctx->sRCParams.RCEnable = IMG_FALSE; in lnc_H264ES_CreateContext()
232 (ctx->sRCParams.BitsPerSecond != pSequenceParams->bits_per_second)) in lnc__H264ES_process_sequence_param()
239 ctx->sRCParams.BitsPerSecond = TOPAZ_H264_MAX_BITRATE; in lnc__H264ES_process_sequence_param()
245 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in lnc__H264ES_process_sequence_param()
247 ctx->sRCParams.Slices = 1; in lnc__H264ES_process_sequence_param()
249 ctx->sRCParams.IntraFreq = pSequenceParams->intra_period; in lnc__H264ES_process_sequence_param()
250 if (ctx->sRCParams.IntraFreq == 0) in lnc__H264ES_process_sequence_param()
[all …]
Dlnc_hostcode.c171 ctx->sRCParams.VCMBitrateMargin = 0; in lnc_CreateContext()
172 ctx->sRCParams.BufferSize = 0; in lnc_CreateContext()
173 ctx->sRCParams.InitialQp = 0; in lnc_CreateContext()
174 ctx->sRCParams.MinQP = 0; in lnc_CreateContext()
402 if (ctx->sRCParams.RCEnable) { in lnc_RenderPictureParameter()
414 psPicParams->sInParams.SeInitQP = ctx->sRCParams.InitialQp; in lnc_RenderPictureParameter()
446 *ctx->initial_qp_in_cmdbuf = ctx->sRCParams.InitialQp; in lnc_RenderPictureParameter()
570 origin_qp = ctx->sRCParams.InitialQp; in lnc_SetupRCParam()
575 lnc__setup_rcdata(ctx, psPicParams, &ctx->sRCParams); in lnc_SetupRCParam()
578 ctx->sRCParams.InitialQp = origin_qp; in lnc_SetupRCParam()
[all …]
Dlnc_H263ES.c140 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_H263ES_CreateContext()
143 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_H263ES_CreateContext()
146 ctx->sRCParams.RCEnable = IMG_FALSE; in lnc_H263ES_CreateContext()
206 (ctx->sRCParams.BitsPerSecond != pSequenceParams->bits_per_second)) in lnc__H263ES_process_sequence_param()
210 ctx->sRCParams.BitsPerSecond = TOPAZ_H263_MAX_BITRATE; in lnc__H263ES_process_sequence_param()
216 ctx->sRCParams.BitsPerSecond = pSequenceParams->bits_per_second; in lnc__H263ES_process_sequence_param()
221 ctx->sRCParams.FrameRate = pSequenceParams->frame_rate; in lnc__H263ES_process_sequence_param()
222 ctx->sRCParams.InitialQp = pSequenceParams->initial_qp; in lnc__H263ES_process_sequence_param()
223 ctx->sRCParams.MinQP = pSequenceParams->min_qp; in lnc__H263ES_process_sequence_param()
224 ctx->sRCParams.BUSize = 0; /* default 0, and will be set in lnc__setup_busize */ in lnc__H263ES_process_sequence_param()
[all …]
Dlnc_MPEG4ES.c144 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_MPEG4ES_CreateContext()
147 ctx->sRCParams.RCEnable = IMG_TRUE; in lnc_MPEG4ES_CreateContext()
150 ctx->sRCParams.RCEnable = IMG_FALSE; in lnc_MPEG4ES_CreateContext()
215 (ctx->sRCParams.BitsPerSecond != seq_params->bits_per_second)) in lnc__MPEG4ES_process_sequence_param()
219 ctx->sRCParams.BitsPerSecond = TOPAZ_MPEG4_MAX_BITRATE; in lnc__MPEG4ES_process_sequence_param()
225 ctx->sRCParams.BitsPerSecond = seq_params->bits_per_second; in lnc__MPEG4ES_process_sequence_param()
230 ctx->sRCParams.FrameRate = seq_params->frame_rate; in lnc__MPEG4ES_process_sequence_param()
231 ctx->sRCParams.InitialQp = seq_params->initial_qp; in lnc__MPEG4ES_process_sequence_param()
232 ctx->sRCParams.MinQP = seq_params->min_qp; in lnc__MPEG4ES_process_sequence_param()
233 ctx->sRCParams.BUSize = 0; /* default 0, and will be set in lnc__setup_busize */ in lnc__MPEG4ES_process_sequence_param()
[all …]
Dlnc_hostcode.h169 IMG_RC_PARAMS sRCParams; member