e8ab6a825a
This function returns a rough estimation of the quality factor used for compressing the WebP bitstream. Simple command line: 'webp_quality [-quiet] in.webp' should print the estimated quality factor. Change-Id: Ifba3e489461f5a587003ac9f08cc7556e9b24ac2
26 lines
910 B
Makefile
26 lines
910 B
Makefile
AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src
|
|
lib_LTLIBRARIES = libwebpextras.la
|
|
|
|
noinst_HEADERS =
|
|
noinst_HEADERS += ../src/webp/types.h
|
|
|
|
libwebpextras_la_SOURCES =
|
|
libwebpextras_la_SOURCES += extras.c extras.h quality_estimate.c
|
|
|
|
libwebpextras_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
libwebpextras_la_LIBADD = ../src/libwebp.la
|
|
|
|
noinst_PROGRAMS = get_disto webp_quality
|
|
|
|
get_disto_SOURCES = get_disto.c
|
|
get_disto_CPPFLAGS = $(AM_CPPFLAGS)
|
|
get_disto_LDADD = ../imageio/libexample_util.la ../imageio/libimagedec.la
|
|
get_disto_LDADD += ../src/libwebp.la
|
|
get_disto_LDADD += $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS)
|
|
|
|
webp_quality_SOURCES = webp_quality.c
|
|
webp_quality_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
webp_quality_LDADD = ../imageio/libexample_util.la ../imageio/libimagedec.la
|
|
webp_quality_LDADD += ./libwebpextras.la
|
|
webp_quality_LDADD += ../src/libwebp.la $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|