Home | History | Annotate | Download | only in src

Lines Matching refs:sRCParams

155     IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
472 ctx->sRCParams.ui16BFrames = 0;
566 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
583 ctx->sRCParams.bRCEnable = IMG_TRUE;
584 ctx->sRCParams.bDisableBitStuffing = IMG_FALSE;
587 ctx->sRCParams.bRCEnable = IMG_FALSE;
588 ctx->sRCParams.eRCMode = IMG_RCMODE_NONE;
590 ctx->sRCParams.eRCMode = IMG_RCMODE_CBR;
592 ctx->sRCParams.eRCMode = IMG_RCMODE_VBR;
594 ctx->sRCParams.eRCMode = IMG_RCMODE_VCM;
596 ctx->sRCParams.bRCEnable = IMG_FALSE;
876 IMG_RC_PARAMS * psRCParams = &(ctx->sRCParams);
1335 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
1555 if (ctx->sRCParams.eRCMode == IMG_RCMODE_VBR) {
1602 if (ctx->sRCParams.eRCMode == IMG_RCMODE_VCM) {
1899 if (ctx->sRCParams.ui16BFrames) {
2048 IMG_UINT8 ui8FrameRate = (IMG_UINT8)ctx->sRCParams.ui32FrameRate;
2093 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
2205 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
2378 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
2593 IMG_RC_PARAMS * psRCParams = &(ctx->sRCParams);
2614 psMtxEncContext->ui32InitialQp = ctx->sRCParams.ui32InitialQp;
2615 psMtxEncContext->ui32BUSize = ctx->sRCParams.ui32BUSize;
2616 psMtxEncContext->ui16CQPOffset = (ctx->sRCParams.i8QCPOffset & 0x1f) | ((ctx->sRCParams.i8QCPOffset & 0x1f) << 8);
2631 psMtxEncContext->ui32BFrameCount = ctx->sRCParams.ui16BFrames;
2632 psMtxEncContext->b8Hierarchical = (IMG_BOOL8) ctx->sRCParams.b16Hierarchical;
2696 psMtxEncContext->eRCMode = ctx->sRCParams.eRCMode;
2697 psMtxEncContext->b8DisableBitStuffing = ctx->sRCParams.bDisableBitStuffing;
2814 psMtxEncContext->ui32VLCSliceControl = F_ENCODE(ctx->sRCParams.ui32SliceByteLimit, TOPAZ_VLC_CR_SLICE_SIZE_LIMIT);
2815 psMtxEncContext->ui32VLCSliceMBControl = F_ENCODE(ctx->sRCParams.ui32SliceMBLimit, TOPAZ_VLC_CR_SLICE_MBS_LIMIT);
2913 if (psMtxEncContext->b8InsertHRDparams & !ctx->sRCParams.ui32BitsPerSecond) { //ctx->uBitRate
2919 psMtxEncContext->ui64ClockDivBitrate /= ctx->sRCParams.ui32BitsPerSecond; //ctx->uBitRate;
2920 psMtxEncContext->ui32MaxBufferMultClockDivBitrate = (IMG_UINT32)(((IMG_UINT64)(ctx->sRCParams.ui32BufferSize) *
2921 (IMG_UINT64) 90000) / (IMG_UINT64) ctx->sRCParams.ui32BitsPerSecond);
2957 if (ctx->sRCParams.b16Hierarchical) {
3059 if (ctx->sRCParams.b16Hierarchical)
3171 ctx->uMBspS = ui16WidthInMbs * ui16FrameHeightInMbs * ctx->sRCParams.ui32FrameRate;
3203 //ctx->sRCParams.ui32SliceByteLimit = 0;
3204 ctx->sRCParams.ui32SliceMBLimit = 0;
3217 ctx->ui32pseudo_rand_seed = (IMG_UINT32) ((ctx->sRCParams.ui32InitialQp +
3218 ctx->ui16PictureHeight + ctx->ui16Width + ctx->sRCParams.ui32BitsPerSecond) & 0xffffffff);
3233 //IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
3294 ctx->sRCParams.ui32BUSize = ctx->ui32BasicUnit;
3404 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
3470 IMG_RC_PARAMS *psRCParams = &(ctx->sRCParams);
3500 if (ctx->sRCParams.ui16BFrames > 0)
3654 if (ctx->sRCParams.eRCMode != IMG_RCMODE_NONE ||
3662 if ((ctx->idr_force_flag == 1) && (ctx->sRCParams.ui16BFrames == 0)){