Line
Link Here
|
0 |
-- a/pdf/pdf_file.c |
0 |
++ b/pdf/pdf_file.c |
Lines 53-60
Link Here
|
53 |
# include "sjpx_luratech.h" |
53 |
# include "sjpx_luratech.h" |
54 |
#elif defined(USE_OPENJPEG_JP2) |
54 |
#elif defined(USE_OPENJPEG_JP2) |
55 |
# include "sjpx_openjpeg.h" |
55 |
# include "sjpx_openjpeg.h" |
56 |
#else |
|
|
57 |
# include "sjpx.h" |
58 |
#endif |
56 |
#endif |
59 |
|
57 |
|
60 |
static void pdfi_close_filter_chain(pdf_context *ctx, stream *s, stream *target); |
58 |
static void pdfi_close_filter_chain(pdf_context *ctx, stream *s, stream *target); |
Lines 435-440
Link Here
|
435 |
return 0; |
433 |
return 0; |
436 |
} |
434 |
} |
437 |
|
435 |
|
|
|
436 |
#if defined(USE_LWF_JP2) || defined(USE_OPENJPEG_JP2) |
438 |
/* |
437 |
/* |
439 |
* dict -- the dict that contained the decoder (i.e. the image dict) |
438 |
* dict -- the dict that contained the decoder (i.e. the image dict) |
440 |
* decode -- the decoder dict |
439 |
* decode -- the decoder dict |
Lines 559-564
Link Here
|
559 |
|
558 |
|
560 |
return 0; |
559 |
return 0; |
561 |
} |
560 |
} |
|
|
561 |
#endif |
562 |
|
562 |
|
563 |
private_st_jpeg_decompress_data(); |
563 |
private_st_jpeg_decompress_data(); |
564 |
|
564 |
|
Lines 809-818
Link Here
|
809 |
code = pdfi_DCT_filter(ctx, dict, decode, source, new_stream); |
809 |
code = pdfi_DCT_filter(ctx, dict, decode, source, new_stream); |
810 |
return code; |
810 |
return code; |
811 |
} |
811 |
} |
|
|
812 |
#if defined(USE_LWF_JP2) || defined(USE_OPENJPEG_JP2) |
812 |
if (pdfi_name_is(n, "JPXDecode")) { |
813 |
if (pdfi_name_is(n, "JPXDecode")) { |
813 |
code = pdfi_JPX_filter(ctx, dict, decode, source, new_stream); |
814 |
code = pdfi_JPX_filter(ctx, dict, decode, source, new_stream); |
814 |
return code; |
815 |
return code; |
815 |
} |
816 |
} |
|
|
817 |
#endif |
816 |
|
818 |
|
817 |
if (pdfi_name_is(n, "AHx")) { |
819 |
if (pdfi_name_is(n, "AHx")) { |
818 |
if (!inline_image) { |
820 |
if (!inline_image) { |