Move red_bitmap_utils.h->tmpl.c

Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Marc-André Lureau 2013-09-13 14:17:36 +02:00 committed by Frediano Ziglio
parent 070e0fcd63
commit 3c1ab4a5fa
3 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,6 @@ libspice_server_la_SOURCES = \
main_channel.h \
mjpeg_encoder.c \
mjpeg_encoder.h \
red_bitmap_utils.h \
red_channel.c \
red_channel.h \
red_common.h \
@ -149,6 +148,7 @@ libspice_server_la_SOURCES += \
endif
EXTRA_DIST = \
red_bitmap_utils_tmpl.c \
cache_item.tmpl.c \
glz_encode_match_tmpl.c \
glz_encode_tmpl.c \

View File

@ -5142,11 +5142,11 @@ G_STATIC_ASSERT(sizeof(rgb24_pixel_t) == 3);
typedef uint16_t rgb16_pixel_t;
#define RED_BITMAP_UTILS_RGB16
#include "red_bitmap_utils.h"
#include "red_bitmap_utils_tmpl.c"
#define RED_BITMAP_UTILS_RGB24
#include "red_bitmap_utils.h"
#include "red_bitmap_utils_tmpl.c"
#define RED_BITMAP_UTILS_RGB32
#include "red_bitmap_utils.h"
#include "red_bitmap_utils_tmpl.c"
#define GRADUAL_HIGH_RGB24_TH -0.03
#define GRADUAL_HIGH_RGB16_TH 0