• Home
  • Raw
  • Download

Lines Matching refs:psPicParams

52     PIC_PARAMS *psPicParams,
714 PIC_PARAMS *psPicParams; /* PIC_PARAMS has been put in pnw_hostcode.h */ in pnw_RenderPictureParameter() local
722 psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p + ctx->pic_params_size * core); in pnw_RenderPictureParameter()
724 memset(psPicParams, 0, sizeof(PIC_PARAMS)); in pnw_RenderPictureParameter()
766 psPicParams->SrcYStride = src_surface->psb_surface->stride; in pnw_RenderPictureParameter()
770 psPicParams->SrcUVStride = src_surface->psb_surface->stride / 2; in pnw_RenderPictureParameter()
771 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 8 / 2; in pnw_RenderPictureParameter()
775 psPicParams->SrcUVStride = src_surface->psb_surface->stride; in pnw_RenderPictureParameter()
776 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 8; in pnw_RenderPictureParameter()
781 psPicParams->SrcYRowStride = src_surface->psb_surface->stride * 16; in pnw_RenderPictureParameter()
791 psPicParams->DstYStride = rec_surface->psb_surface->stride; in pnw_RenderPictureParameter()
792 psPicParams->DstUVStride = rec_surface->psb_surface->stride; in pnw_RenderPictureParameter()
794 psPicParams->DstYStride = rec_surface->psb_surface->stride; in pnw_RenderPictureParameter()
795 psPicParams->DstUVStride = rec_surface->psb_surface->stride; in pnw_RenderPictureParameter()
798 psPicParams->Width = ctx->Width; in pnw_RenderPictureParameter()
799 psPicParams->Height = ctx->Height; in pnw_RenderPictureParameter()
800 psPicParams->NumSlices = ctx->sRCParams.Slices; in pnw_RenderPictureParameter()
802 psPicParams->IsPerSliceOutput = IMG_FALSE; in pnw_RenderPictureParameter()
803 psPicParams->SearchHeight = min(MVEA_LRB_SEARCH_HEIGHT, psPicParams->Height); in pnw_RenderPictureParameter()
804 psPicParams->SearchWidth = min(MVEA_LRB_SEARCH_WIDTH, psPicParams->Width); in pnw_RenderPictureParameter()
807 psPicParams->Flags = 0; in pnw_RenderPictureParameter()
813 psPicParams->Flags |= ISH264_FLAGS; in pnw_RenderPictureParameter()
818 psPicParams->Flags |= ISH263_FLAGS; in pnw_RenderPictureParameter()
823 psPicParams->Flags |= ISMPEG4_FLAGS; in pnw_RenderPictureParameter()
833 psPicParams->Flags |= ISVBR_FLAGS; in pnw_RenderPictureParameter()
836 psPicParams->Flags |= (ISVCM_FLAGS | ISCBR_FLAGS); in pnw_RenderPictureParameter()
841 psPicParams->Flags |= ISCBR_FLAGS; in pnw_RenderPictureParameter()
853 psPicParams->Flags |= SYNC_SEQUENCER; in pnw_RenderPictureParameter()
858 psPicParams->Flags |= DISABLE_FRAME_SKIPPING; in pnw_RenderPictureParameter()
863 psPicParams->Flags |= DISABLE_BIT_STUFFING; in pnw_RenderPictureParameter()
883 psPicParams->Flags &= ~FIRST_FRAME; in pnw_RenderPictureParameter()
885 memcpy(&psPicParams->sInParams, &ctx->in_params_cache, sizeof(IN_RC_PARAMS)); in pnw_RenderPictureParameter()
887 psPicParams->Flags |= ISRC_FLAGS; in pnw_RenderPictureParameter()
888 psPicParams->Flags |= FIRST_FRAME; in pnw_RenderPictureParameter()
891 psPicParams->sInParams.SeInitQP = ctx->sRCParams.InitialQp; in pnw_RenderPictureParameter()
899 RELOC_PIC_PARAMS_PNW(&psPicParams->SrcYBase, srf_buf_offset, &src_surface->psb_surface->buf); in pnw_RenderPictureParameter()
904 RELOC_PIC_PARAMS_PNW(&psPicParams->SrcUBase, in pnw_RenderPictureParameter()
908 RELOC_PIC_PARAMS_PNW(&psPicParams->SrcVBase, in pnw_RenderPictureParameter()
919 RELOC_PIC_PARAMS_PNW(&psPicParams->DstYBase, 0, &rec_surface->psb_surface->buf); in pnw_RenderPictureParameter()
921 RELOC_PIC_PARAMS_PNW(&psPicParams->DstUVBase, in pnw_RenderPictureParameter()
925 RELOC_PIC_PARAMS_PNW(&psPicParams->BelowParamsInBase, in pnw_RenderPictureParameter()
929 RELOC_PIC_PARAMS_PNW(&psPicParams->BelowParamsOutBase, in pnw_RenderPictureParameter()
933 RELOC_PIC_PARAMS_PNW(&psPicParams->AboveParamsBase, in pnw_RenderPictureParameter()
937 …RELOC_PIC_PARAMS_PNW(&psPicParams->CodedBase, ctx->coded_buf_per_slice * core, ctx->coded_buf->psb… in pnw_RenderPictureParameter()
946 PIC_PARAMS *psPicParams = (PIC_PARAMS *)cmdbuf->pic_params_p; in pnw_SetupRCParam() local
954 psPicParams->Flags |= ISRC_FLAGS; in pnw_SetupRCParam()
955 pnw__setup_rcdata(ctx, psPicParams, &ctx->sRCParams); in pnw_SetupRCParam()
964 (unsigned char *)&psPicParams->sInParams, in pnw_SetupRCParam()
966 psPicParamsTmp->Flags |= psPicParams->Flags; in pnw_SetupRCParam()
970 memcpy(&ctx->in_params_cache, (unsigned char *)&psPicParams->sInParams, sizeof(IN_RC_PARAMS)); in pnw_SetupRCParam()
980 PIC_PARAMS *psPicParams = (PIC_PARAMS *)cmdbuf->pic_params_p; in pnw_EndPicture() local
998 pnw__update_rcdata(ctx, psPicParams, &ctx->sRCParams); in pnw_EndPicture()
1000 psPicParams->sInParams.MinQPVal = ctx->sRCParams.MinQP; in pnw_EndPicture()
1001 … memcpy(&ctx->in_params_cache, (unsigned char *)&psPicParams->sInParams, sizeof(IN_RC_PARAMS)); in pnw_EndPicture()
1006 (unsigned char *)&psPicParams->sInParams, sizeof(IN_RC_PARAMS)); in pnw_EndPicture()
1014 drv_debug_msg(VIDEO_DEBUG_GENERAL, "sizeof in_params %d\n", sizeof(psPicParams->sInParams)); in pnw_EndPicture()
1015 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SrcYBase 0x%08x\n", psPicParams->SrcYBase); in pnw_EndPicture()
1016 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SrcUBase 0x%08x\n", psPicParams->SrcUBase); in pnw_EndPicture()
1017 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SrcVBase 0x%08x\n", psPicParams->SrcVBase); in pnw_EndPicture()
1018 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->DstYBase 0x%08x\n", psPicParams->DstYBase); in pnw_EndPicture()
1019 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->DstUVBase 0x%08x\n", psPicParams->DstUVBase); in pnw_EndPicture()
1020 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SrcYStride 0x%08x\n", psPicParams->SrcYStride); in pnw_EndPicture()
1021 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SrcUVStride 0x%08x\n", psPicParams->SrcUVStride); in pnw_EndPicture()
1022 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SrcYRowStride 0x%08x\n", psPicParams->SrcYRowStride… in pnw_EndPicture()
1023 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SrcUVRowStride 0x%08x\n", psPicParams->SrcUVRowStri… in pnw_EndPicture()
1024 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->DstYStride 0x%08x\n", psPicParams->DstYStride); in pnw_EndPicture()
1025 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->DstUVStride 0x%08x\n", psPicParams->DstUVStride); in pnw_EndPicture()
1026 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->CodedBase 0x%08x\n", psPicParams->CodedBase); in pnw_EndPicture()
1027 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->BelowParamsInBase 0x%08x\n", psPicParams->BelowPara… in pnw_EndPicture()
1028 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->BelowParamsOutBase 0x%08x\n", psPicParams->BelowPar… in pnw_EndPicture()
1029 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->AboveParamsBase 0x%08x\n", psPicParams->AboveParams… in pnw_EndPicture()
1030 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->Width 0x%08x\n", psPicParams->Width); in pnw_EndPicture()
1031 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->Height 0x%08x\n", psPicParams->Height); in pnw_EndPicture()
1032 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->Flags 0x%08x\n", psPicParams->Flags); in pnw_EndPicture()
1033 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SerachWidth 0x%08x\n", psPicParams->SearchWidth); in pnw_EndPicture()
1034 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->SearchHeight 0x%08x\n", psPicParams->SearchHeight); in pnw_EndPicture()
1035 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PicParams->NumSlices 0x%08x\n", psPicParams->NumSlices); in pnw_EndPicture()
1036 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->ClockDivBitrate %lld\n", psPicParams->ClockDivBit… in pnw_EndPicture()
1038 psPicParams->MaxBufferMultClockDivBitrate); in pnw_EndPicture()
1039 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.SeInitQP %d\n", psPicParams->sInParams.… in pnw_EndPicture()
1040 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.MinQPVal %d\n", psPicParams->sInParams.… in pnw_EndPicture()
1041 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.MaxQPVal %d\n", psPicParams->sInParams.… in pnw_EndPicture()
1042 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.MBPerRow %d\n", psPicParams->sInParams.… in pnw_EndPicture()
1043 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.MBPerFrm %d\n", psPicParams->sInParams.… in pnw_EndPicture()
1044 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.MBPerBU %d\n", psPicParams->sInParams.M… in pnw_EndPicture()
1045 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.BUPerFrm %d\n", psPicParams->sInParams.… in pnw_EndPicture()
1046 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.IntraPeriod %d\n", psPicParams->sInPara… in pnw_EndPicture()
1047 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.BitsPerFrm %d\n", psPicParams->sInParam… in pnw_EndPicture()
1048 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.BitsPerBU %d\n", psPicParams->sInParams… in pnw_EndPicture()
1049 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.BitsPerMB %d\n", psPicParams->sInParams… in pnw_EndPicture()
1050 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.BitRate %d\n", psPicParams->sInParams.B… in pnw_EndPicture()
1051 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.BufferSize %d\n", psPicParams->sInParam… in pnw_EndPicture()
1052 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.InitialLevel %d\n", psPicParams->sInPar… in pnw_EndPicture()
1053 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.InitialDelay %d\n", psPicParams->sInPar… in pnw_EndPicture()
1054 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.ScaleFactor %d\n", psPicParams->sInPara… in pnw_EndPicture()
1055 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.VCMBitrateMargin %d\n", psPicParams->sI… in pnw_EndPicture()
1056 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.HalfFrameRate %d\n", psPicParams->sInPa… in pnw_EndPicture()
1057 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.FCode %d\n", psPicParams->sInParams.FCo… in pnw_EndPicture()
1058 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.BitsPerGOP %d\n", psPicParams->sInParam… in pnw_EndPicture()
1059 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.AvQPVal %d\n", psPicParams->sInParams.A… in pnw_EndPicture()
1060 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.MyInitQP %d\n", psPicParams->sInParams.… in pnw_EndPicture()
1061 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.ForeceSkipMargin %d\n", psPicParams->sI… in pnw_EndPicture()
1062 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.RCScaleFactor %d\n", psPicParams->sInPa… in pnw_EndPicture()
1063 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.TransferRate %d\n", psPicParams->sInPar… in pnw_EndPicture()
1064 …drv_debug_msg(VIDEO_DEBUG_GENERAL, "psPicParams->sInParams.MaxFrameSize %d\n", psPicParams->sInPar… in pnw_EndPicture()
1228 PIC_PARAMS *psPicParams, in pnw__update_rcdata() argument
1243 psPicParams->sInParams.IntraPeriod = psRCParams->IntraFreq; in pnw__update_rcdata()
1244 psPicParams->sInParams.BitRate = psRCParams->BitsPerSecond; in pnw__update_rcdata()
1245psPicParams->sInParams.BitsPerFrm = (psRCParams->BitsPerSecond + psRCParams->FrameRate / 2) / psRC… in pnw__update_rcdata()
1246psPicParams->sInParams.BitsPerGOP = (psRCParams->BitsPerSecond / psRCParams->FrameRate) * psRCPara… in pnw__update_rcdata()
1247psPicParams->sInParams.BitsPerBU = psPicParams->sInParams.BitsPerFrm / (4 * psPicParams->sInPar… in pnw__update_rcdata()
1248 psPicParams->sInParams.BitsPerMB = psPicParams->sInParams.BitsPerBU / psRCParams->BUSize; in pnw__update_rcdata()
1249 psPicParams->sInParams.TransferRate = psRCParams->BitsPerSecond / psRCParams->FrameRate; in pnw__update_rcdata()
1251 i32BufferSizeInFrames = psRCParams->BufferSize / psPicParams->sInParams.BitsPerFrm; in pnw__update_rcdata()
1265 psPicParams->sInParams.MaxQPVal = 51; in pnw__update_rcdata()
1266 psPicParams->sInParams.RCScaleFactor = 16; in pnw__update_rcdata()
1269 psPicParams->sInParams.MaxQPVal = 51; in pnw__update_rcdata()
1270 psPicParams->sInParams.RCScaleFactor = 16; in pnw__update_rcdata()
1279 psPicParams->sInParams.MinQPVal = (max(min(psPicParams->sInParams.MaxQPVal, i16TempQP), 0)); in pnw__update_rcdata()
1287 psPicParams->sInParams.SeInitQP = (IMG_UINT8)(47 - 78.10 * flBpp); in pnw__update_rcdata()
1290 psPicParams->sInParams.SeInitQP = (IMG_UINT8)(45 - 66.67 * flBpp); in pnw__update_rcdata()
1293 psPicParams->sInParams.SeInitQP = (IMG_UINT8)(36 - 24.72 * flBpp); in pnw__update_rcdata()
1296 psPicParams->sInParams.SeInitQP = (IMG_UINT8)(34 - 19.78 * flBpp); in pnw__update_rcdata()
1299 psPicParams->sInParams.SeInitQP = (IMG_UINT8)(27 - 9.89 * flBpp); in pnw__update_rcdata()
1302 psPicParams->sInParams.SeInitQP = (IMG_UINT8)(20 - 4.95 * flBpp); in pnw__update_rcdata()
1304 psPicParams->sInParams.SeInitQP = psPicParams->sInParams.MinQPVal; in pnw__update_rcdata()
1306 if (psPicParams->sInParams.SeInitQP < psPicParams->sInParams.MinQPVal) in pnw__update_rcdata()
1307 psPicParams->sInParams.SeInitQP = psPicParams->sInParams.MinQPVal; in pnw__update_rcdata()
1315 psPicParams->sInParams.RCScaleFactor = 16; in pnw__update_rcdata()
1316 psPicParams->sInParams.MaxQPVal = 31; in pnw__update_rcdata()
1343 psPicParams->sInParams.SeInitQP = 31; in pnw__update_rcdata()
1346 psPicParams->sInParams.SeInitQP = 26; in pnw__update_rcdata()
1349 psPicParams->sInParams.SeInitQP = 22; in pnw__update_rcdata()
1352 psPicParams->sInParams.SeInitQP = 18; in pnw__update_rcdata()
1355 psPicParams->sInParams.SeInitQP = 14; in pnw__update_rcdata()
1358 psPicParams->sInParams.SeInitQP = 10; in pnw__update_rcdata()
1360 psPicParams->sInParams.SeInitQP = 8; in pnw__update_rcdata()
1362 psPicParams->sInParams.AvQPVal = psPicParams->sInParams.SeInitQP; in pnw__update_rcdata()
1367 psPicParams->sInParams.MinQPVal = 1; in pnw__update_rcdata()
1369 psPicParams->sInParams.MinQPVal = 4; in pnw__update_rcdata()
1386 psPicParams->Flags |= (ISVCM_FLAGS | ISCBR_FLAGS); in pnw__update_rcdata()
1389 psPicParams->sInParams.VCMBitrateMargin = 122; in pnw__update_rcdata()
1392 psPicParams->sInParams.VCMBitrateMargin = 127; in pnw__update_rcdata()
1397 psPicParams->sInParams.VCMBitrateMargin -= 5; in pnw__update_rcdata()
1399psPicParams->sInParams.ForeceSkipMargin = 0; /* start skipping MBs when within 500 bits of slice o… in pnw__update_rcdata()
1401 psPicParams->sInParams.ScaleFactor = 0; in pnw__update_rcdata()
1403 psPicParams->sInParams.ScaleFactor = 1; in pnw__update_rcdata()
1405 psPicParams->sInParams.ScaleFactor = 2; in pnw__update_rcdata()
1407 psPicParams->sInParams.ScaleFactor = 3; in pnw__update_rcdata()
1409 psPicParams->sInParams.ScaleFactor = 4; in pnw__update_rcdata()
1412 psPicParams->sInParams.BufferSize = i32BufferSizeInFrames; in pnw__update_rcdata()
1416 psPicParams->Flags |= ISCBR_FLAGS; in pnw__update_rcdata()
1419 psPicParams->sInParams.BufferSize = psRCParams->BufferSize; in pnw__update_rcdata()
1423 psPicParams->sInParams.ScaleFactor = 0; in pnw__update_rcdata()
1425 psPicParams->sInParams.ScaleFactor = 1; in pnw__update_rcdata()
1427 psPicParams->sInParams.ScaleFactor = 2; in pnw__update_rcdata()
1429 psPicParams->sInParams.ScaleFactor = 3; in pnw__update_rcdata()
1431 psPicParams->sInParams.ScaleFactor = 4; in pnw__update_rcdata()
1437 psPicParams->Flags |= ISCBR_FLAGS; in pnw__update_rcdata()
1442 …if ((psPicParams->sInParams.MBPerFrm > 1024 && flBpp < 16) || (psPicParams->sInParams.MBPerFrm <= … in pnw__update_rcdata()
1443 psPicParams->sInParams.HalfFrameRate = 1; in pnw__update_rcdata()
1445 psPicParams->sInParams.HalfFrameRate = 0; in pnw__update_rcdata()
1447 if (psPicParams->sInParams.HalfFrameRate >= 1) { in pnw__update_rcdata()
1448 psPicParams->sInParams.SeInitQP = 31; in pnw__update_rcdata()
1449 psPicParams->sInParams.AvQPVal = 31; in pnw__update_rcdata()
1450 psPicParams->sInParams.MyInitQP = 31; in pnw__update_rcdata()
1453 psPicParams->sInParams.BufferSize = psRCParams->BufferSize; in pnw__update_rcdata()
1454 if (psPicParams->sInParams.BufferSize > 112 * 16384) // Simple Profile L5 Constraints in pnw__update_rcdata()
1455 psPicParams->sInParams.BufferSize = 112 * 16384; in pnw__update_rcdata()
1461 psPicParams->Flags |= ISVBR_FLAGS; in pnw__update_rcdata()
1463 psPicParams->sInParams.MBPerBU = psPicParams->sInParams.MBPerFrm; in pnw__update_rcdata()
1464 psPicParams->sInParams.BUPerFrm = 1; in pnw__update_rcdata()
1467 psPicParams->sInParams.BufferSize = psRCParams->BufferSize; in pnw__update_rcdata()
1470 if (psPicParams->sInParams.BufferSize > 112 * 16384) in pnw__update_rcdata()
1471 psPicParams->sInParams.BufferSize = 112 * 16384; // Simple Profile L5 Constraints in pnw__update_rcdata()
1477psPicParams->sInParams.ScaleFactor = 2; /* related to … in pnw__update_rcdata()
1479 psPicParams->sInParams.ScaleFactor = 4; in pnw__update_rcdata()
1481 psPicParams->sInParams.ScaleFactor = 6; in pnw__update_rcdata()
1488 psPicParams->sInParams.MyInitQP = psPicParams->sInParams.SeInitQP; in pnw__update_rcdata()
1492 psPicParams->Flags |= SYNC_SEQUENCER; in pnw__update_rcdata()
1495 psPicParams->sInParams.InitialDelay = psRCParams->InitialDelay; in pnw__update_rcdata()
1496 psPicParams->sInParams.InitialLevel = psRCParams->InitialLevel; in pnw__update_rcdata()
1497 psRCParams->InitialQp = psPicParams->sInParams.SeInitQP; in pnw__update_rcdata()
1500 psPicParams->sInParams.SeInitQP, in pnw__update_rcdata()
1501 psPicParams->sInParams.MinQPVal, in pnw__update_rcdata()
1502 psPicParams->sInParams.MaxQPVal); in pnw__update_rcdata()
1520 PIC_PARAMS *psPicParams, in pnw__setup_rcdata() argument
1539 psPicParams->sInParams.SeInitQP = psRCParams->InitialQp; in pnw__setup_rcdata()
1541 psPicParams->sInParams.MBPerRow = (psContext->Width >> 4); in pnw__setup_rcdata()
1542 psPicParams->sInParams.MBPerBU = psRCParams->BUSize; in pnw__setup_rcdata()
1543 psPicParams->sInParams.MBPerFrm = (psContext->Width >> 4) * (psContext->Height >> 4); in pnw__setup_rcdata()
1544 psPicParams->sInParams.BUPerFrm = (psPicParams->sInParams.MBPerFrm) / psRCParams->BUSize; in pnw__setup_rcdata()
1545 psPicParams->sInParams.AvQPVal = psRCParams->InitialQp; in pnw__setup_rcdata()
1546 psPicParams->sInParams.MyInitQP = psRCParams->InitialQp; in pnw__setup_rcdata()
1547 psPicParams->sInParams.MaxFrameSize = psRCParams->BitsPerSecond / psRCParams->FrameRate; in pnw__setup_rcdata()
1549 ui8InitialSeInitQP = psPicParams->sInParams.SeInitQP; in pnw__setup_rcdata()
1551 pnw__update_rcdata(psContext, psPicParams, psRCParams); in pnw__setup_rcdata()
1556 psPicParams->sInParams.MinQPVal = (IMG_UINT8)psRCParams->MinQP; in pnw__setup_rcdata()
1562 psPicParams->sInParams.SeInitQP = ui8InitialSeInitQP; in pnw__setup_rcdata()
1563 psPicParams->sInParams.MyInitQP = ui8InitialSeInitQP; in pnw__setup_rcdata()
1573 psPicParams->ClockDivBitrate = (90000 * 0x100000000LL); in pnw__setup_rcdata()
1574 psPicParams->ClockDivBitrate /= psRCParams->BitsPerSecond; in pnw__setup_rcdata()
1575 psPicParams->MaxBufferMultClockDivBitrate = (IMG_UINT32) in pnw__setup_rcdata()