summaryrefslogtreecommitdiff
path: root/gpdl/jp2ktop.c
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-02-22 18:53:09 +0000
committerChris Liddell <chris.liddell@artifex.com>2021-02-22 18:53:59 +0000
commit34e7384e42da98e781efd4f68ef0e510dc7ffd40 (patch)
tree2598e69f3b88b97358704c94acb628e39deeeb4c /gpdl/jp2ktop.c
parentb671e552e53c3e11a4ee17c7a2d62b328d3f9712 (diff)
downloadghostpdl-34e7384e42da98e781efd4f68ef0e510dc7ffd40.tar.gz
Remove Luratech integration code/makefiles
Diffstat (limited to 'gpdl/jp2ktop.c')
-rw-r--r--gpdl/jp2ktop.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gpdl/jp2ktop.c b/gpdl/jp2ktop.c
index 8044980d2..4b71e10cf 100644
--- a/gpdl/jp2ktop.c
+++ b/gpdl/jp2ktop.c
@@ -25,11 +25,7 @@
#include "gsicc_manage.h"
#include "gspaint.h"
#include "plmain.h"
-#ifdef USE_LWF_JP2
-#include "sjpx_luratech.h"
-#else
#include "sjpx_openjpeg.h"
-#endif
#include "stream.h"
/* Forward decls */
@@ -468,11 +464,7 @@ do_process(jp2k_interp_instance_t *jp2k, stream_cursor_read * pr, bool eof)
break;
}
jp2k->height = jp2k->jp2k_state.height;
-#ifdef USE_LWF_JP2
- jp2k->bpp = jp2k->jp2k_state.bpc * jp2k->jp2k_state.ncomp;
-#else
jp2k->bpp = jp2k->jp2k_state.bpp;
-#endif
jp2k->xresolution = 72;
jp2k->yresolution = 72;
jp2k->copies = 1;