History

Use bool instead of bool_t

bool is one of the built in, standard types in C++, there's no need for a typedef for it.

Martin Storsjö committed 12 years ago

Commit 2b77fe71 parent 17d7b5d82 files · +468 −471Browse files

Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 82 files). Show all

Unified · Split

codec/encoder/core/src/ratectl.cpp+2−2
@@ -108,7 +108,7 @@ void RcInitSequenceParameter (sWelsEncCtx* pEncCtx) { · 107 unmodified lines
108 int32_t j = 0;108 int32_t j = 0;
109 int32_t iMbWidth = 0;109 int32_t iMbWidth = 0;
110 110
111 bool_t bMultiSliceMode = FALSE;111 bool bMultiSliceMode = FALSE;
112 int32_t iGomRowMode0 = 1, iGomRowMode1 = 1;112 int32_t iGomRowMode0 = 1, iGomRowMode1 = 1;
113#ifdef _TEST_TEMP_RC_113#ifdef _TEST_TEMP_RC_
114 fp_test_rc = fopen ("testRC.dat", "w");114 fp_test_rc = fopen ("testRC.dat", "w");
@@ -293,7 +293,7 @@ void RcInitRefreshParameter (sWelsEncCtx* pEncCtx) { · 178 unmodified lines
293 RcInitVGop (pEncCtx);293 RcInitVGop (pEncCtx);
294}294}
295 295
296bool_t RcJudgeBitrateFpsUpdate (sWelsEncCtx* pEncCtx) {296bool RcJudgeBitrateFpsUpdate (sWelsEncCtx* pEncCtx) {
297 int32_t iCurDid = pEncCtx->uiDependencyId;297 int32_t iCurDid = pEncCtx->uiDependencyId;
298 SWelsSvcRc* pWelsSvcRc = &pEncCtx->pWelsSvcRc[iCurDid];298 SWelsSvcRc* pWelsSvcRc = &pEncCtx->pWelsSvcRc[iCurDid];
299 SDLayerParam* pDLayerParam = &pEncCtx->pSvcParam->sDependencyLayers[iCurDid];299 SDLayerParam* pDLayerParam = &pEncCtx->pSvcParam->sDependencyLayers[iCurDid];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t