r=jkobal, a=tor
Remove unnecessary XP_OS2 code in libimg
This commit is contained in:
mkaply%us.ibm.com 2000-10-10 22:16:34 +00:00
Родитель 4230561888
Коммит 5494f60f09
2 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -831,11 +831,7 @@ il_size(il_container *ic)
}
#ifdef XP_OS2
#define IL_SIZE_CHUNK 16384
#else
#define IL_SIZE_CHUNK 128
#endif
#ifdef XP_MAC
# if TARGET_CPU_PPC
# define IL_PREFERRED_CHUNK 8192
@ -845,14 +841,9 @@ il_size(il_container *ic)
# define IL_OFFSCREEN_CHUNK 128
# endif
#else /* !XP_MAC */
#ifdef XP_OS2
# define IL_PREFERRED_CHUNK (12*1024)
# define IL_OFFSCREEN_CHUNK ( 6*1024)
#else
# define IL_PREFERRED_CHUNK 2048
# define IL_OFFSCREEN_CHUNK 128
#endif
#endif
int
IL_StreamWriteReady(il_container *ic)

Просмотреть файл

@ -39,11 +39,7 @@
/* Approximate size of pixel data chunks sent to the FE for display */
#ifdef XP_OS2
#define OUTPUT_CHUNK_SIZE 30000
#else
#define OUTPUT_CHUNK_SIZE 15000
#endif
/* Delay from decode to display of first scanline, in milliseconds. */
#define ROW_OUTPUT_INITIAL_DELAY 50