[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-video-cvs
Subject:    [Video-cvs] sitelib/platform/mac fauxcodec.cpp,1.5,1.6
From:       bobclark () helixcommunity ! org
Date:       2006-02-07 20:59:37
[Download RAW message or body]

Update of /cvsroot/video/sitelib/platform/mac
In directory cvs:/tmp/cvs-serv12591

Modified Files:
	fauxcodec.cpp 
Log Message:
Modified by: bobclark@real.com 
Date: 02-06-2006 
Project: OS X on Intel
Synopsis: Changes for OS X to build and run with the Intel-based Macs
Overview:
The changes below fix build busters when trying to build Helix for OS X to run \
natively on the new Intel-based Macintoshes. The code is typically changed to avoid \
assembly language, notably PowerPC assembly language; avoid altivec optimizations; \
general gcc 4 fixes; and avoiding deprecated APIs. Files Modified: 
  audio/fixptutil/pub/math64.h 
  client/common/container/plghand2.cpp 
  client/core/hxntsrc.cpp 
  common/include/atomicbase.h 
  common/util/pub/platform/mac/MoreFilesX.h 
  video/colconverter/avyuv2yuv.c 
  video/colconverter/env.c 
  video/colconverter/yuv2yuv.c 
  video/sitelib/platform/mac/fauxcodec.cpp

Image Size and Heap Use impact (Client -Only): 
Negligible size and heap use impact.

Platforms and Profiles Affected: 
Mac OS X

Platforms and Profiles Build Verified: 
Mac OS X; helix-client-all-defines

Platforms and Profiles Functionality verified: 
Mac OS X; helix-client-all-defines

Branch:
These diffs are on branch hxclient_1_2_2i_neptune, the branch designated for \
Intel-based Mac work.  Many of these changes will also be necessary on HEAD.

Copyright assignment: I am a RealNetworks employee or contractor


Index: fauxcodec.cpp
===================================================================
RCS file: /cvsroot/video/sitelib/platform/mac/fauxcodec.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fauxcodec.cpp	9 Jul 2004 18:35:05 -0000	1.5
+++ fauxcodec.cpp	7 Feb 2006 20:59:35 -0000	1.6
@@ -556,7 +556,7 @@
 #else
 	#define PASCAL_RTN
 #endif
-#if !TARGET_OS_MAC || TARGET_CPU_PPC
+#if !TARGET_OS_MAC || TARGET_CPU_PPC || TARGET_CPU_X86
 	#define C_DISPATCH_WITH_GLOBALS	1
 	#define C_DISPATCH_WITH_SWITCH	0
 #elif TARGET_CPU_68K


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic