History

Add Windows 64-bit build to VS project files

licaiguo committed 12 years ago

Commit 077ffed1 parent ac6828f73 files · +7126 −219Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+5−5
@@ -2072,7 +2072,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2071 unmodified lines
20722072 #if defined(__GNUC__)
20732073 pCtx->pFileLog = FOPEN (fname, "wt+");
20742074 #else//WIN32
2075−#if defined(WIN32) && defined(_MSC_VER)
2075+#if defined(_WIN32) && defined(_MSC_VER)
20762076 #if _MSC_VER >= 1500
20772077 FOPEN (&pCtx->pFileLog, fname, "wt+");
20782078 #else
@@ -2236,7 +2236,7 @@ void WelsUninitEncoderExt (sWelsEncCtx** ppCtx) { · 157 unmodified lines
22362236 const int32_t iThreadCount = (*ppCtx)->pSvcParam->iCountThreadsNum;
22372237 int32_t iThreadIdx = 0;
22382238
2239−#if defined(WIN32)
2239+#if defined(_WIN32)
22402240 if ((*ppCtx)->pSliceThreading->pExitEncodeEvent != NULL) {
22412241 do {
22422242 if ((*ppCtx)->pSliceThreading->pThreadHandles[iThreadIdx] != NULL) // iThreadIdx is already created successfully
@@ -3351,7 +3351,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 1108 unmodified lines
33513351 t_bs_append = WelsTime() - t_bs_append;
33523352 if (pCtx->pSliceThreading->pFSliceDiff) {
33533353 fprintf (pCtx->pSliceThreading->pFSliceDiff,
3354−#if defined(WIN32)
3354+#if defined(_WIN32)
33553355 "%6I64d us consumed at AppendSliceToFrameBs() for coding_idx: %d iDid: %d qid: %d\n",
33563356 #else
33573357 "%6lld us consumed at AppendSliceToFrameBs() for coding_idx: %d iDid: %d qid: %d\n",
@@ -3391,7 +3391,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 33 unmodified lines
33913391 while (1) {
33923392 if (iIndexOfSliceToBeCoded >= iSliceCount && iNumThreadsRunning <= 0)
33933393 break;
3394−#ifdef WIN32
3394+#ifdef _WIN32
33953395 WELS_THREAD_ERROR_CODE lwait = 0;
33963396 int32_t iEventId = -1;
33973397
@@ -3440,7 +3440,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 42 unmodified lines
34403440 } else {
34413441 iNumThreadsRunning = 0;
34423442 }
3443−#endif//WIN32
3443+#endif//_WIN32
34443444 }//while(1)
34453445
34463446 // all slices are finished coding here

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