mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Add JPEG compressor support to Makefile
Before this PR only the decompressor files were added to the Makefile. Now all the required compressor files are added. Decompression and compression tested on STM32H7 with 1:8 JPEG scaling. Signed-off-by: Kevin Witteveen (MartiniMarter) <kevinwit1999@gmail.com>
This commit is contained in:
parent
f3e1985b1e
commit
6bca3c2ca2
1 changed files with 25 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ include $(APPDIR)/Make.defs
|
|||
|
||||
SRC = libjpeg
|
||||
|
||||
# Decompressor
|
||||
|
||||
CSRCS += $(SRC)/jaricom.c
|
||||
CSRCS += $(SRC)/jcomapi.c
|
||||
CSRCS += $(SRC)/jdapimin.c
|
||||
|
|
@ -52,6 +54,29 @@ CSRCS += $(SRC)/jutils.c
|
|||
CSRCS += $(SRC)/jmemmgr.c
|
||||
CSRCS += $(SRC)/jmemname.c
|
||||
|
||||
# Compressor
|
||||
|
||||
CSRCS += $(SRC)/jcapimin.c
|
||||
CSRCS += $(SRC)/jcapistd.c
|
||||
CSRCS += $(SRC)/jcarith.c
|
||||
CSRCS += $(SRC)/jccoefct.c
|
||||
CSRCS += $(SRC)/jccolor.c
|
||||
CSRCS += $(SRC)/jcdctmgr.c
|
||||
CSRCS += $(SRC)/jchuff.c
|
||||
CSRCS += $(SRC)/jcinit.c
|
||||
CSRCS += $(SRC)/jcmainct.c
|
||||
CSRCS += $(SRC)/jcmarker.c
|
||||
CSRCS += $(SRC)/jcmaster.c
|
||||
CSRCS += $(SRC)/jcparam.c
|
||||
CSRCS += $(SRC)/jcprepct.c
|
||||
CSRCS += $(SRC)/jcsample.c
|
||||
CSRCS += $(SRC)/jctrans.c
|
||||
|
||||
CSRCS += $(SRC)/jdatadst.c
|
||||
CSRCS += $(SRC)/jfdctint.c
|
||||
CSRCS += $(SRC)/jfdctfst.c
|
||||
CSRCS += $(SRC)/jfdctflt.c
|
||||
|
||||
CFLAGS += -DTEMP_DIRECTORY=\"$(CONFIG_EXTERNALS_LIBJPEG_TEMP_DIR)\"
|
||||
|
||||
CFLAGS += -Wno-shadow -Wno-strict-prototypes -Wno-unknown-pragmas
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue