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/plus/src/welsEncoderExt.cpp (1 of 73 files). Show all

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+8−8
@@ -42,7 +42,7 @@ · 41 unmodified lines
4242 #include "ref_list_mgr_svc.h"
4343
4444 #include <time.h>
45−#if defined(WIN32) /*&& defined(_DEBUG)*/
45+#if defined(_WIN32) /*&& defined(_DEBUG)*/
4646
4747 #include <windows.h>
4848 #include <stdio.h>
@@ -60,7 +60,7 @@ namespace WelsSVCEnc { · 11 unmodified lines
6060 */
6161 CWelsH264SVCEncoder::CWelsH264SVCEncoder()
6262 : m_pEncContext (NULL),
63−#if defined(WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
63+#if defined(_WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
6464 m_pWelsTrace (NULL),
6565 #endif
6666 m_pSrcPicList (NULL),
@@ -86,7 +86,7 @@ CWelsH264SVCEncoder::CWelsH264SVCEncoder() · 19 unmodified lines
8686 #ifdef OUTPUT_BIT_STREAM
8787 time_t tTime;
8888
89−#if defined( WIN32 )
89+#if defined( _WIN32 )
9090 #if defined(_MSC_VER)
9191 #if _MSC_VER>=1500
9292 struct tm tTimeNow;
@@ -115,7 +115,7 @@ CWelsH264SVCEncoder::CWelsH264SVCEncoder() · 22 unmodified lines
115115 gettimeofday (&tTimev, NULL);
116116 #endif//WIN32
117117
118−#ifdef WIN32
118+#ifdef _WIN32
119119 #if defined(_MSC_VER)
120120 #if _MSC_VER>=1500
121121 iBufferUsed += SNPRINTF (strStreamFileName, iBufferLeft, iBufferLeft, "enc_bs_0x%p_", (void*)this);
@@ -168,7 +168,7 @@ CWelsH264SVCEncoder::CWelsH264SVCEncoder() · 46 unmodified lines
168168 }
169169
170170 if (iBufferLeft > iBufferUsed) {
171−#ifdef WIN32
171+#ifdef _WIN32
172172 #if defined(_MSC_VER)
173173 #if _MSC_VER>=1500
174174 iBufferUsed += SNPRINTF (&strStreamFileName[iBufferUsed], iBufferLeft, iBufferLeft, ".%03.3u.264", tTimeb.millitm);
@@ -183,7 +183,7 @@ CWelsH264SVCEncoder::CWelsH264SVCEncoder() · 8 unmodified lines
183183 }
184184
185185 if (iBufferLeftSize > iBufferUsedSize) {
186−#ifdef WIN32
186+#ifdef _WIN32
187187 #if defined(_MSC_VER)
188188 #if _MSC_VER>=1500
189189 iBufferUsedSize += SNPRINTF (&strLenFileName[iBufferUsedSize], iBufferLeftSize, iBufferLeftSize, ".%03.3u.len",
@@ -222,7 +222,7 @@ CWelsH264SVCEncoder::CWelsH264SVCEncoder() · 32 unmodified lines
222222
223223 CWelsH264SVCEncoder::~CWelsH264SVCEncoder() {
224224 WelsLog (NULL, WELS_LOG_INFO, "CWelsH264SVCEncoder::~CWelsH264SVCEncoder()\n");
225−#if defined(WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
225+#if defined(_WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
226226
227227 if (m_pWelsTrace != NULL) {
228228 delete m_pWelsTrace;
@@ -256,7 +256,7 @@ CWelsH264SVCEncoder::~CWelsH264SVCEncoder() { · 27 unmodified lines
256256 }
257257
258258 void CWelsH264SVCEncoder::InitEncoder (void) {
259−#if defined(WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
259+#if defined(_WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
260260
261261 #ifdef REC_FRAME_COUNT
262262 WelsLog (m_pEncContext, WELS_LOG_INFO,

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