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/processing/src/common (3 of 82 files). Show all

Unified · Split

3 files
  1. codec/processing/src/common/WelsFrameWork.cpp +2 −2
  2. codec/processing/src/common/WelsFrameWork.h +2 −2
  3. codec/processing/src/common/typedef.h +0 −1
codec/processing/src/common/WelsFrameWork.cpp+2−2
@@ -220,8 +220,8 @@ EResult CVpFrameWork::SpecialFeature (int32_t iType, void* pIn, void* pOut) { · 219 unmodified lines
220220 return eReturn;
221221 }
222222
223−bool_t CVpFrameWork::CheckValid (EMethods eMethod, SPixMap& pSrcPixMap, SPixMap& pDstPixMap) {
224− bool_t eReturn = FALSE;
223+bool CVpFrameWork::CheckValid (EMethods eMethod, SPixMap& pSrcPixMap, SPixMap& pDstPixMap) {
224+ bool eReturn = FALSE;
225225
226226 if (eMethod == METHOD_NULL)
227227 goto exit;
codec/processing/src/common/WelsFrameWork.h+2−2
@@ -92,7 +92,7 @@ class IStrategy : public IWelsVP { · 91 unmodified lines
9292 EMethods m_eMethod;
9393 EVideoFormat m_eFormat;
9494 int32_t m_iIndex;
95− bool_t m_bInit;
95+ bool m_bInit;
9696 };
9797
9898 class CVpFrameWork : public IWelsVP {
@@ -116,7 +116,7 @@ class CVpFrameWork : public IWelsVP { · 17 unmodified lines
116116 EResult SpecialFeature (int32_t iType, void* pIn, void* pOut);
117117
118118 private:
119− bool_t CheckValid (EMethods eMethod, SPixMap& sSrc, SPixMap& sDst);
119+ bool CheckValid (EMethods eMethod, SPixMap& sSrc, SPixMap& sDst);
120120 IStrategy* CreateStrategy (EMethods eMethod, int32_t iCpuFlag);
121121
122122 private:
codec/processing/src/common/typedef.h+0−1
@@ -74,7 +74,6 @@ typedef unsigned __int64 uint64_t ; · 73 unmodified lines
7474 #endif
7575
7676 typedef char str_t ; // [comment]: specific use plain char only for character parameters
77−typedef bool bool_t ;
7877
7978 enum {
8079 FALSE = 0,

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