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/decoder/core/src/fmo.cpp (1 of 82 files). Show all

Unified · Split

codec/decoder/core/src/fmo.cpp+4−4
@@ -119,7 +119,7 @@ static inline int32_t FmoGenerateSliceGroup (PFmo pFmo, const PPps kpPps, const · 118 unmodified lines
119119 const int32_t kiMbHeight) {
120120 int32_t iNumMb = 0;
121121 int32_t iErr = 0;
122− bool_t bResolutionChanged = false;
122+ bool bResolutionChanged = false;
123123
124124 // the cases we would not like
125125 WELS_VERIFY_RETURN_IF (1, (NULL == pFmo || NULL == kpPps))
@@ -238,7 +238,7 @@ void_t UninitFmoList (PFmo pFmo, const int32_t kiCnt, const int32_t kiAvail) { · 112 unmodified lines
238238 *
239239 * \return true - changed or not initialized yet; false - not change at all
240240 */
241−bool_t FmoParamSetsChanged (PFmo pFmo, const int32_t kiCountNumMb, const int32_t kiSliceGroupType,
241+bool FmoParamSetsChanged (PFmo pFmo, const int32_t kiCountNumMb, const int32_t kiSliceGroupType,
242242 const int32_t kiSliceGroupCount) {
243243 WELS_VERIFY_RETURN_IF (false, (NULL == pFmo))
244244
@@ -258,7 +258,7 @@ bool_t FmoParamSetsChanged (PFmo pFmo, const int32_t kiCountNumMb, const int32_t · 13 unmodified lines
258258 *
259259 * \return true - update/insert successfully; false - failed;
260260 */
261−bool_t FmoParamUpdate (PFmo pFmo, PSps pSps, PPps pPps, int32_t* pActiveFmoNum) {
261+bool FmoParamUpdate (PFmo pFmo, PSps pSps, PPps pPps, int32_t* pActiveFmoNum) {
262262 const uint32_t kuiMbWidth = pSps->iMbWidth;
263263 const uint32_t kuiMbHeight = pSps->iMbHeight;
264264
@@ -330,4 +330,4 @@ MB_XY_T FmoNextMb (PFmo pFmo, const MB_XY_T kiMbXy) { · 65 unmodified lines
330330 return iNextMb;
331331 }
332332
333−} // namespace WelsDec
333+} // namespace WelsDec

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