Lines Matching refs:sRCParams
155 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()
596 ctx->sRCParams.bRCEnable = IMG_FALSE; in tng__init_rc_params()
876 IMG_RC_PARAMS * psRCParams = &(ctx->sRCParams); in tng__provide_buffer_BFrames()
1335 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__setup_rcdata()
1555 if (ctx->sRCParams.eRCMode == IMG_RCMODE_VBR) { in tng__setup_rcdata()
1602 if (ctx->sRCParams.eRCMode == IMG_RCMODE_VCM) { in tng__setup_rcdata()
1899 if (ctx->sRCParams.ui16BFrames) { in tng__prepare_encode_sliceparams()
2048 IMG_UINT8 ui8FrameRate = (IMG_UINT8)ctx->sRCParams.ui32FrameRate; in tng__h263_generate_pic_hdr_template()
2093 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_send_seq_header()
2205 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__H264ES_send_hrd_header()
2378 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__prepare_templates()
2593 IMG_RC_PARAMS * psRCParams = &(ctx->sRCParams); in tng__setvideo_params()
2614 psMtxEncContext->ui32InitialQp = ctx->sRCParams.ui32InitialQp; in tng__setvideo_params()
2615 psMtxEncContext->ui32BUSize = ctx->sRCParams.ui32BUSize; in tng__setvideo_params()
2616 …psMtxEncContext->ui16CQPOffset = (ctx->sRCParams.i8QCPOffset & 0x1f) | ((ctx->sRCParams.i8QCPOffse… in tng__setvideo_params()
2631 psMtxEncContext->ui32BFrameCount = ctx->sRCParams.ui16BFrames; in tng__setvideo_params()
2632 psMtxEncContext->b8Hierarchical = (IMG_BOOL8) ctx->sRCParams.b16Hierarchical; in tng__setvideo_params()
2696 psMtxEncContext->eRCMode = ctx->sRCParams.eRCMode; in tng__setvideo_params()
2697 psMtxEncContext->b8DisableBitStuffing = ctx->sRCParams.bDisableBitStuffing; in tng__setvideo_params()
2814 …psMtxEncContext->ui32VLCSliceControl = F_ENCODE(ctx->sRCParams.ui32SliceByteLimit, TOPAZ_VLC_CR_SL… in tng__setvideo_params()
2815 …psMtxEncContext->ui32VLCSliceMBControl = F_ENCODE(ctx->sRCParams.ui32SliceMBLimit, TOPAZ_VLC_CR_SL… in tng__setvideo_params()
2913 if (psMtxEncContext->b8InsertHRDparams & !ctx->sRCParams.ui32BitsPerSecond) { //ctx->uBitRate in tng__setvideo_params()
2919 …psMtxEncContext->ui64ClockDivBitrate /= ctx->sRCParams.ui32BitsPerSecond; //… in tng__setvideo_params()
2920 …ext->ui32MaxBufferMultClockDivBitrate = (IMG_UINT32)(((IMG_UINT64)(ctx->sRCParams.ui32BufferSize) * in tng__setvideo_params()
2921 (IMG_UINT64) 90000) / (IMG_UINT64) ctx->sRCParams.ui32BitsPerSecond); in tng__setvideo_params()
2957 if (ctx->sRCParams.b16Hierarchical) { in tng__setvideo_params()
3059 if (ctx->sRCParams.b16Hierarchical) in tng__setvideo_cmdbuf()
3171 ctx->uMBspS = ui16WidthInMbs * ui16FrameHeightInMbs * ctx->sRCParams.ui32FrameRate; in tng__validate_params()
3204 ctx->sRCParams.ui32SliceMBLimit = 0; in tng__validate_params()
3217 ctx->ui32pseudo_rand_seed = (IMG_UINT32) ((ctx->sRCParams.ui32InitialQp + in tng__validate_params()
3218 … ctx->ui16PictureHeight + ctx->ui16Width + ctx->sRCParams.ui32BitsPerSecond) & 0xffffffff); in tng__validate_params()
3294 ctx->sRCParams.ui32BUSize = ctx->ui32BasicUnit; in tng__validate_busize()
3404 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__update_ratecontrol()
3470 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams); in tng__cmdbuf_send_picmgmt()
3500 if (ctx->sRCParams.ui16BFrames > 0) in tng__cmdbuf_provide_buffer()
3654 if (ctx->sRCParams.eRCMode != IMG_RCMODE_NONE || in tng_EndPicture()
3662 if ((ctx->idr_force_flag == 1) && (ctx->sRCParams.ui16BFrames == 0)){ in tng_EndPicture()