Showing the changes to codec/encoder/core/src/au_set.cpp (1 of 15 files). Show all
Unified · Split
| @@ -76,7 +76,7 @@ static inline int32_t WelsCheckLevelLimitation (const SWelsSPS* kpSps, const SLe · 75 unmodified lines | ||
| 76 | 76 | int32_t WelsAdjustLevel (SSpatialLayerConfig* pSpatialLayer, const SLevelLimits* pCurLevel) { |
| 77 | 77 | int32_t iMaxBitrate = pSpatialLayer->iMaxSpatialBitrate; |
| 78 | 78 | do { |
| 79 | − if (iMaxBitrate <= (int32_t)(pCurLevel->uiMaxBR * CpbBrNalFactor)) { | |
| 79 | + if (iMaxBitrate <= (int32_t) (pCurLevel->uiMaxBR * CpbBrNalFactor)) { | |
| 80 | 80 | pSpatialLayer->uiLevelIdc = pCurLevel->uiLevelIdc; |
| 81 | 81 | return 0; |
| 82 | 82 | } |
| @@ -198,12 +198,12 @@ int32_t WelsWriteVUI (SWelsSPS* pSps, SBitStringAux* pBitStringAux) { · 115 unmodified lines | ||
| 198 | 198 | SBitStringAux* pLocalBitStringAux = pBitStringAux; |
| 199 | 199 | assert (pSps != NULL && pBitStringAux != NULL); |
| 200 | 200 | |
| 201 | − BsWriteOneBit(pLocalBitStringAux, pSps->bAspectRatioPresent); //aspect_ratio_info_present_flag | |
| 201 | + BsWriteOneBit (pLocalBitStringAux, pSps->bAspectRatioPresent); //aspect_ratio_info_present_flag | |
| 202 | 202 | if (pSps->bAspectRatioPresent) { |
| 203 | − BsWriteBits(pLocalBitStringAux, 8, pSps->eAspectRatio); // aspect_ratio_idc | |
| 203 | + BsWriteBits (pLocalBitStringAux, 8, pSps->eAspectRatio); // aspect_ratio_idc | |
| 204 | 204 | if (pSps->eAspectRatio == ASP_EXT_SAR) { |
| 205 | − BsWriteBits(pLocalBitStringAux, 16, pSps->sAspectRatioExtWidth); // sar_width | |
| 206 | − BsWriteBits(pLocalBitStringAux, 16, pSps->sAspectRatioExtHeight); // sar_height | |
| 205 | + BsWriteBits (pLocalBitStringAux, 16, pSps->sAspectRatioExtWidth); // sar_width | |
| 206 | + BsWriteBits (pLocalBitStringAux, 16, pSps->sAspectRatioExtHeight); // sar_height | |
| 207 | 207 | } |
| 208 | 208 | } |
| 209 | 209 | BsWriteOneBit (pLocalBitStringAux, false); //overscan_info_present_flag |