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
119 const int32_t kiMbHeight) {119 const int32_t kiMbHeight) {
120 int32_t iNumMb = 0;120 int32_t iNumMb = 0;
121 int32_t iErr = 0;121 int32_t iErr = 0;
122 bool_t bResolutionChanged = false;122 bool bResolutionChanged = false;
123 123
124 // the cases we would not like124 // the cases we would not like
125 WELS_VERIFY_RETURN_IF (1, (NULL == pFmo || NULL == kpPps))125 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
238 *238 *
239 * \return true - changed or not initialized yet; false - not change at all239 * \return true - changed or not initialized yet; false - not change at all
240 */240 */
241bool_t FmoParamSetsChanged (PFmo pFmo, const int32_t kiCountNumMb, const int32_t kiSliceGroupType,241bool FmoParamSetsChanged (PFmo pFmo, const int32_t kiCountNumMb, const int32_t kiSliceGroupType,
242 const int32_t kiSliceGroupCount) {242 const int32_t kiSliceGroupCount) {
243 WELS_VERIFY_RETURN_IF (false, (NULL == pFmo))243 WELS_VERIFY_RETURN_IF (false, (NULL == pFmo))
244 244
@@ -258,7 +258,7 @@ bool_t FmoParamSetsChanged (PFmo pFmo, const int32_t kiCountNumMb, const int32_t · 13 unmodified lines
258 *258 *
259 * \return true - update/insert successfully; false - failed;259 * \return true - update/insert successfully; false - failed;
260 */260 */
261bool_t FmoParamUpdate (PFmo pFmo, PSps pSps, PPps pPps, int32_t* pActiveFmoNum) {261bool FmoParamUpdate (PFmo pFmo, PSps pSps, PPps pPps, int32_t* pActiveFmoNum) {
262 const uint32_t kuiMbWidth = pSps->iMbWidth;262 const uint32_t kuiMbWidth = pSps->iMbWidth;
263 const uint32_t kuiMbHeight = pSps->iMbHeight;263 const uint32_t kuiMbHeight = pSps->iMbHeight;
264 264
@@ -330,4 +330,4 @@ MB_XY_T FmoNextMb (PFmo pFmo, const MB_XY_T kiMbXy) { · 65 unmodified lines
330 return iNextMb;330 return iNextMb;
331}331}
332 332
333} // namespace WelsDec333} // 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