-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sven Schlarb
committed
Jun 14, 2011
1 parent
9de57aa
commit 87d3733
Showing
26 changed files
with
1,045 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Create an XML dump of the coding parameters using OpenJPEG. | ||
openjpeg_v1_4_32/opj_j2k_dump.xml is an example instance and openjpeg_v1_4_32/opj_j2k_dump.xsd is the XMLŚchema. | ||
The source code is in openjpeg_v1_4_32/codec/j2k_dump_xml.c and it is required to slightly modify the openjpeg_v1_4_32/codec/Makefile.am so that the new executable is compiled. |
File renamed without changes.
53 changes: 53 additions & 0 deletions
53
pc-cc-opjpg-xmldump-patch/openjpeg_v1_4_32/codec/Makefile.am
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
COMPILERFLAGS = -Wall | ||
|
||
if with_sharedlibs | ||
COMPILERFLAGS += -DOPJ_EXPORTS | ||
else | ||
COMPILERFLAGS += -DOPJ_STATIC | ||
endif | ||
|
||
USERLIBS = -lm | ||
INCLUDES = -I.. -I. -I../libopenjpeg -I../common | ||
|
||
if with_libtiff | ||
INCLUDES += @tiffincludes@ | ||
USERLIBS += @tifflibs@ | ||
endif | ||
|
||
if with_libpng | ||
INCLUDES += @pngincludes@ | ||
USERLIBS += @pnglibs@ | ||
endif | ||
|
||
if with_liblcms2 | ||
INCLUDES += @lcms2includes@ | ||
USERLIBS += @lcms2libs@ | ||
endif | ||
|
||
if with_liblcms1 | ||
INCLUDES += @lcms1includes@ | ||
USERLIBS += @lcms1libs@ | ||
endif | ||
|
||
bin_PROGRAMS = j2k_to_image image_to_j2k j2k_dump j2k_dump_xml | ||
|
||
CFLAGS = $(COMPILERFLAGS) $(INCLUDES) | ||
LDADD = $(USERLIBS) ../libopenjpeg/libopenjpeg.la | ||
|
||
j2k_to_image_SOURCES = ../common/getopt.c index.c convert.c \ | ||
../common/color.c j2k_to_image.c | ||
|
||
image_to_j2k_SOURCES = ../common/getopt.c index.c convert.c image_to_j2k.c | ||
|
||
j2k_dump_SOURCES = ../common/getopt.c index.c j2k_dump.c | ||
j2k_dump_xml_SOURCES = ../common/getopt.c index.c j2k_dump_xml.c | ||
|
||
REPBIN=$(bin_PROGRAMS) | ||
|
||
all-local: | ||
$(INSTALL) -d ../bin | ||
$(INSTALL) $(bin_PROGRAMS) ../bin | ||
@echo "" > .report.txt | ||
@for f in ${REPBIN} ; do \ | ||
echo "Installing: ${prefix}/bin/$$f" >> .report.txt ; \ | ||
done |
Oops, something went wrong.