• Home
  • Raw
  • Download

Lines Matching refs:psPicParams

1305     PIC_PARAMS * psPicParams = &ctx->sPicParams;  in tng__adjust_picflags()  local
1306 ui32Flags = psPicParams->ui32Flags; in tng__adjust_picflags()
1336 PIC_PARAMS *psPicParams = &(ctx->sPicParams); in tng__setup_rcdata() local
1371 psPicParams->sInParams.ui8SeInitQP = psRCParams->ui32InitialQp; in tng__setup_rcdata()
1372 psPicParams->sInParams.ui8MBPerRow = (ctx->ui16Width>>4); in tng__setup_rcdata()
1373 psPicParams->sInParams.ui16MBPerBU = psRCParams->ui32BUSize; in tng__setup_rcdata()
1374 psPicParams->sInParams.ui16MBPerFrm = (ctx->ui16Width>>4) * (ctx->ui16PictureHeight>>4); in tng__setup_rcdata()
1375psPicParams->sInParams.ui16BUPerFrm = (psPicParams->sInParams.ui16MBPerFrm) / psRCParams->ui3… in tng__setup_rcdata()
1377 psPicParams->sInParams.ui16IntraPeriod = psRCParams->ui32IntraFreq; in tng__setup_rcdata()
1378 psPicParams->sInParams.ui16BFrames = psRCParams->ui16BFrames; in tng__setup_rcdata()
1379 psPicParams->sInParams.i32BitRate = psRCParams->ui32BitsPerSecond; in tng__setup_rcdata()
1381 psPicParams->sInParams.bFrmSkipDisable = psRCParams->bDisableFrameSkipping; in tng__setup_rcdata()
1382psPicParams->sInParams.i32BitsPerFrm = (psRCParams->ui32BitsPerSecond + psRCParams->ui32Fram… in tng__setup_rcdata()
1383psPicParams->sInParams.i32BitsPerBU = psPicParams->sInParams.i32BitsPerFrm / (4 * psPicPar… in tng__setup_rcdata()
1387psPicParams->sInParams.mode.h264.i32TransferRate = (psRCParams->ui32TransferBitsPerSecond + psRCPa… in tng__setup_rcdata()
1388 psPicParams->sInParams.mode.h264.bHierarchicalMode = psRCParams->b16Hierarchical; in tng__setup_rcdata()
1390psPicParams->sInParams.mode.other.i32BitsPerGOP = (psRCParams->ui32BitsPerSecond / psRCParams… in tng__setup_rcdata()
1391 psPicParams->sInParams.mode.other.ui16AvQPVal = psRCParams->ui32InitialQp; in tng__setup_rcdata()
1392 psPicParams->sInParams.mode.other.ui16MyInitQP = psRCParams->ui32InitialQp; in tng__setup_rcdata()
1396 if (psPicParams->sInParams.i32BitsPerFrm) { in tng__setup_rcdata()
1397 …fferSizeInFrames = (psRCParams->ui32BufferSize + (psPicParams->sInParams.i32BitsPerFrm/2))/psPicPa… in tng__setup_rcdata()
1408 psPicParams->sInParams.ui8MaxQPVal = 51; in tng__setup_rcdata()
1409 ctx->ui32KickSize = psPicParams->sInParams.ui16MBPerBU; in tng__setup_rcdata()
1430 if (psPicParams->sInParams.ui16MBPerFrm > 2000) { in tng__setup_rcdata()
1437 psPicParams->sInParams.ui8MinQPVal = 2; in tng__setup_rcdata()
1439 psPicParams->sInParams.ui8MinQPVal = i32TmpQp; in tng__setup_rcdata()
1443 i32TmpQp = psPicParams->sInParams.ui8SeInitQP; in tng__setup_rcdata()
1444 if (psPicParams->sInParams.ui8SeInitQP==0) { in tng__setup_rcdata()
1477 if (psPicParams->sInParams.ui16MBPerFrm > 2000) { in tng__setup_rcdata()
1481 if(psPicParams->sInParams.ui16IntraPeriod ==1) in tng__setup_rcdata()
1485 } else if (psPicParams->sInParams.ui16IntraPeriod<5) { in tng__setup_rcdata()
1493 if (i32TmpQp < psPicParams->sInParams.ui8MinQPVal) { in tng__setup_rcdata()
1494 i32TmpQp = psPicParams->sInParams.ui8MinQPVal; in tng__setup_rcdata()
1496 psPicParams->sInParams.ui8SeInitQP = i32TmpQp; in tng__setup_rcdata()
1499 psPicParams->ui32Flags |= ISRC_I16BIAS; in tng__setup_rcdata()
1506 psPicParams->sInParams.ui8MaxQPVal = 31; in tng__setup_rcdata()
1515 if (psPicParams->sInParams.ui8SeInitQP==0) { in tng__setup_rcdata()
1517 psPicParams->sInParams.ui8SeInitQP = 31; in tng__setup_rcdata()
1519 psPicParams->sInParams.ui8SeInitQP = 26; in tng__setup_rcdata()
1521 psPicParams->sInParams.ui8SeInitQP = 22; in tng__setup_rcdata()
1523 psPicParams->sInParams.ui8SeInitQP = 18; in tng__setup_rcdata()
1525 psPicParams->sInParams.ui8SeInitQP = 14; in tng__setup_rcdata()
1527 psPicParams->sInParams.ui8SeInitQP = 10; in tng__setup_rcdata()
1529 psPicParams->sInParams.ui8SeInitQP = 8; in tng__setup_rcdata()
1534 psPicParams->sInParams.ui8SeInitQP += 2; in tng__setup_rcdata()
1537 if (psPicParams->sInParams.ui8SeInitQP > psPicParams->sInParams.ui8MaxQPVal) { in tng__setup_rcdata()
1538 psPicParams->sInParams.ui8SeInitQP = psPicParams->sInParams.ui8MaxQPVal; in tng__setup_rcdata()
1540 psPicParams->sInParams.mode.other.ui16AvQPVal = psPicParams->sInParams.ui8SeInitQP; in tng__setup_rcdata()
1542 psPicParams->sInParams.ui8MinQPVal = 2; in tng__setup_rcdata()
1546 psPicParams->sInParams.ui8MinQPVal += 1; in tng__setup_rcdata()
1556 psPicParams->sInParams.ui16MBPerBU = psPicParams->sInParams.ui16MBPerFrm; in tng__setup_rcdata()
1557 psPicParams->sInParams.ui16BUPerFrm = 1; in tng__setup_rcdata()
1560 psPicParams->sInParams.i32BufferSize = psRCParams->ui32BufferSize; in tng__setup_rcdata()
1566 psPicParams->sInParams.ui8ScaleFactor = 2; // related to complexity in tng__setup_rcdata()
1570 psPicParams->sInParams.ui8ScaleFactor = 4; in tng__setup_rcdata()
1574 psPicParams->sInParams.ui8ScaleFactor = 6; in tng__setup_rcdata()
1576 psPicParams->sInParams.ui8ScaleFactor = 8; in tng__setup_rcdata()
1583 psPicParams->sInParams.i32BufferSize = psRCParams->ui32BufferSize; in tng__setup_rcdata()
1588 psPicParams->sInParams.ui8ScaleFactor = 0; in tng__setup_rcdata()
1591 psPicParams->sInParams.ui8ScaleFactor = 1; in tng__setup_rcdata()
1594 psPicParams->sInParams.ui8ScaleFactor = 2; in tng__setup_rcdata()
1597 psPicParams->sInParams.ui8ScaleFactor = 3; in tng__setup_rcdata()
1599 psPicParams->sInParams.ui8ScaleFactor = 4; in tng__setup_rcdata()
1603 psPicParams->sInParams.i32BufferSize = i32BufferSizeInFrames; in tng__setup_rcdata()
1612 …if ((psPicParams->sInParams.ui16MBPerFrm > 1024 && flBpp < 16) || (psPicParams->sInParams.ui16MBPe… in tng__setup_rcdata()
1613 psPicParams->sInParams.mode.other.ui8HalfFrameRate = 1; in tng__setup_rcdata()
1615 psPicParams->sInParams.mode.other.ui8HalfFrameRate = 0; in tng__setup_rcdata()
1617 if (psPicParams->sInParams.mode.other.ui8HalfFrameRate >= 1) { in tng__setup_rcdata()
1618 psPicParams->sInParams.ui8SeInitQP = 31; in tng__setup_rcdata()
1619 psPicParams->sInParams.mode.other.ui16AvQPVal = 31; in tng__setup_rcdata()
1620 psPicParams->sInParams.mode.other.ui16MyInitQP = 31; in tng__setup_rcdata()
1623 psPicParams->sInParams.i32BufferSize = psRCParams->ui32BufferSize; in tng__setup_rcdata()
1631 psPicParams->ui32Flags |= ISSCENE_DISABLED; in tng__setup_rcdata()
1633 psPicParams->sInParams.i32InitialDelay = psRCParams->i32InitialDelay; in tng__setup_rcdata()
1634 psPicParams->sInParams.i32InitialLevel = psRCParams->i32InitialLevel; in tng__setup_rcdata()
1635 psRCParams->ui32InitialQp = psPicParams->sInParams.ui8SeInitQP; in tng__setup_rcdata()
1639 if (psPicParams->sInParams.i32BitsPerFrm) { in tng__setup_rcdata()
1641 psPicParams->sInParams.mode.h264.ui32RCScaleFactor = (bitsPerGop * 256) / in tng__setup_rcdata()
1642 (psPicParams->sInParams.i32BufferSize - psPicParams->sInParams.i32InitialLevel); in tng__setup_rcdata()
1644 psPicParams->sInParams.mode.h264.ui32RCScaleFactor = 0; in tng__setup_rcdata()
1647 psPicParams->sInParams.mode.other.ui16MyInitQP = psPicParams->sInParams.ui8SeInitQP; in tng__setup_rcdata()
2379 PIC_PARAMS *psPicParams = &(ctx->sPicParams); in tng__prepare_templates() local
2380 IN_RC_PARAMS* psInParams = &(psPicParams->sInParams); in tng__prepare_templates()
2381 psPicParams->ui32Flags = 0; in tng__prepare_templates()
2387 psPicParams->ui32Flags |= ISH263_FLAGS; in tng__prepare_templates()
2390 psPicParams->ui32Flags |= ISMPEG4_FLAGS; in tng__prepare_templates()
2393 psPicParams->ui32Flags |= ISMPEG2_FLAGS; in tng__prepare_templates()
2400 psPicParams->ui32Flags |= ISRC_FLAGS; in tng__prepare_templates()