Remove wxPM, wxWidgets port to OS/2.
This port is not used and is not being worked on, so remove it to reduce the amount of the code which needs to be updated for every global change. Also remove tests for VisualAge compiler which isn't used since ages. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,15 +52,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(__OS2__)
|
||||
#define RGB_RED_OS2 0
|
||||
#define RGB_GREEN_OS2 1
|
||||
#define RGB_BLUE_OS2 2
|
||||
#else
|
||||
#define RGB_RED 0
|
||||
#define RGB_GREEN 1
|
||||
#define RGB_BLUE 2
|
||||
#endif
|
||||
|
||||
#define MAXJSAMPLE 255
|
||||
#define CENTERJSAMPLE 128
|
||||
@@ -165,26 +159,6 @@ struct jpeg_color_quantizer {
|
||||
* you'll probably want to tweak the histogram sizes too.
|
||||
*/
|
||||
|
||||
#if defined(__OS2__)
|
||||
|
||||
#if RGB_RED_OS2 == 0
|
||||
#define C0_SCALE R_SCALE
|
||||
#endif
|
||||
#if RGB_BLUE_OS2 == 0
|
||||
#define C0_SCALE B_SCALE
|
||||
#endif
|
||||
#if RGB_GREEN_OS2 == 1
|
||||
#define C1_SCALE G_SCALE
|
||||
#endif
|
||||
#if RGB_RED_OS2 == 2
|
||||
#define C2_SCALE R_SCALE
|
||||
#endif
|
||||
#if RGB_BLUE_OS2 == 2
|
||||
#define C2_SCALE B_SCALE
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#if RGB_RED == 0
|
||||
#define C0_SCALE R_SCALE
|
||||
#endif
|
||||
@@ -201,8 +175,6 @@ struct jpeg_color_quantizer {
|
||||
#define C2_SCALE B_SCALE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* First we have the histogram data structure and routines for creating it.
|
||||
*
|
||||
@@ -569,20 +541,6 @@ median_cut (j_decompress_ptr cinfo, boxptr boxlist, int numboxes,
|
||||
/* We want to break any ties in favor of green, then red, blue last.
|
||||
* This code does the right thing for R,G,B or B,G,R color orders only.
|
||||
*/
|
||||
#if defined(__VISAGECPP__)
|
||||
|
||||
#if RGB_RED_OS2 == 0
|
||||
cmax = c1; n = 1;
|
||||
if (c0 > cmax) { cmax = c0; n = 0; }
|
||||
if (c2 > cmax) { n = 2; }
|
||||
#else
|
||||
cmax = c1; n = 1;
|
||||
if (c2 > cmax) { cmax = c2; n = 2; }
|
||||
if (c0 > cmax) { n = 0; }
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#if RGB_RED == 0
|
||||
cmax = c1; n = 1;
|
||||
if (c0 > cmax) { cmax = c0; n = 0; }
|
||||
@@ -593,7 +551,6 @@ median_cut (j_decompress_ptr cinfo, boxptr boxlist, int numboxes,
|
||||
if (c0 > cmax) { n = 0; }
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/* Choose split point along selected axis, and update box bounds.
|
||||
* Current algorithm: split at halfway point.
|
||||
* (Since the box has been shrunk to minimum volume,
|
||||
|
Reference in New Issue
Block a user