libheif-1.6.1/0000755000221000001440000000000013576656624010132 500000000000000libheif-1.6.1/depcomp0000755000221000001440000005601713514042014011406 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2016-01-11.22; # UTC # Copyright (C) 1999-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: libheif-1.6.1/libheif.pc.in0000644000221000001440000000053313341211665012364 00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ builtin_h265_decoder=@have_libde265@ builtin_h265_encoder=@have_x265@ Name: libheif Description: HEIF image codec. URL: https://github.com/strukturag/libheif Version: @VERSION@ Requires: Libs: -L@libdir@ -lheif Libs.private: @LIBS@ -lstdc++ Cflags: -I@includedir@ libheif-1.6.1/autogen.sh0000755000221000001440000000236713341211665012041 00000000000000#!/bin/bash set -eu # # HEIF codec. # Copyright (c) 2017 struktur AG, Joachim Bauch # # This file is part of libheif. # # libheif is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # libheif is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with libheif. If not, see . # ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ -d "$ROOT/.git/hooks" ]; then echo "Installing pre-commit hook ..." ln -sf "$ROOT/scripts/pre-commit.hook" "$ROOT/.git/hooks/pre-commit" fi if [ -x "`which autoreconf 2>/dev/null`" ] ; then exec autoreconf -ivf fi LIBTOOLIZE=libtoolize SYSNAME=`uname` if [ "x$SYSNAME" = "xDarwin" ] ; then LIBTOOLIZE=glibtoolize fi aclocal -I m4 && \ autoheader && \ $LIBTOOLIZE && \ autoconf && \ automake --add-missing --force-missing --copy libheif-1.6.1/libheif/0000755000221000001440000000000013576656623011533 500000000000000libheif-1.6.1/libheif/heif_hevc.cc0000644000221000001440000001772513341211665013675 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include #include #include "heif_hevc.h" #include "bitstream.h" using namespace heif; static double read_depth_rep_info_element(BitReader& reader) { int sign_flag = reader.get_bits(1); int exponent = reader.get_bits(7); int mantissa_len = reader.get_bits(5)+1; if (mantissa_len<1 || mantissa_len>32) { // TODO err } if (exponent==127) { // TODO value unspecified } int mantissa = reader.get_bits(mantissa_len); double value; //printf("sign:%d exponent:%d mantissa_len:%d mantissa:%d\n",sign_flag,exponent,mantissa_len,mantissa); if (exponent > 0) { value = pow(2, exponent-31) * (1.0 + mantissa / pow(2,mantissa_len)); } else { value = pow(2, -(30+mantissa_len)) * mantissa; } if (sign_flag) { value = -value; } return value; } static std::shared_ptr read_depth_representation_info(BitReader& reader) { auto msg = std::make_shared(); // default values msg->version = 1; msg->disparity_reference_view = 0; msg->depth_nonlinear_representation_model_size = 0; msg->depth_nonlinear_representation_model = nullptr; // read header msg->has_z_near = (uint8_t)reader.get_bits(1); msg->has_z_far = (uint8_t)reader.get_bits(1); msg->has_d_min = (uint8_t)reader.get_bits(1); msg->has_d_max = (uint8_t)reader.get_bits(1); int rep_type; if (!reader.get_uvlc(&rep_type)) { // TODO error } // TODO: check rep_type range msg->depth_representation_type = (enum heif_depth_representation_type)rep_type; //printf("flags: %d %d %d %d\n",msg->has_z_near,msg->has_z_far,msg->has_d_min,msg->has_d_max); //printf("type: %d\n",rep_type); if (msg->has_d_min || msg->has_d_max) { int ref_view; if (!reader.get_uvlc(&ref_view)) { // TODO error } msg->disparity_reference_view = ref_view; //printf("ref_view: %d\n",msg->disparity_reference_view); } if (msg->has_z_near) msg->z_near = read_depth_rep_info_element(reader); if (msg->has_z_far ) msg->z_far = read_depth_rep_info_element(reader); if (msg->has_d_min ) msg->d_min = read_depth_rep_info_element(reader); if (msg->has_d_max ) msg->d_max = read_depth_rep_info_element(reader); /* printf("z_near: %f\n",msg->z_near); printf("z_far: %f\n",msg->z_far); printf("dmin: %f\n",msg->d_min); printf("dmax: %f\n",msg->d_max); */ if (msg->depth_representation_type == heif_depth_representation_type_nonuniform_disparity) { // TODO: load non-uniform response curve } return msg; } // aux subtypes: 00 00 00 11 / 00 00 00 0d / 4e 01 / b1 09 / 35 1e 78 c8 01 03 c5 d0 20 Error heif::decode_hevc_aux_sei_messages(const std::vector& data, std::vector>& msgs) { // TODO: we probably do not need a full BitReader just for the array size. // Read this and the NAL size directly on the array data. BitReader reader(data.data(), (int)data.size()); uint32_t len = (uint32_t)reader.get_bits(32); if (len > data.size()-4) { // ERROR: read past end of data } while (reader.get_current_byte_index() < (int)len) { int currPos = reader.get_current_byte_index(); BitReader sei_reader(data.data() + currPos, (int)data.size()-currPos); uint32_t nal_size = (uint32_t)sei_reader.get_bits(32); (void)nal_size; uint8_t nal_type = (uint8_t)(sei_reader.get_bits(8) >> 1); sei_reader.skip_bits(8); // SEI if (nal_type == 39 || nal_type == 40) { // TODO: loading of multi-byte sei headers uint8_t payload_id = (uint8_t)(sei_reader.get_bits(8)); uint8_t payload_size = (uint8_t)(sei_reader.get_bits(8)); (void)payload_size; switch (payload_id) { case 177: // depth_representation_info std::shared_ptr sei = read_depth_representation_info(sei_reader); msgs.push_back(sei); break; } } break; // TODO: read next SEI } return Error::Ok; } static std::vector remove_start_code_emulation(const uint8_t* sps, size_t size) { std::vector out_data; for (size_t i=0;i sps_no_emul = remove_start_code_emulation(sps, size); sps = sps_no_emul.data(); size = sps_no_emul.size(); BitReader reader(sps, (int)size); // skip NAL header reader.skip_bits(2*8); // skip VPS ID reader.skip_bits(4); int nMaxSubLayersMinus1 = reader.get_bits(3); config->temporal_id_nested = (uint8_t)reader.get_bits(1); // --- profile_tier_level --- config->general_profile_space = (uint8_t)reader.get_bits(2); config->general_tier_flag = (uint8_t)reader.get_bits(1); config->general_profile_idc = (uint8_t)reader.get_bits(5); config->general_profile_compatibility_flags = reader.get_bits(32); reader.skip_bits(16); // skip reserved bits reader.skip_bits(16); // skip reserved bits reader.skip_bits(16); // skip reserved bits config->general_level_idc = (uint8_t)reader.get_bits(8); std::vector layer_profile_present(nMaxSubLayersMinus1); std::vector layer_level_present(nMaxSubLayersMinus1); for (int i=0 ; ichroma_format = (uint8_t)value; if (config->chroma_format==3) { reader.skip_bits(1); } reader.get_uvlc(width); reader.get_uvlc(height); bool conformance_window = reader.get_bits(1); if (conformance_window) { int left,right,top,bottom; reader.get_uvlc(&left); reader.get_uvlc(&right); reader.get_uvlc(&top); reader.get_uvlc(&bottom); //printf("conformance borders: %d %d %d %d\n",left,right,top,bottom); *width -= 2*(left+right); *height -= 2*(top+bottom); } reader.get_uvlc(&value); config->bit_depth_luma = (uint8_t)(value + 8); reader.get_uvlc(&value); config->bit_depth_chroma = (uint8_t)(value + 8); // --- init static configuration fields --- config->configuration_version = 1; config->min_spatial_segmentation_idc = 0; // TODO: get this value from the VUI, 0 should be safe config->parallelism_type = 0; // TODO, 0 should be safe config->avg_frame_rate = 0; // makes no sense for HEIF config->constant_frame_rate = 0; // makes no sense for HEIF config->num_temporal_layers = 1; // makes no sense for HEIF return Error::Ok; } libheif-1.6.1/libheif/heif_plugin_registry.cc0000644000221000001440000000734313507414702016172 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include "heif_plugin_registry.h" #if HAVE_LIBDE265 #include "heif_decoder_libde265.h" #endif #if HAVE_X265 #include "heif_encoder_x265.h" #endif using namespace heif; std::set heif::s_decoder_plugins; struct encoder_descriptor_priority_order { bool operator() (const std::unique_ptr& a, const std::unique_ptr& b) const { return a->plugin->priority > b->plugin->priority; // highest priority first } }; std::set, encoder_descriptor_priority_order> s_encoder_descriptors; static class Register_Default_Plugins { public: Register_Default_Plugins() { #if HAVE_LIBDE265 heif::register_decoder(get_decoder_plugin_libde265()); #endif #if HAVE_X265 heif::register_encoder(get_encoder_plugin_x265()); #endif } } dummy; void heif::register_decoder(const heif_decoder_plugin* decoder_plugin) { if (decoder_plugin->init_plugin) { (*decoder_plugin->init_plugin)(); } s_decoder_plugins.insert(decoder_plugin); } const struct heif_decoder_plugin* heif::get_decoder(enum heif_compression_format type) { int highest_priority = 0; const struct heif_decoder_plugin* best_plugin = nullptr; for (const auto* plugin : s_decoder_plugins) { int priority = plugin->does_support_format(type); if (priority > highest_priority) { highest_priority = priority; best_plugin = plugin; } } return best_plugin; } void heif::register_encoder(const heif_encoder_plugin* encoder_plugin) { if (encoder_plugin->init_plugin) { (*encoder_plugin->init_plugin)(); } auto descriptor = std::unique_ptr(new heif_encoder_descriptor); descriptor->plugin = encoder_plugin; s_encoder_descriptors.insert(std::move(descriptor)); } const struct heif_encoder_plugin* heif::get_encoder(enum heif_compression_format type) { auto filtered_encoder_descriptors = get_filtered_encoder_descriptors(type, nullptr); if (filtered_encoder_descriptors.size()>0) { return filtered_encoder_descriptors[0]->plugin; } else { return nullptr; } } std::vector heif::get_filtered_encoder_descriptors(enum heif_compression_format format, const char* name) { std::vector filtered_descriptors; for (const auto& descr : s_encoder_descriptors) { const struct heif_encoder_plugin* plugin = descr->plugin; if (plugin->compression_format == format || format==heif_compression_undefined) { if (name == nullptr || strcmp(name, plugin->id_name)==0) { filtered_descriptors.push_back(descr.get()); } } } // Note: since our std::set<> is ordered by priority, we do not have to sort our output return filtered_descriptors; } libheif-1.6.1/libheif/box.h0000644000221000001440000005360213576430032012402 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_BOX_H #define LIBHEIF_BOX_H #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #include #include #include #include "error.h" #include "heif.h" #include "logging.h" #include "bitstream.h" #if !defined(__EMSCRIPTEN__) && !defined(_MSC_VER) // std::array is not supported on some older compilers. #define HAS_BOOL_ARRAY 1 #endif namespace heif { #define fourcc(id) (((uint32_t)(id[0])<<24) | (id[1]<<16) | (id[2]<<8) | (id[3])) /* constexpr uint32_t fourcc(const char* string) { return ((string[0]<<24) | (string[1]<<16) | (string[2]<< 8) | (string[3])); } */ class Fraction { public: Fraction() { } Fraction(int32_t num,int32_t den); Fraction operator+(const Fraction&) const; Fraction operator-(const Fraction&) const; Fraction operator-(int) const; Fraction operator/(int) const; int32_t round_down() const; int32_t round_up() const; int32_t round() const; bool is_valid() const; int32_t numerator = 0; int32_t denominator = 1; }; class BoxHeader { public: BoxHeader(); virtual ~BoxHeader() { } constexpr static uint64_t size_until_end_of_file = 0; uint64_t get_box_size() const { return m_size; } uint32_t get_header_size() const { return m_header_size; } uint32_t get_short_type() const { return m_type; } std::vector get_type() const; std::string get_type_string() const; void set_short_type(uint32_t type) { m_type = type; } Error parse(BitstreamRange& range); virtual std::string dump(Indent&) const; // --- full box Error parse_full_box_header(BitstreamRange& range); uint8_t get_version() const { return m_version; } void set_version(uint8_t version) { m_version=version; } uint32_t get_flags() const { return m_flags; } void set_flags(uint32_t flags) { m_flags = flags; } void set_is_full_box(bool flag=true) { m_is_full_box=flag; } bool is_full_box_header() const { return m_is_full_box; } // --- writing size_t reserve_box_header_space(StreamWriter& writer) const; Error prepend_header(StreamWriter&, size_t box_start) const; private: uint64_t m_size = 0; uint32_t m_header_size = 0; uint32_t m_type = 0; std::vector m_uuid_type; bool m_is_full_box = false; uint8_t m_version = 0; uint32_t m_flags = 0; }; class Box : public BoxHeader { public: Box() { } Box(const BoxHeader& hdr) : BoxHeader(hdr) { } static Error read(BitstreamRange& range, std::shared_ptr* box); virtual Error write(StreamWriter& writer) const; // check, which box version is required and set this in the (full) box header virtual void derive_box_version() { set_version(0); } void derive_box_version_recursive(); virtual std::string dump(Indent&) const; std::shared_ptr get_child_box(uint32_t short_type) const; std::vector> get_child_boxes(uint32_t short_type) const; const std::vector>& get_all_child_boxes() const { return m_children; } int append_child_box(std::shared_ptr box) { m_children.push_back(box); return (int)m_children.size()-1; } protected: virtual Error parse(BitstreamRange& range); std::vector> m_children; const static int READ_CHILDREN_ALL = -1; Error read_children(BitstreamRange& range, int number = READ_CHILDREN_ALL); Error write_children(StreamWriter& writer) const; std::string dump_children(Indent&) const; }; class Box_ftyp : public Box { public: Box_ftyp() { set_short_type(fourcc("ftyp")); set_is_full_box(false); } Box_ftyp(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; bool has_compatible_brand(uint32_t brand) const; void set_major_brand(uint32_t major_brand) { m_major_brand=major_brand; } void set_minor_version(uint32_t minor_version) { m_minor_version=minor_version; } void clear_compatible_brands() { m_compatible_brands.clear(); } void add_compatible_brand(uint32_t brand); Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: uint32_t m_major_brand = 0; uint32_t m_minor_version = 0; std::vector m_compatible_brands; }; class Box_meta : public Box { public: Box_meta() { set_short_type(fourcc("meta")); set_is_full_box(true); } Box_meta(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; }; class Box_hdlr : public Box { public: Box_hdlr() { set_short_type(fourcc("hdlr")); set_is_full_box(true); } Box_hdlr(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; uint32_t get_handler_type() const { return m_handler_type; } void set_handler_type(uint32_t handler) { m_handler_type = handler; } Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: uint32_t m_pre_defined = 0; uint32_t m_handler_type = fourcc("pict"); uint32_t m_reserved[3] = {0, }; std::string m_name; }; class Box_pitm : public Box { public: Box_pitm() { set_short_type(fourcc("pitm")); set_is_full_box(true); } Box_pitm(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; heif_item_id get_item_ID() const { return m_item_ID; } void set_item_ID(heif_item_id id) { m_item_ID = id; } void derive_box_version() override; Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: heif_item_id m_item_ID = 0; }; class Box_iloc : public Box { public: Box_iloc() { set_short_type(fourcc("iloc")); set_is_full_box(true); } Box_iloc(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; struct Extent { uint64_t index = 0; uint64_t offset = 0; uint64_t length = 0; std::vector data; // only used when writing data }; struct Item { heif_item_id item_ID = 0; uint8_t construction_method = 0; // >= version 1 uint16_t data_reference_index = 0; uint64_t base_offset = 0; std::vector extents; }; const std::vector& get_items() const { return m_items; } Error read_data(const Item& item, std::shared_ptr istr, const std::shared_ptr&, std::vector* dest) const; void set_min_version(uint8_t min_version) { m_user_defined_min_version=min_version; } // append bitstream data that will be written later (after iloc box) Error append_data(heif_item_id item_ID, const std::vector& data, uint8_t construction_method=0); // append bitstream data that already has been written (before iloc box) // Error write_mdat_before_iloc(heif_image_id item_ID, // std::vector& data) // reserve data entry that will be written later // Error reserve_mdat_item(heif_image_id item_ID, // uint8_t construction_method, // uint32_t* slot_ID); // void patch_mdat_slot(uint32_t slot_ID, size_t start, size_t length); void derive_box_version() override; Error write(StreamWriter& writer) const override; Error write_mdat_after_iloc(StreamWriter& writer); protected: Error parse(BitstreamRange& range) override; private: std::vector m_items; mutable size_t m_iloc_box_start = 0; uint8_t m_user_defined_min_version = 0; uint8_t m_offset_size = 0; uint8_t m_length_size = 0; uint8_t m_base_offset_size = 0; uint8_t m_index_size = 0; void patch_iloc_header(StreamWriter& writer) const; }; class Box_infe : public Box { public: Box_infe() { set_short_type(fourcc("infe")); set_is_full_box(true); } Box_infe(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; bool is_hidden_item() const { return m_hidden_item; } void set_hidden_item(bool hidden); heif_item_id get_item_ID() const { return m_item_ID; } void set_item_ID(heif_item_id id) { m_item_ID = id; } std::string get_item_type() const { return m_item_type; } void set_item_type(std::string type) { m_item_type = type; } void set_item_name(std::string name) { m_item_name = name; } std::string get_content_type() const { return m_content_type; } void set_content_type(std::string content_type) { m_content_type = content_type; } void derive_box_version() override; Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: heif_item_id m_item_ID = 0; uint16_t m_item_protection_index = 0; std::string m_item_type; std::string m_item_name; std::string m_content_type; std::string m_content_encoding; std::string m_item_uri_type; // if set, this item should not be part of the presentation (i.e. hidden) bool m_hidden_item = false; }; class Box_iinf : public Box { public: Box_iinf() { set_short_type(fourcc("iinf")); set_is_full_box(true); } Box_iinf(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; void derive_box_version() override; Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: //std::vector< std::shared_ptr > m_iteminfos; }; class Box_iprp : public Box { public: Box_iprp() { set_short_type(fourcc("iprp")); set_is_full_box(false); } Box_iprp(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; }; class Box_ipco : public Box { public: Box_ipco() { set_short_type(fourcc("ipco")); set_is_full_box(false); } Box_ipco(const BoxHeader& hdr) : Box(hdr) { } struct Property { bool essential; std::shared_ptr property; }; Error get_properties_for_item_ID(heif_item_id itemID, const std::shared_ptr&, std::vector& out_properties) const; std::shared_ptr get_property_for_item_ID(heif_item_id itemID, const std::shared_ptr&, uint32_t property_box_type) const; std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; }; class Box_ispe : public Box { public: Box_ispe() { set_short_type(fourcc("ispe")); set_is_full_box(true); } Box_ispe(const BoxHeader& hdr) : Box(hdr) { } uint32_t get_width() const { return m_image_width; } uint32_t get_height() const { return m_image_height; } void set_size(uint32_t width, uint32_t height) { m_image_width = width; m_image_height = height; } std::string dump(Indent&) const override; Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: uint32_t m_image_width = 0; uint32_t m_image_height = 0; }; class Box_ipma : public Box { public: Box_ipma() { set_short_type(fourcc("ipma")); set_is_full_box(true); } Box_ipma(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; struct PropertyAssociation { bool essential; uint16_t property_index; }; const std::vector* get_properties_for_item_ID(heif_item_id itemID) const; void add_property_for_item_ID(heif_item_id itemID, PropertyAssociation assoc); void derive_box_version() override; Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; struct Entry { heif_item_id item_ID; std::vector associations; }; std::vector m_entries; }; class Box_auxC : public Box { public: Box_auxC() { set_short_type(fourcc("auxC")); set_is_full_box(true); } Box_auxC(const BoxHeader& hdr) : Box(hdr) { } std::string get_aux_type() const { return m_aux_type; } void set_aux_type(std::string type) { m_aux_type = type; } std::vector get_subtypes() const { return m_aux_subtypes; } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; Error write(StreamWriter& writer) const override; private: std::string m_aux_type; std::vector m_aux_subtypes; }; class Box_irot : public Box { public: Box_irot(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; int get_rotation() const { return m_rotation; } protected: Error parse(BitstreamRange& range) override; private: int m_rotation = 0; // in degrees (CCW) }; class Box_imir : public Box { public: Box_imir(const BoxHeader& hdr) : Box(hdr) { } enum class MirrorAxis : uint8_t { Vertical = 0, Horizontal = 1 }; MirrorAxis get_mirror_axis() const { return m_axis; } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; private: MirrorAxis m_axis = MirrorAxis::Vertical; }; class Box_clap : public Box { public: Box_clap(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; int left_rounded(int image_width) const; // first column int right_rounded(int image_width) const; // last column that is part of the cropped image int top_rounded(int image_height) const; // first row int bottom_rounded(int image_height) const; // last row included in the cropped image int get_width_rounded() const; int get_height_rounded() const; protected: Error parse(BitstreamRange& range) override; private: Fraction m_clean_aperture_width; Fraction m_clean_aperture_height; Fraction m_horizontal_offset; Fraction m_vertical_offset; }; class Box_iref : public Box { public: Box_iref() { set_short_type(fourcc("iref")); set_is_full_box(true); } Box_iref(const BoxHeader& hdr) : Box(hdr) { } struct Reference { BoxHeader header; heif_item_id from_item_ID; std::vector to_item_ID; }; std::string dump(Indent&) const override; bool has_references(heif_item_id itemID) const; std::vector get_references(heif_item_id itemID, uint32_t ref_type) const; std::vector get_references_from(heif_item_id itemID) const; void add_reference(heif_item_id from_id, uint32_t type, std::vector to_ids); protected: Error parse(BitstreamRange& range) override; Error write(StreamWriter& writer) const override; void derive_box_version() override; private: std::vector m_references; }; class Box_hvcC : public Box { public: Box_hvcC() { set_short_type(fourcc("hvcC")); set_is_full_box(false); } Box_hvcC(const BoxHeader& hdr) : Box(hdr) { } struct configuration { uint8_t configuration_version; uint8_t general_profile_space; bool general_tier_flag; uint8_t general_profile_idc; uint32_t general_profile_compatibility_flags; static const int NUM_CONSTRAINT_INDICATOR_FLAGS = 48; std::bitset general_constraint_indicator_flags; uint8_t general_level_idc; uint16_t min_spatial_segmentation_idc; uint8_t parallelism_type; uint8_t chroma_format; uint8_t bit_depth_luma; uint8_t bit_depth_chroma; uint16_t avg_frame_rate; uint8_t constant_frame_rate; uint8_t num_temporal_layers; uint8_t temporal_id_nested; }; std::string dump(Indent&) const override; bool get_headers(std::vector* dest) const; void set_configuration(const configuration& config) { m_configuration=config; } configuration get_configuration() const { return m_configuration; } void append_nal_data(const std::vector& nal); void append_nal_data(const uint8_t* data, size_t size); Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: struct NalArray { uint8_t m_array_completeness; uint8_t m_NAL_unit_type; std::vector< std::vector > m_nal_units; }; configuration m_configuration; uint8_t m_length_size = 4; // default: 4 bytes for NAL unit lengths std::vector m_nal_array; }; class Box_idat : public Box { public: Box_idat(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; Error read_data(std::shared_ptr istr, uint64_t start, uint64_t length, std::vector& out_data) const; protected: Error parse(BitstreamRange& range) override; std::streampos m_data_start_pos; }; class Box_grpl : public Box { public: Box_grpl(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; struct EntityGroup { BoxHeader header; uint32_t group_id; std::vector entity_ids; }; std::vector m_entity_groups; }; class Box_dinf : public Box { public: Box_dinf(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; }; class Box_dref : public Box { public: Box_dref(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; }; class Box_url : public Box { public: Box_url(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; protected: Error parse(BitstreamRange& range) override; std::string m_location; }; class Box_pixi : public Box { public: Box_pixi() { set_short_type(fourcc("pixi")); set_is_full_box(true); } Box_pixi(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: std::vector m_bits_per_channel; }; class color_profile { public: virtual ~color_profile() { } virtual uint32_t get_type() const = 0; virtual std::string dump(Indent&) const = 0; virtual Error write(StreamWriter& writer) const = 0; }; class color_profile_raw : public color_profile { public: color_profile_raw(uint32_t type, std::vector data) : m_type(type), m_data(data) { } uint32_t get_type() const override { return m_type; } std::vector get_data() const { return m_data; } std::string dump(Indent&) const override; Error write(StreamWriter& writer) const override; private: uint32_t m_type; std::vector m_data; }; class color_profile_nclx : public color_profile { public: color_profile_nclx() { } uint32_t get_type() const override { return fourcc("nclx"); } std::string dump(Indent&) const override; Error parse(BitstreamRange& range); Error write(StreamWriter& writer) const override; uint16_t get_colour_primaries() const {return m_colour_primaries;} uint16_t get_transfer_characteristics() const {return m_transfer_characteristics;} uint16_t get_matrix_coefficients() const {return m_matrix_coefficients;} bool get_full_range_flag() const {return m_full_range_flag;} void set_colour_primaries(uint16_t primaries) { m_colour_primaries = primaries; } void set_transfer_characteristics(uint16_t characteristics) { m_transfer_characteristics = characteristics; } void set_matrix_coefficients(uint16_t coefficients) { m_matrix_coefficients = coefficients; } void set_full_range_flag(bool full_range) { m_full_range_flag=full_range; } private: uint16_t m_colour_primaries = 0; uint16_t m_transfer_characteristics = 0; uint16_t m_matrix_coefficients = 0; bool m_full_range_flag = true; }; class Box_colr : public Box { public: Box_colr() { set_short_type(fourcc("colr")); set_is_full_box(false); } Box_colr(const BoxHeader& hdr) : Box(hdr) { } std::string dump(Indent&) const override; uint32_t get_color_profile_type() const { return m_color_profile->get_type(); } std::shared_ptr get_color_profile() const { return m_color_profile; } void set_color_profile(std::shared_ptr prof) { m_color_profile = prof; } Error write(StreamWriter& writer) const override; protected: Error parse(BitstreamRange& range) override; private: std::shared_ptr m_color_profile; }; } #endif libheif-1.6.1/libheif/heif_decoder_libde265.h0000644000221000001440000000164013341211665015600 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_DECODER_DE265_H #define LIBHEIF_HEIF_DECODER_DE265_H const struct heif_decoder_plugin* get_decoder_plugin_libde265(); #endif libheif-1.6.1/libheif/file_fuzzer.cc0000644000221000001440000001161513576157752014311 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Joachim Bauch * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include #include #include #include "heif.h" static const enum heif_colorspace kFuzzColorSpace = heif_colorspace_YCbCr; static const enum heif_chroma kFuzzChroma = heif_chroma_420; static void TestDecodeImage(struct heif_context* ctx, const struct heif_image_handle* handle, size_t filesize) { struct heif_image* image; struct heif_error err; heif_image_handle_is_primary_image(handle); int width = heif_image_handle_get_width(handle); int height = heif_image_handle_get_height(handle); assert(width >= 0); assert(height >= 0); int metadata_count = heif_image_handle_get_number_of_metadata_blocks(handle, nullptr); assert(metadata_count >= 0); assert(static_cast(metadata_count) < filesize / sizeof(heif_item_id)); heif_item_id* metadata_ids = static_cast(malloc(metadata_count * sizeof(heif_item_id))); assert(metadata_ids); int metadata_ids_count = heif_image_handle_get_list_of_metadata_block_IDs(handle, nullptr, metadata_ids, metadata_count); assert(metadata_count == metadata_ids_count); for (int i = 0; i < metadata_count; i++) { heif_image_handle_get_metadata_type(handle, metadata_ids[i]); heif_image_handle_get_metadata_content_type(handle, metadata_ids[i]); size_t metadata_size = heif_image_handle_get_metadata_size(handle, metadata_ids[i]); assert(metadata_size < filesize); uint8_t* metadata_data = static_cast(malloc(metadata_size)); assert(metadata_data); heif_image_handle_get_metadata(handle, metadata_ids[i], metadata_data); free(metadata_data); } free(metadata_ids); err = heif_decode_image(handle, &image, kFuzzColorSpace, kFuzzChroma, nullptr); if (err.code != heif_error_Ok) { return; } assert(heif_image_get_colorspace(image) == kFuzzColorSpace); assert(heif_image_get_chroma_format(image) == kFuzzChroma); // TODO(fancycode): Should we also check the planes? heif_image_release(image); } static int clip_int(size_t size) { return size > INT_MAX ? INT_MAX : static_cast(size); } extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { struct heif_context* ctx; struct heif_error err; struct heif_image_handle* primary_handle; int images_count; heif_item_id* image_IDs = NULL; heif_check_filetype(data, clip_int(size)); heif_main_brand(data, clip_int(size)); heif_get_file_mime_type(data, clip_int(size)); ctx = heif_context_alloc(); assert(ctx); err = heif_context_read_from_memory(ctx, data, size, nullptr); if (err.code != heif_error_Ok) { // Not a valid HEIF file passed (which is most likely while fuzzing). goto quit; } err = heif_context_get_primary_image_handle(ctx, &primary_handle); if (err.code == heif_error_Ok) { assert(heif_image_handle_is_primary_image(primary_handle)); TestDecodeImage(ctx, primary_handle, size); heif_image_handle_release(primary_handle); } images_count = heif_context_get_number_of_top_level_images(ctx); if (!images_count) { // File doesn't contain any images. goto quit; } image_IDs = (heif_item_id*)malloc(images_count * sizeof(heif_item_id)); assert(image_IDs); images_count = heif_context_get_list_of_top_level_image_IDs(ctx, image_IDs, images_count); if (!images_count) { // Could not get list of image ids. goto quit; } for (int i = 0; i < images_count; ++i) { struct heif_image_handle* image_handle; err = heif_context_get_image_handle(ctx, image_IDs[i], &image_handle); if (err.code != heif_error_Ok) { // Ignore, we are only interested in crashes here. continue; } TestDecodeImage(ctx, image_handle, size); int num_thumbnails = heif_image_handle_get_number_of_thumbnails(image_handle); for (int t = 0; t < num_thumbnails; ++t) { struct heif_image_handle* thumbnail_handle = nullptr; heif_image_handle_get_thumbnail(image_handle, t, &thumbnail_handle); if (thumbnail_handle) { TestDecodeImage(ctx, thumbnail_handle, size); heif_image_handle_release(thumbnail_handle); } } heif_image_handle_release(image_handle); } quit: heif_context_free(ctx); free(image_IDs); return 0; } libheif-1.6.1/libheif/error.cc0000644000221000001440000001464213576157752013121 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "error.h" #include // static const char heif::Error::kSuccess[] = "Success"; const char* cUnknownError = "Unknown error"; heif::Error::Error() : error_code(heif_error_Ok), sub_error_code(heif_suberror_Unspecified) { } heif::Error::Error(heif_error_code c, heif_suberror_code sc, std::string msg) : error_code(c), sub_error_code(sc), message(msg) { } const char* heif::Error::get_error_string(heif_error_code err) { switch (err) { case heif_error_Ok: return "Success"; case heif_error_Input_does_not_exist: return "Input file does not exist"; case heif_error_Invalid_input: return "Invalid input"; case heif_error_Unsupported_filetype: return "Unsupported file-type"; case heif_error_Unsupported_feature: return "Unsupported feature"; case heif_error_Usage_error: return "Usage error"; case heif_error_Memory_allocation_error: return "Memory allocation error"; case heif_error_Decoder_plugin_error: return "Decoder plugin generated an error"; case heif_error_Encoder_plugin_error: return "Encoder plugin generated an error"; case heif_error_Encoding_error: return "Error during encoding or writing output file"; } assert(false); return "Unknown error"; } const char* heif::Error::get_error_string(heif_suberror_code err) { switch (err) { case heif_suberror_Unspecified: return "Unspecified"; // --- Invalid_input --- case heif_suberror_End_of_data: return "Unexpected end of file"; case heif_suberror_Invalid_box_size: return "Invalid box size"; case heif_suberror_Invalid_grid_data: return "Invalid grid data"; case heif_suberror_Missing_grid_images: return "Missing grid images"; case heif_suberror_No_ftyp_box: return "No 'ftyp' box"; case heif_suberror_No_idat_box: return "No 'idat' box"; case heif_suberror_No_meta_box: return "No 'meta' box"; case heif_suberror_No_hdlr_box: return "No 'hdlr' box"; case heif_suberror_No_hvcC_box: return "No 'hvcC' box"; case heif_suberror_No_pitm_box: return "No 'pitm' box"; case heif_suberror_No_ipco_box: return "No 'ipco' box"; case heif_suberror_No_ipma_box: return "No 'ipma' box"; case heif_suberror_No_iloc_box: return "No 'iloc' box"; case heif_suberror_No_iinf_box: return "No 'iinf' box"; case heif_suberror_No_iprp_box: return "No 'iprp' box"; case heif_suberror_No_iref_box: return "No 'iref' box"; case heif_suberror_No_infe_box: return "No 'infe' box"; case heif_suberror_No_pict_handler: return "Not a 'pict' handler"; case heif_suberror_Ipma_box_references_nonexisting_property: return "'ipma' box references a non-existing property"; case heif_suberror_No_properties_assigned_to_item: return "No properties assigned to item"; case heif_suberror_No_item_data: return "Item has no data"; case heif_suberror_Invalid_clean_aperture: return "Invalid clean-aperture specification"; case heif_suberror_Invalid_overlay_data: return "Invalid overlay data"; case heif_suberror_Overlay_image_outside_of_canvas: return "Overlay image outside of canvas area"; case heif_suberror_Auxiliary_image_type_unspecified: return "Type of auxiliary image unspecified"; case heif_suberror_No_or_invalid_primary_item: return "No or invalid primary item"; case heif_suberror_Unknown_color_profile_type: return "Unknown color profile type"; case heif_suberror_Wrong_tile_image_chroma_format: return "Wrong tile image chroma format"; case heif_suberror_Invalid_fractional_number: return "Invalid fractional number"; case heif_suberror_Invalid_image_size: return "Invalid image size"; // --- Memory_allocation_error --- case heif_suberror_Security_limit_exceeded: return "Security limit exceeded"; // --- Usage_error --- case heif_suberror_Nonexisting_item_referenced: return "Non-existing item ID referenced"; case heif_suberror_Null_pointer_argument: return "NULL argument received"; case heif_suberror_Nonexisting_image_channel_referenced: return "Non-existing image channel referenced"; case heif_suberror_Unsupported_plugin_version: return "The version of the passed plugin is not supported"; case heif_suberror_Unsupported_writer_version: return "The version of the passed writer is not supported"; case heif_suberror_Unsupported_parameter: return "Unsupported parameter"; case heif_suberror_Invalid_parameter_value: return "Invalid parameter value"; // --- Unsupported_feature --- case heif_suberror_Unsupported_codec: return "Unsupported codec"; case heif_suberror_Unsupported_image_type: return "Unsupported image type"; case heif_suberror_Unsupported_data_version: return "Unsupported data version"; case heif_suberror_Unsupported_color_conversion: return "Unsupported color conversion"; case heif_suberror_Unsupported_item_construction_method: return "Unsupported item construction method"; // --- Encoder_plugin_error -- case heif_suberror_Unsupported_bit_depth: return "Unsupported bit depth"; // --- Encoding_error -- case heif_suberror_Cannot_write_output_data: return "Cannot write output data"; } assert(false); return cUnknownError; } heif_error heif::Error::error_struct(ErrorBuffer* error_buffer) const { if (error_buffer) { if (error_code == heif_error_Ok) { error_buffer->set_success(); } else { std::stringstream sstr; sstr << get_error_string(error_code) << ": " << get_error_string(sub_error_code); if (!message.empty()) { sstr << ": " << message; } error_buffer->set_error(sstr.str()); } } heif_error err; err.code = error_code; err.subcode = sub_error_code; if (error_buffer) { err.message = error_buffer->get_error(); } else { err.message = cUnknownError; } return err; } libheif-1.6.1/libheif/heif_version.h0000644000221000001440000000220613576656621014302 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ /* heif_version.h * * This file was generated by autoconf when libheif was built. * * DO NOT EDIT THIS FILE. */ #ifndef LIBHEIF_HEIF_VERSION_H #define LIBHEIF_HEIF_VERSION_H /* Numeric representation of the version */ #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (6<<16) | (1<<8) | 0) /* Version string */ #define LIBHEIF_VERSION "1.6.1" #endif // LIBHEIF_HEIF_VERSION_H libheif-1.6.1/libheif/heif_file.h0000644000221000001440000001133513431533273013522 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_FILE_H #define LIBHEIF_HEIF_FILE_H #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include "box.h" #include #include #include #include #include #if ENABLE_PARALLEL_TILE_DECODING #include #endif namespace heif { class HeifPixelImage; class HeifImage; class HeifFile { public: HeifFile(); ~HeifFile(); Error read(std::shared_ptr reader); Error read_from_file(const char* input_filename); Error read_from_memory(const void* data, size_t size, bool copy); void new_empty_file(); void write(StreamWriter& writer); int get_num_images() const { return static_cast(m_infe_boxes.size()); } heif_item_id get_primary_image_ID() const { return m_pitm_box->get_item_ID(); } std::vector get_item_IDs() const; bool image_exists(heif_item_id ID) const; std::string get_item_type(heif_item_id ID) const; std::string get_content_type(heif_item_id ID) const; Error get_compressed_image_data(heif_item_id ID, std::vector* out_data) const; std::shared_ptr get_infe_box(heif_item_id imageID) { auto iter = m_infe_boxes.find(imageID); if (iter == m_infe_boxes.end()) { return nullptr; } return iter->second; } std::shared_ptr get_iref_box() { return m_iref_box; } std::shared_ptr get_ipco_box() { return m_ipco_box; } std::shared_ptr get_ipma_box() { return m_ipma_box; } Error get_properties(heif_item_id imageID, std::vector& properties) const; heif_chroma get_image_chroma_from_configuration(heif_item_id imageID) const; int get_luma_bits_per_pixel_from_configuration(heif_item_id imageID) const; int get_chroma_bits_per_pixel_from_configuration(heif_item_id imageID) const; std::string debug_dump_boxes() const; // --- writing --- heif_item_id get_unused_item_id() const; heif_item_id add_new_image(const char* item_type); std::shared_ptr add_new_infe_box(const char* item_type); void add_hvcC_property(heif_item_id id); Error append_hvcC_nal_data(heif_item_id id, const std::vector& data); Error append_hvcC_nal_data(heif_item_id id, const uint8_t* data, size_t size); Error set_hvcC_configuration(heif_item_id id, const Box_hvcC::configuration& config); void add_ispe_property(heif_item_id id, uint32_t width, uint32_t height); void append_iloc_data(heif_item_id id, const std::vector& nal_packets); void append_iloc_data_with_4byte_size(heif_item_id id, const uint8_t* data, size_t size); void set_primary_item_id(heif_item_id id); void add_iref_reference(heif_item_id from, uint32_t type, std::vector to); void set_auxC_property(heif_item_id id, std::string type); void set_color_profile(heif_item_id id, const std::shared_ptr profile); private: #if ENABLE_PARALLEL_TILE_DECODING mutable std::mutex m_read_mutex; #endif std::shared_ptr m_input_stream; std::vector > m_top_level_boxes; std::shared_ptr m_ftyp_box; std::shared_ptr m_hdlr_box; std::shared_ptr m_meta_box; std::shared_ptr m_ipco_box; std::shared_ptr m_ipma_box; std::shared_ptr m_iloc_box; std::shared_ptr m_idat_box; std::shared_ptr m_iref_box; std::shared_ptr m_pitm_box; std::shared_ptr m_iinf_box; std::shared_ptr m_iprp_box; std::map > m_infe_boxes; // list of image items (does not include hidden images or Exif data) //std::vector m_valid_image_IDs; Error parse_heif_file(BitstreamRange& bitstream); std::shared_ptr get_infe(heif_item_id ID) const; }; } #endif libheif-1.6.1/libheif/heif.cc0000644000221000001440000015151313576157752012702 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include "heif.h" #include "heif_image.h" #include "heif_api_structs.h" #include "heif_context.h" #include "heif_plugin_registry.h" #include "error.h" #include "bitstream.h" #if defined(__EMSCRIPTEN__) #include "heif_emscripten.h" #endif #include #include #include #include #include #include #include #include #if defined(HAVE_UNISTD_H) #include #endif #if defined(_MSC_VER) // for _write #include #endif using namespace heif; static struct heif_error error_Ok = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; static struct heif_error error_unsupported_parameter = { heif_error_Usage_error, heif_suberror_Unsupported_parameter, "Unsupported encoder parameter" }; static struct heif_error error_unsupported_plugin_version = { heif_error_Usage_error, heif_suberror_Unsupported_plugin_version, "Unsupported plugin version" }; static struct heif_error error_null_parameter = { heif_error_Usage_error, heif_suberror_Null_pointer_argument, "NULL passed" }; const char *heif_get_version(void) { return (LIBHEIF_VERSION); } uint32_t heif_get_version_number(void) { return (LIBHEIF_NUMERIC_VERSION); } int heif_get_version_number_major(void) { return ((LIBHEIF_NUMERIC_VERSION)>>24) & 0xFF; } int heif_get_version_number_minor(void) { return ((LIBHEIF_NUMERIC_VERSION)>>16) & 0xFF; } int heif_get_version_number_maintenance(void) { return ((LIBHEIF_NUMERIC_VERSION)>>8) & 0xFF; } heif_filetype_result heif_check_filetype(const uint8_t* data, int len) { if (len<8) { return heif_filetype_maybe; } if (data[4] != 'f' || data[5] != 't' || data[6] != 'y' || data[7] != 'p') { return heif_filetype_no; } if (len>=12) { heif_brand brand = heif_main_brand(data, len); if (brand == heif_heic) { return heif_filetype_yes_supported; } else if (brand == heif_unknown_brand) { return heif_filetype_no; } else if (brand == heif_mif1) { return heif_filetype_maybe; } else { return heif_filetype_yes_unsupported; } } return heif_filetype_maybe; } heif_brand heif_main_brand(const uint8_t* data, int len) { if (len<12) { return heif_unknown_brand; } char brand[5]; brand[0]=data[8]; brand[1]=data[9]; brand[2]=data[10]; brand[3]=data[11]; brand[4]=0; if (strcmp(brand, "heic")==0) { return heif_heic; } else if (strcmp(brand, "heix")==0) { return heif_heix; } else if (strcmp(brand, "hevc")==0) { return heif_hevc; } else if (strcmp(brand, "hevx")==0) { return heif_hevx; } else if (strcmp(brand, "heim")==0) { return heif_heim; } else if (strcmp(brand, "heis")==0) { return heif_heis; } else if (strcmp(brand, "hevm")==0) { return heif_hevm; } else if (strcmp(brand, "hevs")==0) { return heif_hevs; } else if (strcmp(brand, "mif1")==0) { return heif_mif1; } else if (strcmp(brand, "msf1")==0) { return heif_msf1; } else { return heif_unknown_brand; } } enum class TriBool { No, Yes, Unknown }; TriBool is_jpeg(const uint8_t* data, int len) { if (len < 12) { return TriBool::Unknown; } if (data[0] == 0xFF && data[1] == 0xD8 && data[2] == 0xFF && data[3] == 0xE0 && data[4] == 0x00 && data[5] == 0x10 && data[6] == 0x4A && data[7] == 0x46 && data[8] == 0x49 && data[9] == 0x46 && data[10] == 0x00 && data[11] == 0x01) { return TriBool::Yes; } if (data[0] == 0xFF && data[1] == 0xD8 && data[2] == 0xFF && data[3] == 0xE1 && data[6] == 0x45 && data[7] == 0x78 && data[8] == 0x69 && data[9] == 0x66 && data[10] == 0x00 && data[11] == 0x00) { return TriBool::Yes; } else { return TriBool::No; } } TriBool is_png(const uint8_t* data, int len) { if (len < 8) { return TriBool::Unknown; } if (data[0] == 0x89 && data[1]==0x50 && data[2]==0x4E && data[3]==0x47 && data[4] == 0x0D && data[5]==0x0A && data[6]==0x1A && data[7]==0x0A) { return TriBool::Yes; } else { return TriBool::No; } } const char* heif_get_file_mime_type(const uint8_t* data, int len) { heif_brand mainBrand = heif_main_brand(data,len); if (mainBrand == heif_heic || mainBrand == heif_heix || mainBrand == heif_heim || mainBrand == heif_heis) { return "image/heic"; } else if (mainBrand == heif_mif1) { return "image/heif"; } if (mainBrand == heif_hevc || mainBrand == heif_hevx || mainBrand == heif_hevm || mainBrand == heif_hevs) { return "image/heic-sequence"; } else if (mainBrand == heif_msf1) { return "image/heif-sequence"; } else if (is_jpeg(data,len)==TriBool::Yes) { return "image/jpeg"; } else if (is_png(data,len)==TriBool::Yes) { return "image/png"; } else { return ""; } } heif_context* heif_context_alloc() { struct heif_context* ctx = new heif_context; ctx->context = std::make_shared(); return ctx; } void heif_context_free(heif_context* ctx) { delete ctx; } heif_error heif_context_read_from_file(heif_context* ctx, const char* filename, const struct heif_reading_options*) { Error err = ctx->context->read_from_file(filename); return err.error_struct(ctx->context.get()); } heif_error heif_context_read_from_memory(heif_context* ctx, const void* mem, size_t size, const struct heif_reading_options*) { Error err = ctx->context->read_from_memory(mem, size, true); return err.error_struct(ctx->context.get()); } heif_error heif_context_read_from_memory_without_copy(heif_context* ctx, const void* mem, size_t size, const struct heif_reading_options*) { Error err = ctx->context->read_from_memory(mem, size, false); return err.error_struct(ctx->context.get()); } heif_error heif_context_read_from_reader(struct heif_context* ctx, const struct heif_reader* reader_func_table, void* userdata, const struct heif_reading_options*) { auto reader = std::make_shared(reader_func_table, userdata); Error err = ctx->context->read(reader); return err.error_struct(ctx->context.get()); } // TODO: heif_error heif_context_read_from_file_descriptor(heif_context*, int fd); void heif_context_debug_dump_boxes_to_file(struct heif_context* ctx, int fd) { if (!ctx) { return; } std::string dump = ctx->context->debug_dump_boxes(); // TODO(fancycode): Should we return an error if writing fails? #if defined(_MSC_VER) auto written = _write(fd, dump.c_str(), dump.size()); #else auto written = write(fd, dump.c_str(), dump.size()); #endif (void) written; } heif_error heif_context_get_primary_image_handle(heif_context* ctx, heif_image_handle** img) { if (!img) { Error err(heif_error_Usage_error, heif_suberror_Null_pointer_argument); return err.error_struct(ctx->context.get()); } std::shared_ptr primary_image = ctx->context->get_primary_image(); // It is a requirement of an HEIF file there is always a primary image. // If there is none, an error is generated when loading the file. if (!primary_image) { Error err(heif_error_Invalid_input, heif_suberror_No_or_invalid_primary_item); return err.error_struct(ctx->context.get()); } *img = new heif_image_handle(); (*img)->image = std::move(primary_image); (*img)->context = ctx->context; return Error::Ok.error_struct(ctx->context.get()); } struct heif_error heif_context_get_primary_image_ID(struct heif_context* ctx, heif_item_id* id) { if (!id) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(ctx->context.get()); } std::shared_ptr primary = ctx->context->get_primary_image(); if (!primary) { return Error(heif_error_Invalid_input, heif_suberror_No_or_invalid_primary_item).error_struct(ctx->context.get()); } *id = primary->get_id(); return Error::Ok.error_struct(ctx->context.get()); } int heif_context_is_top_level_image_ID(struct heif_context* ctx, heif_item_id id) { const std::vector> images = ctx->context->get_top_level_images(); for (const auto& img : images) { if (img->get_id() == id) { return true; } } return false; } int heif_context_get_number_of_top_level_images(heif_context* ctx) { return (int)ctx->context->get_top_level_images().size(); } int heif_context_get_list_of_top_level_image_IDs(struct heif_context* ctx, heif_item_id* ID_array, int count) { if (ID_array == nullptr || count==0 || ctx==nullptr) { return 0; } // fill in ID values into output array const std::vector> imgs = ctx->context->get_top_level_images(); int n = (int)std::min(count,(int)imgs.size()); for (int i=0;iget_id(); } return n; } struct heif_error heif_context_get_image_handle(struct heif_context* ctx, heif_item_id id, struct heif_image_handle** imgHdl) { if (!imgHdl) { Error err(heif_error_Usage_error, heif_suberror_Null_pointer_argument); return err.error_struct(ctx->context.get()); } const std::vector> images = ctx->context->get_top_level_images(); std::shared_ptr image; for (auto& img : images) { if (img->get_id() == id) { image = img; break; } } if (!image) { Error err(heif_error_Usage_error, heif_suberror_Nonexisting_item_referenced); return err.error_struct(ctx->context.get()); } *imgHdl = new heif_image_handle(); (*imgHdl)->image = image; (*imgHdl)->context = ctx->context; return Error::Ok.error_struct(ctx->context.get()); } int heif_image_handle_is_primary_image(const struct heif_image_handle* handle) { return handle->image->is_primary(); } int heif_image_handle_get_number_of_thumbnails(const struct heif_image_handle* handle) { return (int)handle->image->get_thumbnails().size(); } int heif_image_handle_get_list_of_thumbnail_IDs(const struct heif_image_handle* handle, heif_item_id* ids, int count) { if (ids==nullptr) { return 0; } auto thumbnails = handle->image->get_thumbnails(); int n = (int)std::min(count, (int)thumbnails.size()); for (int i=0;iget_id(); } return n; } heif_error heif_image_handle_get_thumbnail(const struct heif_image_handle* handle, heif_item_id thumbnail_id, struct heif_image_handle** out_thumbnail_handle) { if (!out_thumbnail_handle) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(handle->image.get()); } auto thumbnails = handle->image->get_thumbnails(); for (auto thumb : thumbnails) { if (thumb->get_id() == thumbnail_id) { *out_thumbnail_handle = new heif_image_handle(); (*out_thumbnail_handle)->image = thumb; (*out_thumbnail_handle)->context = handle->context; return Error::Ok.error_struct(handle->image.get()); } } Error err(heif_error_Usage_error, heif_suberror_Nonexisting_item_referenced); return err.error_struct(handle->image.get()); } int heif_image_handle_get_width(const struct heif_image_handle* handle) { if (handle && handle->image) { return handle->image->get_width(); } else { return 0; } } int heif_image_handle_get_height(const struct heif_image_handle* handle) { if (handle && handle->image) { return handle->image->get_height(); } else { return 0; } } int heif_image_handle_get_ispe_width(const struct heif_image_handle* handle) { if (handle && handle->image) { return handle->image->get_ispe_width(); } else { return 0; } } int heif_image_handle_get_ispe_height(const struct heif_image_handle* handle) { if (handle && handle->image) { return handle->image->get_ispe_height(); } else { return 0; } } int heif_image_handle_has_alpha_channel(const struct heif_image_handle* handle) { return handle->image->get_alpha_channel() != nullptr; } int heif_image_handle_get_luma_bits_per_pixel(const struct heif_image_handle* handle) { return handle->image->get_luma_bits_per_pixel(); } int heif_image_handle_get_chroma_bits_per_pixel(const struct heif_image_handle* handle) { return handle->image->get_chroma_bits_per_pixel(); } int heif_image_handle_has_depth_image(const struct heif_image_handle* handle) { return handle->image->get_depth_channel() != nullptr; } void heif_depth_representation_info_free(const struct heif_depth_representation_info* info) { delete info; } int heif_image_handle_get_depth_image_representation_info(const struct heif_image_handle* handle, heif_item_id depth_image_id, const struct heif_depth_representation_info** out) { if (out) { if (handle->image->has_depth_representation_info()) { auto info = new heif_depth_representation_info; *info = handle->image->get_depth_representation_info(); *out = info; return true; } else { *out = nullptr; } } return false; } int heif_image_handle_get_number_of_depth_images(const struct heif_image_handle* handle) { auto depth_image = handle->image->get_depth_channel(); if (depth_image) { return 1; } else { return 0; } } int heif_image_handle_get_list_of_depth_image_IDs(const struct heif_image_handle* handle, heif_item_id* ids, int count) { auto depth_image = handle->image->get_depth_channel(); if (count==0) { return 0; } if (depth_image) { ids[0] = depth_image->get_id(); return 1; } else { return 0; } } struct heif_error heif_image_handle_get_depth_image_handle(const struct heif_image_handle* handle, heif_item_id depth_id, struct heif_image_handle** out_depth_handle) { auto depth_image = handle->image->get_depth_channel(); if (depth_image->get_id() != depth_id) { *out_depth_handle = nullptr; Error err(heif_error_Usage_error, heif_suberror_Nonexisting_item_referenced); return err.error_struct(handle->image.get()); } *out_depth_handle = new heif_image_handle(); (*out_depth_handle)->image = depth_image; (*out_depth_handle)->context = handle->context; return Error::Ok.error_struct(handle->image.get()); } heif_decoding_options* heif_decoding_options_alloc() { auto options = new heif_decoding_options; options->version = 1; options->ignore_transformations = false; options->start_progress = NULL; options->on_progress = NULL; options->end_progress = NULL; options->progress_user_data = NULL; return options; } void heif_decoding_options_free(heif_decoding_options* options) { delete options; } struct heif_error heif_decode_image(const struct heif_image_handle* in_handle, struct heif_image** out_img, heif_colorspace colorspace, heif_chroma chroma, const struct heif_decoding_options* options) { std::shared_ptr img; Error err = in_handle->image->decode_image(img, colorspace, chroma, options); if (err.error_code != heif_error_Ok) { return err.error_struct(in_handle->image.get()); } *out_img = new heif_image(); (*out_img)->image = std::move(img); return Error::Ok.error_struct(in_handle->image.get()); } struct heif_error heif_image_create(int width, int height, heif_colorspace colorspace, heif_chroma chroma, struct heif_image** image) { struct heif_image* img = new heif_image; img->image = std::make_shared(); img->image->create(width, height, colorspace, chroma); *image = img; struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, Error::kSuccess }; return err; } void heif_image_release(const struct heif_image* img) { delete img; } void heif_image_handle_release(const struct heif_image_handle* handle) { delete handle; } enum heif_colorspace heif_image_get_colorspace(const struct heif_image* img) { return img->image->get_colorspace(); } enum heif_chroma heif_image_get_chroma_format(const struct heif_image* img) { return img->image->get_chroma_format(); } int heif_image_get_width(const struct heif_image* img,enum heif_channel channel) { return img->image->get_width(channel); } int heif_image_get_height(const struct heif_image* img,enum heif_channel channel) { return img->image->get_height(channel); } int heif_image_get_bits_per_pixel(const struct heif_image* img,enum heif_channel channel) { return img->image->get_storage_bits_per_pixel(channel); } int heif_image_get_bits_per_pixel_range(const struct heif_image* img,enum heif_channel channel) { return img->image->get_bits_per_pixel(channel); } int heif_image_has_channel(const struct heif_image* img, enum heif_channel channel) { return img->image->has_channel(channel); } struct heif_error heif_image_add_plane(struct heif_image* image, heif_channel channel, int width, int height, int bit_depth) { if (!image->image->add_plane(channel, width, height, bit_depth)) { struct heif_error err = { heif_error_Memory_allocation_error, heif_suberror_Unspecified, "Cannot allocate memory for image plane" }; return err; } else { struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, Error::kSuccess }; return err; } } const uint8_t* heif_image_get_plane_readonly(const struct heif_image* image, enum heif_channel channel, int* out_stride) { if (!image || !image->image) { *out_stride = 0; return nullptr; } return image->image->get_plane(channel, out_stride); } uint8_t* heif_image_get_plane(struct heif_image* image, enum heif_channel channel, int* out_stride) { if (!image || !image->image) { *out_stride = 0; return nullptr; } return image->image->get_plane(channel, out_stride); } struct heif_error heif_image_scale_image(const struct heif_image* input, struct heif_image** output, int width, int height, const struct heif_scaling_options* options) { std::shared_ptr out_img; Error err = input->image->scale_nearest_neighbor(out_img, width, height); if (err) { return err.error_struct(input->image.get()); } *output = new heif_image; (*output)->image = out_img; return Error::Ok.error_struct(input->image.get()); } struct heif_error heif_image_set_raw_color_profile(struct heif_image* image, const char* color_profile_type_fourcc, const void* profile_data, const size_t profile_size) { if (strlen(color_profile_type_fourcc) != 4) { heif_error err = { heif_error_Usage_error, heif_suberror_Unspecified, "Invalid color_profile_type (must be 4 characters)" }; return err; } uint32_t color_profile_type = fourcc(color_profile_type_fourcc); std::vector data; data.insert(data.end(), (const uint8_t*)profile_data, (const uint8_t*)profile_data + profile_size); auto color_profile = std::make_shared(color_profile_type, data); image->image->set_color_profile(color_profile); struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, Error::kSuccess }; return err; } struct heif_error heif_image_set_nclx_color_profile(struct heif_image* image, const struct heif_color_profile_nclx* color_profile) { auto nclx = std::make_shared(); nclx->set_colour_primaries(color_profile->color_primaries); nclx->set_transfer_characteristics(color_profile->transfer_characteristics); nclx->set_matrix_coefficients(color_profile->matrix_coefficients); nclx->set_full_range_flag(color_profile->full_range_flag); image->image->set_color_profile(nclx); return error_Ok; } /* void heif_image_remove_color_profile(struct heif_image* image) { image->image->set_color_profile(nullptr); } */ int heif_image_handle_get_number_of_metadata_blocks(const struct heif_image_handle* handle, const char* type_filter) { auto metadata_list = handle->image->get_metadata(); int cnt=0; for (const auto& metadata : metadata_list) { if (type_filter==nullptr || metadata->item_type == type_filter) { cnt++; } } return cnt; } int heif_image_handle_get_list_of_metadata_block_IDs(const struct heif_image_handle* handle, const char* type_filter, heif_item_id* ids, int count) { auto metadata_list = handle->image->get_metadata(); int cnt=0; for (const auto& metadata : metadata_list) { if (type_filter==nullptr || metadata->item_type == type_filter) { if (cnt < count) { ids[cnt] = metadata->item_id; cnt++; } else { break; } } } return cnt; } const char* heif_image_handle_get_metadata_type(const struct heif_image_handle* handle, heif_item_id metadata_id) { auto metadata_list = handle->image->get_metadata(); for (auto metadata : metadata_list) { if (metadata->item_id == metadata_id) { return metadata->item_type.c_str(); } } return NULL; } const char* heif_image_handle_get_metadata_content_type(const struct heif_image_handle* handle, heif_item_id metadata_id) { auto metadata_list = handle->image->get_metadata(); for (auto metadata : metadata_list) { if (metadata->item_id == metadata_id) { return metadata->content_type.c_str(); } } return NULL; } size_t heif_image_handle_get_metadata_size(const struct heif_image_handle* handle, heif_item_id metadata_id) { auto metadata_list = handle->image->get_metadata(); for (auto metadata : metadata_list) { if (metadata->item_id == metadata_id) { return metadata->m_data.size(); } } return 0; } struct heif_error heif_image_handle_get_metadata(const struct heif_image_handle* handle, heif_item_id metadata_id, void* out_data) { if (out_data==nullptr) { Error err(heif_error_Usage_error, heif_suberror_Null_pointer_argument); return err.error_struct(handle->image.get()); } auto metadata_list = handle->image->get_metadata(); for (auto metadata : metadata_list) { if (metadata->item_id == metadata_id) { memcpy(out_data, metadata->m_data.data(), metadata->m_data.size()); return Error::Ok.error_struct(handle->image.get()); } } Error err(heif_error_Usage_error, heif_suberror_Nonexisting_item_referenced); return err.error_struct(handle->image.get()); } heif_color_profile_type heif_image_handle_get_color_profile_type(const struct heif_image_handle* handle) { auto profile = handle->image->get_color_profile(); if (!profile) { return heif_color_profile_type_not_present; } else { return (heif_color_profile_type)profile->get_type(); } } size_t heif_image_handle_get_raw_color_profile_size(const struct heif_image_handle* handle) { auto profile = handle->image->get_color_profile(); auto raw_profile = std::dynamic_pointer_cast(profile); if (raw_profile) { return raw_profile->get_data().size(); } else { return 0; } } static struct color_primaries_table_entry { int id; float gx,gy, bx,by, rx,ry, wx,wy; } color_primaries_table[] = { { 0, 0.000f,0.000f, 0.000f,0.000f, 0.000f,0.000f, 0.0000f,0.0000f }, { 1, 0.300f,0.600f, 0.150f,0.060f, 0.640f,0.330f, 0.3127f,0.3290f }, { 4, 0.210f,0.710f, 0.140f,0.080f, 0.670f,0.330f, 0.3100f,0.3160f }, { 5, 0.290f,0.600f, 0.150f,0.060f, 0.640f,0.330f, 0.3127f,0.3290f }, { 6, 0.310f,0.595f, 0.155f,0.070f, 0.630f,0.340f, 0.3127f,0.3290f }, { 7, 0.310f,0.595f, 0.155f,0.707f, 0.630f,0.340f, 0.3127f,0.3290f }, { -1 } }; static Error get_nclx_color_profile(std::shared_ptr nclx_profile, struct heif_color_profile_nclx** out_data) { if (nclx_profile) { *out_data = (struct heif_color_profile_nclx*)malloc(sizeof(struct heif_color_profile_nclx)); struct heif_color_profile_nclx* nclx = *out_data; nclx->version = 1; nclx->color_primaries = (enum heif_color_primaries)nclx_profile->get_colour_primaries(); nclx->transfer_characteristics = (enum heif_transfer_characteristics)nclx_profile->get_transfer_characteristics(); nclx->matrix_coefficients = (enum heif_matrix_coefficients)nclx_profile->get_matrix_coefficients(); nclx->full_range_flag = nclx_profile->get_full_range_flag(); // fill color primaries int tableIdx = 0; for (int i=0; color_primaries_table[i].id >= 0; i++) { const auto& c = color_primaries_table[i]; if (c.id == (*out_data)->color_primaries) { tableIdx = i; break; } } const auto& c = color_primaries_table[tableIdx]; nclx->color_primary_red_x = c.rx; nclx->color_primary_red_y = c.ry; nclx->color_primary_green_x = c.gx; nclx->color_primary_green_y = c.gy; nclx->color_primary_blue_x = c.bx; nclx->color_primary_blue_y = c.by; nclx->color_primary_white_x = c.wx; nclx->color_primary_white_y = c.wy; return Error::Ok; } else { return Error(heif_error_Usage_error, heif_suberror_Unspecified); } } struct heif_error heif_image_handle_get_nclx_color_profile(const struct heif_image_handle* handle, struct heif_color_profile_nclx** out_data) { if (!out_data) { Error err(heif_error_Usage_error, heif_suberror_Null_pointer_argument); return err.error_struct(handle->image.get()); } auto profile = handle->image->get_color_profile(); auto nclx_profile = std::dynamic_pointer_cast(profile); Error err = get_nclx_color_profile(nclx_profile, out_data); return err.error_struct(handle->image.get()); } struct heif_error heif_image_handle_get_raw_color_profile(const struct heif_image_handle* handle, void* out_data) { if (out_data==nullptr) { Error err(heif_error_Usage_error, heif_suberror_Null_pointer_argument); return err.error_struct(handle->image.get()); } auto profile = handle->image->get_color_profile(); auto raw_profile = std::dynamic_pointer_cast(profile); if (raw_profile) { memcpy(out_data, raw_profile->get_data().data(), raw_profile->get_data().size()); } return Error::Ok.error_struct(handle->image.get()); } enum heif_color_profile_type heif_image_get_color_profile_type(const struct heif_image* image) { auto profile = image->image->get_color_profile(); if (!profile) { return heif_color_profile_type_not_present; } else { return (heif_color_profile_type)profile->get_type(); } } size_t heif_image_get_raw_color_profile_size(const struct heif_image* image) { auto profile = image->image->get_color_profile(); auto raw_profile = std::dynamic_pointer_cast(profile); if (raw_profile) { return raw_profile->get_data().size(); } else { return 0; } } struct heif_error heif_image_get_raw_color_profile(const struct heif_image* image, void* out_data) { if (out_data==nullptr) { Error err(heif_error_Usage_error, heif_suberror_Null_pointer_argument); return err.error_struct(image->image.get()); } auto profile = image->image->get_color_profile(); auto raw_profile = std::dynamic_pointer_cast(profile); if (raw_profile) { memcpy(out_data, raw_profile->get_data().data(), raw_profile->get_data().size()); } return Error::Ok.error_struct(image->image.get()); } struct heif_error heif_image_get_nclx_color_profile(const struct heif_image* image, struct heif_color_profile_nclx** out_data) { if (!out_data) { Error err(heif_error_Usage_error, heif_suberror_Null_pointer_argument); return err.error_struct(image->image.get()); } auto profile = image->image->get_color_profile(); auto nclx_profile = std::dynamic_pointer_cast(profile); Error err = get_nclx_color_profile(nclx_profile, out_data); return err.error_struct(image->image.get()); } // DEPRECATED struct heif_error heif_register_decoder(heif_context* heif, const heif_decoder_plugin* decoder_plugin) { if (!decoder_plugin) { return error_null_parameter; } else if (decoder_plugin->plugin_api_version != 1) { return error_unsupported_plugin_version; } heif->context->register_decoder(decoder_plugin); return Error::Ok.error_struct(heif->context.get()); } struct heif_error heif_register_decoder_plugin(const heif_decoder_plugin* decoder_plugin) { if (!decoder_plugin) { return error_null_parameter; } else if (decoder_plugin->plugin_api_version != 1) { return error_unsupported_plugin_version; } register_decoder(decoder_plugin); return error_Ok; } struct heif_error heif_register_encoder_plugin(const heif_encoder_plugin* encoder_plugin) { if (!encoder_plugin) { return error_null_parameter; } else if (encoder_plugin->plugin_api_version != 1) { return error_unsupported_plugin_version; } register_encoder(encoder_plugin); return error_Ok; } /* int heif_image_get_number_of_data_chunks(heif_image* img); void heif_image_get_data_chunk(heif_image* img, int chunk_index, uint8_t const*const* dataptr, int const* data_size); void heif_image_free_data_chunk(heif_image* img, int chunk_index); */ /* void heif_context_reset(struct heif_context* ctx) { ctx->context->reset_to_empty_heif(); } */ static struct heif_error heif_file_writer_write(struct heif_context* ctx, const void* data, size_t size, void* userdata) { const char* filename = static_cast(userdata); std::ofstream ostr(filename, std::ios_base::binary); ostr.write(static_cast(data), size); // TODO: handle write errors return Error::Ok.error_struct(ctx->context.get()); } struct heif_error heif_context_write_to_file(struct heif_context* ctx, const char* filename) { heif_writer writer; writer.writer_api_version = 1; writer.write = heif_file_writer_write; return heif_context_write(ctx, &writer, (void*)filename); } struct heif_error heif_context_write(struct heif_context* ctx, struct heif_writer* writer, void* userdata) { if (!writer) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(ctx->context.get()); } else if (writer->writer_api_version != 1) { Error err(heif_error_Usage_error, heif_suberror_Unsupported_writer_version); return err.error_struct(ctx->context.get()); } StreamWriter swriter; ctx->context->write(swriter); const auto& data = swriter.get_data(); return writer->write(ctx, data.data(), data.size(), userdata); } int heif_context_get_encoder_descriptors(struct heif_context* ctx, enum heif_compression_format format, const char* name, const struct heif_encoder_descriptor** out_encoder_descriptors, int count) { if (out_encoder_descriptors == nullptr || count <= 0) { return 0; } std::vector descriptors; descriptors = get_filtered_encoder_descriptors(format, name); int i; for (i=0 ; i < count && static_cast(i) < descriptors.size() ; i++) { out_encoder_descriptors[i] = descriptors[i]; } return i; } const char* heif_encoder_descriptor_get_name(const struct heif_encoder_descriptor* descriptor) { return descriptor->plugin->get_plugin_name(); } const char* heif_encoder_descriptor_get_id_name(const struct heif_encoder_descriptor* descriptor) { return descriptor->plugin->id_name; } int heif_encoder_descriptor_supportes_lossy_compression(const struct heif_encoder_descriptor* descriptor) { return descriptor->plugin->supports_lossy_compression; } int heif_encoder_descriptor_supportes_lossless_compression(const struct heif_encoder_descriptor* descriptor) { return descriptor->plugin->supports_lossless_compression; } const char* heif_encoder_get_name(const struct heif_encoder* encoder) { return encoder->plugin->get_plugin_name(); } struct heif_error heif_context_get_encoder(struct heif_context* context, const struct heif_encoder_descriptor* descriptor, struct heif_encoder** encoder) { if (!descriptor || !encoder) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(nullptr); } if (context==nullptr) { *encoder = new struct heif_encoder(nullptr, descriptor->plugin); } else { // DEPRECATED. We do not need the context anywhere. *encoder = new struct heif_encoder(context->context, descriptor->plugin); } (*encoder)->alloc(); struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; return err; } int heif_have_decoder_for_format(enum heif_compression_format format) { auto plugin = heif::get_decoder(format); return plugin != nullptr; } int heif_have_encoder_for_format(enum heif_compression_format format) { auto plugin = heif::get_encoder(format); return plugin != nullptr; } struct heif_error heif_context_get_encoder_for_format(struct heif_context* context, enum heif_compression_format format, struct heif_encoder** encoder) { if (!encoder) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(nullptr); } std::vector descriptors; descriptors = get_filtered_encoder_descriptors(format, nullptr); if (descriptors.size()>0) { if (context==nullptr) { *encoder = new struct heif_encoder(nullptr, descriptors[0]->plugin); } else { // DEPRECATED. We do not need the context anywhere. *encoder = new struct heif_encoder(context->context, descriptors[0]->plugin); } (*encoder)->alloc(); struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; return err; } else { struct heif_error err = { heif_error_Unsupported_filetype, // TODO: is this the right error code? heif_suberror_Unspecified, kSuccess }; return err; } } void heif_encoder_release(struct heif_encoder* encoder) { if (encoder) { delete encoder; } } //struct heif_encoder_param* heif_encoder_get_param(struct heif_encoder* encoder) //{ // return nullptr; //} //void heif_encoder_release_param(struct heif_encoder_param* param) //{ //} // Set a 'quality' factor (0-100). How this is mapped to actual encoding parameters is // encoder dependent. struct heif_error heif_encoder_set_lossy_quality(struct heif_encoder* encoder, int quality) { if (!encoder) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(nullptr); } return encoder->plugin->set_parameter_quality(encoder->encoder, quality); } struct heif_error heif_encoder_set_lossless(struct heif_encoder* encoder, int enable) { if (!encoder) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(nullptr); } return encoder->plugin->set_parameter_lossless(encoder->encoder, enable); } struct heif_error heif_encoder_set_logging_level(struct heif_encoder* encoder, int level) { if (!encoder) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(nullptr); } if (encoder->plugin->set_parameter_logging_level) { return encoder->plugin->set_parameter_logging_level(encoder->encoder, level); } struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; return err; } const struct heif_encoder_parameter*const* heif_encoder_list_parameters(struct heif_encoder* encoder) { return encoder->plugin->list_parameters(encoder->encoder); } const char* heif_encoder_parameter_get_name(const struct heif_encoder_parameter* param) { return param->name; } enum heif_encoder_parameter_type heif_encoder_parameter_get_type(const struct heif_encoder_parameter* param) { return param->type; } struct heif_error heif_encoder_set_parameter_integer(struct heif_encoder* encoder, const char* parameter_name, int value) { return encoder->plugin->set_parameter_integer(encoder->encoder, parameter_name, value); } struct heif_error heif_encoder_get_parameter_integer(struct heif_encoder* encoder, const char* parameter_name, int* value_ptr) { return encoder->plugin->get_parameter_integer(encoder->encoder, parameter_name, value_ptr); } struct heif_error heif_encoder_parameter_get_valid_integer_range(const struct heif_encoder_parameter* param, int* have_minimum_maximum, int* minimum, int* maximum) { if (param->type != heif_encoder_parameter_type_integer) { return error_unsupported_parameter; // TODO: correct error ? } if (param->integer.have_minimum_maximum) { if (minimum) { *minimum = param->integer.minimum; } if (maximum) { *maximum = param->integer.maximum; } } if (have_minimum_maximum) { *have_minimum_maximum = param->integer.have_minimum_maximum; } return error_Ok; } struct heif_error heif_encoder_parameter_get_valid_string_values(const struct heif_encoder_parameter* param, const char*const** out_stringarray) { if (param->type != heif_encoder_parameter_type_string) { return error_unsupported_parameter; // TODO: correct error ? } if (out_stringarray) { *out_stringarray = param->string.valid_values; } return error_Ok; } struct heif_error heif_encoder_parameter_integer_valid_range(struct heif_encoder* encoder, const char* parameter_name, int* have_minimum_maximum, int* minimum, int* maximum) { for (const struct heif_encoder_parameter*const* params = heif_encoder_list_parameters(encoder); *params; params++) { if (strcmp((*params)->name, parameter_name)==0) { return heif_encoder_parameter_get_valid_integer_range(*params, have_minimum_maximum, minimum, maximum); } } return error_unsupported_parameter; } struct heif_error heif_encoder_set_parameter_boolean(struct heif_encoder* encoder, const char* parameter_name, int value) { return encoder->plugin->set_parameter_boolean(encoder->encoder, parameter_name, value); } struct heif_error heif_encoder_get_parameter_boolean(struct heif_encoder* encoder, const char* parameter_name, int* value_ptr) { return encoder->plugin->get_parameter_boolean(encoder->encoder, parameter_name, value_ptr); } struct heif_error heif_encoder_set_parameter_string(struct heif_encoder* encoder, const char* parameter_name, const char* value) { return encoder->plugin->set_parameter_string(encoder->encoder, parameter_name, value); } struct heif_error heif_encoder_get_parameter_string(struct heif_encoder* encoder, const char* parameter_name, char* value_ptr, int value_size) { return encoder->plugin->get_parameter_string(encoder->encoder, parameter_name, value_ptr, value_size); } struct heif_error heif_encoder_parameter_string_valid_values(struct heif_encoder* encoder, const char* parameter_name, const char*const** out_stringarray) { for (const struct heif_encoder_parameter*const* params = heif_encoder_list_parameters(encoder); *params; params++) { if (strcmp((*params)->name, parameter_name)==0) { return heif_encoder_parameter_get_valid_string_values(*params, out_stringarray); } } return error_unsupported_parameter; } static bool parse_boolean(const char* value) { if (strcmp(value,"true")==0) { return true; } else if (strcmp(value,"false")==0) { return false; } else if (strcmp(value,"1")==0) { return true; } else if (strcmp(value,"0")==0) { return false; } return false; } struct heif_error heif_encoder_set_parameter(struct heif_encoder* encoder, const char* parameter_name, const char* value) { for (const struct heif_encoder_parameter*const* params = heif_encoder_list_parameters(encoder); *params; params++) { if (strcmp((*params)->name, parameter_name)==0) { switch ((*params)->type) { case heif_encoder_parameter_type_integer: return heif_encoder_set_parameter_integer(encoder, parameter_name, atoi(value)); case heif_encoder_parameter_type_boolean: return heif_encoder_set_parameter_boolean(encoder, parameter_name, parse_boolean(value)); case heif_encoder_parameter_type_string: return heif_encoder_set_parameter_string(encoder, parameter_name, value); break; } return error_Ok; } } return heif_encoder_set_parameter_string(encoder, parameter_name, value); //return error_unsupported_parameter; } struct heif_error heif_encoder_get_parameter(struct heif_encoder* encoder, const char* parameter_name, char* value_ptr, int value_size) { for (const struct heif_encoder_parameter*const* params = heif_encoder_list_parameters(encoder); *params; params++) { if (strcmp((*params)->name, parameter_name)==0) { switch ((*params)->type) { case heif_encoder_parameter_type_integer: { int value; struct heif_error error = heif_encoder_get_parameter_integer(encoder, parameter_name, &value); if (error.code) { return error; } else { snprintf(value_ptr, value_size, "%d",value); } } break; case heif_encoder_parameter_type_boolean: { int value; struct heif_error error = heif_encoder_get_parameter_boolean(encoder, parameter_name, &value); if (error.code) { return error; } else { snprintf(value_ptr, value_size, "%d",value); } } break; case heif_encoder_parameter_type_string: { struct heif_error error = heif_encoder_get_parameter_string(encoder, parameter_name, value_ptr, value_size); if (error.code) { return error; } } break; } return error_Ok; } } return error_unsupported_parameter; } int heif_encoder_has_default(struct heif_encoder* encoder, const char* parameter_name) { for (const struct heif_encoder_parameter*const* params = heif_encoder_list_parameters(encoder); *params; params++) { if (strcmp((*params)->name, parameter_name)==0) { if ((*params)->version >= 2) { return (*params)->has_default; } else { return true; } } } return false; } static void set_default_options(heif_encoding_options& options) { options.version = 1; options.save_alpha_channel = true; } heif_encoding_options* heif_encoding_options_alloc() { auto options = new heif_encoding_options; set_default_options(*options); return options; } void heif_encoding_options_free(heif_encoding_options* options) { delete options; } struct heif_error heif_context_encode_image(struct heif_context* ctx, const struct heif_image* input_image, struct heif_encoder* encoder, const struct heif_encoding_options* options, struct heif_image_handle** out_image_handle) { if (!encoder) { return Error(heif_error_Usage_error, heif_suberror_Null_pointer_argument).error_struct(ctx->context.get()); } heif_encoding_options default_options; if (options==nullptr) { set_default_options(default_options); options = &default_options; } std::shared_ptr image; Error error; error = ctx->context->encode_image(input_image->image, encoder, options, heif_image_input_class_normal, image); if (error != Error::Ok) { return error.error_struct(ctx->context.get()); } // mark the new image as primary image if (ctx->context->is_primary_image_set() == false) { ctx->context->set_primary_image(image); } if (out_image_handle) { *out_image_handle = new heif_image_handle; (*out_image_handle)->image = image; (*out_image_handle)->context = ctx->context; } return error_Ok; } struct heif_error heif_context_assign_thumbnail(struct heif_context* ctx, const struct heif_image_handle* master_image, const struct heif_image_handle* thumbnail_image) { Error error = ctx->context->assign_thumbnail(thumbnail_image->image, master_image->image); return error.error_struct(ctx->context.get()); } struct heif_error heif_context_encode_thumbnail(struct heif_context* ctx, const struct heif_image* image, const struct heif_image_handle* image_handle, struct heif_encoder* encoder, const struct heif_encoding_options* options, int bbox_size, struct heif_image_handle** out_image_handle) { std::shared_ptr thumbnail_image; heif_encoding_options default_options; if (options==nullptr) { set_default_options(default_options); options = &default_options; } Error error = ctx->context->encode_thumbnail(image->image, encoder, options, bbox_size, thumbnail_image); if (error != Error::Ok) { return error.error_struct(ctx->context.get()); } else if (!thumbnail_image) { Error err(heif_error_Usage_error, heif_suberror_Invalid_parameter_value, "Thumbnail images must be smaller than the original image."); return err.error_struct(ctx->context.get()); } error = ctx->context->assign_thumbnail(image_handle->image, thumbnail_image); if (error != Error::Ok) { return error.error_struct(ctx->context.get()); } if (out_image_handle) { if (thumbnail_image) { *out_image_handle = new heif_image_handle; (*out_image_handle)->image = thumbnail_image; (*out_image_handle)->context = ctx->context; } else { *out_image_handle = nullptr; } } return error_Ok; } struct heif_error heif_context_set_primary_image(struct heif_context* ctx, struct heif_image_handle* image_handle) { ctx->context->set_primary_image(image_handle->image); return error_Ok; } struct heif_error heif_context_add_exif_metadata(struct heif_context* ctx, const struct heif_image_handle* image_handle, const void* data, int size) { Error error = ctx->context->add_exif_metadata(image_handle->image, data, size); if (error != Error::Ok) { return error.error_struct(ctx->context.get()); } else { return error_Ok; } } struct heif_error heif_context_add_XMP_metadata(struct heif_context* ctx, const struct heif_image_handle* image_handle, const void* data, int size) { Error error = ctx->context->add_XMP_metadata(image_handle->image, data, size); if (error != Error::Ok) { return error.error_struct(ctx->context.get()); } else { return error_Ok; } } struct heif_error heif_context_add_generic_metadata(struct heif_context* ctx, const struct heif_image_handle* image_handle, const void* data, int size, const char* item_type, const char* content_type) { Error error = ctx->context->add_generic_metadata(image_handle->image, data, size, item_type, content_type); if (error != Error::Ok) { return error.error_struct(ctx->context.get()); } else { return error_Ok; } } void heif_context_set_maximum_image_size_limit(struct heif_context* ctx, int maximum_width) { ctx->context->set_maximum_image_size_limit(maximum_width); } libheif-1.6.1/libheif/Makefile.am0000644000221000001440000000543713576157752013517 00000000000000AUTOMAKE_OPTIONS = subdir-objects bin_PROGRAMS = lib_LTLIBRARIES = lib_LTLIBRARIES += libheif.la libheif_ladir = \ $(includedir)/libheif ADDITIONAL_LIBS = if HAVE_LIBDE265 ADDITIONAL_LIBS += $(libde265_LIBS) endif if HAVE_X265 ADDITIONAL_LIBS += $(x265_LIBS) endif libheif_la_CPPFLAGS = libheif_la_CFLAGS = \ $(CFLAG_VISIBILITY) \ -DLIBHEIF_EXPORTS libheif_la_CXXFLAGS = \ $(CFLAG_VISIBILITY) \ $(libde265_CFLAGS) \ $(x265_CFLAGS) \ -DLIBHEIF_EXPORTS -I$(top_srcdir) libheif_la_LIBADD = $(ADDITIONAL_LIBS) libheif_la_LDFLAGS = -version-info $(LIBHEIF_CURRENT):$(LIBHEIF_REVISION):$(LIBHEIF_AGE) if MINGW libheif_la_LDFLAGS += -no-undefined endif libheif_la_SOURCES = \ bitstream.h \ bitstream.cc \ box.h \ box.cc \ error.h \ error.cc \ heif_api_structs.h \ heif_file.h \ heif_file.cc \ heif_image.h \ heif_image.cc \ heif_limits.h \ heif.h \ heif.cc \ heif_context.h \ heif_context.cc \ heif_hevc.h \ heif_hevc.cc \ heif_plugin_registry.h \ heif_plugin_registry.cc \ heif_plugin.h \ heif_plugin.cc \ heif_colorconversion.h \ heif_colorconversion.cc \ logging.h if HAVE_LIBDE265 libheif_la_SOURCES += \ heif_decoder_libde265.cc \ heif_decoder_libde265.h endif if HAVE_X265 libheif_la_SOURCES += \ heif_encoder_x265.cc \ heif_encoder_x265.h endif libheif_la_HEADERS = \ heif.h \ heif_plugin.h \ heif_version.h \ heif_cxx.h noinst_HEADERS = \ heif_emscripten.h if HAVE_VISIBILITY libheif_la_CFLAGS += -DHAVE_VISIBILITY libheif_la_CXXFLAGS += -DHAVE_VISIBILITY endif if ENABLE_LIBFUZZER bin_PROGRAMS += box-fuzzer \ color-conversion-fuzzer if HAVE_LIBDE265 bin_PROGRAMS += file-fuzzer endif if HAVE_X265 bin_PROGRAMS += encoder-fuzzer endif else noinst_LIBRARIES = libfuzzers.a libfuzzers_a_SOURCES = \ box_fuzzer.cc \ color_conversion_fuzzer.cc \ encoder_fuzzer.cc \ file_fuzzer.cc endif box_fuzzer_DEPENDENCIES = box_fuzzer_CXXFLAGS = $(libde265_CFLAGS) box_fuzzer_LDFLAGS = $(FUZZING_ENGINE) box_fuzzer_LDADD = $(ADDITIONAL_LIBS) box_fuzzer_SOURCES = $(libheif_la_SOURCES) box_fuzzer.cc color_conversion_fuzzer_DEPENDENCIES = color_conversion_fuzzer_CXXFLAGS = $(libde265_CFLAGS) color_conversion_fuzzer_LDFLAGS = $(FUZZING_ENGINE) color_conversion_fuzzer_LDADD = $(ADDITIONAL_LIBS) color_conversion_fuzzer_SOURCES = $(libheif_la_SOURCES) color_conversion_fuzzer.cc encoder_fuzzer_DEPENDENCIES = encoder_fuzzer_CXXFLAGS = $(libde265_CFLAGS) encoder_fuzzer_LDFLAGS = $(FUZZING_ENGINE) encoder_fuzzer_LDADD = $(ADDITIONAL_LIBS) encoder_fuzzer_SOURCES = $(libheif_la_SOURCES) encoder_fuzzer.cc file_fuzzer_DEPENDENCIES = file_fuzzer_CXXFLAGS = $(libde265_CFLAGS) file_fuzzer_LDFLAGS = $(FUZZING_ENGINE) file_fuzzer_LDADD = $(ADDITIONAL_LIBS) file_fuzzer_SOURCES = $(libheif_la_SOURCES) file_fuzzer.cc EXTRA_DIST = \ CMakeLists.txt libheif-1.6.1/libheif/heif_emscripten.h0000644000221000001440000003160013576157752014767 00000000000000#ifndef LIBHEIF_BOX_EMSCRIPTEN_H #define LIBHEIF_BOX_EMSCRIPTEN_H #include #include #include #include #include #include #include "heif.h" static std::string _heif_get_version() { return heif_get_version(); } static struct heif_error _heif_context_read_from_memory( struct heif_context* context, const std::string& data) { return heif_context_read_from_memory(context, data.data(), data.size(), nullptr); } static void strided_copy(void* dest, const void* src, int width, int height, int stride) { if (width == stride) { memcpy(dest, src, width * height); } else { const uint8_t* _src = static_cast(src); uint8_t* _dest = static_cast(dest); for (int y = 0; y < height; y++, _dest += width, _src += stride) { memcpy(_dest, _src, stride); } } } static emscripten::val heif_js_context_get_image_handle( struct heif_context* context, heif_item_id id) { emscripten::val result = emscripten::val::object(); if (!context) { return result; } struct heif_image_handle* handle; struct heif_error err = heif_context_get_image_handle(context, id, &handle); if (err.code != heif_error_Ok) { return emscripten::val(err); } return emscripten::val(handle); } static emscripten::val heif_js_context_get_list_of_top_level_image_IDs( struct heif_context* context) { emscripten::val result = emscripten::val::array(); if (!context) { return result; } int count = heif_context_get_number_of_top_level_images(context); if (count <= 0) { return result; } heif_item_id* ids = (heif_item_id*) malloc(count * sizeof(heif_item_id)); if (!ids) { struct heif_error err; err.code = heif_error_Memory_allocation_error; err.subcode = heif_suberror_Security_limit_exceeded; return emscripten::val(err); } int received = heif_context_get_list_of_top_level_image_IDs(context, ids, count); if (!received) { free(ids); return result; } for (int i = 0; i < received; i++) { result.set(i, ids[i]); } free(ids); return result; } static emscripten::val heif_js_decode_image(struct heif_image_handle* handle, enum heif_colorspace colorspace, enum heif_chroma chroma) { emscripten::val result = emscripten::val::object(); if (!handle) { return result; } struct heif_image* image; struct heif_error err = heif_decode_image(handle, &image, colorspace, chroma, nullptr); if (err.code != heif_error_Ok) { return emscripten::val(err); } result.set("is_primary", heif_image_handle_is_primary_image(handle)); result.set("thumbnails", heif_image_handle_get_number_of_thumbnails(handle)); int width = heif_image_get_width(image, heif_channel_Y); result.set("width", width); int height = heif_image_get_height(image, heif_channel_Y); result.set("height", height); std::string data; result.set("chroma", heif_image_get_chroma_format(image)); result.set("colorspace", heif_image_get_colorspace(image)); switch (heif_image_get_colorspace(image)) { case heif_colorspace_YCbCr: { int stride_y; const uint8_t* plane_y = heif_image_get_plane_readonly(image, heif_channel_Y, &stride_y); int stride_u; const uint8_t* plane_u = heif_image_get_plane_readonly(image, heif_channel_Cb, &stride_u); int stride_v; const uint8_t* plane_v = heif_image_get_plane_readonly(image, heif_channel_Cr, &stride_v); data.resize((width * height) + (width * height / 2)); char* dest = const_cast(data.data()); strided_copy(dest, plane_y, width, height, stride_y); strided_copy(dest + (width * height), plane_u, width / 2, height / 2, stride_u); strided_copy(dest + (width * height) + (width * height / 4), plane_v, width / 2, height / 2, stride_v); } break; case heif_colorspace_RGB: { assert(heif_image_get_chroma_format(image) == heif_chroma_interleaved_24bit); int stride_rgb; const uint8_t* plane_rgb = heif_image_get_plane_readonly(image, heif_channel_interleaved, &stride_rgb); data.resize(width * height * 3); char* dest = const_cast(data.data()); strided_copy(dest, plane_rgb, width * 3, height, stride_rgb); } break; case heif_colorspace_monochrome: { assert(heif_image_get_chroma_format(image) == heif_chroma_monochrome); int stride_grey; const uint8_t* plane_grey = heif_image_get_plane_readonly(image, heif_channel_Y, &stride_grey); data.resize(width * height); char* dest = const_cast(data.data()); strided_copy(dest, plane_grey, width, height, stride_grey); } break; default: // Should never reach here. break; } result.set("data", std::move(data)); heif_image_release(image); return result; } #define EXPORT_HEIF_FUNCTION(name) \ emscripten::function(#name, &name, emscripten::allow_raw_pointers()) EMSCRIPTEN_BINDINGS(libheif) { emscripten::function("heif_get_version", &_heif_get_version, emscripten::allow_raw_pointers()); EXPORT_HEIF_FUNCTION(heif_get_version_number); EXPORT_HEIF_FUNCTION(heif_context_alloc); EXPORT_HEIF_FUNCTION(heif_context_free); emscripten::function("heif_context_read_from_memory", &_heif_context_read_from_memory, emscripten::allow_raw_pointers()); EXPORT_HEIF_FUNCTION(heif_context_get_number_of_top_level_images); emscripten::function("heif_js_context_get_list_of_top_level_image_IDs", &heif_js_context_get_list_of_top_level_image_IDs, emscripten::allow_raw_pointers()); emscripten::function("heif_js_context_get_image_handle", &heif_js_context_get_image_handle, emscripten::allow_raw_pointers()); emscripten::function("heif_js_decode_image", &heif_js_decode_image, emscripten::allow_raw_pointers()); EXPORT_HEIF_FUNCTION(heif_image_handle_release); emscripten::enum_("heif_error_code") .value("heif_error_Ok", heif_error_Ok) .value("heif_error_Input_does_not_exist", heif_error_Input_does_not_exist) .value("heif_error_Invalid_input", heif_error_Invalid_input) .value("heif_error_Unsupported_filetype", heif_error_Unsupported_filetype) .value("heif_error_Unsupported_feature", heif_error_Unsupported_feature) .value("heif_error_Usage_error", heif_error_Usage_error) .value("heif_error_Memory_allocation_error", heif_error_Memory_allocation_error) .value("heif_error_Decoder_plugin_error", heif_error_Decoder_plugin_error) .value("heif_error_Encoder_plugin_error", heif_error_Encoder_plugin_error) .value("heif_error_Encoding_error", heif_error_Encoding_error) ; emscripten::enum_("heif_suberror_code") .value("heif_suberror_Unspecified", heif_suberror_Unspecified) .value("heif_suberror_Cannot_write_output_data", heif_suberror_Cannot_write_output_data) .value("heif_suberror_End_of_data", heif_suberror_End_of_data) .value("heif_suberror_Invalid_box_size", heif_suberror_Invalid_box_size) .value("heif_suberror_No_ftyp_box", heif_suberror_No_ftyp_box) .value("heif_suberror_No_idat_box", heif_suberror_No_idat_box) .value("heif_suberror_No_meta_box", heif_suberror_No_meta_box) .value("heif_suberror_No_hdlr_box", heif_suberror_No_hdlr_box) .value("heif_suberror_No_hvcC_box", heif_suberror_No_hvcC_box) .value("heif_suberror_No_pitm_box", heif_suberror_No_pitm_box) .value("heif_suberror_No_ipco_box", heif_suberror_No_ipco_box) .value("heif_suberror_No_ipma_box", heif_suberror_No_ipma_box) .value("heif_suberror_No_iloc_box", heif_suberror_No_iloc_box) .value("heif_suberror_No_iinf_box", heif_suberror_No_iinf_box) .value("heif_suberror_No_iprp_box", heif_suberror_No_iprp_box) .value("heif_suberror_No_iref_box", heif_suberror_No_iref_box) .value("heif_suberror_No_pict_handler", heif_suberror_No_pict_handler) .value("heif_suberror_Ipma_box_references_nonexisting_property",heif_suberror_Ipma_box_references_nonexisting_property) .value("heif_suberror_No_properties_assigned_to_item",heif_suberror_No_properties_assigned_to_item) .value("heif_suberror_No_item_data",heif_suberror_No_item_data) .value("heif_suberror_Invalid_grid_data",heif_suberror_Invalid_grid_data) .value("heif_suberror_Missing_grid_images",heif_suberror_Missing_grid_images) .value("heif_suberror_Invalid_clean_aperture",heif_suberror_Invalid_clean_aperture) .value("heif_suberror_Invalid_overlay_data",heif_suberror_Invalid_overlay_data) .value("heif_suberror_Overlay_image_outside_of_canvas",heif_suberror_Overlay_image_outside_of_canvas) .value("heif_suberror_Auxiliary_image_type_unspecified",heif_suberror_Auxiliary_image_type_unspecified) .value("heif_suberror_No_or_invalid_primary_item",heif_suberror_No_or_invalid_primary_item) .value("heif_suberror_No_infe_box",heif_suberror_No_infe_box) .value("heif_suberror_Security_limit_exceeded",heif_suberror_Security_limit_exceeded) .value("heif_suberror_Unknown_color_profile_type",heif_suberror_Unknown_color_profile_type) .value("heif_suberror_Wrong_tile_image_chroma_format",heif_suberror_Wrong_tile_image_chroma_format) .value("heif_suberror_Invalid_fractional_number",heif_suberror_Invalid_fractional_number) .value("heif_suberror_Invalid_image_size",heif_suberror_Invalid_image_size) .value("heif_suberror_Nonexisting_item_referenced",heif_suberror_Nonexisting_item_referenced) .value("heif_suberror_Null_pointer_argument",heif_suberror_Null_pointer_argument) .value("heif_suberror_Nonexisting_image_channel_referenced",heif_suberror_Nonexisting_image_channel_referenced) .value("heif_suberror_Unsupported_plugin_version",heif_suberror_Unsupported_plugin_version) .value("heif_suberror_Unsupported_writer_version",heif_suberror_Unsupported_writer_version) .value("heif_suberror_Unsupported_parameter",heif_suberror_Unsupported_parameter) .value("heif_suberror_Invalid_parameter_value",heif_suberror_Invalid_parameter_value) .value("heif_suberror_Unsupported_codec",heif_suberror_Unsupported_codec) .value("heif_suberror_Unsupported_image_type",heif_suberror_Unsupported_image_type) .value("heif_suberror_Unsupported_data_version",heif_suberror_Unsupported_data_version) .value("heif_suberror_Unsupported_color_conversion",heif_suberror_Unsupported_color_conversion) .value("heif_suberror_Unsupported_item_construction_method",heif_suberror_Unsupported_item_construction_method) .value("heif_suberror_Unsupported_bit_depth",heif_suberror_Unsupported_bit_depth) ; emscripten::enum_("heif_compression_format") .value("heif_compression_undefined", heif_compression_undefined) .value("heif_compression_HEVC", heif_compression_HEVC) .value("heif_compression_AVC", heif_compression_AVC) .value("heif_compression_JPEG", heif_compression_JPEG) ; emscripten::enum_("heif_chroma") .value("heif_chroma_undefined", heif_chroma_undefined) .value("heif_chroma_monochrome", heif_chroma_monochrome) .value("heif_chroma_420", heif_chroma_420) .value("heif_chroma_422", heif_chroma_422) .value("heif_chroma_444", heif_chroma_444) .value("heif_chroma_interleaved_RGB", heif_chroma_interleaved_RGB) .value("heif_chroma_interleaved_RGBA", heif_chroma_interleaved_RGBA) .value("heif_chroma_interleaved_RRGGBB_BE", heif_chroma_interleaved_RRGGBB_BE) .value("heif_chroma_interleaved_RRGGBBAA_BE", heif_chroma_interleaved_RRGGBBAA_BE) .value("heif_chroma_interleaved_RRGGBB_LE", heif_chroma_interleaved_RRGGBB_LE) .value("heif_chroma_interleaved_RRGGBBAA_LE", heif_chroma_interleaved_RRGGBBAA_LE) // Aliases .value("heif_chroma_interleaved_24bit", heif_chroma_interleaved_24bit) .value("heif_chroma_interleaved_32bit", heif_chroma_interleaved_32bit) ; emscripten::enum_("heif_colorspace") .value("heif_colorspace_undefined", heif_colorspace_undefined) .value("heif_colorspace_YCbCr", heif_colorspace_YCbCr) .value("heif_colorspace_RGB", heif_colorspace_RGB) .value("heif_colorspace_monochrome", heif_colorspace_monochrome) ; emscripten::enum_("heif_channel") .value("heif_channel_Y", heif_channel_Y) .value("heif_channel_Cr", heif_channel_Cr) .value("heif_channel_Cb", heif_channel_Cb) .value("heif_channel_R", heif_channel_R) .value("heif_channel_G", heif_channel_G) .value("heif_channel_B", heif_channel_B) .value("heif_channel_Alpha", heif_channel_Alpha) .value("heif_channel_interleaved", heif_channel_interleaved) ; emscripten::class_("heif_context"); emscripten::class_("heif_image_handle"); emscripten::class_("heif_image"); emscripten::value_object("heif_error") .field("code", &heif_error::code) .field("subcode", &heif_error::subcode) ; } #endif // LIBHEIF_BOX_EMSCRIPTEN_H libheif-1.6.1/libheif/box.cc0000644000221000001440000020256113576157752012557 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include "box.h" #include "heif_limits.h" #include #include #include #include #include #include #include using namespace heif; heif::Error heif::Error::Ok(heif_error_Ok); Fraction::Fraction(int32_t num,int32_t den) { // Reduce resolution of fraction until we are in a safe range. // We need this as adding fractions may lead to very large denominators // (e.g. 0x10000 * 0x10000 > 0x100000000 -> overflow, leading to integer 0) while (denominator > MAX_FRACTION_VALUE || denominator < -MAX_FRACTION_VALUE) { numerator /= 2; denominator /= 2; } while (numerator > MAX_FRACTION_VALUE || numerator < -MAX_FRACTION_VALUE) { numerator /= 2; denominator /= 2; } } Fraction Fraction::operator+(const Fraction& b) const { if (denominator == b.denominator) { return Fraction { numerator + b.numerator, denominator }; } else { return Fraction { numerator * b.denominator + b.numerator * denominator, denominator * b.denominator }; } } Fraction Fraction::operator-(const Fraction& b) const { if (denominator == b.denominator) { return Fraction { numerator - b.numerator, denominator }; } else { return Fraction { numerator * b.denominator - b.numerator * denominator, denominator * b.denominator }; } } Fraction Fraction::operator-(int v) const { return Fraction { numerator - v * denominator, denominator }; } Fraction Fraction::operator/(int v) const { return Fraction { numerator, denominator*v }; } int Fraction::round_down() const { return numerator / denominator; } int Fraction::round_up() const { return (numerator + denominator - 1)/denominator; } int Fraction::round() const { return (numerator + denominator/2)/denominator; } bool Fraction::is_valid() const { return denominator != 0; } uint32_t from_fourcc(const char* string) { return ((string[0]<<24) | (string[1]<<16) | (string[2]<< 8) | (string[3])); } static std::string to_fourcc(uint32_t code) { std::string str(" "); str[0] = static_cast((code>>24) & 0xFF); str[1] = static_cast((code>>16) & 0xFF); str[2] = static_cast((code>> 8) & 0xFF); str[3] = static_cast((code>> 0) & 0xFF); return str; } heif::BoxHeader::BoxHeader() { } std::vector heif::BoxHeader::get_type() const { if (m_type == fourcc("uuid")) { return m_uuid_type; } else { std::vector type(4); type[0] = static_cast((m_type>>24) & 0xFF); type[1] = static_cast((m_type>>16) & 0xFF); type[2] = static_cast((m_type>> 8) & 0xFF); type[3] = static_cast((m_type>> 0) & 0xFF); return type; } } std::string heif::BoxHeader::get_type_string() const { if (m_type == fourcc("uuid")) { // 8-4-4-4-12 std::ostringstream sstr; sstr << std::hex; sstr << std::setfill('0'); sstr << std::setw(2); for (int i=0;i<16;i++) { if (i==4 || i==6 || i==8 || i==10) { sstr << '-'; } sstr << ((int)m_uuid_type[i]); } return sstr.str(); } else { return to_fourcc(m_type); } } heif::Error heif::BoxHeader::parse(BitstreamRange& range) { StreamReader::grow_status status; status = range.wait_for_available_bytes(8); if (status != StreamReader::size_reached) { // TODO: return recoverable error at timeout return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } m_size = range.read32(); m_type = range.read32(); m_header_size = 8; if (m_size==1) { status = range.wait_for_available_bytes(8); if (status != StreamReader::size_reached) { // TODO: return recoverable error at timeout return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } uint64_t high = range.read32(); uint64_t low = range.read32(); m_size = (high<<32) | low; m_header_size += 8; std::stringstream sstr; sstr << "Box size " << m_size << " exceeds security limit."; if (m_size > MAX_LARGE_BOX_SIZE) { return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } } if (m_type==fourcc("uuid")) { status = range.wait_for_available_bytes(16); if (status != StreamReader::size_reached) { // TODO: return recoverable error at timeout return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } if (range.prepare_read(16)) { m_uuid_type.resize(16); range.get_istream()->read((char*)m_uuid_type.data(), 16); } m_header_size += 16; } return range.get_error(); } size_t heif::BoxHeader::reserve_box_header_space(StreamWriter& writer) const { size_t start_pos = writer.get_position(); int header_size = is_full_box_header() ? (8+4) : 8; writer.skip(header_size); return start_pos; } heif::Error heif::BoxHeader::prepend_header(StreamWriter& writer, size_t box_start) const { const int reserved_header_size = is_full_box_header() ? (8+4) : 8; // determine header size int header_size = 0; header_size += 8; // normal header size if (is_full_box_header()) { header_size += 4; } if (m_type==fourcc("uuid")) { header_size += 16; } bool large_size = false; size_t data_size = writer.data_size() - box_start - reserved_header_size; if (data_size + header_size > 0xFFFFFFFF) { header_size += 8; large_size = true; } size_t box_size = data_size + header_size; // --- write header writer.set_position(box_start); assert(header_size >= reserved_header_size); writer.insert(header_size - reserved_header_size); if (large_size) { writer.write32(1); } else { assert(box_size <= 0xFFFFFFFF); writer.write32( (uint32_t)box_size ); } writer.write32( m_type ); if (large_size) { writer.write64( box_size ); } if (m_type==fourcc("uuid")) { assert(m_uuid_type.size()==16); writer.write(m_uuid_type); } if (is_full_box_header()) { assert((m_flags & ~0x00FFFFFF) == 0); writer.write32( (m_version << 24) | m_flags ); } writer.set_position_to_end(); // Note: should we move to the end of the box after writing the header? return Error::Ok; } std::string BoxHeader::dump(Indent& indent) const { std::ostringstream sstr; sstr << indent << "Box: " << get_type_string() << " -----\n"; sstr << indent << "size: " << get_box_size() << " (header size: " << get_header_size() << ")\n"; if (m_is_full_box) { sstr << indent << "version: " << ((int)m_version) << "\n" << indent << "flags: " << std::hex << m_flags << "\n"; } return sstr.str(); } Error Box::parse(BitstreamRange& range) { // skip box if (get_box_size() == size_until_end_of_file) { range.skip_to_end_of_file(); } else { uint64_t content_size = get_box_size() - get_header_size(); if (range.prepare_read(content_size)) { if (content_size > MAX_BOX_SIZE) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_box_size); } range.get_istream()->seek_cur(get_box_size() - get_header_size()); } } // Note: seekg() clears the eof flag and it will not be set again afterwards, // hence we have to test for the fail flag. return range.get_error(); } Error BoxHeader::parse_full_box_header(BitstreamRange& range) { uint32_t data = range.read32(); m_version = static_cast(data >> 24); m_flags = data & 0x00FFFFFF; m_is_full_box = true; m_header_size += 4; return range.get_error(); } Error Box::read(BitstreamRange& range, std::shared_ptr* result) { BoxHeader hdr; Error err = hdr.parse(range); if (err) { return err; } if (range.error()) { return range.get_error(); } std::shared_ptr box; switch (hdr.get_short_type()) { case fourcc("ftyp"): box = std::make_shared(hdr); break; case fourcc("meta"): box = std::make_shared(hdr); break; case fourcc("hdlr"): box = std::make_shared(hdr); break; case fourcc("pitm"): box = std::make_shared(hdr); break; case fourcc("iloc"): box = std::make_shared(hdr); break; case fourcc("iinf"): box = std::make_shared(hdr); break; case fourcc("infe"): box = std::make_shared(hdr); break; case fourcc("iprp"): box = std::make_shared(hdr); break; case fourcc("ipco"): box = std::make_shared(hdr); break; case fourcc("ipma"): box = std::make_shared(hdr); break; case fourcc("ispe"): box = std::make_shared(hdr); break; case fourcc("auxC"): box = std::make_shared(hdr); break; case fourcc("irot"): box = std::make_shared(hdr); break; case fourcc("imir"): box = std::make_shared(hdr); break; case fourcc("clap"): box = std::make_shared(hdr); break; case fourcc("iref"): box = std::make_shared(hdr); break; case fourcc("hvcC"): box = std::make_shared(hdr); break; case fourcc("idat"): box = std::make_shared(hdr); break; case fourcc("grpl"): box = std::make_shared(hdr); break; case fourcc("dinf"): box = std::make_shared(hdr); break; case fourcc("dref"): box = std::make_shared(hdr); break; case fourcc("url "): box = std::make_shared(hdr); break; case fourcc("colr"): box = std::make_shared(hdr); break; case fourcc("pixi"): box = std::make_shared(hdr); break; default: box = std::make_shared(hdr); break; } if (hdr.get_box_size() < hdr.get_header_size()) { std::stringstream sstr; sstr << "Box size (" << hdr.get_box_size() << " bytes) smaller than header size (" << hdr.get_header_size() << " bytes)"; // Sanity check. return Error(heif_error_Invalid_input, heif_suberror_Invalid_box_size, sstr.str()); } if (range.get_nesting_level() > MAX_BOX_NESTING_LEVEL) { return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, "Security limit for maximum nesting of boxes has been exceeded"); } auto status = range.wait_for_available_bytes( hdr.get_box_size() - hdr.get_header_size() ); if (status != StreamReader::size_reached) { // TODO: return recoverable error at timeout return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } // Security check: make sure that box size does not exceed int64 size. if (hdr.get_box_size() > std::numeric_limits::max()) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_box_size); } int64_t box_size = static_cast(hdr.get_box_size()); int64_t box_size_without_header = box_size - hdr.get_header_size(); // Box size may not be larger than remaining bytes in parent box. if (range.get_remaining_bytes() < box_size_without_header) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_box_size); } // Create child bitstream range and read box from that range. BitstreamRange boxrange(range.get_istream(), box_size_without_header, &range); err = box->parse(boxrange); if (err == Error::Ok) { *result = std::move(box); } boxrange.skip_to_end_of_box(); return err; } std::string Box::dump(Indent& indent ) const { std::ostringstream sstr; sstr << BoxHeader::dump(indent); return sstr.str(); } Error Box::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); Error err = write_children(writer); prepend_header(writer, box_start); return err; } std::shared_ptr Box::get_child_box(uint32_t short_type) const { for (auto& box : m_children) { if (box->get_short_type()==short_type) { return box; } } return nullptr; } std::vector> Box::get_child_boxes(uint32_t short_type) const { std::vector> result; for (auto& box : m_children) { if (box->get_short_type()==short_type) { result.push_back(box); } } return result; } Error Box::read_children(BitstreamRange& range, int max_number) { int count = 0; while (!range.eof() && !range.error()) { std::shared_ptr box; Error error = Box::read(range, &box); if (error != Error::Ok) { return error; } if (m_children.size() > MAX_CHILDREN_PER_BOX) { std::stringstream sstr; sstr << "Maximum number of child boxes " << MAX_CHILDREN_PER_BOX << " exceeded."; // Sanity check. return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } m_children.push_back(std::move(box)); // count the new child and end reading new children when we reached the expected number count++; if (max_number != READ_CHILDREN_ALL && count == max_number) { break; } } return range.get_error(); } Error Box::write_children(StreamWriter& writer) const { for (const auto& child : m_children) { Error err = child->write(writer); if (err) { return err; } } return Error::Ok; } std::string Box::dump_children(Indent& indent) const { std::ostringstream sstr; bool first = true; indent++; for (const auto& childBox : m_children) { if (first) { first=false; } else { sstr << indent << "\n"; } sstr << childBox->dump(indent); } indent--; return sstr.str(); } void Box::derive_box_version_recursive() { derive_box_version(); for (auto& child : m_children) { child->derive_box_version_recursive(); } } Error Box_ftyp::parse(BitstreamRange& range) { m_major_brand = range.read32(); m_minor_version = range.read32(); if (get_box_size() <= get_header_size() + 8) { // Sanity check. return Error(heif_error_Invalid_input, heif_suberror_Invalid_box_size, "ftyp box too small (less than 8 bytes)"); } uint64_t n_minor_brands = (get_box_size() - get_header_size() - 8) / 4; for (uint64_t i=0;i> 12) & 0xF; int length_size = (values4 >> 8) & 0xF; int base_offset_size = (values4 >> 4) & 0xF; int index_size = 0; if (get_version()>1) { index_size = (values4 & 0xF); } int item_count; if (get_version()<2) { item_count = range.read16(); } else { item_count = range.read32(); } // Sanity check. if (item_count > MAX_ILOC_ITEMS) { std::stringstream sstr; sstr << "iloc box contains " << item_count << " items, which exceeds the security limit of " << MAX_ILOC_ITEMS << " items."; return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } for (int i=0;i=1) { values4 = range.read16(); item.construction_method = (values4 & 0xF); } item.data_reference_index = range.read16(); item.base_offset = 0; if (base_offset_size==4) { item.base_offset = range.read32(); } else if (base_offset_size==8) { item.base_offset = ((uint64_t)range.read32()) << 32; item.base_offset |= range.read32(); } int extent_count = range.read16(); // Sanity check. if (extent_count > MAX_ILOC_EXTENTS_PER_ITEM) { std::stringstream sstr; sstr << "Number of extents in iloc box (" << extent_count << ") exceeds security limit (" << MAX_ILOC_EXTENTS_PER_ITEM << ")\n"; return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } for (int e=0;e1 && index_size>0) { if (index_size==4) { extent.index = range.read32(); } else if (index_size==8) { extent.index = ((uint64_t)range.read32()) << 32; extent.index |= range.read32(); } } extent.offset = 0; if (offset_size==4) { extent.offset = range.read32(); } else if (offset_size==8) { extent.offset = ((uint64_t)range.read32()) << 32; extent.offset |= range.read32(); } extent.length = 0; if (length_size==4) { extent.length = range.read32(); } else if (length_size==8) { extent.length = ((uint64_t)range.read32()) << 32; extent.length |= range.read32(); } item.extents.push_back(extent); } if (!range.error()) { m_items.push_back(item); } } //printf("end limit: %d\n",sizeLimit); return range.get_error(); } std::string Box_iloc::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); for (const Item& item : m_items) { sstr << indent << "item ID: " << item.item_ID << "\n" << indent << " construction method: " << ((int)item.construction_method) << "\n" << indent << " data_reference_index: " << std::hex << item.data_reference_index << std::dec << "\n" << indent << " base_offset: " << item.base_offset << "\n"; sstr << indent << " extents: "; for (const Extent& extent : item.extents) { sstr << extent.offset << "," << extent.length; if (extent.index != 0) { sstr << ";index=" << extent.index; } sstr << " "; } sstr << "\n"; } return sstr.str(); } Error Box_iloc::read_data(const Item& item, std::shared_ptr istr, const std::shared_ptr& idat, std::vector* dest) const { //istr.clear(); for (const auto& extent : item.extents) { if (item.construction_method == 0) { // --- security check that we do not allocate too much memory size_t old_size = dest->size(); if (MAX_MEMORY_BLOCK_SIZE - old_size < extent.length) { std::stringstream sstr; sstr << "iloc box contained " << extent.length << " bytes, total memory size would be " << (old_size + extent.length) << " bytes, exceeding the security limit of " << MAX_MEMORY_BLOCK_SIZE << " bytes"; return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } // --- make sure that all data is available if (extent.offset > MAX_FILE_POS || item.base_offset > MAX_FILE_POS || extent.length > MAX_FILE_POS) { return Error(heif_error_Invalid_input, heif_suberror_Security_limit_exceeded, "iloc data pointers out of allowed range"); } StreamReader::grow_status status = istr->wait_for_file_size(extent.offset + item.base_offset + extent.length); if (status == StreamReader::size_beyond_eof) { // Out-of-bounds // TODO: I think we should not clear this. Maybe we want to try reading again later and // hence should not lose the data already read. dest->clear(); std::stringstream sstr; sstr << "Extent in iloc box references data outside of file bounds " << "(points to file position " << extent.offset + item.base_offset << ")\n"; return Error(heif_error_Invalid_input, heif_suberror_End_of_data, sstr.str()); } else if (status == StreamReader::timeout) { // TODO: maybe we should introduce some 'Recoverable error' instead of 'Invalid input' return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } // --- move file pointer to start of data bool success = istr->seek(extent.offset + item.base_offset); assert(success); (void)success; // --- read data dest->resize(static_cast(old_size + extent.length)); success = istr->read((char*)dest->data() + old_size, static_cast(extent.length)); assert(success); } else if (item.construction_method==1) { if (!idat) { return Error(heif_error_Invalid_input, heif_suberror_No_idat_box, "idat box referenced in iref box is not present in file"); } idat->read_data(istr, extent.offset + item.base_offset, extent.length, *dest); } else { std::stringstream sstr; sstr << "Item construction method " << item.construction_method << " not implemented"; return Error(heif_error_Unsupported_feature, heif_suberror_No_idat_box, sstr.str()); } } return Error::Ok; } Error Box_iloc::append_data(heif_item_id item_ID, const std::vector& data, uint8_t construction_method) { // check whether this item ID already exists size_t idx; for (idx=0;idx add a new one to the end if (idx == m_items.size()) { Item item; item.item_ID = item_ID; item.construction_method = construction_method; m_items.push_back(item); } if (m_items[idx].construction_method != construction_method) { // TODO: return error: construction methods do not match } Extent extent; extent.data = data; m_items[idx].extents.push_back( std::move(extent) ); return Error::Ok; } void Box_iloc::derive_box_version() { int min_version = m_user_defined_min_version; if (m_items.size() > 0xFFFF) { min_version = std::max(min_version, 2); } m_offset_size = 0; m_length_size = 0; m_base_offset_size = 0; m_index_size = 0; for (const auto& item : m_items) { // check item_ID size if (item.item_ID > 0xFFFF) { min_version = std::max(min_version, 2); } // check construction method if (item.construction_method != 0) { min_version = std::max(min_version, 1); } // base offset size /* if (item.base_offset > 0xFFFFFFFF) { m_base_offset_size = 8; } else if (item.base_offset > 0) { m_base_offset_size = 4; } */ /* for (const auto& extent : item.extents) { // extent index size if (extent.index != 0) { min_version = std::max(min_version, 1); m_index_size = 4; } if (extent.index > 0xFFFFFFFF) { m_index_size = 8; } // extent offset size if (extent.offset > 0xFFFFFFFF) { m_offset_size = 8; } else { m_offset_size = 4; } // extent length size if (extent.length > 0xFFFFFFFF) { m_length_size = 8; } else { m_length_size = 4; } } */ } m_offset_size = 4; m_length_size = 4; m_base_offset_size = 4; // TODO: or could be 8 if we write >4GB files m_index_size = 0; set_version((uint8_t)min_version); } Error Box_iloc::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); m_iloc_box_start = writer.get_position(); int nSkip = 0; nSkip += 2; nSkip += (get_version()<2) ? 2 : 4; // item_count for (const auto& item : m_items) { nSkip += (get_version()<2) ? 2 : 4; // item_ID nSkip += (get_version()>=1) ? 2 : 0; // construction method nSkip += 4 + m_base_offset_size; for (const auto& extent : item.extents) { (void)extent; if (get_version()>=1) { nSkip += m_index_size; } nSkip += m_offset_size + m_length_size; } } writer.skip(nSkip); prepend_header(writer, box_start); return Error::Ok; } Error Box_iloc::write_mdat_after_iloc(StreamWriter& writer) { // --- compute sum of all mdat data size_t sum_mdat_size = 0; for (const auto& item : m_items) { if (item.construction_method == 0) { for (const auto& extent : item.extents) { sum_mdat_size += extent.data.size(); } } } if (sum_mdat_size > 0xFFFFFFFF) { // TODO: box size > 4 GB } // --- write mdat box writer.write32((uint32_t)(sum_mdat_size + 8)); writer.write32(fourcc("mdat")); for (auto& item : m_items) { item.base_offset = writer.get_position(); for (auto& extent : item.extents) { extent.offset = writer.get_position() - item.base_offset; extent.length = extent.data.size(); writer.write(extent.data); } } // --- patch iloc box patch_iloc_header(writer); return Error::Ok; } void Box_iloc::patch_iloc_header(StreamWriter& writer) const { size_t old_pos = writer.get_position(); writer.set_position(m_iloc_box_start); writer.write8((uint8_t)((m_offset_size<<4) | (m_length_size))); writer.write8((uint8_t)((m_base_offset_size<<4) | (m_index_size))); if (get_version() < 2) { writer.write16((uint16_t)m_items.size()); } else { writer.write32((uint32_t)m_items.size()); } for (const auto& item : m_items) { if (get_version() < 2) { writer.write16((uint16_t)item.item_ID); } else { writer.write32((uint32_t)item.item_ID); } if (get_version() >= 1) { writer.write16(item.construction_method); } writer.write16(item.data_reference_index); writer.write(m_base_offset_size, item.base_offset); writer.write16((uint16_t)item.extents.size()); for (const auto& extent : item.extents) { if (get_version()>=1 && m_index_size > 0) { writer.write(m_index_size, extent.index); } writer.write(m_offset_size, extent.offset); writer.write(m_length_size, extent.length); } } writer.set_position(old_pos); } Error Box_infe::parse(BitstreamRange& range) { parse_full_box_header(range); if (get_version() <= 1) { m_item_ID = range.read16(); m_item_protection_index = range.read16(); m_item_name = range.read_string(); m_content_type = range.read_string(); m_content_encoding = range.read_string(); } if (get_version() >= 2) { m_hidden_item = (get_flags() & 1); if (get_version() == 2) { m_item_ID = range.read16(); } else { m_item_ID = range.read32(); } m_item_protection_index = range.read16(); uint32_t item_type =range.read32(); if (item_type != 0) { m_item_type = to_fourcc(item_type); } m_item_name = range.read_string(); if (item_type == fourcc("mime")) { m_content_type = range.read_string(); m_content_encoding = range.read_string(); } else if (item_type == fourcc("uri ")) { m_item_uri_type = range.read_string(); } } return range.get_error(); } void Box_infe::derive_box_version() { int min_version = 0; if (m_hidden_item) { min_version = std::max(min_version, 2); } if (m_item_ID > 0xFFFF) { min_version = std::max(min_version, 3); } if (m_item_type != "") { min_version = std::max(min_version, 2); } set_version((uint8_t)min_version); } void Box_infe::set_hidden_item(bool hidden) { m_hidden_item = hidden; if (m_hidden_item) { set_flags( get_flags() | 1); } else { set_flags( get_flags() & ~1); } } Error Box_infe::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); if (get_version() <= 1) { writer.write16((uint16_t)m_item_ID); writer.write16(m_item_protection_index); writer.write(m_item_name); writer.write(m_content_type); writer.write(m_content_encoding); } if (get_version() >= 2) { if (get_version() == 2) { writer.write16((uint16_t)m_item_ID); } else if (get_version()==3) { writer.write32(m_item_ID); } writer.write16(m_item_protection_index); if (m_item_type.empty()) { writer.write32(0); } else { writer.write32(from_fourcc(m_item_type.c_str())); } writer.write(m_item_name); if (m_item_type == "mime") { writer.write(m_content_type); writer.write(m_content_encoding); } else if (m_item_type == "uri ") { writer.write(m_item_uri_type); } } prepend_header(writer, box_start); return Error::Ok; } std::string Box_infe::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "item_ID: " << m_item_ID << "\n" << indent << "item_protection_index: " << m_item_protection_index << "\n" << indent << "item_type: " << m_item_type << "\n" << indent << "item_name: " << m_item_name << "\n" << indent << "content_type: " << m_content_type << "\n" << indent << "content_encoding: " << m_content_encoding << "\n" << indent << "item uri type: " << m_item_uri_type << "\n" << indent << "hidden item: " << std::boolalpha << m_hidden_item << "\n"; return sstr.str(); } Error Box_iinf::parse(BitstreamRange& range) { parse_full_box_header(range); int nEntries_size = (get_version() > 0) ? 4 : 2; int item_count; if (nEntries_size==2) { item_count = range.read16(); } else { item_count = range.read32(); } if (item_count == 0) { return Error::Ok; } // TODO: Only try to read "item_count" children. return read_children(range); } std::string Box_iinf::dump(Indent& indent ) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << dump_children(indent); return sstr.str(); } Error Box_iprp::parse(BitstreamRange& range) { //parse_full_box_header(range); return read_children(range); } void Box_iinf::derive_box_version() { if (m_children.size() > 0xFFFF) { set_version(1); } else { set_version(0); } } Error Box_iinf::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); int nEntries_size = (get_version() > 0) ? 4 : 2; writer.write(nEntries_size, m_children.size()); Error err = write_children(writer); prepend_header(writer, box_start); return err; } std::string Box_iprp::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << dump_children(indent); return sstr.str(); } Error Box_ipco::parse(BitstreamRange& range) { //parse_full_box_header(range); return read_children(range); } std::string Box_ipco::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << dump_children(indent); return sstr.str(); } Error color_profile_nclx::parse(BitstreamRange& range) { StreamReader::grow_status status; status = range.wait_for_available_bytes(7); if (status != StreamReader::size_reached) { // TODO: return recoverable error at timeout return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } m_colour_primaries = range.read16(); m_transfer_characteristics = range.read16(); m_matrix_coefficients = range.read16(); m_full_range_flag = (range.read8() & 0x80 ? true : false); return Error::Ok; } Error Box_colr::parse(BitstreamRange& range) { StreamReader::grow_status status; uint32_t colour_type = range.read32(); if (colour_type == fourcc("nclx")) { auto color_profile = std::make_shared(); m_color_profile = color_profile; Error err = color_profile->parse(range); if (err) { return err; } } else if (colour_type == fourcc("prof") || colour_type == fourcc("rICC")) { auto profile_size = get_box_size() - get_header_size() - 4; status = range.wait_for_available_bytes(profile_size); if (status != StreamReader::size_reached) { // TODO: return recoverable error at timeout return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } std::vector rawData(profile_size); for (size_t i = 0; i < profile_size; i++ ){ rawData[i] = range.read8(); } m_color_profile = std::make_shared(colour_type, rawData); } else { return Error(heif_error_Invalid_input, heif_suberror_Unknown_color_profile_type); } return range.get_error(); } std::string Box_colr::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "colour_type: " << to_fourcc(get_color_profile_type()) << "\n"; if (m_color_profile) { sstr << m_color_profile->dump(indent); } else { sstr << "no color profile\n"; } return sstr.str(); } std::string color_profile_raw::dump(Indent& indent) const { std::ostringstream sstr; sstr << indent << "profile size: " << m_data.size() << "\n"; return sstr.str(); } std::string color_profile_nclx::dump(Indent& indent) const { std::ostringstream sstr; sstr << indent << "colour_primaries: " << m_colour_primaries << "\n" << indent << "transfer_characteristics: " << m_transfer_characteristics << "\n" << indent << "matrix_coefficients: " << m_matrix_coefficients << "\n" << indent << "full_range_flag: " << m_full_range_flag << "\n"; return sstr.str(); } Error color_profile_nclx::write(StreamWriter& writer) const { writer.write16(m_colour_primaries); writer.write16(m_transfer_characteristics); writer.write16(m_matrix_coefficients); writer.write8(m_full_range_flag ? 0x80 : 0x00); return Error::Ok; } Error color_profile_raw::write(StreamWriter& writer) const { writer.write(m_data); return Error::Ok; } Error Box_colr::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); assert(m_color_profile); writer.write32(m_color_profile->get_type()); Error err = m_color_profile->write(writer); if (err) { return err; } prepend_header(writer, box_start); return Error::Ok; } Error Box_pixi::parse(BitstreamRange& range) { parse_full_box_header(range); StreamReader::grow_status status; uint8_t num_channels = range.read8(); status = range.wait_for_available_bytes(num_channels); if (status != StreamReader::size_reached) { // TODO: return recoverable error at timeout return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } m_bits_per_channel.resize(num_channels); for (int i=0;i0) sstr << ","; sstr << ((int)m_bits_per_channel[i]); } sstr << "\n"; return sstr.str(); } Error Box_pixi::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); if (m_bits_per_channel.size() > 255 || m_bits_per_channel.empty()) { // TODO: error assert(false); } writer.write8((uint8_t)(m_bits_per_channel.size())); for (size_t i=0;i& ipma, std::vector& out_properties) const { const std::vector* property_assoc = ipma->get_properties_for_item_ID(itemID); if (property_assoc == nullptr) { std::stringstream sstr; sstr << "Item (ID=" << itemID << ") has no properties assigned to it in ipma box"; return Error(heif_error_Invalid_input, heif_suberror_No_properties_assigned_to_item, sstr.str()); } auto allProperties = get_all_child_boxes(); for (const Box_ipma::PropertyAssociation& assoc : *property_assoc) { if (assoc.property_index > allProperties.size()) { std::stringstream sstr; sstr << "Nonexisting property (index=" << assoc.property_index << ") for item " << " ID=" << itemID << " referenced in ipma box"; return Error(heif_error_Invalid_input, heif_suberror_Ipma_box_references_nonexisting_property, sstr.str()); } Property prop; prop.essential = assoc.essential; if (assoc.property_index > 0) { prop.property = allProperties[assoc.property_index - 1]; out_properties.push_back(prop); } } return Error::Ok; } std::shared_ptr Box_ipco::get_property_for_item_ID(heif_item_id itemID, const std::shared_ptr& ipma, uint32_t box_type) const { const std::vector* property_assoc = ipma->get_properties_for_item_ID(itemID); if (property_assoc == nullptr) { return nullptr; } auto allProperties = get_all_child_boxes(); for (const Box_ipma::PropertyAssociation& assoc : *property_assoc) { if (assoc.property_index > allProperties.size() || assoc.property_index == 0) { return nullptr; } auto property = allProperties[assoc.property_index - 1]; if (property->get_short_type() == box_type) { return property; } } return nullptr; } Error Box_ispe::parse(BitstreamRange& range) { parse_full_box_header(range); m_image_width = range.read32(); m_image_height = range.read32(); return range.get_error(); } std::string Box_ispe::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "image width: " << m_image_width << "\n" << indent << "image height: " << m_image_height << "\n"; return sstr.str(); } Error Box_ispe::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); writer.write32(m_image_width); writer.write32(m_image_height); prepend_header(writer, box_start); return Error::Ok; } Error Box_ipma::parse(BitstreamRange& range) { parse_full_box_header(range); int entry_cnt = range.read32(); for (int i = 0; i < entry_cnt && !range.error() && !range.eof(); i++) { Entry entry; if (get_version()<1) { entry.item_ID = range.read16(); } else { entry.item_ID = range.read32(); } int assoc_cnt = range.read8(); for (int k=0;k* Box_ipma::get_properties_for_item_ID(uint32_t itemID) const { for (const auto& entry : m_entries) { if (entry.item_ID == itemID) { return &entry.associations; } } return nullptr; } void Box_ipma::add_property_for_item_ID(heif_item_id itemID, PropertyAssociation assoc) { size_t idx; for (idx=0; idx 0xFFFF) { version = 1; } for (const auto& assoc : entry.associations) { if (assoc.property_index > 0x7F) { large_property_indices=true; } } } set_version((uint8_t)version); set_flags(large_property_indices ? 1 : 0); } Error Box_ipma::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); size_t entry_cnt = m_entries.size(); writer.write32((uint32_t)entry_cnt); for (const Entry& entry : m_entries) { if (get_version()<1) { writer.write16((uint16_t)entry.item_ID); } else { writer.write32(entry.item_ID); } size_t assoc_cnt = entry.associations.size(); if (assoc_cnt > 0xFF) { // TODO: error, too many associations } writer.write8((uint8_t)assoc_cnt); for (const PropertyAssociation& association : entry.associations) { if (get_flags() & 1) { writer.write16( (uint16_t)((association.essential ? 0x8000 : 0) | (association.property_index & 0x7FFF)) ); } else { writer.write8( (uint8_t)((association.essential ? 0x80 : 0) | (association.property_index & 0x7F)) ); } } } prepend_header(writer, box_start); return Error::Ok; } Error Box_auxC::parse(BitstreamRange& range) { parse_full_box_header(range); m_aux_type = range.read_string(); while (!range.eof()) { m_aux_subtypes.push_back( range.read8() ); } return range.get_error(); } Error Box_auxC::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); writer.write(m_aux_type); for (uint8_t subtype : m_aux_subtypes) { writer.write8(subtype); } prepend_header(writer, box_start); return Error::Ok; } std::string Box_auxC::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "aux type: " << m_aux_type << "\n" << indent << "aux subtypes: "; for (uint8_t subtype : m_aux_subtypes) { sstr << std::hex << std::setw(2) << std::setfill('0') << ((int)subtype) << " "; } sstr << "\n"; return sstr.str(); } Error Box_irot::parse(BitstreamRange& range) { //parse_full_box_header(range); uint16_t rotation = range.read8(); rotation &= 0x03; m_rotation = rotation * 90; return range.get_error(); } std::string Box_irot::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "rotation: " << m_rotation << " degrees (CCW)\n"; return sstr.str(); } Error Box_imir::parse(BitstreamRange& range) { //parse_full_box_header(range); uint16_t axis = range.read8(); if (axis & 1) { m_axis = MirrorAxis::Horizontal; } else { m_axis = MirrorAxis::Vertical; } return range.get_error(); } std::string Box_imir::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "mirror axis: "; switch (m_axis) { case MirrorAxis::Vertical: sstr << "vertical\n"; break; case MirrorAxis::Horizontal: sstr << "horizontal\n"; break; } return sstr.str(); } Error Box_clap::parse(BitstreamRange& range) { //parse_full_box_header(range); m_clean_aperture_width.numerator = range.read32(); m_clean_aperture_width.denominator = range.read32(); m_clean_aperture_height.numerator = range.read32(); m_clean_aperture_height.denominator = range.read32(); m_horizontal_offset.numerator = range.read32(); m_horizontal_offset.denominator = range.read32(); m_vertical_offset.numerator = range.read32(); m_vertical_offset.denominator = range.read32(); if (!m_clean_aperture_width.is_valid() || !m_clean_aperture_height.is_valid() || !m_horizontal_offset.is_valid() || !m_vertical_offset.is_valid()) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_fractional_number); } return range.get_error(); } std::string Box_clap::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "clean_aperture: " << m_clean_aperture_width.numerator << "/" << m_clean_aperture_width.denominator << " x " << m_clean_aperture_height.numerator << "/" << m_clean_aperture_height.denominator << "\n"; sstr << indent << "offset: " << m_horizontal_offset.numerator << "/" << m_horizontal_offset.denominator << " ; " << m_vertical_offset.numerator << "/" << m_vertical_offset.denominator << "\n"; return sstr.str(); } int Box_clap::left_rounded(int image_width) const { // pcX = horizOff + (width - 1)/2 // pcX ± (cleanApertureWidth - 1)/2 // left = horizOff + (width-1)/2 - (clapWidth-1)/2 Fraction pcX = m_horizontal_offset + Fraction(image_width-1, 2); Fraction left = pcX - (m_clean_aperture_width-1)/2; return left.round(); } int Box_clap::right_rounded(int image_width) const { Fraction pcX = m_horizontal_offset + Fraction(image_width-1, 2); Fraction right = pcX + (m_clean_aperture_width-1)/2; return right.round(); } int Box_clap::top_rounded(int image_height) const { Fraction pcY = m_vertical_offset + Fraction(image_height-1, 2); Fraction top = pcY - (m_clean_aperture_height-1)/2; return top.round(); } int Box_clap::bottom_rounded(int image_height) const { Fraction pcY = m_vertical_offset + Fraction(image_height-1, 2); Fraction bottom = pcY + (m_clean_aperture_height-1)/2; return bottom.round(); } int Box_clap::get_width_rounded() const { int left = (Fraction(0,1)-(m_clean_aperture_width-1)/2).round(); int right = ( (m_clean_aperture_width-1)/2).round(); return right+1-left; } int Box_clap::get_height_rounded() const { int top = (Fraction(0,1)-(m_clean_aperture_height-1)/2).round(); int bottom = ( (m_clean_aperture_height-1)/2).round(); return bottom+1-top; } Error Box_iref::parse(BitstreamRange& range) { parse_full_box_header(range); while (!range.eof()) { Reference ref; Error err = ref.header.parse(range); if (err != Error::Ok) { return err; } if (get_version()==0) { ref.from_item_ID = range.read16(); int nRefs = range.read16(); for (int i=0;i 0xFFFF) { version=1; break; } for (uint32_t r : ref.to_item_ID) { if (r > 0xFFFF) { version=1; break; } } } set_version(version); } Error Box_iref::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); int id_size = ((get_version()==0) ? 2 : 4); for (const auto& ref : m_references) { uint32_t box_size = uint32_t(4+4 + 2 + id_size * (1+ref.to_item_ID.size())); // we write the BoxHeader ourselves since it is very simple writer.write32(box_size); writer.write32(ref.header.get_short_type()); writer.write(id_size, ref.from_item_ID); writer.write16((uint16_t)ref.to_item_ID.size()); for (uint32_t r : ref.to_item_ID) { writer.write(id_size, r); } } prepend_header(writer, box_start); return Error::Ok; } std::string Box_iref::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); for (const auto& ref : m_references) { sstr << indent << "reference with type '" << ref.header.get_type_string() << "'" << " from ID: " << ref.from_item_ID << " to IDs: "; for (uint32_t id : ref.to_item_ID) { sstr << id << " "; } sstr << "\n"; } return sstr.str(); } bool Box_iref::has_references(uint32_t itemID) const { for (const Reference& ref : m_references) { if (ref.from_item_ID == itemID) { return true; } } return false; } std::vector Box_iref::get_references_from(heif_item_id itemID) const { std::vector references; for (const Reference& ref : m_references) { if (ref.from_item_ID == itemID) { references.push_back(ref); } } return references; } std::vector Box_iref::get_references(uint32_t itemID, uint32_t ref_type) const { for (const Reference& ref : m_references) { if (ref.from_item_ID == itemID && ref.header.get_short_type() == ref_type) { return ref.to_item_ID; } } return std::vector(); } void Box_iref::add_reference(heif_item_id from_id, uint32_t type, std::vector to_ids) { Reference ref; ref.header.set_short_type(type); ref.from_item_ID = from_id; ref.to_item_ID = to_ids; m_references.push_back(ref); } Error Box_hvcC::parse(BitstreamRange& range) { //parse_full_box_header(range); uint8_t byte; auto& c = m_configuration; // abbreviation c.configuration_version = range.read8(); byte = range.read8(); c.general_profile_space = (byte>>6) & 3; c.general_tier_flag = (byte>>5) & 1; c.general_profile_idc = (byte & 0x1F); c.general_profile_compatibility_flags = range.read32(); for (int i=0; i<6; i++) { byte = range.read8(); for (int b=0;b<8;b++) { c.general_constraint_indicator_flags[i*8+b] = (byte >> (7-b)) & 1; } } c.general_level_idc = range.read8(); c.min_spatial_segmentation_idc = range.read16() & 0x0FFF; c.parallelism_type = range.read8() & 0x03; c.chroma_format = range.read8() & 0x03; c.bit_depth_luma = static_cast((range.read8() & 0x07) + 8); c.bit_depth_chroma = static_cast((range.read8() & 0x07) + 8); c.avg_frame_rate = range.read16(); byte = range.read8(); c.constant_frame_rate = (byte >> 6) & 0x03; c.num_temporal_layers = (byte >> 3) & 0x07; c.temporal_id_nested = (byte >> 2) & 1; m_length_size = static_cast((byte & 0x03) + 1); int nArrays = range.read8(); for (int i=0; i> 6) & 1; array.m_NAL_unit_type = (byte & 0x3F); int nUnits = range.read16(); for (int u=0; u nal_unit; int size = range.read16(); if (!size) { // Ignore empty NAL units. continue; } if (range.prepare_read(size)) { nal_unit.resize(size); range.get_istream()->read((char*)nal_unit.data(), size); } array.m_nal_units.push_back( std::move(nal_unit) ); } m_nal_array.push_back( std::move(array) ); } range.skip_to_end_of_box(); return range.get_error(); } std::string Box_hvcC::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); const auto& c = m_configuration; // abbreviation sstr << indent << "configuration_version: " << ((int)c.configuration_version) << "\n" << indent << "general_profile_space: " << ((int)c.general_profile_space) << "\n" << indent << "general_tier_flag: " << c.general_tier_flag << "\n" << indent << "general_profile_idc: " << ((int)c.general_profile_idc) << "\n"; sstr << indent << "general_profile_compatibility_flags: "; for (int i=0;i<32;i++) { sstr << ((c.general_profile_compatibility_flags>>(31-i))&1); if ((i%8)==7) sstr << ' '; else if ((i%4)==3) sstr << '.'; } sstr << "\n"; sstr << indent << "general_constraint_indicator_flags: "; int cnt=0; for (int i=0; i\n"; indent++; sstr << indent << "array_completeness: " << ((int)array.m_array_completeness) << "\n" << indent << "NAL_unit_type: " << ((int)array.m_NAL_unit_type) << "\n"; for (const auto& unit : array.m_nal_units) { //sstr << " unit with " << unit.size() << " bytes of data\n"; sstr << indent; for (uint8_t b : unit) { sstr << std::setfill('0') << std::setw(2) << std::hex << ((int)b) << " "; } sstr << "\n"; sstr << std::dec; } indent--; } return sstr.str(); } bool Box_hvcC::get_headers(std::vector* dest) const { for (const auto& array : m_nal_array) { for (const auto& unit : array.m_nal_units) { dest->push_back( (unit.size()>>24) & 0xFF ); dest->push_back( (unit.size()>>16) & 0xFF ); dest->push_back( (unit.size()>> 8) & 0xFF ); dest->push_back( (unit.size()>> 0) & 0xFF ); /* dest->push_back(0); dest->push_back(0); dest->push_back(1); */ dest->insert(dest->end(), unit.begin(), unit.end()); } } return true; } void Box_hvcC::append_nal_data(const std::vector& nal) { NalArray array; array.m_array_completeness = 0; array.m_NAL_unit_type = uint8_t(nal[0]>>1); array.m_nal_units.push_back(nal); m_nal_array.push_back(array); } void Box_hvcC::append_nal_data(const uint8_t* data, size_t size) { std::vector nal; nal.resize(size); memcpy(nal.data(), data, size); NalArray array; array.m_array_completeness = 0; array.m_NAL_unit_type = uint8_t(nal[0]>>1); array.m_nal_units.push_back( std::move(nal) ); m_nal_array.push_back(array); } Error Box_hvcC::write(StreamWriter& writer) const { size_t box_start = reserve_box_header_space(writer); const auto& c = m_configuration; // abbreviation writer.write8(c.configuration_version); writer.write8((uint8_t)(((c.general_profile_space & 3) << 6) | ((c.general_tier_flag & 1) << 5) | (c.general_profile_idc & 0x1F))); writer.write32(c.general_profile_compatibility_flags); for (int i=0; i<6; i++) { uint8_t byte = 0; for (int b=0;b<8;b++) { if (c.general_constraint_indicator_flags[i*8+b]) { byte |= 1; } byte = (uint8_t)(byte<<1); } writer.write8(byte); } writer.write8(c.general_level_idc); writer.write16((c.min_spatial_segmentation_idc & 0x0FFF) | 0xF000); writer.write8(c.parallelism_type | 0xFC); writer.write8(c.chroma_format | 0xFC); writer.write8((uint8_t)((c.bit_depth_luma - 8) | 0xF8)); writer.write8((uint8_t)((c.bit_depth_chroma - 8) | 0xF8)); writer.write16(c.avg_frame_rate); writer.write8((uint8_t)(((c.constant_frame_rate & 0x03) << 6) | ((c.num_temporal_layers & 0x07) << 3) | ((c.temporal_id_nested & 1) << 2) | ((m_length_size-1) & 0x03))); size_t nArrays = m_nal_array.size(); if (nArrays>0xFF) { // TODO: error: too many NAL units } writer.write8((uint8_t)nArrays); for (const NalArray& array : m_nal_array) { writer.write8((uint8_t)(((array.m_array_completeness & 1) << 6) | (array.m_NAL_unit_type & 0x3F))); size_t nUnits = array.m_nal_units.size(); if (nUnits > 0xFFFF) { // TODO: error: too many NAL units } writer.write16((uint16_t)nUnits); for (const std::vector& nal_unit : array.m_nal_units) { writer.write16((uint16_t)nal_unit.size()); writer.write(nal_unit); } } prepend_header(writer, box_start); return Error::Ok; } Error Box_idat::parse(BitstreamRange& range) { //parse_full_box_header(range); m_data_start_pos = range.get_istream()->get_position(); return range.get_error(); } std::string Box_idat::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "number of data bytes: " << get_box_size() - get_header_size() << "\n"; return sstr.str(); } Error Box_idat::read_data(std::shared_ptr istr, uint64_t start, uint64_t length, std::vector& out_data) const { // --- security check that we do not allocate too much data auto curr_size = out_data.size(); if (MAX_MEMORY_BLOCK_SIZE - curr_size < length) { std::stringstream sstr; sstr << "idat box contained " << length << " bytes, total memory size would be " << (curr_size + length) << " bytes, exceeding the security limit of " << MAX_MEMORY_BLOCK_SIZE << " bytes"; return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } // move to start of data if (start > (uint64_t)m_data_start_pos + get_box_size()) { return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } else if (length > get_box_size() || start + length > get_box_size()) { return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } StreamReader::grow_status status = istr->wait_for_file_size((int64_t)m_data_start_pos + start + length); if (status == StreamReader::size_beyond_eof || status == StreamReader::timeout) { // TODO: maybe we should introduce some 'Recoverable error' instead of 'Invalid input' return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } bool success; success = istr->seek(m_data_start_pos + (std::streampos)start); assert(success); (void)success; // reserve space for the data in the output array out_data.resize(static_cast(curr_size + length)); uint8_t* data = &out_data[curr_size]; success = istr->read((char*)data, static_cast(length)); assert(success); return Error::Ok; } Error Box_grpl::parse(BitstreamRange& range) { //parse_full_box_header(range); //return read_children(range); while (!range.eof()) { EntityGroup group; Error err = group.header.parse(range); if (err != Error::Ok) { return err; } err = group.header.parse_full_box_header(range); if (err != Error::Ok) { return err; } group.group_id = range.read32(); int nEntities = range.read32(); for (int i=0;i * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef HEIF_API_STRUCTS_H #define HEIF_API_STRUCTS_H #include "heif_image.h" #include "heif_context.h" #include struct heif_image_handle { std::shared_ptr image; // store reference to keep the context alive while we are using the handle (issue #147) std::shared_ptr context; }; struct heif_image { std::shared_ptr image; }; struct heif_context { std::shared_ptr context; }; struct heif_encoder { heif_encoder(std::shared_ptr context, const struct heif_encoder_plugin* plugin); ~heif_encoder(); struct heif_error alloc(); void release(); //std::shared_ptr context; const struct heif_encoder_plugin* plugin; void* encoder = nullptr; }; #endif libheif-1.6.1/libheif/heif_cxx.h0000644000221000001440000007766113531717111013417 00000000000000/* * C++ interface to libheif * Copyright (c) 2018 struktur AG, Dirk Farin * * This file is part of libheif. * * heif is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * heif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with heif. If not, see . */ #ifndef LIBHEIF_HEIF_CXX_H #define LIBHEIF_HEIF_CXX_H #include #include #include extern "C" { #include } namespace heif { class Error { public: Error() { m_code = heif_error_Ok; m_subcode = heif_suberror_Unspecified; m_message = "Ok"; } Error(const heif_error& err) { m_code = err.code; m_subcode = err.subcode; m_message = err.message; } std::string get_message() const { return m_message; } heif_error_code get_code() const { return m_code; } heif_suberror_code get_subcode() const { return m_subcode; } operator bool() const { return m_code != heif_error_Ok; } private: heif_error_code m_code; heif_suberror_code m_subcode; std::string m_message; }; class ImageHandle; class Image; class Encoder; class EncoderParameter; class EncoderDescriptor; class Context { public: Context(); class ReadingOptions { }; // throws Error void read_from_file(std::string filename, const ReadingOptions& opts = ReadingOptions()); // DEPRECATED. Use read_from_memory_without_copy() instead. // throws Error void read_from_memory(const void* mem, size_t size, const ReadingOptions& opts = ReadingOptions()); // throws Error void read_from_memory_without_copy(const void* mem, size_t size, const ReadingOptions& opts = ReadingOptions()); class Reader { public: virtual ~Reader() { } virtual int64_t get_position() const = 0; virtual int read(void* data, size_t size) = 0; virtual int seek(int64_t position) = 0; virtual heif_reader_grow_status wait_for_file_size(int64_t target_size) = 0; }; // throws Error void read_from_reader(Reader&, const ReadingOptions& opts = ReadingOptions()); int get_number_of_top_level_images() const noexcept; bool is_top_level_image_ID(heif_item_id id) const noexcept; std::vector get_list_of_top_level_image_IDs() const noexcept; // throws Error heif_item_id get_primary_image_ID() const; // throws Error ImageHandle get_primary_image_handle() const; ImageHandle get_image_handle(heif_item_id id) const; class EncodingOptions : public heif_encoding_options { public: EncodingOptions(); }; // throws Error ImageHandle encode_image(const Image& img, Encoder& encoder, const EncodingOptions& options = EncodingOptions()); // throws Error void set_primary_image(ImageHandle& new_primary_image_handle); // throws Error ImageHandle encode_thumbnail(const Image& image, const ImageHandle& master_image, Encoder& encoder, const EncodingOptions&, int bbox_size); // throws Error void assign_thumbnail(const ImageHandle& thumbnail_image, const ImageHandle& master_image); // throws Error void add_exif_metadata(const ImageHandle& master_image, const void* data, int size); // throws Error void add_XMP_metadata(const ImageHandle& master_image, const void* data, int size); class Writer { public: virtual ~Writer() { } virtual heif_error write(const void* data, size_t size) = 0; }; // throws Error void write(Writer&); // throws Error void write_to_file(std::string filename) const; private: std::shared_ptr m_context; friend struct ::heif_error heif_writer_trampoline_write(struct heif_context* ctx, const void* data, size_t size, void* userdata); //static Context wrap_without_releasing(heif_context*); // internal use in friend function only }; class ImageHandle { public: ImageHandle() { } ImageHandle(heif_image_handle* handle); bool empty() const noexcept { return !m_image_handle; } bool is_primary_image() const noexcept; int get_width() const noexcept; int get_height() const noexcept; bool has_alpha_channel() const noexcept; // ------------------------- depth images ------------------------- // TODO // ------------------------- thumbnails ------------------------- int get_number_of_thumbnails() const noexcept; std::vector get_list_of_thumbnail_IDs() const noexcept; // throws Error ImageHandle get_thumbnail(heif_item_id id); // ------------------------- metadata (Exif / XMP) ------------------------- // Can optionally be filtered by type ("Exif" / "XMP") std::vector get_list_of_metadata_block_IDs(const char* type_filter = nullptr) const noexcept; std::string get_metadata_type(heif_item_id metadata_id) const noexcept; std::string get_metadata_content_type(heif_item_id metadata_id) const noexcept; // throws error std::vector get_metadata(heif_item_id) const; class DecodingOptions { }; // throws Error Image decode_image(heif_colorspace colorspace, heif_chroma chroma, const DecodingOptions& options = DecodingOptions()); heif_image_handle* get_raw_image_handle() noexcept { return m_image_handle.get(); } const heif_image_handle* get_raw_image_handle() const noexcept { return m_image_handle.get(); } private: std::shared_ptr m_image_handle; }; class Image { public: Image() { } Image(heif_image* image); // throws Error void create(int width, int height, enum heif_colorspace colorspace, enum heif_chroma chroma); // throws Error void add_plane(enum heif_channel channel, int width, int height, int bit_depth); heif_colorspace get_colorspace() const noexcept; heif_chroma get_chroma_format() const noexcept; int get_width(enum heif_channel channel) const noexcept; int get_height(enum heif_channel channel) const noexcept; int get_bits_per_pixel(enum heif_channel channel) const noexcept; bool has_channel(enum heif_channel channel) const noexcept; const uint8_t* get_plane(enum heif_channel channel, int* out_stride) const noexcept; uint8_t* get_plane(enum heif_channel channel, int* out_stride) noexcept; class ScalingOptions { }; // throws Error Image scale_image(int width, int height, const ScalingOptions& options = ScalingOptions()) const; private: std::shared_ptr m_image; friend class Context; }; class EncoderDescriptor { public: static std::vector get_encoder_descriptors(enum heif_compression_format format_filter, const char* name_filter) noexcept; std::string get_name() const noexcept; std::string get_id_name() const noexcept; enum heif_compression_format get_compression_format() const noexcept; bool supportes_lossy_compression() const noexcept; bool supportes_lossless_compression() const noexcept; // throws Error Encoder get_encoder() const; private: EncoderDescriptor(const struct heif_encoder_descriptor* descr) : m_descriptor(descr) { } const struct heif_encoder_descriptor* m_descriptor = nullptr; }; class EncoderParameter { public: std::string get_name() const noexcept; enum heif_encoder_parameter_type get_type() const noexcept; bool is_integer() const noexcept; // Returns 'true' if the integer range is limited. bool get_valid_integer_range(int& out_minimum, int& out_maximum); bool is_boolean() const noexcept; bool is_string() const noexcept; std::vector get_valid_string_values() const; private: EncoderParameter(const heif_encoder_parameter*); const struct heif_encoder_parameter* m_parameter; friend class Encoder; }; class Encoder { public: // throws Error Encoder(enum heif_compression_format format); // throws Error void set_lossy_quality(int quality); // throws Error void set_lossless(bool enable_lossless); std::vector list_parameters() const noexcept; void set_integer_parameter(std::string parameter_name, int value); int get_integer_parameter(std::string parameter_name) const; void set_boolean_parameter(std::string parameter_name, bool value); bool get_boolean_parameter(std::string parameter_name) const; void set_string_parameter(std::string parameter_name, std::string value); std::string get_string_parameter(std::string parameter_name) const; void set_parameter(std::string parameter_name, std::string parameter_value); std::string get_parameter(std::string parameter_name) const; private: Encoder(struct heif_encoder*) noexcept; std::shared_ptr m_encoder; friend class EncoderDescriptor; friend class Context; }; // ========================================================================================== // IMPLEMENTATION // ========================================================================================== inline Context::Context() { heif_context* ctx = heif_context_alloc(); m_context = std::shared_ptr(ctx, [] (heif_context* c) { heif_context_free(c); }); } inline void Context::read_from_file(std::string filename, const ReadingOptions& /*opts*/) { Error err = Error(heif_context_read_from_file(m_context.get(), filename.c_str(), NULL)); if (err) { throw err; } } inline void Context::read_from_memory(const void* mem, size_t size, const ReadingOptions& /*opts*/) { Error err = Error(heif_context_read_from_memory(m_context.get(), mem, size, NULL)); if (err) { throw err; } } inline void Context::read_from_memory_without_copy(const void* mem, size_t size, const ReadingOptions& /*opts*/) { Error err = Error(heif_context_read_from_memory_without_copy(m_context.get(), mem, size, NULL)); if (err) { throw err; } } inline int64_t heif_reader_trampoline_get_position(void* userdata) { Context::Reader* reader = (Context::Reader*)userdata; return reader->get_position(); } inline int heif_reader_trampoline_read(void* data, size_t size, void* userdata) { Context::Reader* reader = (Context::Reader*)userdata; return reader->read(data,size); } inline int heif_reader_trampoline_seek(int64_t position, void* userdata) { Context::Reader* reader = (Context::Reader*)userdata; return reader->seek(position); } inline heif_reader_grow_status heif_reader_trampoline_wait_for_file_size(int64_t target_size, void* userdata) { Context::Reader* reader = (Context::Reader*)userdata; return reader->wait_for_file_size(target_size); } static struct heif_reader heif_reader_trampoline = { 1, heif_reader_trampoline_get_position, heif_reader_trampoline_read, heif_reader_trampoline_seek, heif_reader_trampoline_wait_for_file_size }; inline void Context::read_from_reader(Reader& reader, const ReadingOptions& /*opts*/) { Error err = Error(heif_context_read_from_reader(m_context.get(), &heif_reader_trampoline, &reader, NULL)); if (err) { throw err; } } inline int Context::get_number_of_top_level_images() const noexcept { return heif_context_get_number_of_top_level_images(m_context.get()); } inline bool Context::is_top_level_image_ID(heif_item_id id) const noexcept { return heif_context_is_top_level_image_ID(m_context.get(), id); } inline std::vector Context::get_list_of_top_level_image_IDs() const noexcept { int num = get_number_of_top_level_images(); std::vector IDs(num); heif_context_get_list_of_top_level_image_IDs(m_context.get(), IDs.data(), num); return IDs; } inline heif_item_id Context::get_primary_image_ID() const { heif_item_id id; Error err = Error(heif_context_get_primary_image_ID(m_context.get(), &id)); if (err) { throw err; } return id; } inline ImageHandle Context::get_primary_image_handle() const { heif_image_handle* handle; Error err = Error(heif_context_get_primary_image_handle(m_context.get(), &handle)); if (err) { throw err; } return ImageHandle(handle); } inline ImageHandle Context::get_image_handle(heif_item_id id) const { struct heif_image_handle* handle; Error err = Error(heif_context_get_image_handle(m_context.get(), id, &handle)); if (err) { throw err; } return ImageHandle(handle); } #if 0 inline Context Context::wrap_without_releasing(heif_context* ctx) { Context context; context.m_context = std::shared_ptr(ctx, [] (heif_context*) { /* NOP */ }); return context; } #endif inline struct ::heif_error heif_writer_trampoline_write(struct heif_context* ctx, const void* data, size_t size, void* userdata) { Context::Writer* writer = (Context::Writer*)userdata; (void)ctx; //Context context = Context::wrap_without_releasing(ctx); //return writer->write(context, data, size); return writer->write(data, size); } static struct heif_writer heif_writer_trampoline = { 1, &heif_writer_trampoline_write }; inline void Context::write(Writer& writer) { Error err = Error(heif_context_write(m_context.get(), &heif_writer_trampoline, &writer)); if (err) { throw err; } } inline void Context::write_to_file(std::string filename) const { Error err = Error(heif_context_write_to_file(m_context.get(), filename.c_str())); if (err) { throw err; } } inline ImageHandle::ImageHandle(heif_image_handle* handle) { if (handle != nullptr) { m_image_handle = std::shared_ptr(handle, [] (heif_image_handle* h) { heif_image_handle_release(h); }); } } inline bool ImageHandle::is_primary_image() const noexcept { return heif_image_handle_is_primary_image(m_image_handle.get()) != 0; } inline int ImageHandle::get_width() const noexcept { return heif_image_handle_get_width(m_image_handle.get()); } inline int ImageHandle::get_height() const noexcept { return heif_image_handle_get_height(m_image_handle.get()); } inline bool ImageHandle::has_alpha_channel() const noexcept { return heif_image_handle_has_alpha_channel(m_image_handle.get()) != 0; } // ------------------------- depth images ------------------------- // TODO // ------------------------- thumbnails ------------------------- inline int ImageHandle::get_number_of_thumbnails() const noexcept { return heif_image_handle_get_number_of_thumbnails(m_image_handle.get()); } inline std::vector ImageHandle::get_list_of_thumbnail_IDs() const noexcept { int num = get_number_of_thumbnails(); std::vector IDs(num); heif_image_handle_get_list_of_thumbnail_IDs(m_image_handle.get(), IDs.data(), num); return IDs; } inline ImageHandle ImageHandle::get_thumbnail(heif_item_id id) { heif_image_handle* handle; Error err = Error(heif_image_handle_get_thumbnail(m_image_handle.get(), id, &handle)); if (err) { throw err; } return ImageHandle(handle); } inline Image ImageHandle::decode_image(heif_colorspace colorspace, heif_chroma chroma, const DecodingOptions& /*options*/) { heif_image* out_img; Error err = Error(heif_decode_image(m_image_handle.get(), &out_img, colorspace, chroma, nullptr)); //const struct heif_decoding_options* options); if (err) { throw err; } return Image(out_img); } inline std::vector ImageHandle::get_list_of_metadata_block_IDs(const char* type_filter) const noexcept { int nBlocks = heif_image_handle_get_number_of_metadata_blocks(m_image_handle.get(), type_filter); std::vector ids(nBlocks); int n = heif_image_handle_get_list_of_metadata_block_IDs(m_image_handle.get(), type_filter, ids.data(), nBlocks); (void)n; //assert(n==nBlocks); return ids; } inline std::string ImageHandle::get_metadata_type(heif_item_id metadata_id) const noexcept { return heif_image_handle_get_metadata_type(m_image_handle.get(), metadata_id); } inline std::string ImageHandle::get_metadata_content_type(heif_item_id metadata_id) const noexcept { return heif_image_handle_get_metadata_content_type(m_image_handle.get(), metadata_id); } inline std::vector ImageHandle::get_metadata(heif_item_id metadata_id) const { size_t data_size = heif_image_handle_get_metadata_size(m_image_handle.get(), metadata_id); std::vector data(data_size); Error err = Error(heif_image_handle_get_metadata(m_image_handle.get(), metadata_id, data.data())); if (err) { throw err; } return data; } inline Image::Image(heif_image* image) { m_image = std::shared_ptr(image, [] (heif_image* h) { heif_image_release(h); }); } inline void Image::create(int width, int height, enum heif_colorspace colorspace, enum heif_chroma chroma) { heif_image* image; Error err = Error(heif_image_create(width, height, colorspace, chroma, &image)); if (err) { m_image.reset(); throw err; } else { m_image = std::shared_ptr(image, [] (heif_image* h) { heif_image_release(h); }); } } inline void Image::add_plane(enum heif_channel channel, int width, int height, int bit_depth) { Error err = Error(heif_image_add_plane(m_image.get(), channel, width, height, bit_depth)); if (err) { throw err; } } inline heif_colorspace Image::get_colorspace() const noexcept { return heif_image_get_colorspace(m_image.get()); } inline heif_chroma Image::get_chroma_format() const noexcept { return heif_image_get_chroma_format(m_image.get()); } inline int Image::get_width(enum heif_channel channel) const noexcept { return heif_image_get_width(m_image.get(), channel); } inline int Image::get_height(enum heif_channel channel) const noexcept { return heif_image_get_height(m_image.get(), channel); } inline int Image::get_bits_per_pixel(enum heif_channel channel) const noexcept { return heif_image_get_bits_per_pixel(m_image.get(), channel); } inline bool Image::has_channel(enum heif_channel channel) const noexcept { return heif_image_has_channel(m_image.get(), channel); } inline const uint8_t* Image::get_plane(enum heif_channel channel, int* out_stride) const noexcept { return heif_image_get_plane_readonly(m_image.get(), channel, out_stride); } inline uint8_t* Image::get_plane(enum heif_channel channel, int* out_stride) noexcept { return heif_image_get_plane(m_image.get(), channel, out_stride); } inline Image Image::scale_image(int width, int height, const ScalingOptions&) const { heif_image* img; Error err = Error(heif_image_scale_image(m_image.get(), &img, width,height, nullptr)); // TODO: scaling options not defined yet if (err) { throw err; } return Image(img); } inline std::vector EncoderDescriptor::get_encoder_descriptors(enum heif_compression_format format_filter, const char* name_filter) noexcept { int maxDescriptors = 10; int nDescriptors; for (;;) { const struct heif_encoder_descriptor** descriptors; descriptors = new const heif_encoder_descriptor*[maxDescriptors]; nDescriptors = heif_context_get_encoder_descriptors(nullptr, format_filter, name_filter, descriptors, maxDescriptors); if (nDescriptors < maxDescriptors) { std::vector outDescriptors; for (int i=0;i(encoder, [] (heif_encoder* e) { heif_encoder_release(e); }); } inline Encoder::Encoder(struct heif_encoder* encoder) noexcept { m_encoder = std::shared_ptr(encoder, [] (heif_encoder* e) { heif_encoder_release(e); }); } inline EncoderParameter::EncoderParameter(const heif_encoder_parameter* param) : m_parameter(param) { } inline std::string EncoderParameter::get_name() const noexcept { return heif_encoder_parameter_get_name(m_parameter); } inline enum heif_encoder_parameter_type EncoderParameter::get_type() const noexcept { return heif_encoder_parameter_get_type(m_parameter); } inline bool EncoderParameter::is_integer() const noexcept { return get_type() == heif_encoder_parameter_type_integer; } inline bool EncoderParameter::get_valid_integer_range(int& out_minimum, int& out_maximum) { int have_minimum_maximum; Error err = Error(heif_encoder_parameter_get_valid_integer_range(m_parameter, &have_minimum_maximum, &out_minimum, &out_maximum)); if (err) { throw err; } return have_minimum_maximum; } inline bool EncoderParameter::is_boolean() const noexcept { return get_type() == heif_encoder_parameter_type_boolean; } inline bool EncoderParameter::is_string() const noexcept { return get_type() == heif_encoder_parameter_type_string; } inline std::vector EncoderParameter::get_valid_string_values() const { const char*const* stringarray; Error err = Error(heif_encoder_parameter_get_valid_string_values(m_parameter, &stringarray)); if (err) { throw err; } std::vector values; for (int i=0; stringarray[i]; i++) { values.push_back(stringarray[i]); } return values; } inline std::vector Encoder::list_parameters() const noexcept { std::vector parameters; for (const struct heif_encoder_parameter*const* params = heif_encoder_list_parameters(m_encoder.get()); *params; params++) { parameters.push_back(EncoderParameter(*params)); } return parameters; } inline void Encoder::set_lossy_quality(int quality) { Error err = Error(heif_encoder_set_lossy_quality(m_encoder.get(), quality)); if (err) { throw err; } } inline void Encoder::set_lossless(bool enable_lossless) { Error err = Error(heif_encoder_set_lossless(m_encoder.get(), enable_lossless)); if (err) { throw err; } } inline void Encoder::set_integer_parameter(std::string parameter_name, int value) { Error err = Error(heif_encoder_set_parameter_integer(m_encoder.get(), parameter_name.c_str(), value)); if (err) { throw err; } } inline int Encoder::get_integer_parameter(std::string parameter_name) const { int value; Error err = Error(heif_encoder_get_parameter_integer(m_encoder.get(), parameter_name.c_str(), &value)); if (err) { throw err; } return value; } inline void Encoder::set_boolean_parameter(std::string parameter_name, bool value) { Error err = Error(heif_encoder_set_parameter_boolean(m_encoder.get(), parameter_name.c_str(), value)); if (err) { throw err; } } inline bool Encoder::get_boolean_parameter(std::string parameter_name) const { int value; Error err = Error(heif_encoder_get_parameter_boolean(m_encoder.get(), parameter_name.c_str(), &value)); if (err) { throw err; } return value; } inline void Encoder::set_string_parameter(std::string parameter_name, std::string value) { Error err = Error(heif_encoder_set_parameter_string(m_encoder.get(), parameter_name.c_str(), value.c_str())); if (err) { throw err; } } inline std::string Encoder::get_string_parameter(std::string parameter_name) const { const int max_size = 250; char value[max_size]; Error err = Error(heif_encoder_get_parameter_string(m_encoder.get(), parameter_name.c_str(), value, max_size)); if (err) { throw err; } return value; } inline void Encoder::set_parameter(std::string parameter_name, std::string parameter_value) { Error err = Error(heif_encoder_set_parameter(m_encoder.get(), parameter_name.c_str(), parameter_value.c_str())); if (err) { throw err; } } inline std::string Encoder::get_parameter(std::string parameter_name) const { const int max_size = 250; char value[max_size]; Error err = Error(heif_encoder_get_parameter(m_encoder.get(), parameter_name.c_str(), value, max_size)); if (err) { throw err; } return value; } inline void Context::set_primary_image(ImageHandle& new_primary_image_handle) { Error err = Error(heif_context_set_primary_image(m_context.get(), new_primary_image_handle.get_raw_image_handle())); if (err) { throw err; } } inline Context::EncodingOptions::EncodingOptions() { // TODO: this is a bit hacky. It would be better to have an API function to set // the options to default values. But I do not see any reason for that apart from // this use-case. struct heif_encoding_options* default_options = heif_encoding_options_alloc(); *static_cast(this) = *default_options; // copy over all options heif_encoding_options_free(default_options); } inline ImageHandle Context::encode_image(const Image& img, Encoder& encoder, const EncodingOptions& options) { struct heif_image_handle* image_handle; Error err = Error(heif_context_encode_image(m_context.get(), img.m_image.get(), encoder.m_encoder.get(), &options, &image_handle)); if (err) { throw err; } return ImageHandle(image_handle); } inline ImageHandle Context::encode_thumbnail(const Image& image, const ImageHandle& master_image_handle, Encoder& encoder, const EncodingOptions& options, int bbox_size) { struct heif_image_handle* thumb_image_handle; Error err = Error(heif_context_encode_thumbnail(m_context.get(), image.m_image.get(), master_image_handle.get_raw_image_handle(), encoder.m_encoder.get(), &options, bbox_size, &thumb_image_handle)); if (err) { throw err; } return ImageHandle(thumb_image_handle); } inline void Context::assign_thumbnail(const ImageHandle& thumbnail_image, const ImageHandle& master_image) { Error err = Error(heif_context_assign_thumbnail(m_context.get(), thumbnail_image.get_raw_image_handle(), master_image.get_raw_image_handle())); if (err) { throw err; } } inline void Context::add_exif_metadata(const ImageHandle& master_image, const void* data, int size) { Error err = Error(heif_context_add_exif_metadata(m_context.get(), master_image.get_raw_image_handle(), data, size)); if (err) { throw err; } } inline void Context::add_XMP_metadata(const ImageHandle& master_image, const void* data, int size) { Error err = Error(heif_context_add_XMP_metadata(m_context.get(), master_image.get_raw_image_handle(), data, size)); if (err) { throw err; } } } #endif libheif-1.6.1/libheif/color_conversion_fuzzer.cc0000644000221000001440000001636113576157752016760 00000000000000/* * HEIF codec. * Copyright (c) 2019 struktur AG, Joachim Bauch * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include #include #include "bitstream.h" #include "heif_colorconversion.h" #include "heif_image.h" static bool is_valid_chroma(uint8_t chroma) { switch (chroma) { case heif_chroma_monochrome: case heif_chroma_420: case heif_chroma_422: case heif_chroma_444: case heif_chroma_interleaved_RGB: case heif_chroma_interleaved_RGBA: case heif_chroma_interleaved_RRGGBB_BE: case heif_chroma_interleaved_RRGGBBAA_BE: case heif_chroma_interleaved_RRGGBB_LE: case heif_chroma_interleaved_RRGGBBAA_LE: return true; default: return false; } } static bool is_valid_colorspace(uint8_t colorspace) { switch (colorspace) { case heif_colorspace_YCbCr: case heif_colorspace_RGB: case heif_colorspace_monochrome: return true; default: return false; } } static bool read_plane(heif::BitstreamRange* range, std::shared_ptr image, heif_channel channel, int width, int height, int bit_depth) { if (width <= 0 || height <= 0) { return false; } if (!range->prepare_read(static_cast(width) * height)) { return false; } if (!image->add_plane(channel, width, height, bit_depth)) { return false; } int stride; uint8_t* plane = image->get_plane(channel, &stride); assert(stride >= width); auto stream = range->get_istream(); for (int y = 0; y < height; y++, plane += stride) { assert(stream->read(plane, width)); } return true; } static bool read_plane_interleaved(heif::BitstreamRange* range, std::shared_ptr image, heif_channel channel, int width, int height, int bit_depth, int comps) { if (width <= 0 || height <= 0) { return false; } if (!range->prepare_read(static_cast(width) * height * comps)) { return false; } if (!image->add_plane(channel, width, height, bit_depth)) { return false; } int stride; uint8_t* plane = image->get_plane(channel, &stride); assert(stride >= width * comps); auto stream = range->get_istream(); for (int y = 0; y < height; y++, plane += stride) { assert(stream->read(plane, width * comps)); } return true; } extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto reader = std::make_shared(data, size, false); heif::BitstreamRange range(reader, size); int width; int height; int bit_depth; bool alpha; uint8_t in_chroma; uint8_t in_colorspace; uint8_t out_chroma; uint8_t out_colorspace; if (!range.prepare_read(10)) { return 0; } width = range.read16(); height = range.read16(); bit_depth = range.read8(); alpha = range.read8() == 1; in_chroma = range.read8(); in_colorspace = range.read8(); out_chroma = range.read8(); out_colorspace = range.read8(); // Width / height must be a multiple of 2. if (width == 0 || height == 0 || (width & 1) != 0 || (height & 1) != 0) { return 0; } switch (bit_depth) { case 8: break; default: // TODO: Add support for more color depths. return 0; } if (!is_valid_chroma(in_chroma) || !is_valid_colorspace(in_colorspace) || !is_valid_chroma(out_chroma) || !is_valid_colorspace(out_colorspace)) { return 0; } auto in_image = std::make_shared(); in_image->create(width, height, static_cast(in_colorspace), static_cast(in_chroma)); switch (in_colorspace) { case heif_colorspace_YCbCr: switch (in_chroma) { case heif_chroma_420: if (!read_plane(&range, in_image, heif_channel_Y, width, height, bit_depth)) { return 0; } if (!read_plane(&range, in_image, heif_channel_Cb, width / 2, height / 2, bit_depth)) { return 0; } if (!read_plane(&range, in_image, heif_channel_Cr, width / 2, height / 2, bit_depth)) { return 0; } break; case heif_chroma_422: if (!read_plane(&range, in_image, heif_channel_Y, width, height / 2, bit_depth)) { return 0; } if (!read_plane(&range, in_image, heif_channel_Cb, width / 2, height / 2, bit_depth)) { return 0; } if (!read_plane(&range, in_image, heif_channel_Cr, width / 2, height / 2, bit_depth)) { return 0; } break; case heif_chroma_444: if (!read_plane(&range, in_image, heif_channel_Y, width, height, bit_depth)) { return 0; } if (!read_plane(&range, in_image, heif_channel_Cb, width, height, bit_depth)) { return 0; } if (!read_plane(&range, in_image, heif_channel_Cr, width, height, bit_depth)) { return 0; } break; default: return 0; } break; case heif_colorspace_RGB: switch (in_chroma) { case heif_chroma_interleaved_RGB: if (!read_plane_interleaved(&range, in_image, heif_channel_interleaved, width, height, bit_depth, 3)) { return 0; } break; case heif_chroma_interleaved_RGBA: if (!read_plane_interleaved(&range, in_image, heif_channel_interleaved, width, height, bit_depth, 4)) { return 0; } alpha = false; // Already part of interleaved data. break; default: // TODO: Support other RGB chromas. return 0; } break; case heif_colorspace_monochrome: if (in_chroma != heif_chroma_monochrome) { return 0; } if (!read_plane(&range, in_image, heif_channel_Y, width, height, bit_depth)) { return 0; } break; default: assert(false); } if (alpha) { if (!read_plane(&range, in_image, heif_channel_Alpha, width, height, bit_depth)) { return 0; } } auto out_image = convert_colorspace(in_image, static_cast(out_colorspace), static_cast(out_chroma)); if (!out_image) { // Conversion is not supported. return 0; } assert(out_image->get_width() == width); assert(out_image->get_height() == height); assert(out_image->get_chroma_format() == static_cast(out_chroma)); assert(out_image->get_colorspace() == static_cast(out_colorspace)); return 0; } libheif-1.6.1/libheif/heif_plugin.h0000644000221000001440000001775513425046765014125 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_PLUGIN_H #define LIBHEIF_HEIF_PLUGIN_H #ifdef __cplusplus extern "C" { #endif #include // ==================================================================================================== // This file is for codec plugin developers only. // ==================================================================================================== // API versions table // // release decoder encoder enc.params // ----------------------------------------- // 1.0 1 N/A N/A // 1.1 1 1 1 // ==================================================================================================== // Decoder plugin API // In order to decode images in other formats than HEVC, additional compression codecs can be // added as plugins. A plugin has to implement the functions specified in heif_decoder_plugin // and the plugin has to be registered to the libheif library using heif_register_decoder(). struct heif_decoder_plugin { // API version supported by this plugin int plugin_api_version; // current version: 1 // --- version 1 functions --- // Human-readable name of the plugin const char* (*get_plugin_name)(); // Global plugin initialization (may be NULL) void (*init_plugin)(); // Global plugin deinitialization (may be NULL) void (*deinit_plugin)(); // Query whether the plugin supports decoding of the given format // Result is a priority value. The plugin with the largest value wins. // Default priority is 100. int (*does_support_format)(enum heif_compression_format format); // Create a new decoder context for decoding an image struct heif_error (*new_decoder)(void** decoder); // Free the decoder context (heif_image can still be used after destruction) void (*free_decoder)(void* decoder); // Push more data into the decoder. This can be called multiple times. // This may not be called after any decode_*() function has been called. struct heif_error (*push_data)(void* decoder, const void* data, size_t size); // --- After pushing the data into the decoder, the decode functions may be called only once. // Decode data into a full image. All data has to be pushed into the decoder before calling this. struct heif_error (*decode_image)(void* decoder, struct heif_image** out_img); // --- version 2 functions will follow below ... --- // Reset decoder, such that we can feed in new data for another image. // void (*reset_image)(void* decoder); }; enum heif_encoded_data_type { heif_encoded_data_type_HEVC_header = 1, heif_encoded_data_type_HEVC_image = 2, heif_encoded_data_type_HEVC_depth_SEI = 3 }; // Specifies the class of the input image content. // The encoder may want to encode different classes with different parameters // (e.g. always encode alpha lossless) enum heif_image_input_class { heif_image_input_class_normal = 1, heif_image_input_class_alpha = 2, heif_image_input_class_depth = 3, heif_image_input_class_thumbnail = 4 }; struct heif_encoder_plugin { // API version supported by this plugin int plugin_api_version; // current version: 1 // --- version 1 functions --- // The compression format generated by this plugin. enum heif_compression_format compression_format; // Short name of the encoder that can be used as command line parameter when selecting an encoder. // Hence, it should stay stable and not contain any version numbers that will change. const char* id_name; // Default priority is 100. int priority; // Feature support int supports_lossy_compression; int supports_lossless_compression; // Human-readable name of the plugin const char* (*get_plugin_name)(); // Global plugin initialization (may be NULL) void (*init_plugin)(); // Global plugin cleanup (may be NULL). // Free data that was allocated in init_plugin() void (*cleanup_plugin)(); // Create a new decoder context for decoding an image struct heif_error (*new_encoder)(void** encoder); // Free the decoder context (heif_image can still be used after destruction) void (*free_encoder)(void* encoder); struct heif_error (*set_parameter_quality)(void* encoder, int quality); struct heif_error (*get_parameter_quality)(void* encoder, int* quality); struct heif_error (*set_parameter_lossless)(void* encoder, int lossless); struct heif_error (*get_parameter_lossless)(void* encoder, int* lossless); struct heif_error (*set_parameter_logging_level)(void* encoder, int logging); struct heif_error (*get_parameter_logging_level)(void* encoder, int* logging); const struct heif_encoder_parameter** (*list_parameters)(void* encoder); struct heif_error (*set_parameter_integer)(void* encoder, const char* name, int value); struct heif_error (*get_parameter_integer)(void* encoder, const char* name, int* value); struct heif_error (*set_parameter_boolean)(void* encoder, const char* name, int value); struct heif_error (*get_parameter_boolean)(void* encoder, const char* name, int* value); struct heif_error (*set_parameter_string)(void* encoder, const char* name, const char* value); struct heif_error (*get_parameter_string)(void* encoder, const char* name, char* value, int value_size); // Replace the input colorspace/chroma with the one that is supported by the encoder and that // comes as close to the input colorspace/chroma as possible. void (*query_input_colorspace)(enum heif_colorspace* inout_colorspace, enum heif_chroma* inout_chroma); // Encode an image. // After pushing an image into the encoder, you should call get_compressed_data() to // get compressed data until it returns a NULL data pointer. struct heif_error (*encode_image)(void* encoder, const struct heif_image* image, enum heif_image_input_class image_class); // Get a packet of decoded data. The data format depends on the codec. // For HEVC, each packet shall contain exactly one NAL, starting with the NAL header without startcode. struct heif_error (*get_compressed_data)(void* encoder, uint8_t** data, int* size, enum heif_encoded_data_type* type); // --- version 2 functions will follow below ... --- }; // Names for standard parameters. These should only be used by the encoder plugins. #define heif_encoder_parameter_name_quality "quality" #define heif_encoder_parameter_name_lossless "lossless" // For use only by the encoder plugins. // Application programs should use the access functions. struct heif_encoder_parameter { int version; // current version: 2 // --- version 1 fields --- const char* name; enum heif_encoder_parameter_type type; union { struct { int default_value; uint8_t have_minimum_maximum; // bool int minimum; int maximum; int* valid_values; int num_valid_values; } integer; struct { const char* default_value; const char*const* valid_values; } string; // NOLINT struct { int default_value; } boolean; }; // --- version 2 fields int has_default; }; extern struct heif_error heif_error_ok; extern struct heif_error heif_error_unsupported_parameter; extern struct heif_error heif_error_invalid_parameter_value; #ifdef __cplusplus } #endif #endif libheif-1.6.1/libheif/Makefile.in0000644000221000001440000053600713576653760013532 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) @HAVE_LIBDE265_TRUE@am__append_1 = $(libde265_LIBS) @HAVE_X265_TRUE@am__append_2 = $(x265_LIBS) @MINGW_TRUE@am__append_3 = -no-undefined @HAVE_LIBDE265_TRUE@am__append_4 = \ @HAVE_LIBDE265_TRUE@ heif_decoder_libde265.cc \ @HAVE_LIBDE265_TRUE@ heif_decoder_libde265.h @HAVE_X265_TRUE@am__append_5 = \ @HAVE_X265_TRUE@ heif_encoder_x265.cc \ @HAVE_X265_TRUE@ heif_encoder_x265.h @HAVE_VISIBILITY_TRUE@am__append_6 = -DHAVE_VISIBILITY @HAVE_VISIBILITY_TRUE@am__append_7 = -DHAVE_VISIBILITY @ENABLE_LIBFUZZER_TRUE@am__append_8 = box-fuzzer \ @ENABLE_LIBFUZZER_TRUE@ color-conversion-fuzzer @ENABLE_LIBFUZZER_TRUE@@HAVE_LIBDE265_TRUE@am__append_9 = file-fuzzer @ENABLE_LIBFUZZER_TRUE@@HAVE_X265_TRUE@am__append_10 = encoder-fuzzer subdir = libheif ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_c_cxx_compile_flags.m4 \ $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(libheif_la_HEADERS) \ $(noinst_HEADERS) $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = heif_version.h CONFIG_CLEAN_VPATH_FILES = LIBRARIES = $(noinst_LIBRARIES) ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libfuzzers_a_AR = $(AR) $(ARFLAGS) libfuzzers_a_LIBADD = am__libfuzzers_a_SOURCES_DIST = box_fuzzer.cc \ color_conversion_fuzzer.cc encoder_fuzzer.cc file_fuzzer.cc @ENABLE_LIBFUZZER_FALSE@am_libfuzzers_a_OBJECTS = \ @ENABLE_LIBFUZZER_FALSE@ box_fuzzer.$(OBJEXT) \ @ENABLE_LIBFUZZER_FALSE@ color_conversion_fuzzer.$(OBJEXT) \ @ENABLE_LIBFUZZER_FALSE@ encoder_fuzzer.$(OBJEXT) \ @ENABLE_LIBFUZZER_FALSE@ file_fuzzer.$(OBJEXT) libfuzzers_a_OBJECTS = $(am_libfuzzers_a_OBJECTS) am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(libheif_ladir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = @HAVE_LIBDE265_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) @HAVE_X265_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) am__DEPENDENCIES_4 = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) libheif_la_DEPENDENCIES = $(am__DEPENDENCIES_4) am__libheif_la_SOURCES_DIST = bitstream.h bitstream.cc box.h box.cc \ error.h error.cc heif_api_structs.h heif_file.h heif_file.cc \ heif_image.h heif_image.cc heif_limits.h heif.h heif.cc \ heif_context.h heif_context.cc heif_hevc.h heif_hevc.cc \ heif_plugin_registry.h heif_plugin_registry.cc heif_plugin.h \ heif_plugin.cc heif_colorconversion.h heif_colorconversion.cc \ logging.h heif_decoder_libde265.cc heif_decoder_libde265.h \ heif_encoder_x265.cc heif_encoder_x265.h @HAVE_LIBDE265_TRUE@am__objects_1 = \ @HAVE_LIBDE265_TRUE@ libheif_la-heif_decoder_libde265.lo @HAVE_X265_TRUE@am__objects_2 = libheif_la-heif_encoder_x265.lo am_libheif_la_OBJECTS = libheif_la-bitstream.lo libheif_la-box.lo \ libheif_la-error.lo libheif_la-heif_file.lo \ libheif_la-heif_image.lo libheif_la-heif.lo \ libheif_la-heif_context.lo libheif_la-heif_hevc.lo \ libheif_la-heif_plugin_registry.lo libheif_la-heif_plugin.lo \ libheif_la-heif_colorconversion.lo $(am__objects_1) \ $(am__objects_2) libheif_la_OBJECTS = $(am_libheif_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libheif_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(libheif_la_CXXFLAGS) \ $(CXXFLAGS) $(libheif_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_LIBFUZZER_TRUE@am__EXEEXT_1 = box-fuzzer$(EXEEXT) \ @ENABLE_LIBFUZZER_TRUE@ color-conversion-fuzzer$(EXEEXT) @ENABLE_LIBFUZZER_TRUE@@HAVE_LIBDE265_TRUE@am__EXEEXT_2 = file-fuzzer$(EXEEXT) @ENABLE_LIBFUZZER_TRUE@@HAVE_X265_TRUE@am__EXEEXT_3 = encoder-fuzzer$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) am__box_fuzzer_SOURCES_DIST = bitstream.h bitstream.cc box.h box.cc \ error.h error.cc heif_api_structs.h heif_file.h heif_file.cc \ heif_image.h heif_image.cc heif_limits.h heif.h heif.cc \ heif_context.h heif_context.cc heif_hevc.h heif_hevc.cc \ heif_plugin_registry.h heif_plugin_registry.cc heif_plugin.h \ heif_plugin.cc heif_colorconversion.h heif_colorconversion.cc \ logging.h heif_decoder_libde265.cc heif_decoder_libde265.h \ heif_encoder_x265.cc heif_encoder_x265.h box_fuzzer.cc @HAVE_LIBDE265_TRUE@am__objects_3 = box_fuzzer-heif_decoder_libde265.$(OBJEXT) @HAVE_X265_TRUE@am__objects_4 = \ @HAVE_X265_TRUE@ box_fuzzer-heif_encoder_x265.$(OBJEXT) am__objects_5 = box_fuzzer-bitstream.$(OBJEXT) \ box_fuzzer-box.$(OBJEXT) box_fuzzer-error.$(OBJEXT) \ box_fuzzer-heif_file.$(OBJEXT) box_fuzzer-heif_image.$(OBJEXT) \ box_fuzzer-heif.$(OBJEXT) box_fuzzer-heif_context.$(OBJEXT) \ box_fuzzer-heif_hevc.$(OBJEXT) \ box_fuzzer-heif_plugin_registry.$(OBJEXT) \ box_fuzzer-heif_plugin.$(OBJEXT) \ box_fuzzer-heif_colorconversion.$(OBJEXT) $(am__objects_3) \ $(am__objects_4) am_box_fuzzer_OBJECTS = $(am__objects_5) \ box_fuzzer-box_fuzzer.$(OBJEXT) box_fuzzer_OBJECTS = $(am_box_fuzzer_OBJECTS) box_fuzzer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(box_fuzzer_CXXFLAGS) \ $(CXXFLAGS) $(box_fuzzer_LDFLAGS) $(LDFLAGS) -o $@ am__color_conversion_fuzzer_SOURCES_DIST = bitstream.h bitstream.cc \ box.h box.cc error.h error.cc heif_api_structs.h heif_file.h \ heif_file.cc heif_image.h heif_image.cc heif_limits.h heif.h \ heif.cc heif_context.h heif_context.cc heif_hevc.h \ heif_hevc.cc heif_plugin_registry.h heif_plugin_registry.cc \ heif_plugin.h heif_plugin.cc heif_colorconversion.h \ heif_colorconversion.cc logging.h heif_decoder_libde265.cc \ heif_decoder_libde265.h heif_encoder_x265.cc \ heif_encoder_x265.h color_conversion_fuzzer.cc @HAVE_LIBDE265_TRUE@am__objects_6 = color_conversion_fuzzer-heif_decoder_libde265.$(OBJEXT) @HAVE_X265_TRUE@am__objects_7 = color_conversion_fuzzer-heif_encoder_x265.$(OBJEXT) am__objects_8 = color_conversion_fuzzer-bitstream.$(OBJEXT) \ color_conversion_fuzzer-box.$(OBJEXT) \ color_conversion_fuzzer-error.$(OBJEXT) \ color_conversion_fuzzer-heif_file.$(OBJEXT) \ color_conversion_fuzzer-heif_image.$(OBJEXT) \ color_conversion_fuzzer-heif.$(OBJEXT) \ color_conversion_fuzzer-heif_context.$(OBJEXT) \ color_conversion_fuzzer-heif_hevc.$(OBJEXT) \ color_conversion_fuzzer-heif_plugin_registry.$(OBJEXT) \ color_conversion_fuzzer-heif_plugin.$(OBJEXT) \ color_conversion_fuzzer-heif_colorconversion.$(OBJEXT) \ $(am__objects_6) $(am__objects_7) am_color_conversion_fuzzer_OBJECTS = $(am__objects_8) \ color_conversion_fuzzer-color_conversion_fuzzer.$(OBJEXT) color_conversion_fuzzer_OBJECTS = \ $(am_color_conversion_fuzzer_OBJECTS) color_conversion_fuzzer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) \ $(color_conversion_fuzzer_LDFLAGS) $(LDFLAGS) -o $@ am__encoder_fuzzer_SOURCES_DIST = bitstream.h bitstream.cc box.h \ box.cc error.h error.cc heif_api_structs.h heif_file.h \ heif_file.cc heif_image.h heif_image.cc heif_limits.h heif.h \ heif.cc heif_context.h heif_context.cc heif_hevc.h \ heif_hevc.cc heif_plugin_registry.h heif_plugin_registry.cc \ heif_plugin.h heif_plugin.cc heif_colorconversion.h \ heif_colorconversion.cc logging.h heif_decoder_libde265.cc \ heif_decoder_libde265.h heif_encoder_x265.cc \ heif_encoder_x265.h encoder_fuzzer.cc @HAVE_LIBDE265_TRUE@am__objects_9 = encoder_fuzzer-heif_decoder_libde265.$(OBJEXT) @HAVE_X265_TRUE@am__objects_10 = \ @HAVE_X265_TRUE@ encoder_fuzzer-heif_encoder_x265.$(OBJEXT) am__objects_11 = encoder_fuzzer-bitstream.$(OBJEXT) \ encoder_fuzzer-box.$(OBJEXT) encoder_fuzzer-error.$(OBJEXT) \ encoder_fuzzer-heif_file.$(OBJEXT) \ encoder_fuzzer-heif_image.$(OBJEXT) \ encoder_fuzzer-heif.$(OBJEXT) \ encoder_fuzzer-heif_context.$(OBJEXT) \ encoder_fuzzer-heif_hevc.$(OBJEXT) \ encoder_fuzzer-heif_plugin_registry.$(OBJEXT) \ encoder_fuzzer-heif_plugin.$(OBJEXT) \ encoder_fuzzer-heif_colorconversion.$(OBJEXT) $(am__objects_9) \ $(am__objects_10) am_encoder_fuzzer_OBJECTS = $(am__objects_11) \ encoder_fuzzer-encoder_fuzzer.$(OBJEXT) encoder_fuzzer_OBJECTS = $(am_encoder_fuzzer_OBJECTS) encoder_fuzzer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) \ $(encoder_fuzzer_LDFLAGS) $(LDFLAGS) -o $@ am__file_fuzzer_SOURCES_DIST = bitstream.h bitstream.cc box.h box.cc \ error.h error.cc heif_api_structs.h heif_file.h heif_file.cc \ heif_image.h heif_image.cc heif_limits.h heif.h heif.cc \ heif_context.h heif_context.cc heif_hevc.h heif_hevc.cc \ heif_plugin_registry.h heif_plugin_registry.cc heif_plugin.h \ heif_plugin.cc heif_colorconversion.h heif_colorconversion.cc \ logging.h heif_decoder_libde265.cc heif_decoder_libde265.h \ heif_encoder_x265.cc heif_encoder_x265.h file_fuzzer.cc @HAVE_LIBDE265_TRUE@am__objects_12 = file_fuzzer-heif_decoder_libde265.$(OBJEXT) @HAVE_X265_TRUE@am__objects_13 = \ @HAVE_X265_TRUE@ file_fuzzer-heif_encoder_x265.$(OBJEXT) am__objects_14 = file_fuzzer-bitstream.$(OBJEXT) \ file_fuzzer-box.$(OBJEXT) file_fuzzer-error.$(OBJEXT) \ file_fuzzer-heif_file.$(OBJEXT) \ file_fuzzer-heif_image.$(OBJEXT) file_fuzzer-heif.$(OBJEXT) \ file_fuzzer-heif_context.$(OBJEXT) \ file_fuzzer-heif_hevc.$(OBJEXT) \ file_fuzzer-heif_plugin_registry.$(OBJEXT) \ file_fuzzer-heif_plugin.$(OBJEXT) \ file_fuzzer-heif_colorconversion.$(OBJEXT) $(am__objects_12) \ $(am__objects_13) am_file_fuzzer_OBJECTS = $(am__objects_14) \ file_fuzzer-file_fuzzer.$(OBJEXT) file_fuzzer_OBJECTS = $(am_file_fuzzer_OBJECTS) file_fuzzer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(file_fuzzer_CXXFLAGS) \ $(CXXFLAGS) $(file_fuzzer_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libfuzzers_a_SOURCES) $(libheif_la_SOURCES) \ $(box_fuzzer_SOURCES) $(color_conversion_fuzzer_SOURCES) \ $(encoder_fuzzer_SOURCES) $(file_fuzzer_SOURCES) DIST_SOURCES = $(am__libfuzzers_a_SOURCES_DIST) \ $(am__libheif_la_SOURCES_DIST) $(am__box_fuzzer_SOURCES_DIST) \ $(am__color_conversion_fuzzer_SOURCES_DIST) \ $(am__encoder_fuzzer_SOURCES_DIST) \ $(am__file_fuzzer_SOURCES_DIST) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac HEADERS = $(libheif_la_HEADERS) $(noinst_HEADERS) am__extra_recursive_targets = format-recursive test-recursive am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/heif_version.h.in \ $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCAS = @CCAS@ CCASDEPMODE = @CCASDEPMODE@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_LIBFUZZER = @ENABLE_LIBFUZZER@ ENABLE_PARALLEL_TILE_DECODING = @ENABLE_PARALLEL_TILE_DECODING@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FUZZING_ENGINE = @FUZZING_ENGINE@ GO = @GO@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ HAVE_GO = @HAVE_GO@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBHEIF_AGE = @LIBHEIF_AGE@ LIBHEIF_CURRENT = @LIBHEIF_CURRENT@ LIBHEIF_REVISION = @LIBHEIF_REVISION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PROJECT_VERSION_MAJOR = @PROJECT_VERSION_MAJOR@ PROJECT_VERSION_MINOR = @PROJECT_VERSION_MINOR@ PROJECT_VERSION_PATCH = @PROJECT_VERSION_PATCH@ PROJECT_VERSION_TWEAK = @PROJECT_VERSION_TWEAK@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WITH_EXAMPLES = @WITH_EXAMPLES@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gdk_pixbuf_binary_version = @gdk_pixbuf_binary_version@ gdk_pixbuf_binarydir = @gdk_pixbuf_binarydir@ gdk_pixbuf_cache_file = @gdk_pixbuf_cache_file@ gdk_pixbuf_moduledir = @gdk_pixbuf_moduledir@ gdkpixbuf_CFLAGS = @gdkpixbuf_CFLAGS@ gdkpixbuf_LIBS = @gdkpixbuf_LIBS@ have_libde265 = @have_libde265@ have_x265 = @have_x265@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libde265_CFLAGS = @libde265_CFLAGS@ libde265_LIBS = @libde265_LIBS@ libdir = @libdir@ libexecdir = @libexecdir@ libjpeg_CFLAGS = @libjpeg_CFLAGS@ libjpeg_LIBS = @libjpeg_LIBS@ libpng_CFLAGS = @libpng_CFLAGS@ libpng_LIBS = @libpng_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ x265_CFLAGS = @x265_CFLAGS@ x265_LIBS = @x265_LIBS@ AUTOMAKE_OPTIONS = subdir-objects lib_LTLIBRARIES = libheif.la libheif_ladir = \ $(includedir)/libheif ADDITIONAL_LIBS = $(am__append_1) $(am__append_2) libheif_la_CPPFLAGS = libheif_la_CFLAGS = $(CFLAG_VISIBILITY) -DLIBHEIF_EXPORTS \ $(am__append_6) libheif_la_CXXFLAGS = $(CFLAG_VISIBILITY) $(libde265_CFLAGS) \ $(x265_CFLAGS) -DLIBHEIF_EXPORTS -I$(top_srcdir) \ $(am__append_7) libheif_la_LIBADD = $(ADDITIONAL_LIBS) libheif_la_LDFLAGS = -version-info \ $(LIBHEIF_CURRENT):$(LIBHEIF_REVISION):$(LIBHEIF_AGE) \ $(am__append_3) libheif_la_SOURCES = bitstream.h bitstream.cc box.h box.cc error.h \ error.cc heif_api_structs.h heif_file.h heif_file.cc \ heif_image.h heif_image.cc heif_limits.h heif.h heif.cc \ heif_context.h heif_context.cc heif_hevc.h heif_hevc.cc \ heif_plugin_registry.h heif_plugin_registry.cc heif_plugin.h \ heif_plugin.cc heif_colorconversion.h heif_colorconversion.cc \ logging.h $(am__append_4) $(am__append_5) libheif_la_HEADERS = \ heif.h \ heif_plugin.h \ heif_version.h \ heif_cxx.h noinst_HEADERS = \ heif_emscripten.h @ENABLE_LIBFUZZER_FALSE@noinst_LIBRARIES = libfuzzers.a @ENABLE_LIBFUZZER_FALSE@libfuzzers_a_SOURCES = \ @ENABLE_LIBFUZZER_FALSE@ box_fuzzer.cc \ @ENABLE_LIBFUZZER_FALSE@ color_conversion_fuzzer.cc \ @ENABLE_LIBFUZZER_FALSE@ encoder_fuzzer.cc \ @ENABLE_LIBFUZZER_FALSE@ file_fuzzer.cc box_fuzzer_DEPENDENCIES = box_fuzzer_CXXFLAGS = $(libde265_CFLAGS) box_fuzzer_LDFLAGS = $(FUZZING_ENGINE) box_fuzzer_LDADD = $(ADDITIONAL_LIBS) box_fuzzer_SOURCES = $(libheif_la_SOURCES) box_fuzzer.cc color_conversion_fuzzer_DEPENDENCIES = color_conversion_fuzzer_CXXFLAGS = $(libde265_CFLAGS) color_conversion_fuzzer_LDFLAGS = $(FUZZING_ENGINE) color_conversion_fuzzer_LDADD = $(ADDITIONAL_LIBS) color_conversion_fuzzer_SOURCES = $(libheif_la_SOURCES) color_conversion_fuzzer.cc encoder_fuzzer_DEPENDENCIES = encoder_fuzzer_CXXFLAGS = $(libde265_CFLAGS) encoder_fuzzer_LDFLAGS = $(FUZZING_ENGINE) encoder_fuzzer_LDADD = $(ADDITIONAL_LIBS) encoder_fuzzer_SOURCES = $(libheif_la_SOURCES) encoder_fuzzer.cc file_fuzzer_DEPENDENCIES = file_fuzzer_CXXFLAGS = $(libde265_CFLAGS) file_fuzzer_LDFLAGS = $(FUZZING_ENGINE) file_fuzzer_LDADD = $(ADDITIONAL_LIBS) file_fuzzer_SOURCES = $(libheif_la_SOURCES) file_fuzzer.cc EXTRA_DIST = \ CMakeLists.txt all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libheif/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign libheif/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): heif_version.h: $(top_builddir)/config.status $(srcdir)/heif_version.h.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libfuzzers.a: $(libfuzzers_a_OBJECTS) $(libfuzzers_a_DEPENDENCIES) $(EXTRA_libfuzzers_a_DEPENDENCIES) $(AM_V_at)-rm -f libfuzzers.a $(AM_V_AR)$(libfuzzers_a_AR) libfuzzers.a $(libfuzzers_a_OBJECTS) $(libfuzzers_a_LIBADD) $(AM_V_at)$(RANLIB) libfuzzers.a install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libheif.la: $(libheif_la_OBJECTS) $(libheif_la_DEPENDENCIES) $(EXTRA_libheif_la_DEPENDENCIES) $(AM_V_CXXLD)$(libheif_la_LINK) -rpath $(libdir) $(libheif_la_OBJECTS) $(libheif_la_LIBADD) $(LIBS) install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ || test -f $$p1 \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list box-fuzzer$(EXEEXT): $(box_fuzzer_OBJECTS) $(box_fuzzer_DEPENDENCIES) $(EXTRA_box_fuzzer_DEPENDENCIES) @rm -f box-fuzzer$(EXEEXT) $(AM_V_CXXLD)$(box_fuzzer_LINK) $(box_fuzzer_OBJECTS) $(box_fuzzer_LDADD) $(LIBS) color-conversion-fuzzer$(EXEEXT): $(color_conversion_fuzzer_OBJECTS) $(color_conversion_fuzzer_DEPENDENCIES) $(EXTRA_color_conversion_fuzzer_DEPENDENCIES) @rm -f color-conversion-fuzzer$(EXEEXT) $(AM_V_CXXLD)$(color_conversion_fuzzer_LINK) $(color_conversion_fuzzer_OBJECTS) $(color_conversion_fuzzer_LDADD) $(LIBS) encoder-fuzzer$(EXEEXT): $(encoder_fuzzer_OBJECTS) $(encoder_fuzzer_DEPENDENCIES) $(EXTRA_encoder_fuzzer_DEPENDENCIES) @rm -f encoder-fuzzer$(EXEEXT) $(AM_V_CXXLD)$(encoder_fuzzer_LINK) $(encoder_fuzzer_OBJECTS) $(encoder_fuzzer_LDADD) $(LIBS) file-fuzzer$(EXEEXT): $(file_fuzzer_OBJECTS) $(file_fuzzer_DEPENDENCIES) $(EXTRA_file_fuzzer_DEPENDENCIES) @rm -f file-fuzzer$(EXEEXT) $(AM_V_CXXLD)$(file_fuzzer_LINK) $(file_fuzzer_OBJECTS) $(file_fuzzer_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-bitstream.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-box.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-box_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-error.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_colorconversion.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_context.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_decoder_libde265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_encoder_x265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_file.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_hevc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_image.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_plugin.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer-heif_plugin_registry.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/box_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-bitstream.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-box.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-color_conversion_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-error.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_colorconversion.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_context.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_decoder_libde265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_encoder_x265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_file.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_hevc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_image.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_plugin.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer-heif_plugin_registry.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_conversion_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-bitstream.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-box.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-encoder_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-error.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_colorconversion.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_context.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_decoder_libde265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_encoder_x265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_file.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_hevc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_image.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_plugin.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer-heif_plugin_registry.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encoder_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-bitstream.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-box.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-error.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-file_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_colorconversion.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_context.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_decoder_libde265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_encoder_x265.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_file.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_hevc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_image.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_plugin.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer-heif_plugin_registry.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_fuzzer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-bitstream.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-box.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_colorconversion.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_context.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_decoder_libde265.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_encoder_x265.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_file.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_hevc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_image.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_plugin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libheif_la-heif_plugin_registry.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< libheif_la-bitstream.lo: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-bitstream.lo -MD -MP -MF $(DEPDIR)/libheif_la-bitstream.Tpo -c -o libheif_la-bitstream.lo `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-bitstream.Tpo $(DEPDIR)/libheif_la-bitstream.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='libheif_la-bitstream.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-bitstream.lo `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc libheif_la-box.lo: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-box.lo -MD -MP -MF $(DEPDIR)/libheif_la-box.Tpo -c -o libheif_la-box.lo `test -f 'box.cc' || echo '$(srcdir)/'`box.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-box.Tpo $(DEPDIR)/libheif_la-box.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='libheif_la-box.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-box.lo `test -f 'box.cc' || echo '$(srcdir)/'`box.cc libheif_la-error.lo: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-error.lo -MD -MP -MF $(DEPDIR)/libheif_la-error.Tpo -c -o libheif_la-error.lo `test -f 'error.cc' || echo '$(srcdir)/'`error.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-error.Tpo $(DEPDIR)/libheif_la-error.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='libheif_la-error.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-error.lo `test -f 'error.cc' || echo '$(srcdir)/'`error.cc libheif_la-heif_file.lo: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_file.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_file.Tpo -c -o libheif_la-heif_file.lo `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_file.Tpo $(DEPDIR)/libheif_la-heif_file.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='libheif_la-heif_file.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_file.lo `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc libheif_la-heif_image.lo: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_image.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_image.Tpo -c -o libheif_la-heif_image.lo `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_image.Tpo $(DEPDIR)/libheif_la-heif_image.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='libheif_la-heif_image.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_image.lo `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc libheif_la-heif.lo: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif.Tpo -c -o libheif_la-heif.lo `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif.Tpo $(DEPDIR)/libheif_la-heif.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='libheif_la-heif.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif.lo `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc libheif_la-heif_context.lo: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_context.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_context.Tpo -c -o libheif_la-heif_context.lo `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_context.Tpo $(DEPDIR)/libheif_la-heif_context.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='libheif_la-heif_context.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_context.lo `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc libheif_la-heif_hevc.lo: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_hevc.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_hevc.Tpo -c -o libheif_la-heif_hevc.lo `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_hevc.Tpo $(DEPDIR)/libheif_la-heif_hevc.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='libheif_la-heif_hevc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_hevc.lo `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc libheif_la-heif_plugin_registry.lo: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_plugin_registry.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_plugin_registry.Tpo -c -o libheif_la-heif_plugin_registry.lo `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_plugin_registry.Tpo $(DEPDIR)/libheif_la-heif_plugin_registry.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='libheif_la-heif_plugin_registry.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_plugin_registry.lo `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc libheif_la-heif_plugin.lo: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_plugin.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_plugin.Tpo -c -o libheif_la-heif_plugin.lo `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_plugin.Tpo $(DEPDIR)/libheif_la-heif_plugin.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='libheif_la-heif_plugin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_plugin.lo `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc libheif_la-heif_colorconversion.lo: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_colorconversion.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_colorconversion.Tpo -c -o libheif_la-heif_colorconversion.lo `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_colorconversion.Tpo $(DEPDIR)/libheif_la-heif_colorconversion.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='libheif_la-heif_colorconversion.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_colorconversion.lo `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc libheif_la-heif_decoder_libde265.lo: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_decoder_libde265.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_decoder_libde265.Tpo -c -o libheif_la-heif_decoder_libde265.lo `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_decoder_libde265.Tpo $(DEPDIR)/libheif_la-heif_decoder_libde265.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='libheif_la-heif_decoder_libde265.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_decoder_libde265.lo `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc libheif_la-heif_encoder_x265.lo: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -MT libheif_la-heif_encoder_x265.lo -MD -MP -MF $(DEPDIR)/libheif_la-heif_encoder_x265.Tpo -c -o libheif_la-heif_encoder_x265.lo `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libheif_la-heif_encoder_x265.Tpo $(DEPDIR)/libheif_la-heif_encoder_x265.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='libheif_la-heif_encoder_x265.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libheif_la_CPPFLAGS) $(CPPFLAGS) $(libheif_la_CXXFLAGS) $(CXXFLAGS) -c -o libheif_la-heif_encoder_x265.lo `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc box_fuzzer-bitstream.o: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-bitstream.o -MD -MP -MF $(DEPDIR)/box_fuzzer-bitstream.Tpo -c -o box_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-bitstream.Tpo $(DEPDIR)/box_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='box_fuzzer-bitstream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc box_fuzzer-bitstream.obj: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-bitstream.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-bitstream.Tpo -c -o box_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-bitstream.Tpo $(DEPDIR)/box_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='box_fuzzer-bitstream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` box_fuzzer-box.o: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-box.o -MD -MP -MF $(DEPDIR)/box_fuzzer-box.Tpo -c -o box_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-box.Tpo $(DEPDIR)/box_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='box_fuzzer-box.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc box_fuzzer-box.obj: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-box.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-box.Tpo -c -o box_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-box.Tpo $(DEPDIR)/box_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='box_fuzzer-box.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` box_fuzzer-error.o: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-error.o -MD -MP -MF $(DEPDIR)/box_fuzzer-error.Tpo -c -o box_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-error.Tpo $(DEPDIR)/box_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='box_fuzzer-error.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc box_fuzzer-error.obj: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-error.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-error.Tpo -c -o box_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-error.Tpo $(DEPDIR)/box_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='box_fuzzer-error.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` box_fuzzer-heif_file.o: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_file.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_file.Tpo -c -o box_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_file.Tpo $(DEPDIR)/box_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='box_fuzzer-heif_file.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc box_fuzzer-heif_file.obj: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_file.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_file.Tpo -c -o box_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_file.Tpo $(DEPDIR)/box_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='box_fuzzer-heif_file.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` box_fuzzer-heif_image.o: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_image.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_image.Tpo -c -o box_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_image.Tpo $(DEPDIR)/box_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='box_fuzzer-heif_image.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc box_fuzzer-heif_image.obj: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_image.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_image.Tpo -c -o box_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_image.Tpo $(DEPDIR)/box_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='box_fuzzer-heif_image.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` box_fuzzer-heif.o: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif.Tpo -c -o box_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif.Tpo $(DEPDIR)/box_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='box_fuzzer-heif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc box_fuzzer-heif.obj: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif.Tpo -c -o box_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif.Tpo $(DEPDIR)/box_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='box_fuzzer-heif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` box_fuzzer-heif_context.o: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_context.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_context.Tpo -c -o box_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_context.Tpo $(DEPDIR)/box_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='box_fuzzer-heif_context.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc box_fuzzer-heif_context.obj: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_context.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_context.Tpo -c -o box_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_context.Tpo $(DEPDIR)/box_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='box_fuzzer-heif_context.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` box_fuzzer-heif_hevc.o: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_hevc.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_hevc.Tpo -c -o box_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_hevc.Tpo $(DEPDIR)/box_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='box_fuzzer-heif_hevc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc box_fuzzer-heif_hevc.obj: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_hevc.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_hevc.Tpo -c -o box_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_hevc.Tpo $(DEPDIR)/box_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='box_fuzzer-heif_hevc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` box_fuzzer-heif_plugin_registry.o: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_plugin_registry.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_plugin_registry.Tpo -c -o box_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/box_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='box_fuzzer-heif_plugin_registry.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc box_fuzzer-heif_plugin_registry.obj: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_plugin_registry.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_plugin_registry.Tpo -c -o box_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/box_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='box_fuzzer-heif_plugin_registry.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` box_fuzzer-heif_plugin.o: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_plugin.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_plugin.Tpo -c -o box_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_plugin.Tpo $(DEPDIR)/box_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='box_fuzzer-heif_plugin.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc box_fuzzer-heif_plugin.obj: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_plugin.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_plugin.Tpo -c -o box_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_plugin.Tpo $(DEPDIR)/box_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='box_fuzzer-heif_plugin.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` box_fuzzer-heif_colorconversion.o: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_colorconversion.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_colorconversion.Tpo -c -o box_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/box_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='box_fuzzer-heif_colorconversion.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc box_fuzzer-heif_colorconversion.obj: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_colorconversion.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_colorconversion.Tpo -c -o box_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/box_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='box_fuzzer-heif_colorconversion.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` box_fuzzer-heif_decoder_libde265.o: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_decoder_libde265.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_decoder_libde265.Tpo -c -o box_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/box_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='box_fuzzer-heif_decoder_libde265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc box_fuzzer-heif_decoder_libde265.obj: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_decoder_libde265.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_decoder_libde265.Tpo -c -o box_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/box_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='box_fuzzer-heif_decoder_libde265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` box_fuzzer-heif_encoder_x265.o: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_encoder_x265.o -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_encoder_x265.Tpo -c -o box_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/box_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='box_fuzzer-heif_encoder_x265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc box_fuzzer-heif_encoder_x265.obj: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-heif_encoder_x265.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-heif_encoder_x265.Tpo -c -o box_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/box_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='box_fuzzer-heif_encoder_x265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` box_fuzzer-box_fuzzer.o: box_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-box_fuzzer.o -MD -MP -MF $(DEPDIR)/box_fuzzer-box_fuzzer.Tpo -c -o box_fuzzer-box_fuzzer.o `test -f 'box_fuzzer.cc' || echo '$(srcdir)/'`box_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-box_fuzzer.Tpo $(DEPDIR)/box_fuzzer-box_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box_fuzzer.cc' object='box_fuzzer-box_fuzzer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-box_fuzzer.o `test -f 'box_fuzzer.cc' || echo '$(srcdir)/'`box_fuzzer.cc box_fuzzer-box_fuzzer.obj: box_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT box_fuzzer-box_fuzzer.obj -MD -MP -MF $(DEPDIR)/box_fuzzer-box_fuzzer.Tpo -c -o box_fuzzer-box_fuzzer.obj `if test -f 'box_fuzzer.cc'; then $(CYGPATH_W) 'box_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/box_fuzzer.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/box_fuzzer-box_fuzzer.Tpo $(DEPDIR)/box_fuzzer-box_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box_fuzzer.cc' object='box_fuzzer-box_fuzzer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(box_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o box_fuzzer-box_fuzzer.obj `if test -f 'box_fuzzer.cc'; then $(CYGPATH_W) 'box_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/box_fuzzer.cc'; fi` color_conversion_fuzzer-bitstream.o: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-bitstream.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-bitstream.Tpo -c -o color_conversion_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-bitstream.Tpo $(DEPDIR)/color_conversion_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='color_conversion_fuzzer-bitstream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc color_conversion_fuzzer-bitstream.obj: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-bitstream.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-bitstream.Tpo -c -o color_conversion_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-bitstream.Tpo $(DEPDIR)/color_conversion_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='color_conversion_fuzzer-bitstream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` color_conversion_fuzzer-box.o: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-box.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-box.Tpo -c -o color_conversion_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-box.Tpo $(DEPDIR)/color_conversion_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='color_conversion_fuzzer-box.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc color_conversion_fuzzer-box.obj: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-box.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-box.Tpo -c -o color_conversion_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-box.Tpo $(DEPDIR)/color_conversion_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='color_conversion_fuzzer-box.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` color_conversion_fuzzer-error.o: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-error.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-error.Tpo -c -o color_conversion_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-error.Tpo $(DEPDIR)/color_conversion_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='color_conversion_fuzzer-error.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc color_conversion_fuzzer-error.obj: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-error.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-error.Tpo -c -o color_conversion_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-error.Tpo $(DEPDIR)/color_conversion_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='color_conversion_fuzzer-error.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` color_conversion_fuzzer-heif_file.o: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_file.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_file.Tpo -c -o color_conversion_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_file.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='color_conversion_fuzzer-heif_file.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc color_conversion_fuzzer-heif_file.obj: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_file.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_file.Tpo -c -o color_conversion_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_file.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='color_conversion_fuzzer-heif_file.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` color_conversion_fuzzer-heif_image.o: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_image.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_image.Tpo -c -o color_conversion_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_image.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='color_conversion_fuzzer-heif_image.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc color_conversion_fuzzer-heif_image.obj: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_image.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_image.Tpo -c -o color_conversion_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_image.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='color_conversion_fuzzer-heif_image.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` color_conversion_fuzzer-heif.o: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif.Tpo -c -o color_conversion_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif.Tpo $(DEPDIR)/color_conversion_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='color_conversion_fuzzer-heif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc color_conversion_fuzzer-heif.obj: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif.Tpo -c -o color_conversion_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif.Tpo $(DEPDIR)/color_conversion_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='color_conversion_fuzzer-heif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` color_conversion_fuzzer-heif_context.o: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_context.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_context.Tpo -c -o color_conversion_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_context.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='color_conversion_fuzzer-heif_context.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc color_conversion_fuzzer-heif_context.obj: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_context.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_context.Tpo -c -o color_conversion_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_context.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='color_conversion_fuzzer-heif_context.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` color_conversion_fuzzer-heif_hevc.o: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_hevc.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_hevc.Tpo -c -o color_conversion_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_hevc.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='color_conversion_fuzzer-heif_hevc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc color_conversion_fuzzer-heif_hevc.obj: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_hevc.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_hevc.Tpo -c -o color_conversion_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_hevc.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='color_conversion_fuzzer-heif_hevc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` color_conversion_fuzzer-heif_plugin_registry.o: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_plugin_registry.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_plugin_registry.Tpo -c -o color_conversion_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='color_conversion_fuzzer-heif_plugin_registry.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc color_conversion_fuzzer-heif_plugin_registry.obj: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_plugin_registry.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_plugin_registry.Tpo -c -o color_conversion_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='color_conversion_fuzzer-heif_plugin_registry.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` color_conversion_fuzzer-heif_plugin.o: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_plugin.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_plugin.Tpo -c -o color_conversion_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_plugin.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='color_conversion_fuzzer-heif_plugin.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc color_conversion_fuzzer-heif_plugin.obj: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_plugin.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_plugin.Tpo -c -o color_conversion_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_plugin.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='color_conversion_fuzzer-heif_plugin.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` color_conversion_fuzzer-heif_colorconversion.o: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_colorconversion.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_colorconversion.Tpo -c -o color_conversion_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='color_conversion_fuzzer-heif_colorconversion.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc color_conversion_fuzzer-heif_colorconversion.obj: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_colorconversion.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_colorconversion.Tpo -c -o color_conversion_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='color_conversion_fuzzer-heif_colorconversion.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` color_conversion_fuzzer-heif_decoder_libde265.o: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_decoder_libde265.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_decoder_libde265.Tpo -c -o color_conversion_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='color_conversion_fuzzer-heif_decoder_libde265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc color_conversion_fuzzer-heif_decoder_libde265.obj: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_decoder_libde265.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_decoder_libde265.Tpo -c -o color_conversion_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='color_conversion_fuzzer-heif_decoder_libde265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` color_conversion_fuzzer-heif_encoder_x265.o: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_encoder_x265.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_encoder_x265.Tpo -c -o color_conversion_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='color_conversion_fuzzer-heif_encoder_x265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc color_conversion_fuzzer-heif_encoder_x265.obj: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-heif_encoder_x265.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-heif_encoder_x265.Tpo -c -o color_conversion_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/color_conversion_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='color_conversion_fuzzer-heif_encoder_x265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` color_conversion_fuzzer-color_conversion_fuzzer.o: color_conversion_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-color_conversion_fuzzer.o -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-color_conversion_fuzzer.Tpo -c -o color_conversion_fuzzer-color_conversion_fuzzer.o `test -f 'color_conversion_fuzzer.cc' || echo '$(srcdir)/'`color_conversion_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-color_conversion_fuzzer.Tpo $(DEPDIR)/color_conversion_fuzzer-color_conversion_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='color_conversion_fuzzer.cc' object='color_conversion_fuzzer-color_conversion_fuzzer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-color_conversion_fuzzer.o `test -f 'color_conversion_fuzzer.cc' || echo '$(srcdir)/'`color_conversion_fuzzer.cc color_conversion_fuzzer-color_conversion_fuzzer.obj: color_conversion_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT color_conversion_fuzzer-color_conversion_fuzzer.obj -MD -MP -MF $(DEPDIR)/color_conversion_fuzzer-color_conversion_fuzzer.Tpo -c -o color_conversion_fuzzer-color_conversion_fuzzer.obj `if test -f 'color_conversion_fuzzer.cc'; then $(CYGPATH_W) 'color_conversion_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/color_conversion_fuzzer.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_conversion_fuzzer-color_conversion_fuzzer.Tpo $(DEPDIR)/color_conversion_fuzzer-color_conversion_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='color_conversion_fuzzer.cc' object='color_conversion_fuzzer-color_conversion_fuzzer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(color_conversion_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o color_conversion_fuzzer-color_conversion_fuzzer.obj `if test -f 'color_conversion_fuzzer.cc'; then $(CYGPATH_W) 'color_conversion_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/color_conversion_fuzzer.cc'; fi` encoder_fuzzer-bitstream.o: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-bitstream.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-bitstream.Tpo -c -o encoder_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-bitstream.Tpo $(DEPDIR)/encoder_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='encoder_fuzzer-bitstream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc encoder_fuzzer-bitstream.obj: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-bitstream.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-bitstream.Tpo -c -o encoder_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-bitstream.Tpo $(DEPDIR)/encoder_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='encoder_fuzzer-bitstream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` encoder_fuzzer-box.o: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-box.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-box.Tpo -c -o encoder_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-box.Tpo $(DEPDIR)/encoder_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='encoder_fuzzer-box.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc encoder_fuzzer-box.obj: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-box.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-box.Tpo -c -o encoder_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-box.Tpo $(DEPDIR)/encoder_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='encoder_fuzzer-box.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` encoder_fuzzer-error.o: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-error.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-error.Tpo -c -o encoder_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-error.Tpo $(DEPDIR)/encoder_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='encoder_fuzzer-error.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc encoder_fuzzer-error.obj: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-error.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-error.Tpo -c -o encoder_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-error.Tpo $(DEPDIR)/encoder_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='encoder_fuzzer-error.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` encoder_fuzzer-heif_file.o: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_file.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_file.Tpo -c -o encoder_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_file.Tpo $(DEPDIR)/encoder_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='encoder_fuzzer-heif_file.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc encoder_fuzzer-heif_file.obj: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_file.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_file.Tpo -c -o encoder_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_file.Tpo $(DEPDIR)/encoder_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='encoder_fuzzer-heif_file.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` encoder_fuzzer-heif_image.o: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_image.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_image.Tpo -c -o encoder_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_image.Tpo $(DEPDIR)/encoder_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='encoder_fuzzer-heif_image.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc encoder_fuzzer-heif_image.obj: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_image.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_image.Tpo -c -o encoder_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_image.Tpo $(DEPDIR)/encoder_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='encoder_fuzzer-heif_image.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` encoder_fuzzer-heif.o: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif.Tpo -c -o encoder_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif.Tpo $(DEPDIR)/encoder_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='encoder_fuzzer-heif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc encoder_fuzzer-heif.obj: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif.Tpo -c -o encoder_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif.Tpo $(DEPDIR)/encoder_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='encoder_fuzzer-heif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` encoder_fuzzer-heif_context.o: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_context.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_context.Tpo -c -o encoder_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_context.Tpo $(DEPDIR)/encoder_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='encoder_fuzzer-heif_context.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc encoder_fuzzer-heif_context.obj: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_context.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_context.Tpo -c -o encoder_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_context.Tpo $(DEPDIR)/encoder_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='encoder_fuzzer-heif_context.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` encoder_fuzzer-heif_hevc.o: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_hevc.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_hevc.Tpo -c -o encoder_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_hevc.Tpo $(DEPDIR)/encoder_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='encoder_fuzzer-heif_hevc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc encoder_fuzzer-heif_hevc.obj: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_hevc.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_hevc.Tpo -c -o encoder_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_hevc.Tpo $(DEPDIR)/encoder_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='encoder_fuzzer-heif_hevc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` encoder_fuzzer-heif_plugin_registry.o: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_plugin_registry.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_plugin_registry.Tpo -c -o encoder_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/encoder_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='encoder_fuzzer-heif_plugin_registry.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc encoder_fuzzer-heif_plugin_registry.obj: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_plugin_registry.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_plugin_registry.Tpo -c -o encoder_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/encoder_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='encoder_fuzzer-heif_plugin_registry.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` encoder_fuzzer-heif_plugin.o: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_plugin.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_plugin.Tpo -c -o encoder_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_plugin.Tpo $(DEPDIR)/encoder_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='encoder_fuzzer-heif_plugin.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc encoder_fuzzer-heif_plugin.obj: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_plugin.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_plugin.Tpo -c -o encoder_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_plugin.Tpo $(DEPDIR)/encoder_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='encoder_fuzzer-heif_plugin.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` encoder_fuzzer-heif_colorconversion.o: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_colorconversion.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_colorconversion.Tpo -c -o encoder_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/encoder_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='encoder_fuzzer-heif_colorconversion.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc encoder_fuzzer-heif_colorconversion.obj: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_colorconversion.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_colorconversion.Tpo -c -o encoder_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/encoder_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='encoder_fuzzer-heif_colorconversion.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` encoder_fuzzer-heif_decoder_libde265.o: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_decoder_libde265.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_decoder_libde265.Tpo -c -o encoder_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/encoder_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='encoder_fuzzer-heif_decoder_libde265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc encoder_fuzzer-heif_decoder_libde265.obj: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_decoder_libde265.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_decoder_libde265.Tpo -c -o encoder_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/encoder_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='encoder_fuzzer-heif_decoder_libde265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` encoder_fuzzer-heif_encoder_x265.o: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_encoder_x265.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_encoder_x265.Tpo -c -o encoder_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/encoder_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='encoder_fuzzer-heif_encoder_x265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc encoder_fuzzer-heif_encoder_x265.obj: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-heif_encoder_x265.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-heif_encoder_x265.Tpo -c -o encoder_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/encoder_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='encoder_fuzzer-heif_encoder_x265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` encoder_fuzzer-encoder_fuzzer.o: encoder_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-encoder_fuzzer.o -MD -MP -MF $(DEPDIR)/encoder_fuzzer-encoder_fuzzer.Tpo -c -o encoder_fuzzer-encoder_fuzzer.o `test -f 'encoder_fuzzer.cc' || echo '$(srcdir)/'`encoder_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-encoder_fuzzer.Tpo $(DEPDIR)/encoder_fuzzer-encoder_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_fuzzer.cc' object='encoder_fuzzer-encoder_fuzzer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-encoder_fuzzer.o `test -f 'encoder_fuzzer.cc' || echo '$(srcdir)/'`encoder_fuzzer.cc encoder_fuzzer-encoder_fuzzer.obj: encoder_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT encoder_fuzzer-encoder_fuzzer.obj -MD -MP -MF $(DEPDIR)/encoder_fuzzer-encoder_fuzzer.Tpo -c -o encoder_fuzzer-encoder_fuzzer.obj `if test -f 'encoder_fuzzer.cc'; then $(CYGPATH_W) 'encoder_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_fuzzer.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/encoder_fuzzer-encoder_fuzzer.Tpo $(DEPDIR)/encoder_fuzzer-encoder_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_fuzzer.cc' object='encoder_fuzzer-encoder_fuzzer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(encoder_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o encoder_fuzzer-encoder_fuzzer.obj `if test -f 'encoder_fuzzer.cc'; then $(CYGPATH_W) 'encoder_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_fuzzer.cc'; fi` file_fuzzer-bitstream.o: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-bitstream.o -MD -MP -MF $(DEPDIR)/file_fuzzer-bitstream.Tpo -c -o file_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-bitstream.Tpo $(DEPDIR)/file_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='file_fuzzer-bitstream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-bitstream.o `test -f 'bitstream.cc' || echo '$(srcdir)/'`bitstream.cc file_fuzzer-bitstream.obj: bitstream.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-bitstream.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-bitstream.Tpo -c -o file_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-bitstream.Tpo $(DEPDIR)/file_fuzzer-bitstream.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bitstream.cc' object='file_fuzzer-bitstream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-bitstream.obj `if test -f 'bitstream.cc'; then $(CYGPATH_W) 'bitstream.cc'; else $(CYGPATH_W) '$(srcdir)/bitstream.cc'; fi` file_fuzzer-box.o: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-box.o -MD -MP -MF $(DEPDIR)/file_fuzzer-box.Tpo -c -o file_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-box.Tpo $(DEPDIR)/file_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='file_fuzzer-box.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-box.o `test -f 'box.cc' || echo '$(srcdir)/'`box.cc file_fuzzer-box.obj: box.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-box.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-box.Tpo -c -o file_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-box.Tpo $(DEPDIR)/file_fuzzer-box.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='box.cc' object='file_fuzzer-box.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-box.obj `if test -f 'box.cc'; then $(CYGPATH_W) 'box.cc'; else $(CYGPATH_W) '$(srcdir)/box.cc'; fi` file_fuzzer-error.o: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-error.o -MD -MP -MF $(DEPDIR)/file_fuzzer-error.Tpo -c -o file_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-error.Tpo $(DEPDIR)/file_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='file_fuzzer-error.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-error.o `test -f 'error.cc' || echo '$(srcdir)/'`error.cc file_fuzzer-error.obj: error.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-error.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-error.Tpo -c -o file_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-error.Tpo $(DEPDIR)/file_fuzzer-error.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='error.cc' object='file_fuzzer-error.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-error.obj `if test -f 'error.cc'; then $(CYGPATH_W) 'error.cc'; else $(CYGPATH_W) '$(srcdir)/error.cc'; fi` file_fuzzer-heif_file.o: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_file.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_file.Tpo -c -o file_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_file.Tpo $(DEPDIR)/file_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='file_fuzzer-heif_file.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_file.o `test -f 'heif_file.cc' || echo '$(srcdir)/'`heif_file.cc file_fuzzer-heif_file.obj: heif_file.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_file.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_file.Tpo -c -o file_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_file.Tpo $(DEPDIR)/file_fuzzer-heif_file.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_file.cc' object='file_fuzzer-heif_file.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_file.obj `if test -f 'heif_file.cc'; then $(CYGPATH_W) 'heif_file.cc'; else $(CYGPATH_W) '$(srcdir)/heif_file.cc'; fi` file_fuzzer-heif_image.o: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_image.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_image.Tpo -c -o file_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_image.Tpo $(DEPDIR)/file_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='file_fuzzer-heif_image.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_image.o `test -f 'heif_image.cc' || echo '$(srcdir)/'`heif_image.cc file_fuzzer-heif_image.obj: heif_image.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_image.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_image.Tpo -c -o file_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_image.Tpo $(DEPDIR)/file_fuzzer-heif_image.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_image.cc' object='file_fuzzer-heif_image.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_image.obj `if test -f 'heif_image.cc'; then $(CYGPATH_W) 'heif_image.cc'; else $(CYGPATH_W) '$(srcdir)/heif_image.cc'; fi` file_fuzzer-heif.o: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif.Tpo -c -o file_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif.Tpo $(DEPDIR)/file_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='file_fuzzer-heif.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif.o `test -f 'heif.cc' || echo '$(srcdir)/'`heif.cc file_fuzzer-heif.obj: heif.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif.Tpo -c -o file_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif.Tpo $(DEPDIR)/file_fuzzer-heif.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif.cc' object='file_fuzzer-heif.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif.obj `if test -f 'heif.cc'; then $(CYGPATH_W) 'heif.cc'; else $(CYGPATH_W) '$(srcdir)/heif.cc'; fi` file_fuzzer-heif_context.o: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_context.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_context.Tpo -c -o file_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_context.Tpo $(DEPDIR)/file_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='file_fuzzer-heif_context.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_context.o `test -f 'heif_context.cc' || echo '$(srcdir)/'`heif_context.cc file_fuzzer-heif_context.obj: heif_context.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_context.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_context.Tpo -c -o file_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_context.Tpo $(DEPDIR)/file_fuzzer-heif_context.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_context.cc' object='file_fuzzer-heif_context.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_context.obj `if test -f 'heif_context.cc'; then $(CYGPATH_W) 'heif_context.cc'; else $(CYGPATH_W) '$(srcdir)/heif_context.cc'; fi` file_fuzzer-heif_hevc.o: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_hevc.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_hevc.Tpo -c -o file_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_hevc.Tpo $(DEPDIR)/file_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='file_fuzzer-heif_hevc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_hevc.o `test -f 'heif_hevc.cc' || echo '$(srcdir)/'`heif_hevc.cc file_fuzzer-heif_hevc.obj: heif_hevc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_hevc.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_hevc.Tpo -c -o file_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_hevc.Tpo $(DEPDIR)/file_fuzzer-heif_hevc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_hevc.cc' object='file_fuzzer-heif_hevc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_hevc.obj `if test -f 'heif_hevc.cc'; then $(CYGPATH_W) 'heif_hevc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_hevc.cc'; fi` file_fuzzer-heif_plugin_registry.o: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_plugin_registry.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_plugin_registry.Tpo -c -o file_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/file_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='file_fuzzer-heif_plugin_registry.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_plugin_registry.o `test -f 'heif_plugin_registry.cc' || echo '$(srcdir)/'`heif_plugin_registry.cc file_fuzzer-heif_plugin_registry.obj: heif_plugin_registry.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_plugin_registry.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_plugin_registry.Tpo -c -o file_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_plugin_registry.Tpo $(DEPDIR)/file_fuzzer-heif_plugin_registry.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin_registry.cc' object='file_fuzzer-heif_plugin_registry.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_plugin_registry.obj `if test -f 'heif_plugin_registry.cc'; then $(CYGPATH_W) 'heif_plugin_registry.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin_registry.cc'; fi` file_fuzzer-heif_plugin.o: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_plugin.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_plugin.Tpo -c -o file_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_plugin.Tpo $(DEPDIR)/file_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='file_fuzzer-heif_plugin.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_plugin.o `test -f 'heif_plugin.cc' || echo '$(srcdir)/'`heif_plugin.cc file_fuzzer-heif_plugin.obj: heif_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_plugin.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_plugin.Tpo -c -o file_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_plugin.Tpo $(DEPDIR)/file_fuzzer-heif_plugin.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_plugin.cc' object='file_fuzzer-heif_plugin.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_plugin.obj `if test -f 'heif_plugin.cc'; then $(CYGPATH_W) 'heif_plugin.cc'; else $(CYGPATH_W) '$(srcdir)/heif_plugin.cc'; fi` file_fuzzer-heif_colorconversion.o: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_colorconversion.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_colorconversion.Tpo -c -o file_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/file_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='file_fuzzer-heif_colorconversion.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_colorconversion.o `test -f 'heif_colorconversion.cc' || echo '$(srcdir)/'`heif_colorconversion.cc file_fuzzer-heif_colorconversion.obj: heif_colorconversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_colorconversion.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_colorconversion.Tpo -c -o file_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_colorconversion.Tpo $(DEPDIR)/file_fuzzer-heif_colorconversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_colorconversion.cc' object='file_fuzzer-heif_colorconversion.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_colorconversion.obj `if test -f 'heif_colorconversion.cc'; then $(CYGPATH_W) 'heif_colorconversion.cc'; else $(CYGPATH_W) '$(srcdir)/heif_colorconversion.cc'; fi` file_fuzzer-heif_decoder_libde265.o: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_decoder_libde265.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_decoder_libde265.Tpo -c -o file_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/file_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='file_fuzzer-heif_decoder_libde265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_decoder_libde265.o `test -f 'heif_decoder_libde265.cc' || echo '$(srcdir)/'`heif_decoder_libde265.cc file_fuzzer-heif_decoder_libde265.obj: heif_decoder_libde265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_decoder_libde265.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_decoder_libde265.Tpo -c -o file_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_decoder_libde265.Tpo $(DEPDIR)/file_fuzzer-heif_decoder_libde265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_decoder_libde265.cc' object='file_fuzzer-heif_decoder_libde265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_decoder_libde265.obj `if test -f 'heif_decoder_libde265.cc'; then $(CYGPATH_W) 'heif_decoder_libde265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_decoder_libde265.cc'; fi` file_fuzzer-heif_encoder_x265.o: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_encoder_x265.o -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_encoder_x265.Tpo -c -o file_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/file_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='file_fuzzer-heif_encoder_x265.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_encoder_x265.o `test -f 'heif_encoder_x265.cc' || echo '$(srcdir)/'`heif_encoder_x265.cc file_fuzzer-heif_encoder_x265.obj: heif_encoder_x265.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-heif_encoder_x265.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-heif_encoder_x265.Tpo -c -o file_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-heif_encoder_x265.Tpo $(DEPDIR)/file_fuzzer-heif_encoder_x265.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_encoder_x265.cc' object='file_fuzzer-heif_encoder_x265.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-heif_encoder_x265.obj `if test -f 'heif_encoder_x265.cc'; then $(CYGPATH_W) 'heif_encoder_x265.cc'; else $(CYGPATH_W) '$(srcdir)/heif_encoder_x265.cc'; fi` file_fuzzer-file_fuzzer.o: file_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-file_fuzzer.o -MD -MP -MF $(DEPDIR)/file_fuzzer-file_fuzzer.Tpo -c -o file_fuzzer-file_fuzzer.o `test -f 'file_fuzzer.cc' || echo '$(srcdir)/'`file_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-file_fuzzer.Tpo $(DEPDIR)/file_fuzzer-file_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='file_fuzzer.cc' object='file_fuzzer-file_fuzzer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-file_fuzzer.o `test -f 'file_fuzzer.cc' || echo '$(srcdir)/'`file_fuzzer.cc file_fuzzer-file_fuzzer.obj: file_fuzzer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -MT file_fuzzer-file_fuzzer.obj -MD -MP -MF $(DEPDIR)/file_fuzzer-file_fuzzer.Tpo -c -o file_fuzzer-file_fuzzer.obj `if test -f 'file_fuzzer.cc'; then $(CYGPATH_W) 'file_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/file_fuzzer.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/file_fuzzer-file_fuzzer.Tpo $(DEPDIR)/file_fuzzer-file_fuzzer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='file_fuzzer.cc' object='file_fuzzer-file_fuzzer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(file_fuzzer_CXXFLAGS) $(CXXFLAGS) -c -o file_fuzzer-file_fuzzer.obj `if test -f 'file_fuzzer.cc'; then $(CYGPATH_W) 'file_fuzzer.cc'; else $(CYGPATH_W) '$(srcdir)/file_fuzzer.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-libheif_laHEADERS: $(libheif_la_HEADERS) @$(NORMAL_INSTALL) @list='$(libheif_la_HEADERS)'; test -n "$(libheif_ladir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(libheif_ladir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libheif_ladir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libheif_ladir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(libheif_ladir)" || exit $$?; \ done uninstall-libheif_laHEADERS: @$(NORMAL_UNINSTALL) @list='$(libheif_la_HEADERS)'; test -n "$(libheif_ladir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(libheif_ladir)'; $(am__uninstall_files_from_dir) format-local: test-local: ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) install-binPROGRAMS: install-libLTLIBRARIES installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libheif_ladir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ clean-libtool clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: format: format-am format-am: format-local html: html-am html-am: info: info-am info-am: install-data-am: install-libheif_laHEADERS install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: test: test-am test-am: test-local uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES \ uninstall-libheif_laHEADERS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ clean-libtool clean-noinstLIBRARIES cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am format-am \ format-local html html-am info info-am install install-am \ install-binPROGRAMS install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-libheif_laHEADERS install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags tags-am test-am test-local uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-libLTLIBRARIES \ uninstall-libheif_laHEADERS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libheif-1.6.1/libheif/heif.h0000644000221000001440000013517613576157752012553 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_H #define LIBHEIF_HEIF_H #ifdef __cplusplus extern "C" { #endif #include #include #include // API versions table // // release depth.rep dec.options enc.options heif_reader heif_writer col.profile // ----------------------------------------------------------------------------------------- // 1.0 1 1 N/A N/A N/A N/A // 1.1 1 1 N/A N/A 1 N/A // 1.3 1 1 1 1 1 N/A // 1.4 1 1 1 1 1 1 #if defined(_MSC_VER) && !defined(LIBHEIF_STATIC_BUILD) #ifdef LIBHEIF_EXPORTS #define LIBHEIF_API __declspec(dllexport) #else #define LIBHEIF_API __declspec(dllimport) #endif #elif defined(HAVE_VISIBILITY) && HAVE_VISIBILITY #ifdef LIBHEIF_EXPORTS #define LIBHEIF_API __attribute__((__visibility__("default"))) #else #define LIBHEIF_API #endif #else #define LIBHEIF_API #endif #define heif_fourcc(a,b,c,d) ((a<<24) | (b<<16) | (c<<8) | d) /* === version numbers === */ // Version string of linked libheif library. LIBHEIF_API const char *heif_get_version(void); // Numeric version of linked libheif library, encoded as 0xHHMMLL00 = HH.MM.LL. LIBHEIF_API uint32_t heif_get_version_number(void); // Numeric part "HH" from above. LIBHEIF_API int heif_get_version_number_major(void); // Numeric part "MM" from above. LIBHEIF_API int heif_get_version_number_minor(void); // Numeric part "LL" from above. LIBHEIF_API int heif_get_version_number_maintenance(void); // Helper macros to check for given versions of libheif at compile time. #define LIBHEIF_MAKE_VERSION(h, m, l) ((h) << 24 | (m) << 16 | (l) << 8) #define LIBHEIF_HAVE_VERSION(h, m, l) (LIBHEIF_NUMERIC_VERSION >= LIBHEIF_MAKE_VERSION(h, m, l)) struct heif_context; struct heif_image_handle; struct heif_image; enum heif_error_code { // Everything ok, no error occurred. heif_error_Ok = 0, // Input file does not exist. heif_error_Input_does_not_exist = 1, // Error in input file. Corrupted or invalid content. heif_error_Invalid_input = 2, // Input file type is not supported. heif_error_Unsupported_filetype = 3, // Image requires an unsupported decoder feature. heif_error_Unsupported_feature = 4, // Library API has been used in an invalid way. heif_error_Usage_error = 5, // Could not allocate enough memory. heif_error_Memory_allocation_error = 6, // The decoder plugin generated an error heif_error_Decoder_plugin_error = 7, // The encoder plugin generated an error heif_error_Encoder_plugin_error = 8, // Error during encoding or when writing to the output heif_error_Encoding_error = 9 }; enum heif_suberror_code { // no further information available heif_suberror_Unspecified = 0, // --- Invalid_input --- // End of data reached unexpectedly. heif_suberror_End_of_data = 100, // Size of box (defined in header) is wrong heif_suberror_Invalid_box_size = 101, // Mandatory 'ftyp' box is missing heif_suberror_No_ftyp_box = 102, heif_suberror_No_idat_box = 103, heif_suberror_No_meta_box = 104, heif_suberror_No_hdlr_box = 105, heif_suberror_No_hvcC_box = 106, heif_suberror_No_pitm_box = 107, heif_suberror_No_ipco_box = 108, heif_suberror_No_ipma_box = 109, heif_suberror_No_iloc_box = 110, heif_suberror_No_iinf_box = 111, heif_suberror_No_iprp_box = 112, heif_suberror_No_iref_box = 113, heif_suberror_No_pict_handler = 114, // An item property referenced in the 'ipma' box is not existing in the 'ipco' container. heif_suberror_Ipma_box_references_nonexisting_property = 115, // No properties have been assigned to an item. heif_suberror_No_properties_assigned_to_item = 116, // Image has no (compressed) data heif_suberror_No_item_data = 117, // Invalid specification of image grid (tiled image) heif_suberror_Invalid_grid_data = 118, // Tile-images in a grid image are missing heif_suberror_Missing_grid_images = 119, heif_suberror_Invalid_clean_aperture = 120, // Invalid specification of overlay image heif_suberror_Invalid_overlay_data = 121, // Overlay image completely outside of visible canvas area heif_suberror_Overlay_image_outside_of_canvas = 122, heif_suberror_Auxiliary_image_type_unspecified = 123, heif_suberror_No_or_invalid_primary_item = 124, heif_suberror_No_infe_box = 125, heif_suberror_Unknown_color_profile_type = 126, heif_suberror_Wrong_tile_image_chroma_format = 127, heif_suberror_Invalid_fractional_number = 128, heif_suberror_Invalid_image_size = 129, // --- Memory_allocation_error --- // A security limit preventing unreasonable memory allocations was exceeded by the input file. // Please check whether the file is valid. If it is, contact us so that we could increase the // security limits further. heif_suberror_Security_limit_exceeded = 1000, // --- Usage_error --- // An item ID was used that is not present in the file. heif_suberror_Nonexisting_item_referenced = 2000, // also used for Invalid_input // An API argument was given a NULL pointer, which is not allowed for that function. heif_suberror_Null_pointer_argument = 2001, // Image channel referenced that does not exist in the image heif_suberror_Nonexisting_image_channel_referenced = 2002, // The version of the passed plugin is not supported. heif_suberror_Unsupported_plugin_version = 2003, // The version of the passed writer is not supported. heif_suberror_Unsupported_writer_version = 2004, // The given (encoder) parameter name does not exist. heif_suberror_Unsupported_parameter = 2005, // The value for the given parameter is not in the valid range. heif_suberror_Invalid_parameter_value = 2006, // --- Unsupported_feature --- // Image was coded with an unsupported compression method. heif_suberror_Unsupported_codec = 3000, // Image is specified in an unknown way, e.g. as tiled grid image (which is supported) heif_suberror_Unsupported_image_type = 3001, heif_suberror_Unsupported_data_version = 3002, // The conversion of the source image to the requested chroma / colorspace is not supported. heif_suberror_Unsupported_color_conversion = 3003, heif_suberror_Unsupported_item_construction_method = 3004, // --- Encoder_plugin_error --- heif_suberror_Unsupported_bit_depth = 4000, // --- Encoding_error --- heif_suberror_Cannot_write_output_data = 5000, }; struct heif_error { // main error category enum heif_error_code code; // more detailed error code enum heif_suberror_code subcode; // textual error message (is always defined, you do not have to check for NULL) const char* message; }; typedef uint32_t heif_item_id; // ========================= file type check ====================== enum heif_filetype_result { heif_filetype_no, heif_filetype_yes_supported, // it is heif and can be read by libheif heif_filetype_yes_unsupported, // it is heif, but cannot be read by libheif heif_filetype_maybe // not sure whether it is an heif, try detection with more input data }; // input data should be at least 12 bytes LIBHEIF_API enum heif_filetype_result heif_check_filetype(const uint8_t* data, int len); enum heif_brand { heif_unknown_brand, heif_heic, // the usual HEIF images heif_heix, // 10bit images, or anything that uses h265 with range extension heif_hevc, heif_hevx, // brands for image sequences heif_heim, // multiview heif_heis, // scalable heif_hevm, // multiview sequence heif_hevs, // scalable sequence heif_mif1, // image, any coding algorithm heif_msf1 // sequence, any coding algorithm }; // input data should be at least 12 bytes LIBHEIF_API enum heif_brand heif_main_brand(const uint8_t* data, int len); // Returns one of these MIME types: // - image/heic HEIF file using h265 compression // - image/heif HEIF file using any other compression // - image/heic-sequence HEIF image sequence using h265 compression // - image/heif-sequence HEIF image sequence using any other compression // - image/jpeg JPEG image // - image/png PNG image // If the format could not be detected, an empty string is returned. // // Provide at least 12 bytes of input. With less input, its format might not // be detected. You may also provide more input to increase detection accuracy. // // Note that JPEG and PNG images cannot be decoded by libheif even though the // formats are detected by this function. LIBHEIF_API const char* heif_get_file_mime_type(const uint8_t* data, int len); // ========================= heif_context ========================= // A heif_context represents a HEIF file that has been read. // In the future, you will also be able to add pictures to a heif_context // and write it into a file again. // Allocate a new context for reading HEIF files. // Has to be freed again with heif_context_free(). LIBHEIF_API struct heif_context* heif_context_alloc(void); // Free a previously allocated HEIF context. You should not free a context twice. LIBHEIF_API void heif_context_free(struct heif_context*); struct heif_reading_options; enum heif_reader_grow_status { heif_reader_grow_status_size_reached, // requested size has been reached, we can read until this point heif_reader_grow_status_timeout, // size has not been reached yet, but it may still grow further heif_reader_grow_status_size_beyond_eof // size has not been reached and never will. The file has grown to its full size }; struct heif_reader { // API version supported by this reader int reader_api_version; // --- version 1 functions --- int64_t (*get_position)(void* userdata); // The functions read(), and seek() return 0 on success. // Generally, libheif will make sure that we do not read past the file size. int (*read)(void* data, size_t size, void* userdata); int (*seek)(int64_t position, void* userdata); // When calling this function, libheif wants to make sure that it can read the file // up to 'target_size'. This is useful when the file is currently downloaded and may // grow with time. You may, for example, extract the image sizes even before the actual // compressed image data has been completely downloaded. // // Even if your input files will not grow, you will have to implement at least // detection whether the target_size is above the (fixed) file length // (in this case, return 'size_beyond_eof'). enum heif_reader_grow_status (*wait_for_file_size)(int64_t target_size, void* userdata); }; // Read a HEIF file from a named disk file. // The heif_reading_options should currently be set to NULL. LIBHEIF_API struct heif_error heif_context_read_from_file(struct heif_context*, const char* filename, const struct heif_reading_options*); // Read a HEIF file stored completely in memory. // The heif_reading_options should currently be set to NULL. // DEPRECATED: use heif_context_read_from_memory_without_copy() instead. LIBHEIF_API struct heif_error heif_context_read_from_memory(struct heif_context*, const void* mem, size_t size, const struct heif_reading_options*); // Same as heif_context_read_from_memory() except that the provided memory is not copied. // That means, you will have to keep the memory area alive as long as you use the heif_context. LIBHEIF_API struct heif_error heif_context_read_from_memory_without_copy(struct heif_context*, const void* mem, size_t size, const struct heif_reading_options*); LIBHEIF_API struct heif_error heif_context_read_from_reader(struct heif_context*, const struct heif_reader* reader, void* userdata, const struct heif_reading_options*); // Number of top-level images in the HEIF file. This does not include the thumbnails or the // tile images that are composed to an image grid. You can get access to the thumbnails via // the main image handle. LIBHEIF_API int heif_context_get_number_of_top_level_images(struct heif_context* ctx); LIBHEIF_API int heif_context_is_top_level_image_ID(struct heif_context* ctx, heif_item_id id); // Fills in image IDs into the user-supplied int-array 'ID_array', preallocated with 'count' entries. // Function returns the total number of IDs filled into the array. LIBHEIF_API int heif_context_get_list_of_top_level_image_IDs(struct heif_context* ctx, heif_item_id* ID_array, int count); LIBHEIF_API struct heif_error heif_context_get_primary_image_ID(struct heif_context* ctx, heif_item_id* id); // Get a handle to the primary image of the HEIF file. // This is the image that should be displayed primarily when there are several images in the file. LIBHEIF_API struct heif_error heif_context_get_primary_image_handle(struct heif_context* ctx, struct heif_image_handle**); // Get the handle for a specific top-level image from an image ID. LIBHEIF_API struct heif_error heif_context_get_image_handle(struct heif_context* ctx, heif_item_id id, struct heif_image_handle**); // Print information about the boxes of a HEIF file to file descriptor. // This is for debugging and informational purposes only. You should not rely on // the output having a specific format. At best, you should not use this at all. LIBHEIF_API void heif_context_debug_dump_boxes_to_file(struct heif_context* ctx, int fd); LIBHEIF_API void heif_context_set_maximum_image_size_limit(struct heif_context* ctx, int maximum_width); // ========================= heif_image_handle ========================= // An heif_image_handle is a handle to a logical image in the HEIF file. // To get the actual pixel data, you have to decode the handle to an heif_image. // An heif_image_handle also gives you access to the thumbnails and Exif data // associated with an image. // Once you obtained an heif_image_handle, you can already release the heif_context, // since it is internally ref-counted. // Release image handle. LIBHEIF_API void heif_image_handle_release(const struct heif_image_handle*); // Check whether the given image_handle is the primary image of the file. LIBHEIF_API int heif_image_handle_is_primary_image(const struct heif_image_handle* handle); // Get the resolution of an image. LIBHEIF_API int heif_image_handle_get_width(const struct heif_image_handle* handle); LIBHEIF_API int heif_image_handle_get_height(const struct heif_image_handle* handle); LIBHEIF_API int heif_image_handle_has_alpha_channel(const struct heif_image_handle*); LIBHEIF_API int heif_image_handle_get_luma_bits_per_pixel(const struct heif_image_handle*); LIBHEIF_API int heif_image_handle_get_chroma_bits_per_pixel(const struct heif_image_handle*); // Get the image width from the 'ispe' box. This is the original image size without // any transformations applied to it. Do not use this unless you know exactly what // you are doing. LIBHEIF_API int heif_image_handle_get_ispe_width(const struct heif_image_handle* handle); LIBHEIF_API int heif_image_handle_get_ispe_height(const struct heif_image_handle* handle); // ------------------------- depth images ------------------------- LIBHEIF_API int heif_image_handle_has_depth_image(const struct heif_image_handle*); LIBHEIF_API int heif_image_handle_get_number_of_depth_images(const struct heif_image_handle* handle); LIBHEIF_API int heif_image_handle_get_list_of_depth_image_IDs(const struct heif_image_handle* handle, heif_item_id* ids, int count); LIBHEIF_API struct heif_error heif_image_handle_get_depth_image_handle(const struct heif_image_handle* handle, heif_item_id depth_image_id, struct heif_image_handle** out_depth_handle); enum heif_depth_representation_type { heif_depth_representation_type_uniform_inverse_Z = 0, heif_depth_representation_type_uniform_disparity = 1, heif_depth_representation_type_uniform_Z = 2, heif_depth_representation_type_nonuniform_disparity = 3 }; struct heif_depth_representation_info { uint8_t version; // version 1 fields uint8_t has_z_near; uint8_t has_z_far; uint8_t has_d_min; uint8_t has_d_max; double z_near; double z_far; double d_min; double d_max; enum heif_depth_representation_type depth_representation_type; uint32_t disparity_reference_view; uint32_t depth_nonlinear_representation_model_size; uint8_t* depth_nonlinear_representation_model; // version 2 fields below }; LIBHEIF_API void heif_depth_representation_info_free(const struct heif_depth_representation_info* info); // Returns true when there is depth_representation_info available LIBHEIF_API int heif_image_handle_get_depth_image_representation_info(const struct heif_image_handle* handle, heif_item_id depth_image_id, const struct heif_depth_representation_info** out); // ------------------------- thumbnails ------------------------- // List the number of thumbnails assigned to this image handle. Usually 0 or 1. LIBHEIF_API int heif_image_handle_get_number_of_thumbnails(const struct heif_image_handle* handle); LIBHEIF_API int heif_image_handle_get_list_of_thumbnail_IDs(const struct heif_image_handle* handle, heif_item_id* ids, int count); // Get the image handle of a thumbnail image. LIBHEIF_API struct heif_error heif_image_handle_get_thumbnail(const struct heif_image_handle* main_image_handle, heif_item_id thumbnail_id, struct heif_image_handle** out_thumbnail_handle); // ------------------------- metadata (Exif / XMP) ------------------------- // How many metadata blocks are attached to an image. Usually, the only metadata is // an "Exif" block. LIBHEIF_API int heif_image_handle_get_number_of_metadata_blocks(const struct heif_image_handle* handle, const char* type_filter); // 'type_filter' can be used to get only metadata of specific types, like "Exif". // If 'type_filter' is NULL, it will return all types of metadata IDs. LIBHEIF_API int heif_image_handle_get_list_of_metadata_block_IDs(const struct heif_image_handle* handle, const char* type_filter, heif_item_id* ids, int count); // Return a string indicating the type of the metadata, as specified in the HEIF file. // Exif data will have the type string "Exif". // This string will be valid until the next call to a libheif function. // You do not have to free this string. LIBHEIF_API const char* heif_image_handle_get_metadata_type(const struct heif_image_handle* handle, heif_item_id metadata_id); LIBHEIF_API const char* heif_image_handle_get_metadata_content_type(const struct heif_image_handle* handle, heif_item_id metadata_id); // Get the size of the raw metadata, as stored in the HEIF file. LIBHEIF_API size_t heif_image_handle_get_metadata_size(const struct heif_image_handle* handle, heif_item_id metadata_id); // 'out_data' must point to a memory area of the size reported by heif_image_handle_get_metadata_size(). // The data is returned exactly as stored in the HEIF file. // For Exif data, you probably have to skip the first four bytes of the data, since they // indicate the offset to the start of the TIFF header of the Exif data. LIBHEIF_API struct heif_error heif_image_handle_get_metadata(const struct heif_image_handle* handle, heif_item_id metadata_id, void* out_data); enum heif_color_profile_type { heif_color_profile_type_not_present = 0, heif_color_profile_type_nclx = heif_fourcc('n','c','l','x'), heif_color_profile_type_rICC = heif_fourcc('r','I','C','C'), heif_color_profile_type_prof = heif_fourcc('p','r','o','f') }; // Returns 'heif_color_profile_type_not_present' if there is no color profile. LIBHEIF_API enum heif_color_profile_type heif_image_handle_get_color_profile_type(const struct heif_image_handle* handle); LIBHEIF_API size_t heif_image_handle_get_raw_color_profile_size(const struct heif_image_handle* handle); LIBHEIF_API struct heif_error heif_image_handle_get_raw_color_profile(const struct heif_image_handle* handle, void* out_data); enum heif_color_primaries { heif_color_primaries_ITU_R_BT_709_5 = 1, // g=0.3;0.6, b=0.15;0.06, r=0.64;0.33, w=0.3127,0.3290 heif_color_primaries_unspecified = 2, heif_color_primaries_ITU_R_BT_470_6_System_M = 4, heif_color_primaries_ITU_R_BT_470_6_System_B_G = 5, heif_color_primaries_ITU_R_BT_601_6 = 6, heif_color_primaries_SMPTE_240M = 7 }; enum heif_transfer_characteristics { heif_transfer_characteristic_ITU_R_BT_709_5 = 1, heif_transfer_characteristic_unspecified = 2, heif_transfer_characteristic_ITU_R_BT_470_6_System_M = 4, heif_transfer_characteristic_ITU_R_BT_470_6_System_B_G = 5, heif_transfer_characteristic_ITU_R_BT_601_6 = 6, heif_transfer_characteristic_SMPTE_240M = 7, heif_transfer_characteristic_linear = 8, heif_transfer_characteristic_IEC_61966_2_4 = 11, heif_transfer_characteristic_ITU_R_BT_1361 = 12, heif_transfer_characteristic_IEC_61966_2_1 = 13 }; enum heif_matrix_coefficients { heif_matrix_coefficients_RGB_GBR = 0, heif_matrix_coefficients_ITU_R_BT_709_5 = 1, heif_matrix_coefficients_unspecified = 2, heif_matrix_coefficients_US_FCC_T47 = 4, heif_matrix_coefficients_ITU_R_BT_470_6_System_B_G = 5, heif_matrix_coefficients_ITU_R_BT_601_6 = 6, heif_matrix_coefficients_SMPTE_240M = 7, heif_matrix_coefficients_YCgCo = 8 }; struct heif_color_profile_nclx { // version 1 fields uint8_t version; enum heif_color_primaries color_primaries; enum heif_transfer_characteristics transfer_characteristics; enum heif_matrix_coefficients matrix_coefficients; uint8_t full_range_flag; // --- decoded values (not used when saving nclx) float color_primary_red_x, color_primary_red_y; float color_primary_green_x, color_primary_green_y; float color_primary_blue_x, color_primary_blue_y; float color_primary_white_x, color_primary_white_y; }; LIBHEIF_API struct heif_error heif_image_handle_get_nclx_color_profile(const struct heif_image_handle* handle, struct heif_color_profile_nclx** out_data); LIBHEIF_API enum heif_color_profile_type heif_image_get_color_profile_type(const struct heif_image* image); LIBHEIF_API size_t heif_image_get_raw_color_profile_size(const struct heif_image* image); LIBHEIF_API struct heif_error heif_image_get_raw_color_profile(const struct heif_image* image, void* out_data); LIBHEIF_API struct heif_error heif_image_get_nclx_color_profile(const struct heif_image* image, struct heif_color_profile_nclx** out_data); // ========================= heif_image ========================= // An heif_image contains a decoded pixel image in various colorspaces, chroma formats, // and bit depths. // Note: when converting images to colorspace_RGB/chroma_interleaved_24bit, the resulting // image contains only a single channel of type channel_interleaved with 3 bytes per pixel, // containing the interleaved R,G,B values. enum heif_compression_format { heif_compression_undefined = 0, heif_compression_HEVC = 1, heif_compression_AVC = 2, heif_compression_JPEG = 3 }; enum heif_chroma { heif_chroma_undefined=99, heif_chroma_monochrome=0, heif_chroma_420=1, heif_chroma_422=2, heif_chroma_444=3, heif_chroma_interleaved_RGB =10, heif_chroma_interleaved_RGBA=11, heif_chroma_interleaved_RRGGBB_BE =12, heif_chroma_interleaved_RRGGBBAA_BE=13, heif_chroma_interleaved_RRGGBB_LE =14, heif_chroma_interleaved_RRGGBBAA_LE=15 }; // DEPRECATED ENUM NAMES #define heif_chroma_interleaved_24bit heif_chroma_interleaved_RGB #define heif_chroma_interleaved_32bit heif_chroma_interleaved_RGBA enum heif_colorspace { heif_colorspace_undefined=99, heif_colorspace_YCbCr=0, heif_colorspace_RGB =1, heif_colorspace_monochrome=2 }; enum heif_channel { heif_channel_Y = 0, heif_channel_Cb = 1, heif_channel_Cr = 2, heif_channel_R = 3, heif_channel_G = 4, heif_channel_B = 5, heif_channel_Alpha = 6, heif_channel_interleaved = 10 }; enum heif_progress_step { heif_progress_step_total = 0, heif_progress_step_load_tile = 1 }; struct heif_decoding_options { uint8_t version; // version 1 options // Ignore geometric transformations like cropping, rotation, mirroring. // Default: false (do not ignore). uint8_t ignore_transformations; void (*start_progress)(enum heif_progress_step step, int max_progress, void* progress_user_data); void (*on_progress)(enum heif_progress_step step, int progress, void* progress_user_data); void (*end_progress)(enum heif_progress_step step, void* progress_user_data); void* progress_user_data; }; // Allocate decoding options and fill with default values. // Note: you should always get the decoding options through this function since the // option structure may grow in size in future versions. LIBHEIF_API struct heif_decoding_options* heif_decoding_options_alloc(); LIBHEIF_API void heif_decoding_options_free(struct heif_decoding_options*); // Decode an heif_image_handle into the actual pixel image and also carry out // all geometric transformations specified in the HEIF file (rotation, cropping, mirroring). // // If colorspace or chroma is set to heif_colorspace_undefined or heif_chroma_undefined, // respectively, the original colorspace is taken. // Decoding options may be NULL. If you want to supply options, always use // heif_decoding_options_alloc() to get the structure. LIBHEIF_API struct heif_error heif_decode_image(const struct heif_image_handle* in_handle, struct heif_image** out_img, enum heif_colorspace colorspace, enum heif_chroma chroma, const struct heif_decoding_options* options); // Get the colorspace format of the image. LIBHEIF_API enum heif_colorspace heif_image_get_colorspace(const struct heif_image*); // Get the chroma format of the image. LIBHEIF_API enum heif_chroma heif_image_get_chroma_format(const struct heif_image*); // Get width of the given image channel in pixels. Returns -1 if a non-existing // channel was given. LIBHEIF_API int heif_image_get_width(const struct heif_image*,enum heif_channel channel); // Get height of the given image channel in pixels. Returns -1 if a non-existing // channel was given. LIBHEIF_API int heif_image_get_height(const struct heif_image*,enum heif_channel channel); // Get the number of bits per pixel in the given image channel. Returns -1 if // a non-existing channel was given. // Note that the number of bits per pixel may be different for each color channel. // This function returns the number of bits used for storage of each pixel. // Especially for HDR images, this is probably not what you want. Have a look at // heif_image_get_bits_per_pixel_range() instead. LIBHEIF_API int heif_image_get_bits_per_pixel(const struct heif_image*,enum heif_channel channel); // Get the number of bits per pixel in the given image channel. This function returns // the number of bits used for representing the pixel value, which might be smaller // than the number of bits used in memory. // For example, in 12bit HDR images, this function returns '12', while still 16 bits // are reserved for storage. For interleaved RGBA with 12 bit, this function also returns // '12', not '48' or '64' (heif_image_get_bits_per_pixel returns 64 in this case). LIBHEIF_API int heif_image_get_bits_per_pixel_range(const struct heif_image*,enum heif_channel channel); LIBHEIF_API int heif_image_has_channel(const struct heif_image*, enum heif_channel channel); // Get a pointer to the actual pixel data. // The 'out_stride' is returned as "bytes per line". // When out_stride is NULL, no value will be written. // Returns NULL if a non-existing channel was given. LIBHEIF_API const uint8_t* heif_image_get_plane_readonly(const struct heif_image*, enum heif_channel channel, int* out_stride); LIBHEIF_API uint8_t* heif_image_get_plane(struct heif_image*, enum heif_channel channel, int* out_stride); struct heif_scaling_options; // Currently, heif_scaling_options is not defined yet. Pass a NULL pointer. LIBHEIF_API struct heif_error heif_image_scale_image(const struct heif_image* input, struct heif_image** output, int width, int height, const struct heif_scaling_options* options); // The color profile is not attached to the image handle because we might need it // for color space transform and encoding. LIBHEIF_API struct heif_error heif_image_set_raw_color_profile(struct heif_image* image, const char* profile_type_fourcc_string, const void* profile_data, const size_t profile_size); LIBHEIF_API struct heif_error heif_image_set_nclx_color_profile(struct heif_image* image, const struct heif_color_profile_nclx* color_profile); // TODO: this function does not make any sense yet, since we currently cannot modify existing HEIF files. //LIBHEIF_API //void heif_image_remove_color_profile(struct heif_image* image); // Release heif_image. LIBHEIF_API void heif_image_release(const struct heif_image*); // ==================================================================================================== // Encoding API LIBHEIF_API struct heif_error heif_context_write_to_file(struct heif_context*, const char* filename); struct heif_writer { // API version supported by this writer int writer_api_version; // --- version 1 functions --- struct heif_error (*write)(struct heif_context* ctx, // TODO: why do we need this parameter? const void* data, size_t size, void* userdata); }; LIBHEIF_API struct heif_error heif_context_write(struct heif_context*, struct heif_writer* writer, void* userdata); // ----- encoder ----- // The encoder used for actually encoding an image. struct heif_encoder; // A description of the encoder's capabilities and name. struct heif_encoder_descriptor; // A configuration parameter of the encoder. Each encoder implementation may have a different // set of parameters. For the most common settings (e.q. quality), special functions to set // the parameters are provided. struct heif_encoder_parameter; // Get a list of available encoders. You can filter the encoders by compression format and name. // Use format_filter==heif_compression_undefined and name_filter==NULL as wildcards. // The returned list of encoders is sorted by their priority (which is a plugin property). // Note: to get the actual encoder from the descriptors returned here, use heif_context_get_encoder(). LIBHEIF_API int heif_context_get_encoder_descriptors(struct heif_context*, // TODO: why do we need this parameter? enum heif_compression_format format_filter, const char* name_filter, const struct heif_encoder_descriptor** out_encoders, int count); // Return a long, descriptive name of the encoder (including version information). LIBHEIF_API const char* heif_encoder_descriptor_get_name(const struct heif_encoder_descriptor*); // Return a short, symbolic name for identifying the encoder. // This name should stay constant over different encoder versions. LIBHEIF_API const char* heif_encoder_descriptor_get_id_name(const struct heif_encoder_descriptor*); LIBHEIF_API enum heif_compression_format heif_encoder_descriptor_get_compression_format(const struct heif_encoder_descriptor*); LIBHEIF_API int heif_encoder_descriptor_supportes_lossy_compression(const struct heif_encoder_descriptor*); LIBHEIF_API int heif_encoder_descriptor_supportes_lossless_compression(const struct heif_encoder_descriptor*); // Get an encoder instance that can be used to actually encode images from a descriptor. // TODO: why do we need the context here? I think we should remove this. You may pass a NULL context. LIBHEIF_API struct heif_error heif_context_get_encoder(struct heif_context* context, const struct heif_encoder_descriptor*, struct heif_encoder** out_encoder); // Quick check whether there is a decoder available for the given format. // Note that the decoder still may not be able to decode all variants of that format. // You will have to query that further (todo) or just try to decode and check the returned error. LIBHEIF_API int heif_have_decoder_for_format(enum heif_compression_format format); // Quick check whether there is an enoder available for the given format. // Note that the encoder may be limited to a certain subset of features (e.g. only 8 bit, only lossy). // You will have to query the specific capabilities further. LIBHEIF_API int heif_have_encoder_for_format(enum heif_compression_format format); // Get an encoder for the given compression format. If there are several encoder plugins // for this format, the encoder with the highest plugin priority will be returned. // TODO: why do we need the context here? I think we should remove this. You may pass a NULL context. LIBHEIF_API struct heif_error heif_context_get_encoder_for_format(struct heif_context* context, enum heif_compression_format format, struct heif_encoder**); // You have to release the encoder after use. LIBHEIF_API void heif_encoder_release(struct heif_encoder*); // Get the encoder name from the encoder itself. LIBHEIF_API const char* heif_encoder_get_name(const struct heif_encoder*); // --- Encoder Parameters --- // Libheif supports settings parameters through specialized functions and through // generic functions by parameter name. Sometimes, the same parameter can be set // in both ways. // We consider it best practice to use the generic parameter functions only in // dynamically generated user interfaces, as no guarantees are made that some specific // parameter names are supported by all plugins. // Set a 'quality' factor (0-100). How this is mapped to actual encoding parameters is // encoder dependent. LIBHEIF_API struct heif_error heif_encoder_set_lossy_quality(struct heif_encoder*, int quality); LIBHEIF_API struct heif_error heif_encoder_set_lossless(struct heif_encoder*, int enable); // level should be between 0 (= none) to 4 (= full) LIBHEIF_API struct heif_error heif_encoder_set_logging_level(struct heif_encoder*, int level); // Get a generic list of encoder parameters. // Each encoder may define its own, additional set of parameters. // You do not have to free the returned list. LIBHEIF_API const struct heif_encoder_parameter*const* heif_encoder_list_parameters(struct heif_encoder*); // Return the parameter name. LIBHEIF_API const char* heif_encoder_parameter_get_name(const struct heif_encoder_parameter*); enum heif_encoder_parameter_type { heif_encoder_parameter_type_integer = 1, heif_encoder_parameter_type_boolean = 2, heif_encoder_parameter_type_string = 3 }; // Return the parameter type. LIBHEIF_API enum heif_encoder_parameter_type heif_encoder_parameter_get_type(const struct heif_encoder_parameter*); LIBHEIF_API struct heif_error heif_encoder_parameter_get_valid_integer_range(const struct heif_encoder_parameter*, int* have_minimum_maximum, int* minimum, int* maximum); LIBHEIF_API struct heif_error heif_encoder_parameter_get_valid_string_values(const struct heif_encoder_parameter*, const char*const** out_stringarray); LIBHEIF_API struct heif_error heif_encoder_set_parameter_integer(struct heif_encoder*, const char* parameter_name, int value); LIBHEIF_API struct heif_error heif_encoder_get_parameter_integer(struct heif_encoder*, const char* parameter_name, int* value); // TODO: name should be changed to heif_encoder_get_valid_integer_parameter_range LIBHEIF_API // DEPRECATED. struct heif_error heif_encoder_parameter_integer_valid_range(struct heif_encoder*, const char* parameter_name, int* have_minimum_maximum, int* minimum, int* maximum); LIBHEIF_API struct heif_error heif_encoder_set_parameter_boolean(struct heif_encoder*, const char* parameter_name, int value); LIBHEIF_API struct heif_error heif_encoder_get_parameter_boolean(struct heif_encoder*, const char* parameter_name, int* value); LIBHEIF_API struct heif_error heif_encoder_set_parameter_string(struct heif_encoder*, const char* parameter_name, const char* value); LIBHEIF_API struct heif_error heif_encoder_get_parameter_string(struct heif_encoder*, const char* parameter_name, char* value, int value_size); // returns a NULL-terminated list of valid strings or NULL if all values are allowed LIBHEIF_API struct heif_error heif_encoder_parameter_string_valid_values(struct heif_encoder*, const char* parameter_name, const char*const** out_stringarray); // Set a parameter of any type to the string value. // Integer values are parsed from the string. // Boolean values can be "true"/"false"/"1"/"0" // // x265 encoder specific note: // When using the x265 encoder, you may pass any of its parameters by // prefixing the parameter name with 'x265:'. Hence, to set the 'ctu' parameter, // you will have to set 'x265:ctu' in libheif. // Note that there is no checking for valid parameters when using the prefix. LIBHEIF_API struct heif_error heif_encoder_set_parameter(struct heif_encoder*, const char* parameter_name, const char* value); // Get the current value of a parameter of any type as a human readable string. // The returned string is compatible with heif_encoder_set_parameter(). LIBHEIF_API struct heif_error heif_encoder_get_parameter(struct heif_encoder*, const char* parameter_name, char* value_ptr, int value_size); // Query whether a specific parameter has a default value. LIBHEIF_API int heif_encoder_has_default(struct heif_encoder*, const char* parameter_name); struct heif_encoding_options { uint8_t version; // version 1 options uint8_t save_alpha_channel; // default: true }; LIBHEIF_API struct heif_encoding_options* heif_encoding_options_alloc(); LIBHEIF_API void heif_encoding_options_free(struct heif_encoding_options*); // Compress the input image. // Returns a handle to the coded image in 'out_image_handle' unless out_image_handle = NULL. // 'options' should be NULL for now. // The first image added to the context is also automatically set the primary image, but // you can change the primary image later with heif_context_set_primary_image(). LIBHEIF_API struct heif_error heif_context_encode_image(struct heif_context*, const struct heif_image* image, struct heif_encoder* encoder, const struct heif_encoding_options* options, struct heif_image_handle** out_image_handle); LIBHEIF_API struct heif_error heif_context_set_primary_image(struct heif_context*, struct heif_image_handle* image_handle); // Encode the 'image' as a scaled down thumbnail image. // The image is scaled down to fit into a square area of width 'bbox_size'. // If the input image is already so small that it fits into this bounding box, no thumbnail // image is encoded and NULL is returned in 'out_thumb_image_handle'. // No error is returned in this case. // The encoded thumbnail is automatically assigned to the 'master_image_handle'. Hence, you // do not have to call heif_context_assign_thumbnail(). LIBHEIF_API struct heif_error heif_context_encode_thumbnail(struct heif_context*, const struct heif_image* image, const struct heif_image_handle* master_image_handle, struct heif_encoder* encoder, const struct heif_encoding_options* options, int bbox_size, struct heif_image_handle** out_thumb_image_handle); // Assign 'thumbnail_image' as the thumbnail image of 'master_image'. LIBHEIF_API struct heif_error heif_context_assign_thumbnail(struct heif_context*, const struct heif_image_handle* master_image, const struct heif_image_handle* thumbnail_image); // Add EXIF metadata to an image. LIBHEIF_API struct heif_error heif_context_add_exif_metadata(struct heif_context*, const struct heif_image_handle* image_handle, const void* data, int size); // Add XMP metadata to an image. LIBHEIF_API struct heif_error heif_context_add_XMP_metadata(struct heif_context*, const struct heif_image_handle* image_handle, const void* data, int size); // Add generic, proprietary metadata to an image. You have to specify an 'item_type' that will // identify your metadata. 'content_type' can be an additional type, or it can be NULL. // For example, this function can be used to add IPTC metadata (IIM stream, not XMP) to an image. // Even not standard, we propose to store IPTC data with item type="iptc", content_type=NULL. LIBHEIF_API struct heif_error heif_context_add_generic_metadata(struct heif_context* ctx, const struct heif_image_handle* image_handle, const void* data, int size, const char* item_type, const char* content_type); // --- heif_image allocation // Create a new image of the specified resolution and colorspace. // Note: no memory for the actual image data is reserved yet. You have to use // heif_image_add_plane() to add the image planes required by your colorspace/chroma. LIBHEIF_API struct heif_error heif_image_create(int width, int height, enum heif_colorspace colorspace, enum heif_chroma chroma, struct heif_image** out_image); // The indicated bit_depth corresponds to the bit depth per channel. // I.e. for interleaved formats like RRGGBB, the bit_depth would be, e.g., 10 bit instead // of 30 bits or 3*16=48 bits. // For backward compatibility, one can also specify 24bits for RGB and 32bits for RGBA, // instead of the preferred 8 bits. LIBHEIF_API struct heif_error heif_image_add_plane(struct heif_image* image, enum heif_channel channel, int width, int height, int bit_depth); // --- register plugins struct heif_decoder_plugin; struct heif_encoder_plugin; // DEPRECATED. Use heif_register_decoder_plugin(const struct heif_decoder_plugin*) instead. LIBHEIF_API struct heif_error heif_register_decoder(struct heif_context* heif, const struct heif_decoder_plugin*); LIBHEIF_API struct heif_error heif_register_decoder_plugin(const struct heif_decoder_plugin*); LIBHEIF_API struct heif_error heif_register_encoder_plugin(const struct heif_encoder_plugin*); #ifdef __cplusplus } #endif #endif libheif-1.6.1/libheif/heif_plugin.cc0000644000221000001440000000264113341211665014235 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "heif_plugin.h" #include "heif.h" struct heif_error heif_error_ok = { heif_error_Ok, heif_suberror_Unspecified, "Success" }; struct heif_error heif_error_unsupported_parameter = { heif_error_Usage_error, heif_suberror_Unsupported_parameter, "Unsupported encoder parameter" }; struct heif_error heif_error_invalid_parameter_value = { heif_error_Usage_error, heif_suberror_Invalid_parameter_value, "Invalid parameter value" }; libheif-1.6.1/libheif/logging.h0000644000221000001440000000270313576430032013234 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_LOGGING_H #define LIBHEIF_LOGGING_H #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #include #include namespace heif { class Indent { public: Indent() : m_indent(0) { } int get_indent() const { return m_indent; } void operator++(int) { m_indent++; } void operator--(int) { m_indent--; if (m_indent<0) m_indent=0; } private: int m_indent; }; inline std::ostream& operator<<(std::ostream& ostr, const Indent& indent) { for (int i=0;i * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_LIMITS_H #define LIBHEIF_HEIF_LIMITS_H #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include static const size_t MAX_CHILDREN_PER_BOX = 20000; static const int MAX_ILOC_ITEMS = 20000; static const int MAX_ILOC_EXTENTS_PER_ITEM = 32; static const int MAX_MEMORY_BLOCK_SIZE = 50*1024*1024; // 50 MB // Artificial limit to avoid allocating too much memory. // 32768^2 = 1.5 GB as YUV-4:2:0 or 4 GB as RGB32 static const int MAX_IMAGE_WIDTH = 32768; static const int MAX_IMAGE_HEIGHT = 32768; // Maximum nesting level of boxes in input files. // We put a limit on this to avoid unlimited stack usage by malicious input files. static const int MAX_BOX_NESTING_LEVEL = 20; static const int MAX_BOX_SIZE = 0x7FFFFFFF; // 2 GB static const int64_t MAX_LARGE_BOX_SIZE = 0x0FFFFFFFFFFFFFFF; static const int64_t MAX_FILE_POS = 0x007FFFFFFFFFFFFFLL; // maximum file position static const int MAX_FRACTION_VALUE = 0x10000; #endif // LIBHEIF_HEIF_LIMITS_H libheif-1.6.1/libheif/heif_encoder_x265.h0000644000221000001440000000255113341211665015004 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_ENCODER_X265_H #define LIBHEIF_HEIF_ENCODER_X265_H /* Image sizes in HEVC: since HEVC does not allow for odd image dimensions when using chroma 4:2:0, our strategy is as follows. - Images with odd dimensions are extended with an extra row/column which contains a copy of the border. - The HEVC image size generated by x265 is rounded up to the CTU size (?) and the conformance window has to be respected. - We add an additional crop transform to remove the extra row/column. (TODO) */ const struct heif_encoder_plugin* get_encoder_plugin_x265(); #endif libheif-1.6.1/libheif/heif_image.cc0000644000221000001440000005112013576157752014035 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "heif_image.h" #include "heif_colorconversion.h" #include #include #include using namespace heif; int heif::chroma_h_subsampling(heif_chroma c) { switch (c) { case heif_chroma_monochrome: case heif_chroma_444: return 1; case heif_chroma_420: case heif_chroma_422: return 2; case heif_chroma_interleaved_RGB: case heif_chroma_interleaved_RGBA: default: assert(false); return 0; } } int heif::chroma_v_subsampling(heif_chroma c) { switch (c) { case heif_chroma_monochrome: case heif_chroma_444: case heif_chroma_422: return 1; case heif_chroma_420: return 2; case heif_chroma_interleaved_RGB: case heif_chroma_interleaved_RGBA: default: assert(false); return 0; } } HeifPixelImage::HeifPixelImage() { } HeifPixelImage::~HeifPixelImage() { for (auto& iter : m_planes) { delete[] iter.second.allocated_mem; } } static int num_interleaved_pixels_per_plane(heif_chroma chroma) { switch (chroma) { case heif_chroma_undefined: case heif_chroma_monochrome: case heif_chroma_420: case heif_chroma_422: case heif_chroma_444: return 1; case heif_chroma_interleaved_RGB: case heif_chroma_interleaved_RRGGBB_BE: case heif_chroma_interleaved_RRGGBB_LE: return 3; case heif_chroma_interleaved_RGBA: case heif_chroma_interleaved_RRGGBBAA_BE: case heif_chroma_interleaved_RRGGBBAA_LE: return 4; } assert(false); return 0; } void HeifPixelImage::create(int width,int height, heif_colorspace colorspace, heif_chroma chroma) { m_width = width; m_height = height; m_colorspace = colorspace; m_chroma = chroma; } bool HeifPixelImage::add_plane(heif_channel channel, int width, int height, int bit_depth) { assert(width >= 0); assert(height >= 0); assert(bit_depth >= 1); // use 16 byte alignment int alignment = 16; // must be power of two ImagePlane plane; plane.width = width; plane.height = height; // for backwards compatibility, allow for 24/32 bits for RGB/RGBA interleaved chromas if (m_chroma == heif_chroma_interleaved_RGB && bit_depth==24) { bit_depth = 8; } if (m_chroma == heif_chroma_interleaved_RGBA && bit_depth==32) { bit_depth = 8; } plane.bit_depth = bit_depth; int bytes_per_component = (bit_depth+7)/8; int bytes_per_pixel = num_interleaved_pixels_per_plane(m_chroma) * bytes_per_component; plane.stride = width * bytes_per_pixel; plane.stride = (plane.stride+alignment-1) & ~(alignment-1); try { plane.allocated_mem = new uint8_t[height * plane.stride + alignment-1]; plane.mem = plane.allocated_mem; // shift beginning of image data to aligned memory position auto mem_start_addr = (uint64_t)plane.mem; auto mem_start_offset = (mem_start_addr & (alignment-1)); if (mem_start_offset != 0) { plane.mem += alignment - mem_start_offset; } m_planes.insert(std::make_pair(channel, std::move(plane))); } catch (const std::bad_alloc& excpt) { return false; } return true; } bool HeifPixelImage::has_channel(heif_channel channel) const { return (m_planes.find(channel) != m_planes.end()); } bool HeifPixelImage::has_alpha() const { return has_channel(heif_channel_Alpha) || get_chroma_format() == heif_chroma_interleaved_RGBA || get_chroma_format() == heif_chroma_interleaved_RRGGBBAA_BE || get_chroma_format() == heif_chroma_interleaved_RRGGBBAA_LE; } int HeifPixelImage::get_width(enum heif_channel channel) const { auto iter = m_planes.find(channel); if (iter == m_planes.end()) { return -1; } return iter->second.width; } int HeifPixelImage::get_height(enum heif_channel channel) const { auto iter = m_planes.find(channel); if (iter == m_planes.end()) { return -1; } return iter->second.height; } std::set HeifPixelImage::get_channel_set() const { std::set channels; for (const auto& plane : m_planes) { channels.insert(plane.first); } return channels; } int HeifPixelImage::get_storage_bits_per_pixel(enum heif_channel channel) const { if (channel == heif_channel_interleaved) { auto chroma = get_chroma_format(); switch (chroma) { case heif_chroma_interleaved_RGB: return 24; case heif_chroma_interleaved_RGBA: return 32; case heif_chroma_interleaved_RRGGBB_BE: case heif_chroma_interleaved_RRGGBB_LE: return 48; case heif_chroma_interleaved_RRGGBBAA_BE: case heif_chroma_interleaved_RRGGBBAA_LE: return 64; default: return -1; // invalid channel/chroma specification } } else { return (get_bits_per_pixel(channel) + 7) & ~7; } } int HeifPixelImage::get_bits_per_pixel(enum heif_channel channel) const { auto iter = m_planes.find(channel); if (iter == m_planes.end()) { return -1; } return iter->second.bit_depth; } uint8_t* HeifPixelImage::get_plane(enum heif_channel channel, int* out_stride) { auto iter = m_planes.find(channel); if (iter == m_planes.end()) { return nullptr; } if (out_stride) { *out_stride = iter->second.stride; } return iter->second.mem; } const uint8_t* HeifPixelImage::get_plane(enum heif_channel channel, int* out_stride) const { auto iter = m_planes.find(channel); if (iter == m_planes.end()) { return nullptr; } if (out_stride) { *out_stride = iter->second.stride; } return iter->second.mem; } void HeifPixelImage::copy_new_plane_from(const std::shared_ptr& src_image, heif_channel src_channel, heif_channel dst_channel) { int width = src_image->get_width(src_channel); int height = src_image->get_height(src_channel); add_plane(dst_channel, width, height, src_image->get_bits_per_pixel(src_channel)); uint8_t* dst; int dst_stride=0; const uint8_t* src; int src_stride=0; src = src_image->get_plane(src_channel, &src_stride); dst = get_plane(dst_channel, &dst_stride); int bpl = width * (src_image->get_storage_bits_per_pixel(src_channel) / 8); for (int y=0;y source, heif_channel src_channel, heif_channel dst_channel) { // TODO: check that dst_channel does not exist yet ImagePlane plane = source->m_planes[src_channel]; source->m_planes.erase(src_channel); m_planes.insert( std::make_pair(dst_channel, plane) ); } static bool is_chroma_with_alpha(heif_chroma chroma) { switch (chroma) { case heif_chroma_undefined: case heif_chroma_monochrome: case heif_chroma_420: case heif_chroma_422: case heif_chroma_444: case heif_chroma_interleaved_RGB: case heif_chroma_interleaved_RRGGBB_BE: case heif_chroma_interleaved_RRGGBB_LE: return false; case heif_chroma_interleaved_RGBA: case heif_chroma_interleaved_RRGGBBAA_BE: case heif_chroma_interleaved_RRGGBBAA_LE: return true; } assert(false); return false; } std::shared_ptr heif::convert_colorspace(const std::shared_ptr& input, heif_colorspace target_colorspace, heif_chroma target_chroma) { ColorState input_state; input_state.colorspace = input->get_colorspace(); input_state.chroma = input->get_chroma_format(); input_state.has_alpha = input->has_channel(heif_channel_Alpha) || is_chroma_with_alpha(input->get_chroma_format()); std::set channels = input->get_channel_set(); assert(!channels.empty()); input_state.bits_per_pixel = input->get_bits_per_pixel(*(channels.begin())); ColorState output_state = input_state; output_state.colorspace = target_colorspace; output_state.chroma = target_chroma; // If we convert to an interleaved format, we want alpha only if present in the // interleaved output format. // For planar formats, we include an alpha plane when included in the input. if (num_interleaved_pixels_per_plane(target_chroma)>1) { output_state.has_alpha = is_chroma_with_alpha(target_chroma); } else { output_state.has_alpha = input_state.has_alpha; } ColorConversionPipeline pipeline; bool success = pipeline.construct_pipeline(input_state, output_state); if (!success) { return nullptr; } return pipeline.convert_image(input); } Error HeifPixelImage::rotate_ccw(int angle_degrees, std::shared_ptr& out_img) { // --- create output image (or simply reuse existing image) if (angle_degrees==0) { out_img = shared_from_this(); return Error::Ok; } int out_width = m_width; int out_height = m_height; if (angle_degrees==90 || angle_degrees==270) { std::swap(out_width, out_height); } out_img = std::make_shared(); out_img->create(out_width, out_height, m_colorspace, m_chroma); // --- rotate all channels for (const auto& plane_pair : m_planes) { heif_channel channel = plane_pair.first; const ImagePlane& plane = plane_pair.second; if (plane.bit_depth != 8) { return Error(heif_error_Unsupported_feature, heif_suberror_Unspecified, "Can currently only rotate images with 8 bits per pixel"); } int out_plane_width = plane.width; int out_plane_height = plane.height; if (angle_degrees==90 || angle_degrees==270) { std::swap(out_plane_width, out_plane_height); } out_img->add_plane(channel, out_plane_width, out_plane_height, plane.bit_depth); int w = plane.width; int h = plane.height; int in_stride = plane.stride; const uint8_t* in_data = plane.mem; int out_stride = 0; uint8_t* out_data = out_img->get_plane(channel, &out_stride); if (plane.bit_depth==8) { if (angle_degrees==270) { for (int x=0;x& out_img) const { out_img = std::make_shared(); out_img->create(right-left+1, bottom-top+1, m_colorspace, m_chroma); // --- crop all channels for (const auto& plane_pair : m_planes) { heif_channel channel = plane_pair.first; const ImagePlane& plane = plane_pair.second; if (false && plane.bit_depth != 8) { return Error(heif_error_Unsupported_feature, heif_suberror_Unspecified, "Can currently only crop images with 8 bits per pixel"); } int w = plane.width; int h = plane.height; int plane_left = left * w/m_width; int plane_right = right * w/m_width; int plane_top = top * h/m_height; int plane_bottom = bottom * h/m_height; out_img->add_plane(channel, plane_right - plane_left + 1, plane_bottom - plane_top + 1, plane.bit_depth); int in_stride = plane.stride; const uint8_t* in_data = plane.mem; int out_stride = 0; uint8_t* out_data = out_img->get_plane(channel, &out_stride); if (plane.bit_depth==8) { for (int y=plane_top;y<=plane_bottom;y++) { memcpy( &out_data[(y-plane_top)*out_stride], &in_data[y*in_stride + plane_left], plane_right - plane_left + 1 ); } } else { for (int y=plane_top;y<=plane_bottom;y++) { memcpy( &out_data[(y-plane_top)*out_stride], &in_data[y*in_stride + plane_left*2], (plane_right - plane_left + 1)*2 ); } } } return Error::Ok; } Error HeifPixelImage::fill_RGB_16bit(uint16_t r, uint16_t g, uint16_t b, uint16_t a) { for (const auto& channel : { heif_channel_R, heif_channel_G, heif_channel_B, heif_channel_Alpha } ) { const auto plane_iter = m_planes.find(channel); if (plane_iter == m_planes.end()) { // alpha channel is optional, R,G,B is required if (channel == heif_channel_Alpha) { continue; } return Error(heif_error_Usage_error, heif_suberror_Nonexisting_image_channel_referenced); } ImagePlane& plane = plane_iter->second; if (plane.bit_depth != 8) { return Error(heif_error_Unsupported_feature, heif_suberror_Unspecified, "Can currently only fill images with 8 bits per pixel"); } int h = plane.height; int stride = plane.stride; uint8_t* data = plane.mem; uint16_t val16; switch (channel) { case heif_channel_R: val16=r; break; case heif_channel_G: val16=g; break; case heif_channel_B: val16=b; break; case heif_channel_Alpha: val16=a; break; default: // initialization only to avoid warning of uninitalized variable. val16 = 0; // Should already be detected by the check above ("m_planes.find"). assert(false); } uint8_t val8 = static_cast(val16>>8); memset(data, val8, stride*h); } return Error::Ok; } Error HeifPixelImage::overlay(std::shared_ptr& overlay, int dx,int dy) { std::set channels = overlay->get_channel_set(); bool has_alpha = overlay->has_channel(heif_channel_Alpha); //bool has_alpha_me = has_channel(heif_channel_Alpha); int alpha_stride=0; uint8_t* alpha_p; alpha_p = overlay->get_plane(heif_channel_Alpha, &alpha_stride); for (heif_channel channel : channels) { if (!has_channel(channel)) { continue; } int in_stride=0; const uint8_t* in_p; int out_stride=0; uint8_t* out_p; in_p = overlay->get_plane(channel, &in_stride); out_p = get_plane(channel, &out_stride); int in_w = overlay->get_width(channel); int in_h = overlay->get_height(channel); assert(in_w >= 0); assert(in_h >= 0); int out_w = get_width(channel); int out_h = get_height(channel); assert(out_w >= 0); assert(out_h >= 0); // overlay image extends past the right border -> cut width for copy if (dx+in_w > out_w) { in_w = out_w - dx; } // overlay image extends past the bottom border -> cut height for copy if (dy+in_h > out_h) { in_h = out_h - dy; } // overlay image completely outside right or bottom border -> do not copy if (in_w < 0 || in_h < 0) { return Error(heif_error_Invalid_input, heif_suberror_Overlay_image_outside_of_canvas, "Overlay image outside of right or bottom canvas border"); } // calculate top-left point where to start copying in source and destination int in_x0 = 0; int in_y0 = 0; int out_x0 = dx; int out_y0 = dy; // overlay image started outside of left border // -> move start into the image and start at left output column if (dx<0) { in_x0 = -dx; out_x0=0; } // overlay image started outside of top border // -> move start into the image and start at top output row if (dy<0) { in_y0 = -dy; out_y0=0; } // if overlay image is completely outside at left border, do not copy anything. if (in_w <= in_x0 || in_h <= in_y0) { return Error(heif_error_Invalid_input, heif_suberror_Overlay_image_outside_of_canvas, "Overlay image outside of left or top canvas border"); } for (int y=in_y0; y& out_img, int width,int height) const { out_img = std::make_shared(); out_img->create(width, height, m_colorspace, m_chroma); // --- scale all channels for (const auto& plane_pair : m_planes) { heif_channel channel = plane_pair.first; const ImagePlane& plane = plane_pair.second; const int bpp = get_storage_bits_per_pixel(channel)/8; int in_w = plane.width; int in_h = plane.height; int out_w = in_w * width/m_width; int out_h = in_h * height/m_height; out_img->add_plane(channel, out_w, out_h, plane.bit_depth); if (!width || !height) { continue; } int in_stride = plane.stride; const uint8_t* in_data = plane.mem; int out_stride = 0; uint8_t* out_data = out_img->get_plane(channel, &out_stride); for (int y=0;y $ $ ) target_compile_definitions(${PROJECT_NAME} PUBLIC LIBHEIF_EXPORTS HAVE_VISIBILITY ) if(LIBDE265_FOUND) target_compile_definitions(${PROJECT_NAME} PRIVATE HAVE_LIBDE265=1) target_sources(${PROJECT_NAME} PRIVATE heif_decoder_libde265.cc heif_decoder_libde265.h ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LIBDE265_CFLAGS}") if (NOT "${LIBDE265_LIBRARY_DIRS}" STREQUAL "") set(LIBDE265_LINKDIR "-L${LIBDE265_LIBRARY_DIRS}") endif() target_link_libraries(${PROJECT_NAME} PRIVATE ${LIBDE265_LIBRARIES} ${LIBDE265_LINKDIR}) install(FILES heif_decoder_libde265.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}) endif() if(X265_FOUND) target_compile_definitions(${PROJECT_NAME} PRIVATE HAVE_X265=1) target_sources(${PROJECT_NAME} PRIVATE heif_encoder_x265.cc heif_encoder_x265.h ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${X265_CFLAGS}") if (NOT "${X265_LIBRARY_DIRS}" STREQUAL "") set(X265_LINKDIR "-L${X265_LIBRARY_DIRS}") endif() target_link_libraries(${PROJECT_NAME} PRIVATE ${X265_LIBRARIES} ${X265_LINKDIR}) install(FILES heif_encoder_x265.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}) endif() write_basic_package_version_file(${PROJECT_NAME}-config-version.cmake COMPATIBILITY ExactVersion) install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}-config RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) install(FILES ${libheif_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}) install(EXPORT ${PROJECT_NAME}-config DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") libheif-1.6.1/libheif/heif_file.cc0000644000221000001440000004202313576157752013674 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "heif_file.h" #include "heif_image.h" #include #include #include #include #include #include using namespace heif; HeifFile::HeifFile() { } HeifFile::~HeifFile() { } std::vector HeifFile::get_item_IDs() const { std::vector IDs; for (const auto& infe : m_infe_boxes) { IDs.push_back(infe.second->get_item_ID()); } return IDs; } Error HeifFile::read_from_file(const char* input_filename) { auto input_stream_istr = std::unique_ptr(new std::ifstream(input_filename, std::ios_base::binary)); if (!input_stream_istr->good()) { std::stringstream sstr; sstr << "Error opening file: " << strerror(errno) << " (" << errno << ")\n"; return Error(heif_error_Input_does_not_exist, heif_suberror_Unspecified, sstr.str()); } auto input_stream = std::make_shared(std::move(input_stream_istr)); return read(input_stream); } Error HeifFile::read_from_memory(const void* data, size_t size, bool copy) { auto input_stream = std::make_shared((const uint8_t*)data, size, copy); return read(input_stream); } Error HeifFile::read(std::shared_ptr reader) { m_input_stream = reader; uint64_t maxSize = std::numeric_limits::max(); heif::BitstreamRange range(m_input_stream, maxSize); Error error = parse_heif_file(range); return error; } void HeifFile::new_empty_file() { m_input_stream.reset(); m_top_level_boxes.clear(); m_ftyp_box = std::make_shared(); m_hdlr_box = std::make_shared(); m_meta_box = std::make_shared(); m_ipco_box = std::make_shared(); m_ipma_box = std::make_shared(); m_iloc_box = std::make_shared(); m_iinf_box = std::make_shared(); m_iprp_box = std::make_shared(); m_pitm_box = std::make_shared(); m_meta_box->append_child_box(m_hdlr_box); m_meta_box->append_child_box(m_pitm_box); m_meta_box->append_child_box(m_iloc_box); m_meta_box->append_child_box(m_iinf_box); m_meta_box->append_child_box(m_iprp_box); m_iprp_box->append_child_box(m_ipco_box); m_iprp_box->append_child_box(m_ipma_box); m_infe_boxes.clear(); m_top_level_boxes.push_back(m_ftyp_box); m_top_level_boxes.push_back(m_meta_box); m_ftyp_box->set_major_brand(fourcc("heic")); m_ftyp_box->set_minor_version(0); m_ftyp_box->add_compatible_brand(fourcc("mif1")); m_ftyp_box->add_compatible_brand(fourcc("heic")); } void HeifFile::write(StreamWriter& writer) { for (auto& box : m_top_level_boxes) { box->derive_box_version_recursive(); box->write(writer); } m_iloc_box->write_mdat_after_iloc(writer); } std::string HeifFile::debug_dump_boxes() const { std::stringstream sstr; bool first=true; for (const auto& box : m_top_level_boxes) { // dump box content for debugging if (first) { first = false; } else { sstr << "\n"; } heif::Indent indent; sstr << box->dump(indent); } return sstr.str(); } Error HeifFile::parse_heif_file(BitstreamRange& range) { // --- read all top-level boxes for (;;) { std::shared_ptr box; Error error = Box::read(range, &box); // When an EOF error is returned, this is not really a fatal exception, // but simply the indication that we reached the end of the file. if (error != Error::Ok || range.error() || range.eof()) { break; } m_top_level_boxes.push_back(box); // extract relevant boxes (ftyp, meta) if (box->get_short_type() == fourcc("meta")) { m_meta_box = std::dynamic_pointer_cast(box); } if (box->get_short_type() == fourcc("ftyp")) { m_ftyp_box = std::dynamic_pointer_cast(box); } } // --- check whether this is a HEIF file and its structural format if (!m_ftyp_box) { return Error(heif_error_Invalid_input, heif_suberror_No_ftyp_box); } if (!m_ftyp_box->has_compatible_brand(fourcc("heic"))) { std::stringstream sstr; sstr << "File does not support the 'heic' brand.\n"; return Error(heif_error_Unsupported_filetype, heif_suberror_Unspecified, sstr.str()); } if (!m_meta_box) { return Error(heif_error_Invalid_input, heif_suberror_No_meta_box); } m_hdlr_box = std::dynamic_pointer_cast(m_meta_box->get_child_box(fourcc("hdlr"))); if (!m_hdlr_box) { return Error(heif_error_Invalid_input, heif_suberror_No_hdlr_box); } if (m_hdlr_box->get_handler_type() != fourcc("pict")) { return Error(heif_error_Invalid_input, heif_suberror_No_pict_handler); } // --- find mandatory boxes needed for image decoding m_pitm_box = std::dynamic_pointer_cast(m_meta_box->get_child_box(fourcc("pitm"))); if (!m_pitm_box) { return Error(heif_error_Invalid_input, heif_suberror_No_pitm_box); } m_iprp_box = std::dynamic_pointer_cast(m_meta_box->get_child_box(fourcc("iprp"))); if (!m_iprp_box) { return Error(heif_error_Invalid_input, heif_suberror_No_iprp_box); } m_ipco_box = std::dynamic_pointer_cast(m_iprp_box->get_child_box(fourcc("ipco"))); if (!m_ipco_box) { return Error(heif_error_Invalid_input, heif_suberror_No_ipco_box); } m_ipma_box = std::dynamic_pointer_cast(m_iprp_box->get_child_box(fourcc("ipma"))); if (!m_ipma_box) { return Error(heif_error_Invalid_input, heif_suberror_No_ipma_box); } m_iloc_box = std::dynamic_pointer_cast(m_meta_box->get_child_box(fourcc("iloc"))); if (!m_iloc_box) { return Error(heif_error_Invalid_input, heif_suberror_No_iloc_box); } m_idat_box = std::dynamic_pointer_cast(m_meta_box->get_child_box(fourcc("idat"))); m_iref_box = std::dynamic_pointer_cast(m_meta_box->get_child_box(fourcc("iref"))); m_iinf_box = std::dynamic_pointer_cast(m_meta_box->get_child_box(fourcc("iinf"))); if (!m_iinf_box) { return Error(heif_error_Invalid_input, heif_suberror_No_iinf_box); } // --- build list of images std::vector> infe_boxes = m_iinf_box->get_child_boxes(fourcc("infe")); for (auto& box : infe_boxes) { std::shared_ptr infe_box = std::dynamic_pointer_cast(box); if (!infe_box) { return Error(heif_error_Invalid_input, heif_suberror_No_infe_box); } m_infe_boxes.insert( std::make_pair(infe_box->get_item_ID(), infe_box) ); } return Error::Ok; } bool HeifFile::image_exists(heif_item_id ID) const { auto image_iter = m_infe_boxes.find(ID); return image_iter != m_infe_boxes.end(); } std::shared_ptr HeifFile::get_infe(heif_item_id ID) const { // --- get the image from the list of all images auto image_iter = m_infe_boxes.find(ID); if (image_iter == m_infe_boxes.end()) { return nullptr; } return image_iter->second; } std::string HeifFile::get_item_type(heif_item_id ID) const { auto infe_box = get_infe(ID); if (!infe_box) { return ""; } return infe_box->get_item_type(); } std::string HeifFile::get_content_type(heif_item_id ID) const { auto infe_box = get_infe(ID); if (!infe_box) { return ""; } return infe_box->get_content_type(); } Error HeifFile::get_properties(heif_item_id imageID, std::vector& properties) const { if (!m_ipco_box) { return Error(heif_error_Invalid_input, heif_suberror_No_ipco_box); } else if (!m_ipma_box) { return Error(heif_error_Invalid_input, heif_suberror_No_ipma_box); } return m_ipco_box->get_properties_for_item_ID(imageID, m_ipma_box, properties); } heif_chroma HeifFile::get_image_chroma_from_configuration(heif_item_id imageID) const { auto box = m_ipco_box->get_property_for_item_ID(imageID, m_ipma_box, fourcc("hvcC")); std::shared_ptr hvcC_box = std::dynamic_pointer_cast(box); if (hvcC_box) { return (heif_chroma)(hvcC_box->get_configuration().chroma_format); } assert(false); return heif_chroma_undefined; } int HeifFile::get_luma_bits_per_pixel_from_configuration(heif_item_id imageID) const { auto box = m_ipco_box->get_property_for_item_ID(imageID, m_ipma_box, fourcc("hvcC")); std::shared_ptr hvcC_box = std::dynamic_pointer_cast(box); if (hvcC_box) { return hvcC_box->get_configuration().bit_depth_luma; } assert(false); return -1; } int HeifFile::get_chroma_bits_per_pixel_from_configuration(heif_item_id imageID) const { auto box = m_ipco_box->get_property_for_item_ID(imageID, m_ipma_box, fourcc("hvcC")); std::shared_ptr hvcC_box = std::dynamic_pointer_cast(box); if (hvcC_box) { return hvcC_box->get_configuration().bit_depth_chroma; } assert(false); return -1; } Error HeifFile::get_compressed_image_data(heif_item_id ID, std::vector* data) const { #if ENABLE_PARALLEL_TILE_DECODING std::lock_guard guard(m_read_mutex); #endif if (!image_exists(ID)) { return Error(heif_error_Usage_error, heif_suberror_Nonexisting_item_referenced); } auto infe_box = get_infe(ID); if (!infe_box) { return Error(heif_error_Usage_error, heif_suberror_Nonexisting_item_referenced); } std::string item_type = infe_box->get_item_type(); std::string content_type = infe_box->get_content_type(); // --- get coded image data pointers auto items = m_iloc_box->get_items(); const Box_iloc::Item* item = nullptr; for (const auto& i : items) { if (i.item_ID == ID) { item = &i; break; } } if (!item) { std::stringstream sstr; sstr << "Item with ID " << ID << " has no compressed data"; return Error(heif_error_Invalid_input, heif_suberror_No_item_data, sstr.str()); } Error error = Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_codec); if (item_type == "hvc1") { // --- --- --- HEVC // --- get properties for this image std::vector properties; Error err = m_ipco_box->get_properties_for_item_ID(ID, m_ipma_box, properties); if (err) { return err; } // --- get codec configuration std::shared_ptr hvcC_box; for (auto& prop : properties) { if (prop.property->get_short_type() == fourcc("hvcC")) { hvcC_box = std::dynamic_pointer_cast(prop.property); if (hvcC_box) { break; } } } if (!hvcC_box) { // Should always have an hvcC box, because we are checking this in // heif_context::interpret_heif_file() assert(false); return Error(heif_error_Invalid_input, heif_suberror_No_hvcC_box); } else if (!hvcC_box->get_headers(data)) { return Error(heif_error_Invalid_input, heif_suberror_No_item_data); } error = m_iloc_box->read_data(*item, m_input_stream, m_idat_box, data); } else if (true || // fallback case for all kinds of generic metadata (e.g. 'iptc') item_type == "grid" || item_type == "iovl" || item_type == "Exif" || (item_type == "mime" && content_type=="application/rdf+xml")) { error = m_iloc_box->read_data(*item, m_input_stream, m_idat_box, data); } if (error != Error::Ok) { return error; } return Error::Ok; } heif_item_id HeifFile::get_unused_item_id() const { for (heif_item_id id = 1; ; id++) { bool id_exists = false; for (const auto& infe : m_infe_boxes) { if (infe.second->get_item_ID() == id) { id_exists = true; break; } } if (!id_exists) { return id; } } assert(false); // should never be reached return 0; } heif_item_id HeifFile::add_new_image(const char* item_type) { auto box = add_new_infe_box(item_type); return box->get_item_ID(); } std::shared_ptr HeifFile::add_new_infe_box(const char* item_type) { heif_item_id id = get_unused_item_id(); auto infe = std::make_shared(); infe->set_item_ID(id); infe->set_hidden_item(false); infe->set_item_type(item_type); m_infe_boxes[id] = infe; m_iinf_box->append_child_box(infe); return infe; } void HeifFile::add_ispe_property(heif_item_id id, uint32_t width, uint32_t height) { auto ispe = std::make_shared(); ispe->set_size(width,height); int index = m_ipco_box->append_child_box(ispe); m_ipma_box->add_property_for_item_ID(id, Box_ipma::PropertyAssociation { false, uint16_t(index+1) }); } void HeifFile::add_hvcC_property(heif_item_id id) { auto hvcC = std::make_shared(); int index = m_ipco_box->append_child_box(hvcC); m_ipma_box->add_property_for_item_ID(id, Box_ipma::PropertyAssociation { true, uint16_t(index+1) }); } Error HeifFile::append_hvcC_nal_data(heif_item_id id, const std::vector& nal_data) { auto hvcC = std::dynamic_pointer_cast(m_ipco_box->get_property_for_item_ID(id, m_ipma_box, fourcc("hvcC"))); if (hvcC) { hvcC->append_nal_data(nal_data); return Error::Ok; } else { // Should always have an hvcC box, because we are checking this in // heif_context::interpret_heif_file() assert(false); return Error(heif_error_Usage_error, heif_suberror_No_hvcC_box); } } Error HeifFile::set_hvcC_configuration(heif_item_id id, const Box_hvcC::configuration& config) { auto hvcC = std::dynamic_pointer_cast(m_ipco_box->get_property_for_item_ID(id, m_ipma_box, fourcc("hvcC"))); if (hvcC) { hvcC->set_configuration(config); return Error::Ok; } else { return Error(heif_error_Usage_error, heif_suberror_No_hvcC_box); } } Error HeifFile::append_hvcC_nal_data(heif_item_id id, const uint8_t* data, size_t size) { std::vector properties; auto hvcC = std::dynamic_pointer_cast(m_ipco_box->get_property_for_item_ID(id, m_ipma_box, fourcc("hvcC"))); if (hvcC) { hvcC->append_nal_data(data,size); return Error::Ok; } else { return Error(heif_error_Usage_error, heif_suberror_No_hvcC_box); } } void HeifFile::append_iloc_data(heif_item_id id, const std::vector& nal_packets) { m_iloc_box->append_data(id, nal_packets); } void HeifFile::append_iloc_data_with_4byte_size(heif_item_id id, const uint8_t* data, size_t size) { std::vector nal; nal.resize(size + 4); nal[0] = (uint8_t)((size>>24) & 0xFF); nal[1] = (uint8_t)((size>>16) & 0xFF); nal[2] = (uint8_t)((size>> 8) & 0xFF); nal[3] = (uint8_t)((size>> 0) & 0xFF); memcpy(nal.data()+4, data, size); append_iloc_data(id, nal); } void HeifFile::set_primary_item_id(heif_item_id id) { m_pitm_box->set_item_ID(id); } void HeifFile::add_iref_reference(uint32_t type, heif_item_id from, std::vector to) { if (!m_iref_box) { m_iref_box = std::make_shared(); m_meta_box->append_child_box(m_iref_box); } m_iref_box->add_reference(type,from,to); } void HeifFile::set_auxC_property(heif_item_id id, std::string type) { auto auxC = std::make_shared(); auxC->set_aux_type(type); int index = m_ipco_box->append_child_box(auxC); m_ipma_box->add_property_for_item_ID(id, Box_ipma::PropertyAssociation { true, uint16_t(index+1) }); } void HeifFile::set_color_profile(heif_item_id id, const std::shared_ptr profile) { auto colr = std::make_shared(); colr->set_color_profile(profile); int index = m_ipco_box->append_child_box(colr); m_ipma_box->add_property_for_item_ID(id, Box_ipma::PropertyAssociation { true, uint16_t(index+1) }); } libheif-1.6.1/libheif/heif_plugin_registry.h0000644000221000001440000000346713341211665016036 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_PLUGIN_REGISTRY_H #define LIBHEIF_HEIF_PLUGIN_REGISTRY_H #include #include #include #include #include #include "error.h" #include "heif.h" #include "heif_plugin.h" struct heif_encoder_descriptor { const struct heif_encoder_plugin* plugin; const char* get_name() const { return plugin->get_plugin_name(); } enum heif_compression_format get_compression_format() const { return plugin->compression_format; } }; namespace heif { extern std::set s_decoder_plugins; void register_decoder(const heif_decoder_plugin* decoder_plugin); void register_encoder(const heif_encoder_plugin* encoder_plugin); const struct heif_decoder_plugin* get_decoder(enum heif_compression_format type); const struct heif_encoder_plugin* get_encoder(enum heif_compression_format type); std::vector get_filtered_encoder_descriptors(enum heif_compression_format, const char* name); } #endif libheif-1.6.1/libheif/bitstream.h0000644000221000001440000001622713576430032013606 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_BITSTREAM_H #define LIBHEIF_BITSTREAM_H #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #include #include #include #include "error.h" namespace heif { class StreamReader { public: virtual ~StreamReader() { } virtual int64_t get_position() const = 0; enum grow_status { size_reached, // requested size has been reached timeout, // size has not been reached yet, but it may still grow further size_beyond_eof // size has not been reached and never will. The file has grown to its full size }; // a StreamReader can maintain a timeout for waiting for new data virtual grow_status wait_for_file_size(int64_t target_size) = 0; // returns 'false' when we read out of the available file size virtual bool read(void* data, size_t size) = 0; virtual bool seek(int64_t position) = 0; bool seek_cur(int64_t position_offset) { return seek(get_position() + position_offset); } }; class StreamReader_istream : public StreamReader { public: StreamReader_istream(std::unique_ptr&& istr); int64_t get_position() const override; grow_status wait_for_file_size(int64_t target_size) override; bool read(void* data, size_t size) override; bool seek(int64_t position) override; private: std::unique_ptr m_istr; int64_t m_length; }; class StreamReader_memory : public StreamReader { public: StreamReader_memory(const uint8_t* data, int64_t size, bool copy); ~StreamReader_memory(); int64_t get_position() const override; grow_status wait_for_file_size(int64_t target_size) override; bool read(void* data, size_t size) override; bool seek(int64_t position) override; private: const uint8_t* m_data; int64_t m_length; int64_t m_position; // if we made a copy of the data, we store a pointer to the owned memory area here uint8_t* m_owned_data = nullptr; }; class StreamReader_CApi : public StreamReader { public: StreamReader_CApi(const heif_reader* func_table, void* userdata); int64_t get_position() const override { return m_func_table->get_position(m_userdata); } StreamReader::grow_status wait_for_file_size(int64_t target_size) override; bool read(void* data, size_t size) override { return !m_func_table->read(data,size,m_userdata); } bool seek(int64_t position) override { return !m_func_table->seek(position,m_userdata); } private: const heif_reader* m_func_table; void* m_userdata; }; // This class simplifies safely reading part of a file (e.g. a box). // It makes sure that we do not read past the boundaries of a box. class BitstreamRange { public: BitstreamRange(std::shared_ptr istr, uint64_t length, BitstreamRange* parent = nullptr); // This function tries to make sure that the full data of this range is // available. You should call this before starting reading the range. // If you don't, you have to make sure that you do not read past the available data. StreamReader::grow_status wait_until_range_is_available(); uint8_t read8(); uint16_t read16(); uint32_t read32(); std::string read_string(); bool prepare_read(int64_t nBytes); StreamReader::grow_status wait_for_available_bytes(int64_t nBytes); void skip_to_end_of_file() { // we do not actually move the file position here (because the stream may still be incomplete), // but we set all m_remaining to zero m_remaining = 0; if (m_parent_range) { m_parent_range->skip_to_end_of_file(); } } void skip_to_end_of_box() { if (m_remaining>0) { if (m_parent_range) { // also advance position in parent range m_parent_range->skip_without_advancing_file_pos(m_remaining); } m_istr->seek_cur(m_remaining); m_remaining = 0; } } void set_eof_while_reading() { m_remaining = 0; if (m_parent_range) { m_parent_range->set_eof_while_reading(); } m_error = true; } bool eof() const { return m_remaining == 0; } bool error() const { return m_error; } Error get_error() const { if (m_error) { return Error(heif_error_Invalid_input, heif_suberror_End_of_data); } else { return Error::Ok; } } std::shared_ptr get_istream() { return m_istr; } int get_nesting_level() const { return m_nesting_level; } int64_t get_remaining_bytes() const { return m_remaining; } private: std::shared_ptr m_istr; BitstreamRange* m_parent_range = nullptr; int m_nesting_level = 0; int64_t m_remaining; bool m_error = false; // Note: 'nBytes' may not be larger than the number of remaining bytes void skip_without_advancing_file_pos(int64_t nBytes); }; class BitReader { public: BitReader(const uint8_t* buffer, int len); int get_bits(int n); int get_bits_fast(int n); int peek_bits(int n); void skip_bits(int n); void skip_bits_fast(int n); void skip_to_byte_boundary(); bool get_uvlc(int* value); bool get_svlc(int* value); int get_current_byte_index() const { return data_length - bytes_remaining - nextbits_cnt/8; } private: const uint8_t* data; int data_length; int bytes_remaining; uint64_t nextbits; // left-aligned bits int nextbits_cnt; void refill(); // refill to at least 56+1 bits }; class StreamWriter { public: void write8(uint8_t); void write16(uint16_t); void write32(uint32_t); void write64(uint64_t); void write(int size, uint64_t value); void write(const std::string&); void write(const std::vector&); void write(const StreamWriter&); void skip(int n); void insert(int nBytes); size_t data_size() const { return m_data.size(); } size_t get_position() const { return m_position; } void set_position(size_t pos) { m_position=pos; } void set_position_to_end() { m_position=m_data.size(); } const std::vector get_data() const { return m_data; } private: std::vector m_data; size_t m_position = 0; }; } #endif libheif-1.6.1/libheif/heif_colorconversion.h0000644000221000001440000000666213576157752016054 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "heif_image.h" #include #include namespace heif { struct ColorState { heif_colorspace colorspace = heif_colorspace_undefined; heif_chroma chroma = heif_chroma_undefined; bool has_alpha = false; int bits_per_pixel = 8; ColorState() = default; ColorState(heif_colorspace colorspace, heif_chroma chroma, bool has_alpha, int bits_per_pixel) : colorspace(colorspace), chroma(chroma), has_alpha(has_alpha), bits_per_pixel(bits_per_pixel) {} bool operator==(const ColorState&) const; }; enum class ColorConversionCriterion { Speed, Quality, Memory, Balanced }; struct ColorConversionCosts { ColorConversionCosts() = default; ColorConversionCosts(float _speed, float _quality, float _memory) { speed = _speed; quality = _quality; memory = _memory; } float speed = 0; float quality = 0; float memory = 0; ColorConversionCosts operator+(const ColorConversionCosts& b) const { return { speed + b.speed, quality + b.quality, memory + b.memory }; } float total(ColorConversionCriterion) const { return speed * 0.3f + quality * 0.6f + memory * 0.1f; } }; struct ColorConversionOptions { ColorConversionCriterion criterion = ColorConversionCriterion::Balanced; }; struct ColorStateWithCost { ColorState color_state; ColorConversionCosts costs; }; class ColorConversionOperation { public: virtual ~ColorConversionOperation() = default; // We specify the target state to control the conversion into a direction that is most // suitable for reaching the target state. That allows one conversion operation to // provide a range of conversion options. // Also returns the cost for this conversion. virtual std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options = ColorConversionOptions()) = 0; virtual std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options = ColorConversionOptions()) = 0; }; class ColorConversionPipeline { public: bool construct_pipeline(ColorState input_state, ColorState target_state, ColorConversionOptions options = ColorConversionOptions()); std::shared_ptr convert_image(const std::shared_ptr& input); void debug_dump_pipeline() const; private: std::vector> m_operations; ColorState m_target_state; ColorConversionOptions m_options; }; } libheif-1.6.1/libheif/heif_decoder_libde265.cc0000644000221000001440000002222413576157752015757 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "heif.h" #include "heif_plugin.h" #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include struct libde265_decoder { de265_decoder_context* ctx; }; static const char kSuccess[] = "Success"; static const char kEmptyString[] = ""; static const int LIBDE265_PLUGIN_PRIORITY = 100; #define MAX_PLUGIN_NAME_LENGTH 80 static char plugin_name[MAX_PLUGIN_NAME_LENGTH]; static const char* libde265_plugin_name() { strcpy(plugin_name, "libde265 HEVC decoder"); const char* libde265_version = de265_get_version(); if (strlen(libde265_version) + 10 < MAX_PLUGIN_NAME_LENGTH) { strcat(plugin_name,", version "); strcat(plugin_name,libde265_version); } return plugin_name; } static void libde265_init_plugin() { de265_init(); } static void libde265_deinit_plugin() { de265_free(); } static int libde265_does_support_format(enum heif_compression_format format) { if (format == heif_compression_HEVC) { return LIBDE265_PLUGIN_PRIORITY; } else { return 0; } } static struct heif_error convert_libde265_image_to_heif_image(struct libde265_decoder* decoder, const struct de265_image* de265img, struct heif_image** image) { struct heif_image* out_img; struct heif_error err = heif_image_create( de265_get_image_width(de265img, 0), de265_get_image_height(de265img, 0), heif_colorspace_YCbCr, // TODO (heif_chroma)de265_get_chroma_format(de265img), &out_img); if (err.code != heif_error_Ok) { return err; } // --- transfer data from de265_image to HeifPixelImage heif_channel channel2plane[3] = { heif_channel_Y, heif_channel_Cb, heif_channel_Cr }; for (int c=0;c<3;c++) { int bpp = de265_get_bits_per_pixel(de265img, c); int stride; const uint8_t* data = de265_get_image_plane(de265img, c, &stride); int w = de265_get_image_width(de265img, c); int h = de265_get_image_height(de265img, c); if (w < 0 || h < 0) { heif_image_release(out_img); struct heif_error err = { heif_error_Decoder_plugin_error, heif_suberror_Invalid_image_size, kEmptyString }; return err; } err = heif_image_add_plane(out_img, channel2plane[c], w,h, bpp); if (err.code != heif_error_Ok) { heif_image_release(out_img); return err; } int dst_stride; uint8_t* dst_mem = heif_image_get_plane(out_img, channel2plane[c], &dst_stride); int bytes_per_pixel = (bpp+7)/8; for (int y=0;yctx = de265_new_decoder(); #if defined(__EMSCRIPTEN__) // Speed up decoding from JavaScript. de265_set_parameter_bool(decoder->ctx, DE265_DECODER_PARAM_DISABLE_DEBLOCKING, 1); de265_set_parameter_bool(decoder->ctx, DE265_DECODER_PARAM_DISABLE_SAO, 1); #else // Worker threads are not supported when running on Emscripten. de265_start_worker_threads(decoder->ctx, 1); #endif *dec = decoder; return err; } static void libde265_free_decoder(void* decoder_raw) { struct libde265_decoder* decoder = (struct libde265_decoder*)decoder_raw; de265_error err = de265_free_decoder(decoder->ctx); (void)err; delete decoder; } #if LIBDE265_NUMERIC_VERSION >= 0x02000000 static struct heif_error libde265_v2_push_data(void* decoder_raw, const void* data, size_t size) { struct libde265_decoder* decoder = (struct libde265_decoder*)decoder_raw; const uint8_t* cdata = (const uint8_t*)data; size_t ptr=0; while (ptr < size) { if (4 > size - ptr) { struct heif_error err = { heif_error_Decoder_plugin_error, heif_suberror_End_of_data, kEmptyString }; return err; } // TODO: the size of the NAL unit length variable is defined in the hvcC header. // We should not assume that it is always 4 bytes. uint32_t nal_size = (cdata[ptr]<<24) | (cdata[ptr+1]<<16) | (cdata[ptr+2]<<8) | (cdata[ptr+3]); ptr+=4; if (nal_size > size - ptr) { //sstr << "NAL size (" << size32 << ") exceeds available data in file (" //<< data_bytes_left_to_read << ")"; struct heif_error err = { heif_error_Decoder_plugin_error, heif_suberror_End_of_data, kEmptyString }; return err; } de265_push_NAL(decoder->ctx, cdata+ptr, nal_size, 0, nullptr); ptr += nal_size; } struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; return err; } static struct heif_error libde265_v2_decode_image(void* decoder_raw, struct heif_image** out_img) { struct libde265_decoder* decoder = (struct libde265_decoder*)decoder_raw; de265_push_end_of_stream(decoder->ctx); int action = de265_get_action(decoder->ctx, 1); // TODO(farindk): Set "err" if no image was decoded. if (action==de265_action_get_image) { const de265_image* img = de265_get_next_picture(decoder->ctx); if (img) { struct heif_error err = convert_libde265_image_to_heif_image(decoder, img, out_img); de265_release_picture(img); return err; } } struct heif_error err = { heif_error_Decoder_plugin_error, heif_suberror_Unspecified, kEmptyString }; return err; } #else static struct heif_error libde265_v1_push_data(void* decoder_raw, const void* data, size_t size) { struct libde265_decoder* decoder = (struct libde265_decoder*)decoder_raw; const uint8_t* cdata = (const uint8_t*)data; size_t ptr=0; while (ptr < size) { if (4 > size - ptr) { struct heif_error err = { heif_error_Decoder_plugin_error, heif_suberror_End_of_data, kEmptyString }; return err; } uint32_t nal_size = (cdata[ptr]<<24) | (cdata[ptr+1]<<16) | (cdata[ptr+2]<<8) | (cdata[ptr+3]); ptr+=4; if (nal_size > size - ptr) { struct heif_error err = { heif_error_Decoder_plugin_error, heif_suberror_End_of_data, kEmptyString }; return err; } de265_push_NAL(decoder->ctx, cdata+ptr, nal_size, 0, nullptr); ptr += nal_size; } // TODO(farindk): Set "err" if data could not be pushed //de265_push_data(decoder->ctx, data, size, 0, nullptr); struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; return err; } static struct heif_error libde265_v1_decode_image(void* decoder_raw, struct heif_image** out_img) { struct libde265_decoder* decoder = (struct libde265_decoder*)decoder_raw; struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; de265_flush_data(decoder->ctx); // TODO(farindk): Set "err" if no image was decoded. int more; de265_error decode_err; *out_img = nullptr; do { more = 0; decode_err = de265_decode(decoder->ctx, &more); if (decode_err != DE265_OK) { // printf("Error decoding: %s (%d)\n", de265_get_error_text(decode_err), decode_err); break; } const struct de265_image* image = de265_get_next_picture(decoder->ctx); if (image) { // TODO(farindk): Should we return the first image instead? if (*out_img) { heif_image_release(*out_img); } err = convert_libde265_image_to_heif_image(decoder, image, out_img); de265_release_next_picture(decoder->ctx); } } while (more); return err; } #endif #if LIBDE265_NUMERIC_VERSION >= 0x02000000 static const struct heif_decoder_plugin decoder_libde265 { 1, libde265_plugin_name, libde265_init_plugin, libde265_deinit_plugin, libde265_does_support_format, libde265_new_decoder, libde265_free_decoder, libde265_v2_push_data, libde265_v2_decode_image }; #else static const struct heif_decoder_plugin decoder_libde265 { 1, libde265_plugin_name, libde265_init_plugin, libde265_deinit_plugin, libde265_does_support_format, libde265_new_decoder, libde265_free_decoder, libde265_v1_push_data, libde265_v1_decode_image }; #endif const struct heif_decoder_plugin* get_decoder_plugin_libde265() { return &decoder_libde265; } libheif-1.6.1/libheif/box_fuzzer.cc0000644000221000001440000000232513341211665014140 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Joachim Bauch * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include #include "box.h" #include "bitstream.h" extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto reader = std::make_shared(data, size, false); heif::BitstreamRange range(reader, size); for (;;) { std::shared_ptr box; heif::Error error = heif::Box::read(range, &box); if (error != heif::Error::Ok || range.error()) { break; } } return 0; } libheif-1.6.1/libheif/heif_version.h.in0000644000221000001440000000244013576430032014671 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ /* heif_version.h * * This file was generated by autoconf when libheif was built. * * DO NOT EDIT THIS FILE. */ #ifndef LIBHEIF_HEIF_VERSION_H #define LIBHEIF_HEIF_VERSION_H /* Numeric representation of the version */ #define LIBHEIF_NUMERIC_VERSION ((@PROJECT_VERSION_MAJOR@<<24) | (@PROJECT_VERSION_MINOR@<<16) | (@PROJECT_VERSION_PATCH@<<8) | @PROJECT_VERSION_TWEAK@) /* Version string */ #define LIBHEIF_VERSION "@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@" #endif // LIBHEIF_HEIF_VERSION_H libheif-1.6.1/libheif/heif_hevc.h0000644000221000001440000000304613341211665013526 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef HEIF_HEVC_H #define HEIF_HEVC_H #include #include #include #include #include "heif.h" #include "box.h" #include "error.h" namespace heif { class SEIMessage { public: virtual ~SEIMessage() { } }; class SEIMessage_depth_representation_info : public SEIMessage, public heif_depth_representation_info { public: }; Error decode_hevc_aux_sei_messages(const std::vector& data, std::vector>& msgs); Error parse_sps_for_hvcC_configuration(const uint8_t* sps, size_t size, Box_hvcC::configuration* inout_config, int* width, int* height); } #endif libheif-1.6.1/libheif/heif_colorconversion.cc0000644000221000001440000021072213576157752016204 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "heif_colorconversion.h" #include #include #include #include #include using namespace heif; #define DEBUG_ME 0 bool ColorState::operator==(const ColorState& b) const { return (colorspace == b.colorspace && chroma == b.chroma && has_alpha == b.has_alpha && bits_per_pixel == b.bits_per_pixel); } class Op_RGB_to_RGB24_32 : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_RGB_to_RGB24_32::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if (input_state.colorspace != heif_colorspace_RGB || input_state.chroma != heif_chroma_444 || input_state.bits_per_pixel != 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RGBA (with alpha) output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RGBA; output_state.has_alpha = true; output_state.bits_per_pixel = 8; if (input_state.has_alpha == false && target_state.has_alpha == false) { costs = ColorConversionCosts(0.1f, 0.0f, 0.25f); } else { costs = ColorConversionCosts(0.1f, 0.0f, 0.0f); } states.push_back({ output_state, costs }); // --- convert to RGB (without alpha) output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RGB; output_state.has_alpha = false; output_state.bits_per_pixel = 8; if (input_state.has_alpha == true && target_state.has_alpha == true) { // do not use this conversion because we would lose the alpha channel } else { costs = ColorConversionCosts(0.2f, 0.0f, 0.0f); } states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_RGB_to_RGB24_32::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { bool has_alpha = input->has_channel(heif_channel_Alpha); if (input->get_bits_per_pixel(heif_channel_R) != 8 || input->get_bits_per_pixel(heif_channel_G) != 8 || input->get_bits_per_pixel(heif_channel_B) != 8) { return nullptr; } if (has_alpha && input->get_bits_per_pixel(heif_channel_Alpha) != 8) { return nullptr; } auto outimg = std::make_shared(); int width = input->get_width(); int height = input->get_height(); outimg->create(width, height, heif_colorspace_RGB, has_alpha ? heif_chroma_interleaved_32bit : heif_chroma_interleaved_24bit); outimg->add_plane(heif_channel_interleaved, width, height, 8); const uint8_t *in_r,*in_g,*in_b,*in_a=nullptr; int in_r_stride=0, in_g_stride=0, in_b_stride=0, in_a_stride=0; uint8_t *out_p; int out_p_stride=0; in_r = input->get_plane(heif_channel_R, &in_r_stride); in_g = input->get_plane(heif_channel_G, &in_g_stride); in_b = input->get_plane(heif_channel_B, &in_b_stride); out_p = outimg->get_plane(heif_channel_interleaved, &out_p_stride); if (has_alpha) { in_a = input->get_plane(heif_channel_Alpha, &in_a_stride); } int x,y; for (y=0;y state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_YCbCr420_to_RGB_8bit::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if (input_state.colorspace != heif_colorspace_YCbCr || input_state.chroma != heif_chroma_420 || input_state.bits_per_pixel != 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RGB output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_444; output_state.has_alpha = input_state.has_alpha; // we simply keep the old alpha plane output_state.bits_per_pixel = 8; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } static inline uint8_t clip(int x) { if (x<0) return 0; if (x>255) return 255; return static_cast(x); } std::shared_ptr Op_YCbCr420_to_RGB_8bit::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { if (input->get_bits_per_pixel(heif_channel_Y) != 8 || input->get_bits_per_pixel(heif_channel_Cb) != 8 || input->get_bits_per_pixel(heif_channel_Cr) != 8) { return nullptr; } auto outimg = std::make_shared(); int bpp = 8; // TODO: how do we specify the output BPPs ? int width = input->get_width(); int height = input->get_height(); outimg->create(width, height, heif_colorspace_RGB, heif_chroma_444); outimg->add_plane(heif_channel_R, width, height, bpp); outimg->add_plane(heif_channel_G, width, height, bpp); outimg->add_plane(heif_channel_B, width, height, bpp); bool has_alpha = input->has_channel(heif_channel_Alpha); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, bpp); } const uint8_t *in_y,*in_cb,*in_cr,*in_a; int in_y_stride=0, in_cb_stride=0, in_cr_stride=0, in_a_stride=0; uint8_t *out_r,*out_g,*out_b,*out_a; int out_r_stride=0, out_g_stride=0, out_b_stride=0, out_a_stride=0; in_y = input->get_plane(heif_channel_Y, &in_y_stride); in_cb = input->get_plane(heif_channel_Cb, &in_cb_stride); in_cr = input->get_plane(heif_channel_Cr, &in_cr_stride); out_r = outimg->get_plane(heif_channel_R, &out_r_stride); out_g = outimg->get_plane(heif_channel_G, &out_g_stride); out_b = outimg->get_plane(heif_channel_B, &out_b_stride); if (has_alpha) { in_a = input->get_plane(heif_channel_Alpha, &in_a_stride); out_a = outimg->get_plane(heif_channel_Alpha, &out_a_stride); } else { in_a = nullptr; out_a = nullptr; } int x,y; for (y=0;y>8)); out_g[y*out_g_stride + x] = clip(yv - ((88*cb + 183*cr)>>8)); out_b[y*out_b_stride + x] = clip(yv + ((454*cb)>>8)); } if (has_alpha) { memcpy(&out_a[y*out_a_stride], &in_a[y*in_a_stride], width); } } return outimg; } class Op_YCbCr420_to_RGB_16bit : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_YCbCr420_to_RGB_16bit::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if (input_state.colorspace != heif_colorspace_YCbCr || input_state.chroma != heif_chroma_420 || input_state.bits_per_pixel == 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RGB output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_444; output_state.has_alpha = input_state.has_alpha; // we simply keep the old alpha plane output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } static inline uint16_t clip(float fx,int32_t maxi) { int x = static_cast(fx); if (x<0) return 0; if (x>maxi) return (uint16_t)maxi; return static_cast(x); } static inline uint16_t clip(int32_t x,int32_t maxi) { if (x<0) return 0; if (x>maxi) return (uint16_t)maxi; return static_cast(x); } std::shared_ptr Op_YCbCr420_to_RGB_16bit::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { if (input->get_bits_per_pixel(heif_channel_Y) == 8 || input->get_bits_per_pixel(heif_channel_Cb) == 8 || input->get_bits_per_pixel(heif_channel_Cr) == 8) { return nullptr; } if (input->get_bits_per_pixel(heif_channel_Y) != input->get_bits_per_pixel(heif_channel_Cb) || input->get_bits_per_pixel(heif_channel_Y) != input->get_bits_per_pixel(heif_channel_Cr)) { return nullptr; } int width = input->get_width(); int height = input->get_height(); int bpp = input->get_bits_per_pixel(heif_channel_Y); bool has_alpha = input->has_channel(heif_channel_Alpha); if (has_alpha && input->get_bits_per_pixel(heif_channel_Alpha) != bpp) { return nullptr; } auto outimg = std::make_shared(); outimg->create(width, height, heif_colorspace_RGB, heif_chroma_444); outimg->add_plane(heif_channel_R, width, height, bpp); outimg->add_plane(heif_channel_G, width, height, bpp); outimg->add_plane(heif_channel_B, width, height, bpp); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, bpp); } const uint16_t *in_y,*in_cb,*in_cr,*in_a; int in_y_stride=0, in_cb_stride=0, in_cr_stride=0, in_a_stride=0; uint16_t *out_r,*out_g,*out_b,*out_a; int out_r_stride=0, out_g_stride=0, out_b_stride=0, out_a_stride=0; in_y = (const uint16_t*)input->get_plane(heif_channel_Y, &in_y_stride); in_cb = (const uint16_t*)input->get_plane(heif_channel_Cb, &in_cb_stride); in_cr = (const uint16_t*)input->get_plane(heif_channel_Cr, &in_cr_stride); out_r = (uint16_t*)outimg->get_plane(heif_channel_R, &out_r_stride); out_g = (uint16_t*)outimg->get_plane(heif_channel_G, &out_g_stride); out_b = (uint16_t*)outimg->get_plane(heif_channel_B, &out_b_stride); if (has_alpha) { in_a = (const uint16_t*)input->get_plane(heif_channel_Alpha, &in_a_stride); out_a = (uint16_t*)outimg->get_plane(heif_channel_Alpha, &out_a_stride); } else { in_a = nullptr; out_a = nullptr; } in_y_stride /= 2; in_cb_stride /= 2; in_cr_stride /= 2; in_a_stride /= 2; out_r_stride /= 2; out_g_stride /= 2; out_b_stride /= 2; out_a_stride /= 2; uint16_t halfRange = (uint16_t)(1<<(bpp-1)); int32_t fullRange = (1<(in_y [y *in_y_stride + x] ); float cb = static_cast(in_cb[y/2*in_cb_stride + x/2]-halfRange); float cr = static_cast(in_cr[y/2*in_cr_stride + x/2]-halfRange); out_r[y*out_r_stride + x] = (uint16_t)(clip(yv + 1.402f*cr, fullRange)); // << bdShift); out_g[y*out_g_stride + x] = (uint16_t)(clip(yv - 0.344136f*cb - 0.714136f*cr, fullRange)); // << bdShift); out_b[y*out_b_stride + x] = (uint16_t)(clip(yv + 1.772f*cb, fullRange)); // << bdShift); } if (has_alpha) { memcpy(&out_a[y*out_a_stride], &in_a[y*in_a_stride], width *2); } } return outimg; } class Op_RGB_HDR_to_YCbCr420 : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_RGB_HDR_to_YCbCr420::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if (input_state.colorspace != heif_colorspace_RGB || input_state.chroma != heif_chroma_444 || input_state.bits_per_pixel == 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to YCbCr output_state.colorspace = heif_colorspace_YCbCr; output_state.chroma = heif_chroma_420; output_state.has_alpha = input_state.has_alpha; // we simply keep the old alpha plane output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.75f, 0.5f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_RGB_HDR_to_YCbCr420::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { int width = input->get_width(); int height = input->get_height(); int bpp = input->get_bits_per_pixel(heif_channel_R); bool has_alpha = input->has_channel(heif_channel_Alpha); if (has_alpha && input->get_bits_per_pixel(heif_channel_Alpha) != bpp) { return nullptr; } auto outimg = std::make_shared(); outimg->create(width, height, heif_colorspace_YCbCr, heif_chroma_420); int cwidth = (width+1)/2; int cheight = (height+1)/2; outimg->add_plane(heif_channel_Y, width, height, bpp); outimg->add_plane(heif_channel_Cb, cwidth, cheight, bpp); outimg->add_plane(heif_channel_Cr, cwidth, cheight, bpp); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, bpp); } const uint16_t *in_r,*in_g,*in_b,*in_a; int in_r_stride=0, in_g_stride=0, in_b_stride=0, in_a_stride=0; uint16_t *out_y,*out_cb,*out_cr,*out_a; int out_y_stride=0, out_cb_stride=0, out_cr_stride=0, out_a_stride=0; in_r = (const uint16_t*)input->get_plane(heif_channel_R, &in_r_stride); in_g = (const uint16_t*)input->get_plane(heif_channel_G, &in_g_stride); in_b = (const uint16_t*)input->get_plane(heif_channel_B, &in_b_stride); out_y = (uint16_t*)outimg->get_plane(heif_channel_Y, &out_y_stride); out_cb = (uint16_t*)outimg->get_plane(heif_channel_Cb, &out_cb_stride); out_cr = (uint16_t*)outimg->get_plane(heif_channel_Cr, &out_cr_stride); if (has_alpha) { in_a = (const uint16_t*)input->get_plane(heif_channel_Alpha, &in_a_stride); out_a = (uint16_t*)outimg->get_plane(heif_channel_Alpha, &out_a_stride); } else { in_a = nullptr; out_a = nullptr; } in_r_stride /= 2; in_g_stride /= 2; in_b_stride /= 2; in_a_stride /= 2; out_y_stride /= 2; out_cb_stride /= 2; out_cr_stride /= 2; out_a_stride /= 2; uint16_t halfRange = (uint16_t)(1<<(bpp-1)); int32_t fullRange = (1< state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_YCbCr420_to_RGB24::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if (input_state.colorspace != heif_colorspace_YCbCr || input_state.chroma != heif_chroma_420 || input_state.bits_per_pixel != 8 || input_state.has_alpha == true) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RGB output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RGB; output_state.has_alpha = false; output_state.bits_per_pixel = 8; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_YCbCr420_to_RGB24::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { if (input->get_bits_per_pixel(heif_channel_Y) != 8 || input->get_bits_per_pixel(heif_channel_Cb) != 8 || input->get_bits_per_pixel(heif_channel_Cr) != 8) { return nullptr; } auto outimg = std::make_shared(); int width = input->get_width(); int height = input->get_height(); outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_24bit); outimg->add_plane(heif_channel_interleaved, width, height, 8); const uint8_t *in_y,*in_cb,*in_cr; int in_y_stride=0, in_cb_stride=0, in_cr_stride=0; uint8_t *out_p; int out_p_stride=0; in_y = input->get_plane(heif_channel_Y, &in_y_stride); in_cb = input->get_plane(heif_channel_Cb, &in_cb_stride); in_cr = input->get_plane(heif_channel_Cr, &in_cr_stride); out_p = outimg->get_plane(heif_channel_interleaved, &out_p_stride); int x,y; for (y=0;y>8)); out_p[y*out_p_stride + 3*x + 1] = clip(yv - ((88*cb + 183*cr)>>8)); out_p[y*out_p_stride + 3*x + 2] = clip(yv + ((454*cb)>>8)); } } return outimg; } class Op_YCbCr420_to_RGB32 : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_YCbCr420_to_RGB32::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // Note: no input alpha channel required. It will be filled up with 0xFF. if (input_state.colorspace != heif_colorspace_YCbCr || input_state.chroma != heif_chroma_420 || input_state.bits_per_pixel != 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RGB output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RGBA; output_state.has_alpha = true; output_state.bits_per_pixel = 8; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_YCbCr420_to_RGB32::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { if (input->get_bits_per_pixel(heif_channel_Y) != 8 || input->get_bits_per_pixel(heif_channel_Cb) != 8 || input->get_bits_per_pixel(heif_channel_Cr) != 8) { return nullptr; } auto outimg = std::make_shared(); int width = input->get_width(); int height = input->get_height(); outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_32bit); outimg->add_plane(heif_channel_interleaved, width, height, 8); const bool with_alpha = input->has_channel(heif_channel_Alpha); const uint8_t *in_y,*in_cb,*in_cr,*in_a = nullptr; int in_y_stride=0, in_cb_stride=0, in_cr_stride=0, in_a_stride=0; uint8_t *out_p; int out_p_stride=0; in_y = input->get_plane(heif_channel_Y, &in_y_stride); in_cb = input->get_plane(heif_channel_Cb, &in_cb_stride); in_cr = input->get_plane(heif_channel_Cr, &in_cr_stride); if (with_alpha) { in_a = input->get_plane(heif_channel_Alpha, &in_a_stride); } out_p = outimg->get_plane(heif_channel_interleaved, &out_p_stride); int x,y; for (y=0;y>8)); out_p[y*out_p_stride + 4*x + 1] = clip(yv - ((88*cb + 183*cr)>>8)); out_p[y*out_p_stride + 4*x + 2] = clip(yv + ((454*cb)>>8)); if (with_alpha) { out_p[y*out_p_stride + 4*x + 3] = in_a[y*in_a_stride + x]; } else { out_p[y*out_p_stride + 4*x + 3] = 0xFF; } } } return outimg; } class Op_RGB_HDR_to_RRGGBBaa_BE : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_RGB_HDR_to_RRGGBBaa_BE::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // Note: no input alpha channel required. It will be filled up with 0xFF. if (input_state.colorspace != heif_colorspace_RGB || input_state.chroma != heif_chroma_444 || input_state.bits_per_pixel == 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RRGGBB_BE if (input_state.has_alpha == false) { output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RRGGBB_BE; output_state.has_alpha = false; output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); } // --- convert to RRGGBBAA_BE output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RRGGBBAA_BE; output_state.has_alpha = true; output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_RGB_HDR_to_RRGGBBaa_BE::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { if (input->get_bits_per_pixel(heif_channel_R) == 8 || input->get_bits_per_pixel(heif_channel_G) == 8 || input->get_bits_per_pixel(heif_channel_B) == 8) { return nullptr; } //int bpp = input->get_bits_per_pixel(heif_channel_R); bool has_alpha = input->has_channel(heif_channel_Alpha); if (has_alpha && input->get_bits_per_pixel(heif_channel_Alpha) == 8) { return nullptr; } auto outimg = std::make_shared(); int width = input->get_width(); int height = input->get_height(); outimg->create(width, height, heif_colorspace_RGB, target_state.has_alpha ? heif_chroma_interleaved_RRGGBBAA_BE : heif_chroma_interleaved_RRGGBB_BE); outimg->add_plane(heif_channel_interleaved, width, height, input->get_bits_per_pixel(heif_channel_R)); const uint16_t *in_r,*in_g,*in_b,*in_a=nullptr; int in_r_stride=0, in_g_stride=0, in_b_stride=0, in_a_stride=0; uint8_t *out_p; int out_p_stride=0; in_r = (uint16_t*)input->get_plane(heif_channel_R, &in_r_stride); in_g = (uint16_t*)input->get_plane(heif_channel_G, &in_g_stride); in_b = (uint16_t*)input->get_plane(heif_channel_B, &in_b_stride); out_p = outimg->get_plane(heif_channel_interleaved, &out_p_stride); if (has_alpha) { in_a = (uint16_t*)input->get_plane(heif_channel_Alpha, &in_a_stride); } in_r_stride /= 2; in_g_stride /= 2; in_b_stride /= 2; in_a_stride /= 2; int x,y; for (y=0;y>8); out_p[y*out_p_stride + 8*x + 1] = (uint8_t)(r & 0xFF); out_p[y*out_p_stride + 8*x + 2] = (uint8_t)(g>>8); out_p[y*out_p_stride + 8*x + 3] = (uint8_t)(g & 0xFF); out_p[y*out_p_stride + 8*x + 4] = (uint8_t)(b>>8); out_p[y*out_p_stride + 8*x + 5] = (uint8_t)(b & 0xFF); out_p[y*out_p_stride + 8*x + 6] = (uint8_t)(a>>8); out_p[y*out_p_stride + 8*x + 7] = (uint8_t)(a & 0xFF); } } else { for (x=0;x>8); out_p[y*out_p_stride + 6*x + 1] = (uint8_t)(r & 0xFF); out_p[y*out_p_stride + 6*x + 2] = (uint8_t)(g>>8); out_p[y*out_p_stride + 6*x + 3] = (uint8_t)(g & 0xFF); out_p[y*out_p_stride + 6*x + 4] = (uint8_t)(b>>8); out_p[y*out_p_stride + 6*x + 5] = (uint8_t)(b & 0xFF); } } } return outimg; } class Op_RRGGBBaa_BE_to_RGB_HDR : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_RRGGBBaa_BE_to_RGB_HDR::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // Note: no input alpha channel required. It will be filled up with 0xFF. if (input_state.colorspace != heif_colorspace_RGB || (input_state.chroma != heif_chroma_interleaved_RRGGBB_BE && input_state.chroma != heif_chroma_interleaved_RRGGBBAA_BE) || input_state.bits_per_pixel == 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RRGGBB_BE output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_444; output_state.has_alpha = (input_state.chroma == heif_chroma_interleaved_RRGGBBAA_LE || input_state.chroma == heif_chroma_interleaved_RRGGBBAA_BE); output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.2f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_RRGGBBaa_BE_to_RGB_HDR::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { bool has_alpha = (input->get_chroma_format() == heif_chroma_interleaved_RRGGBBAA_LE || input->get_chroma_format() == heif_chroma_interleaved_RRGGBBAA_BE); auto outimg = std::make_shared(); int width = input->get_width(); int height = input->get_height(); outimg->create(width, height, heif_colorspace_RGB, heif_chroma_444); outimg->add_plane(heif_channel_R, width, height, input->get_bits_per_pixel(heif_channel_interleaved)); outimg->add_plane(heif_channel_G, width, height, input->get_bits_per_pixel(heif_channel_interleaved)); outimg->add_plane(heif_channel_B, width, height, input->get_bits_per_pixel(heif_channel_interleaved)); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, input->get_bits_per_pixel(heif_channel_interleaved)); } const uint8_t *in_p; int in_p_stride=0; uint16_t *out_r,*out_g,*out_b,*out_a=nullptr; int out_r_stride=0, out_g_stride=0, out_b_stride=0, out_a_stride=0; in_p = input->get_plane(heif_channel_interleaved, &in_p_stride); out_r = (uint16_t*)outimg->get_plane(heif_channel_R, &out_r_stride); out_g = (uint16_t*)outimg->get_plane(heif_channel_G, &out_g_stride); out_b = (uint16_t*)outimg->get_plane(heif_channel_B, &out_b_stride); if (has_alpha) { out_a = (uint16_t*)outimg->get_plane(heif_channel_Alpha, &out_a_stride); } out_r_stride /= 2; out_g_stride /= 2; out_b_stride /= 2; out_a_stride /= 2; int x,y; for (y=0;y state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_RRGGBBaa_swap_endianness::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // Note: no input alpha channel required. It will be filled up with 0xFF. if (input_state.colorspace != heif_colorspace_RGB || (input_state.chroma != heif_chroma_interleaved_RRGGBB_LE && input_state.chroma != heif_chroma_interleaved_RRGGBB_BE && input_state.chroma != heif_chroma_interleaved_RRGGBBAA_LE && input_state.chroma != heif_chroma_interleaved_RRGGBBAA_BE) || input_state.bits_per_pixel == 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- swap RRGGBB if (input_state.chroma == heif_chroma_interleaved_RRGGBB_LE || input_state.chroma == heif_chroma_interleaved_RRGGBB_BE) { output_state.colorspace = heif_colorspace_RGB; if (input_state.chroma == heif_chroma_interleaved_RRGGBB_LE) { output_state.chroma = heif_chroma_interleaved_RRGGBB_BE; } else { output_state.chroma = heif_chroma_interleaved_RRGGBB_LE; } output_state.has_alpha = false; output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.1f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); } // --- swap RRGGBBAA if (input_state.chroma == heif_chroma_interleaved_RRGGBBAA_LE || input_state.chroma == heif_chroma_interleaved_RRGGBBAA_BE) { output_state.colorspace = heif_colorspace_RGB; if (input_state.chroma == heif_chroma_interleaved_RRGGBBAA_LE) { output_state.chroma = heif_chroma_interleaved_RRGGBBAA_BE; } else { output_state.chroma = heif_chroma_interleaved_RRGGBBAA_LE; } output_state.has_alpha = true; output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.1f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); } return states; } std::shared_ptr Op_RRGGBBaa_swap_endianness::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { auto outimg = std::make_shared(); int width = input->get_width(); int height = input->get_height(); switch (input->get_chroma_format()) { case heif_chroma_interleaved_RRGGBB_LE: outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_RRGGBB_BE); break; case heif_chroma_interleaved_RRGGBB_BE: outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_RRGGBB_LE); break; case heif_chroma_interleaved_RRGGBBAA_LE: outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_RRGGBBAA_BE); break; case heif_chroma_interleaved_RRGGBBAA_BE: outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_RRGGBBAA_LE); break; default: return nullptr; } outimg->add_plane(heif_channel_interleaved, width, height, input->get_bits_per_pixel(heif_channel_interleaved)); const uint8_t *in_p=nullptr; int in_p_stride=0; uint8_t *out_p; int out_p_stride=0; in_p = input->get_plane(heif_channel_interleaved, &in_p_stride); out_p = outimg->get_plane(heif_channel_interleaved, &out_p_stride); int n_bytes = std::min(in_p_stride, out_p_stride); int x,y; for (y=0;y state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_mono_to_YCbCr420::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // Note: no input alpha channel required. It will be filled up with 0xFF. if (input_state.colorspace != heif_colorspace_monochrome || input_state.chroma != heif_chroma_monochrome || input_state.bits_per_pixel != 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to YCbCr420 output_state.colorspace = heif_colorspace_YCbCr; output_state.chroma = heif_chroma_420; output_state.has_alpha = input_state.has_alpha; output_state.bits_per_pixel = 8; costs = { 0.1f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_mono_to_YCbCr420::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { auto outimg = std::make_shared(); int width = input->get_width(); int height = input->get_height(); outimg->create(width, height, heif_colorspace_YCbCr, heif_chroma_420); int chroma_width = (width+1)/2; int chroma_height = (height+1)/2; outimg->add_plane(heif_channel_Y, width, height, 8); outimg->add_plane(heif_channel_Cb, chroma_width, chroma_height, 8); outimg->add_plane(heif_channel_Cr, chroma_width, chroma_height, 8); bool has_alpha = input->has_channel(heif_channel_Alpha); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, 8); } uint8_t *out_cb,*out_cr,*out_y; int out_cb_stride=0, out_cr_stride=0, out_y_stride=0; const uint8_t *in_y; int in_y_stride=0; in_y = input->get_plane(heif_channel_Y, &in_y_stride); out_y = outimg->get_plane(heif_channel_Y, &out_y_stride); out_cb = outimg->get_plane(heif_channel_Cb, &out_cb_stride); out_cr = outimg->get_plane(heif_channel_Cr, &out_cr_stride); memset(out_cb, 128, out_cb_stride*chroma_height); memset(out_cr, 128, out_cr_stride*chroma_height); for (int y=0;yget_plane(heif_channel_Alpha, &in_a_stride); out_a = outimg->get_plane(heif_channel_Alpha, &out_a_stride); for (int y=0;y state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_mono_to_RGB24_32::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // Note: no input alpha channel required. It will be filled up with 0xFF. if ((input_state.colorspace != heif_colorspace_monochrome && input_state.colorspace != heif_colorspace_YCbCr) || input_state.chroma != heif_chroma_monochrome || input_state.bits_per_pixel != 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to RGB24 if (input_state.has_alpha == false) { output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RGB; output_state.has_alpha = false; output_state.bits_per_pixel = 8; costs = { 0.1f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); } // --- convert to RGB32 output_state.colorspace = heif_colorspace_RGB; output_state.chroma = heif_chroma_interleaved_RGBA; output_state.has_alpha = true; output_state.bits_per_pixel = 8; costs = { 0.15f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_mono_to_RGB24_32::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { int width = input->get_width(); int height = input->get_height(); if (input->get_bits_per_pixel(heif_channel_Y) != 8) { return nullptr; } auto outimg = std::make_shared(); bool has_alpha = input->has_channel(heif_channel_Alpha); if (target_state.has_alpha) { outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_32bit); } else { outimg->create(width, height, heif_colorspace_RGB, heif_chroma_interleaved_24bit); } outimg->add_plane(heif_channel_interleaved, width, height, 8); const uint8_t *in_y, *in_a; int in_y_stride=0, in_a_stride; uint8_t *out_p; int out_p_stride=0; in_y = input->get_plane(heif_channel_Y, &in_y_stride); if (has_alpha) { in_a = input->get_plane(heif_channel_Alpha, &in_a_stride); } out_p = outimg->get_plane(heif_channel_interleaved, &out_p_stride); int x,y; for (y=0;y state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_RGB24_32_to_YCbCr420::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // Note: no input alpha channel required. It will be filled up with 0xFF. if (input_state.colorspace != heif_colorspace_RGB || (input_state.chroma != heif_chroma_interleaved_RGB && input_state.chroma != heif_chroma_interleaved_RGBA)) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert RGB24 if (input_state.chroma == heif_chroma_interleaved_RGB) { output_state.colorspace = heif_colorspace_YCbCr; output_state.chroma = heif_chroma_420; output_state.has_alpha = false; output_state.bits_per_pixel = 8; costs = { 0.75f, 0.5f, 0.0f }; // quality not good since we subsample chroma without filtering states.push_back({ output_state, costs }); } // --- convert RGB32 if (input_state.chroma == heif_chroma_interleaved_RGBA) { output_state.colorspace = heif_colorspace_YCbCr; output_state.chroma = heif_chroma_420; output_state.has_alpha = true; output_state.bits_per_pixel = 8; costs = { 0.75f, 0.5f, 0.0f }; // quality not good since we subsample chroma without filtering states.push_back({ output_state, costs }); } return states; } static inline uint8_t clip(float fx) { int x = static_cast(fx); if (x<0) return 0; if (x>255) return 255; return static_cast(x); } std::shared_ptr Op_RGB24_32_to_YCbCr420::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { int width = input->get_width(); int height = input->get_height(); auto outimg = std::make_shared(); outimg->create(width, height, heif_colorspace_YCbCr, heif_chroma_420); int chroma_width = (width+1)/2; int chroma_height = (height+1)/2; const bool has_alpha = (input->get_chroma_format() == heif_chroma_interleaved_32bit); outimg->add_plane(heif_channel_Y, width, height, 8); outimg->add_plane(heif_channel_Cb, chroma_width, chroma_height, 8); outimg->add_plane(heif_channel_Cr, chroma_width, chroma_height, 8); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, 8); } uint8_t *out_cb,*out_cr,*out_y, *out_a; int out_cb_stride=0, out_cr_stride=0, out_y_stride=0, out_a_stride=0; const uint8_t *in_p; int in_stride=0; in_p = input->get_plane(heif_channel_interleaved, &in_stride); out_y = outimg->get_plane(heif_channel_Y, &out_y_stride); out_cb = outimg->get_plane(heif_channel_Cb, &out_cb_stride); out_cr = outimg->get_plane(heif_channel_Cr, &out_cr_stride); if (has_alpha) { out_a = outimg->get_plane(heif_channel_Alpha, &out_a_stride); } if (!has_alpha) { for (int y=0;y state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_drop_alpha_plane::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { // only drop alpha plane if it is not needed in output if ((input_state.chroma != heif_chroma_monochrome && input_state.chroma != heif_chroma_420 && input_state.chroma != heif_chroma_422 && input_state.chroma != heif_chroma_444) || input_state.has_alpha == false || target_state.has_alpha == true) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- drop alpha plane output_state = input_state; output_state.has_alpha = false; costs = { 0.1f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_drop_alpha_plane::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { int width = input->get_width(); int height = input->get_height(); auto outimg = std::make_shared(); outimg->create(width, height, input->get_colorspace(), input->get_chroma_format()); for (heif_channel channel : { heif_channel_Y, heif_channel_Cb, heif_channel_Cr, heif_channel_R, heif_channel_G, heif_channel_B }) { if (input->has_channel(channel)) { outimg->copy_new_plane_from(input, channel, channel); } } return outimg; } class Op_to_hdr_planes : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_to_hdr_planes::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if ((input_state.chroma != heif_chroma_monochrome && input_state.chroma != heif_chroma_420 && input_state.chroma != heif_chroma_422 && input_state.chroma != heif_chroma_444) || input_state.bits_per_pixel != 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- increase bit depth output_state = input_state; output_state.bits_per_pixel = target_state.bits_per_pixel; costs = { 0.2f, 0.0f, 0.5f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_to_hdr_planes::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { int width = input->get_width(); int height = input->get_height(); auto outimg = std::make_shared(); outimg->create(width, height, input->get_colorspace(), input->get_chroma_format()); for (heif_channel channel : { heif_channel_Y, heif_channel_Cb, heif_channel_Cr, heif_channel_R, heif_channel_G, heif_channel_B, heif_channel_Alpha }) { if (input->has_channel(channel)) { int width = input->get_width(channel); int height = input->get_height(channel); outimg->add_plane(channel, width, height, target_state.bits_per_pixel); int input_bits = input->get_bits_per_pixel(channel); int output_bits = target_state.bits_per_pixel; int shift1 = output_bits - input_bits; int shift2 = 8-shift1; const uint8_t* p_in; int stride_in; p_in = input->get_plane(channel, &stride_in); uint16_t* p_out; int stride_out; p_out = (uint16_t*)outimg->get_plane(channel, &stride_out); for (int y=0;y>shift2)); } } } return outimg; } class Op_RRGGBBxx_HDR_to_YCbCr420 : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_RRGGBBxx_HDR_to_YCbCr420::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if (input_state.colorspace != heif_colorspace_RGB || !(input_state.chroma == heif_chroma_interleaved_RRGGBB_BE || input_state.chroma == heif_chroma_interleaved_RRGGBB_LE || input_state.chroma == heif_chroma_interleaved_RRGGBBAA_BE || input_state.chroma == heif_chroma_interleaved_RRGGBBAA_LE) || input_state.bits_per_pixel == 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to YCbCr output_state.colorspace = heif_colorspace_YCbCr; output_state.chroma = heif_chroma_420; output_state.has_alpha = input_state.has_alpha; // we generate an alpha plane if the source contains data output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); return states; } std::shared_ptr Op_RRGGBBxx_HDR_to_YCbCr420::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { int width = input->get_width(); int height = input->get_height(); int bpp = input->get_bits_per_pixel(heif_channel_interleaved); bool has_alpha = (input->get_chroma_format() == heif_chroma_interleaved_RRGGBBAA_BE || input->get_chroma_format() == heif_chroma_interleaved_RRGGBBAA_LE); auto outimg = std::make_shared(); outimg->create(width, height, heif_colorspace_YCbCr, heif_chroma_420); int bytesPerPixel = has_alpha ? 8 : 6; int cwidth = (width+1)/2; int cheight = (height+1)/2; outimg->add_plane(heif_channel_Y, width, height, bpp); outimg->add_plane(heif_channel_Cb, cwidth, cheight, bpp); outimg->add_plane(heif_channel_Cr, cwidth, cheight, bpp); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, bpp); } const uint8_t *in_p; int in_p_stride=0; uint16_t *out_y,*out_cb,*out_cr,*out_a = nullptr; int out_y_stride=0, out_cb_stride=0, out_cr_stride=0, out_a_stride=0; in_p = input->get_plane(heif_channel_interleaved, &in_p_stride); out_y = (uint16_t*)outimg->get_plane(heif_channel_Y, &out_y_stride); out_cb = (uint16_t*)outimg->get_plane(heif_channel_Cb, &out_cb_stride); out_cr = (uint16_t*)outimg->get_plane(heif_channel_Cr, &out_cr_stride); if (has_alpha) { out_a = (uint16_t*)outimg->get_plane(heif_channel_Alpha, &out_a_stride); } // adapt stride as we are pointing to 16bit integers out_y_stride /= 2; out_cb_stride /= 2; out_cr_stride /= 2; out_a_stride /= 2; uint16_t halfRange = (uint16_t)(1<<(bpp-1)); int32_t fullRange = (1<get_chroma_format() == heif_chroma_interleaved_RRGGBBAA_LE || input->get_chroma_format() == heif_chroma_interleaved_RRGGBB_LE) ? 1 : 0; for (int y=0;y>14, fullRange); if (has_alpha) { uint16_t a = (uint16_t)((in[6+le]<<8) | in[7-le]); out_a[y*out_a_stride + x] = a; } } } for (int y=0;y>14), fullRange); out_cr[(y/2)*out_cr_stride + (x/2)] = clip(halfRange + (((r<<13) - g*6860 - b*1332)>>14), fullRange); } } return outimg; } class Op_YCbCr420_to_RRGGBBaa : public ColorConversionOperation { public: std::vector state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) override; std::shared_ptr convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) override; }; std::vector Op_YCbCr420_to_RRGGBBaa::state_after_conversion(ColorState input_state, ColorState target_state, ColorConversionOptions options) { if (input_state.colorspace != heif_colorspace_YCbCr || input_state.chroma != heif_chroma_420 || input_state.bits_per_pixel == 8) { return { }; } std::vector states; ColorState output_state; ColorConversionCosts costs; // --- convert to YCbCr output_state.colorspace = heif_colorspace_RGB; output_state.chroma = (input_state.has_alpha ? heif_chroma_interleaved_RRGGBBAA_LE : heif_chroma_interleaved_RRGGBB_LE); output_state.has_alpha = input_state.has_alpha; output_state.bits_per_pixel = input_state.bits_per_pixel; costs = { 0.5f, 0.0f, 0.0f }; states.push_back({ output_state, costs }); output_state.colorspace = heif_colorspace_RGB; output_state.chroma = (input_state.has_alpha ? heif_chroma_interleaved_RRGGBBAA_BE : heif_chroma_interleaved_RRGGBB_BE); output_state.has_alpha = input_state.has_alpha; output_state.bits_per_pixel = input_state.bits_per_pixel; costs = {0.5f, 0.0f, 0.0f}; states.push_back({output_state, costs}); return states; } std::shared_ptr Op_YCbCr420_to_RRGGBBaa::convert_colorspace(const std::shared_ptr& input, ColorState target_state, ColorConversionOptions options) { int width = input->get_width(); int height = input->get_height(); int bpp = input->get_bits_per_pixel(heif_channel_Y); bool has_alpha = input->has_channel(heif_channel_Alpha); int le = (target_state.chroma == heif_chroma_interleaved_RRGGBB_LE || target_state.chroma == heif_chroma_interleaved_RRGGBBAA_LE) ? 1 : 0; auto outimg = std::make_shared(); outimg->create(width, height, heif_colorspace_RGB, target_state.chroma); int bytesPerPixel = has_alpha ? 8 : 6; outimg->add_plane(heif_channel_interleaved, width, height, bpp); if (has_alpha) { outimg->add_plane(heif_channel_Alpha, width, height, bpp); } uint8_t *out_p; int out_p_stride=0; const uint16_t *in_y,*in_cb,*in_cr,*in_a = nullptr; int in_y_stride=0, in_cb_stride=0, in_cr_stride=0, in_a_stride=0; out_p = outimg->get_plane(heif_channel_interleaved, &out_p_stride); in_y = (uint16_t*)input->get_plane(heif_channel_Y, &in_y_stride); in_cb = (uint16_t*)input->get_plane(heif_channel_Cb, &in_cb_stride); in_cr = (uint16_t*)input->get_plane(heif_channel_Cr, &in_cr_stride); if (has_alpha) { in_a = (uint16_t*)input->get_plane(heif_channel_Alpha, &in_a_stride); } int maxval = (1<> 8); out_p[y*out_p_stride + bytesPerPixel*x + 2+le] = (uint8_t)(g >> 8); out_p[y*out_p_stride + bytesPerPixel*x + 4+le] = (uint8_t)(b >> 8); out_p[y*out_p_stride + bytesPerPixel*x + 1-le] = (uint8_t)(r & 0xff); out_p[y*out_p_stride + bytesPerPixel*x + 3-le] = (uint8_t)(g & 0xff); out_p[y*out_p_stride + bytesPerPixel*x + 5-le] = (uint8_t)(b & 0xff); if(has_alpha) { out_p[y*out_p_stride + 8*x + 6+le] = (uint8_t)(in_a[y*in_a_stride/2+x] >> 8); out_p[y*out_p_stride + 8*x + 7-le] = (uint8_t)(in_a[y*in_a_stride/2+x] & 0xff); } } } return outimg; } struct Node { Node() = default; Node(int prev, const std::shared_ptr& _op, ColorStateWithCost state) { prev_processed_idx = prev; op = _op; color_state = state; } int prev_processed_idx = -1; std::shared_ptr op; ColorStateWithCost color_state; }; bool ColorConversionPipeline::construct_pipeline(ColorState input_state, ColorState target_state, ColorConversionOptions options) { m_operations.clear(); m_target_state = target_state; m_options = options; if (input_state == target_state) { return true; } std::vector> ops; ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); ops.push_back(std::make_shared()); // --- Dijkstra search for the minimum-cost conversion pipeline std::vector processed_states; std::vector border_states; border_states.push_back({ -1, nullptr, { input_state, ColorConversionCosts() }}); while (!border_states.empty()) { size_t minIdx; float minCost; for (size_t i=0;i0) { idx = processed_states[idx].prev_processed_idx; len++; } m_operations.resize(len); idx = processed_states.size()-1; int step = 0; while (idx>0) { m_operations[len-1-step] = processed_states[idx].op; //printf("cost: %f\n",processed_states[idx].color_state.costs.total(options.criterion)); idx = processed_states[idx].prev_processed_idx; step++; } #if DEBUG_ME debug_dump_pipeline(); #endif return true; } // expand the node with minimum cost for (size_t i=0;istate_after_conversion(processed_states.back().color_state.color_state, target_state, options); for (const auto& out_state : out_states) { bool state_exists = false; for (const auto& s : processed_states) { if (s.color_state.color_state==out_state.color_state) { state_exists = true; break; } } if (!state_exists) { for (auto& s : border_states) { if (s.color_state.color_state==out_state.color_state) { state_exists = true; // if we reached the same border node with a lower cost, replace the border node ColorConversionCosts new_op_costs = out_state.costs + processed_states.back().color_state.costs; if (s.color_state.costs.total(options.criterion) > new_op_costs.total(options.criterion)) { s = { (int)(processed_states.size()-1), ops[i], out_state }; s.color_state.costs = new_op_costs; } break; } } } // enter the new output state into the list of border states if (!state_exists) { ColorStateWithCost s = out_state; s.costs = s.costs + processed_states.back().color_state.costs; border_states.push_back({ (int)(processed_states.size()-1), ops[i], s }); } } } } return false; } void ColorConversionPipeline::debug_dump_pipeline() const { for (const auto& op : m_operations) { std::cerr << "> " << typeid(*op).name() << "\n"; } } std::shared_ptr ColorConversionPipeline::convert_image(const std::shared_ptr& input) { std::shared_ptr in = input; std::shared_ptr out = in; for (const auto& op : m_operations) { out = op->convert_colorspace(in, m_target_state, m_options); assert(out); in = out; } return out; } libheif-1.6.1/libheif/heif_encoder_x265.cc0000644000221000001440000005544313576157752015172 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "heif.h" #include "heif_plugin.h" #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #include extern "C" { #include } const char* kError_unsupported_bit_depth = "Bit depth not supported by x265"; const char* kError_unsupported_image_size = "Images smaller than 16 pixels are not supported"; enum parameter_type { UndefinedType, Int, Bool, String }; struct parameter { parameter_type type = UndefinedType; std::string name; int value_int = 0; // also used for boolean std::string value_string; }; struct encoder_struct_x265 { x265_encoder* encoder = nullptr; x265_nal* nals = nullptr; uint32_t num_nals = 0; uint32_t nal_output_counter = 0; int bit_depth = 0; // --- parameters std::vector parameters; void add_param(const parameter&); void add_param(std::string name, int value); void add_param(std::string name, bool value); void add_param(std::string name, std::string value); parameter get_param(std::string name) const; std::string preset; std::string tune; int logLevel = X265_LOG_NONE; }; void encoder_struct_x265::add_param(const parameter& p) { // if there is already a parameter of that name, remove it from list for (size_t i=0;iversion = 2; p->name = heif_encoder_parameter_name_quality; p->type = heif_encoder_parameter_type_integer; p->integer.default_value = 50; p->has_default = true; p->integer.have_minimum_maximum = true; p->integer.minimum = 0; p->integer.maximum = 100; p->integer.valid_values = NULL; p->integer.num_valid_values = 0; d[i++] = p++; assert(i < MAX_NPARAMETERS); p->version = 2; p->name = heif_encoder_parameter_name_lossless; p->type = heif_encoder_parameter_type_boolean; p->boolean.default_value = false; p->has_default = true; d[i++] = p++; assert(i < MAX_NPARAMETERS); p->version = 2; p->name = kParam_preset; p->type = heif_encoder_parameter_type_string; p->string.default_value = "slow"; // increases computation time p->has_default = true; p->string.valid_values = kParam_preset_valid_values; d[i++] = p++; assert(i < MAX_NPARAMETERS); p->version = 2; p->name = kParam_tune; p->type = heif_encoder_parameter_type_string; p->string.default_value = "ssim"; p->has_default = true; p->string.valid_values = kParam_tune_valid_values; d[i++] = p++; assert(i < MAX_NPARAMETERS); p->version = 2; p->name = kParam_TU_intra_depth; p->type = heif_encoder_parameter_type_integer; p->integer.default_value = 2; // increases computation time p->has_default = true; p->integer.have_minimum_maximum = true; p->integer.minimum = 1; p->integer.maximum = 4; p->integer.valid_values = NULL; p->integer.num_valid_values = 0; d[i++] = p++; assert(i < MAX_NPARAMETERS); p->version = 2; p->name = kParam_complexity; p->type = heif_encoder_parameter_type_integer; p->integer.default_value = 50; p->has_default = false; p->integer.have_minimum_maximum = true; p->integer.minimum = 0; p->integer.maximum = 100; p->integer.valid_values = NULL; p->integer.num_valid_values = 0; d[i++] = p++; d[i++] = nullptr; } const struct heif_encoder_parameter** x265_list_parameters(void* encoder) { return x265_encoder_parameter_ptrs; } static void x265_init_plugin() { x265_init_parameters(); } static void x265_cleanup_plugin() { } static struct heif_error x265_new_encoder(void** enc) { struct encoder_struct_x265* encoder = new encoder_struct_x265(); struct heif_error err = heif_error_ok; // encoder has to be allocated in x265_encode_image, because it needs to know the image size encoder->encoder = nullptr; encoder->nals = nullptr; encoder->num_nals = 0; encoder->nal_output_counter = 0; encoder->bit_depth = 8; *enc = encoder; // set default parameters x265_set_default_parameters(encoder); return err; } static void x265_free_encoder(void* encoder_raw) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (encoder->encoder) { const x265_api* api = x265_api_get(encoder->bit_depth); api->encoder_close(encoder->encoder); } delete encoder; } static struct heif_error x265_set_parameter_quality(void* encoder_raw, int quality) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (quality<0 || quality>100) { return heif_error_invalid_parameter_value; } encoder->add_param(heif_encoder_parameter_name_quality, quality); return heif_error_ok; } static struct heif_error x265_get_parameter_quality(void* encoder_raw, int* quality) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; parameter p = encoder->get_param(heif_encoder_parameter_name_quality); *quality = p.value_int; return heif_error_ok; } static struct heif_error x265_set_parameter_lossless(void* encoder_raw, int enable) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; encoder->add_param(heif_encoder_parameter_name_lossless, (bool)enable); return heif_error_ok; } static struct heif_error x265_get_parameter_lossless(void* encoder_raw, int* enable) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; parameter p = encoder->get_param(heif_encoder_parameter_name_lossless); *enable = p.value_int; return heif_error_ok; } static struct heif_error x265_set_parameter_logging_level(void* encoder_raw, int logging) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (logging<0 || logging>4) { return heif_error_invalid_parameter_value; } encoder->logLevel = logging; return heif_error_ok; } static struct heif_error x265_get_parameter_logging_level(void* encoder_raw, int* loglevel) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; *loglevel = encoder->logLevel; return heif_error_ok; } static struct heif_error x265_set_parameter_integer(void* encoder_raw, const char* name, int value) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (strcmp(name, heif_encoder_parameter_name_quality)==0) { return x265_set_parameter_quality(encoder,value); } else if (strcmp(name, heif_encoder_parameter_name_lossless)==0) { return x265_set_parameter_lossless(encoder,value); } else if (strcmp(name, kParam_TU_intra_depth)==0) { if (value < 1 || value > 4) { return heif_error_invalid_parameter_value; } encoder->add_param(name, value); return heif_error_ok; } else if (strcmp(name, kParam_complexity)==0) { if (value < 0 || value > 100) { return heif_error_invalid_parameter_value; } encoder->add_param(name, value); return heif_error_ok; } return heif_error_unsupported_parameter; } static struct heif_error x265_get_parameter_integer(void* encoder_raw, const char* name, int* value) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (strcmp(name, heif_encoder_parameter_name_quality)==0) { return x265_get_parameter_quality(encoder,value); } else if (strcmp(name, heif_encoder_parameter_name_lossless)==0) { return x265_get_parameter_lossless(encoder,value); } else if (strcmp(name, kParam_TU_intra_depth)==0) { *value = encoder->get_param(name).value_int; return heif_error_ok; } else if (strcmp(name, kParam_complexity)==0) { *value = encoder->get_param(name).value_int; return heif_error_ok; } return heif_error_unsupported_parameter; } static struct heif_error x265_set_parameter_boolean(void* encoder, const char* name, int value) { if (strcmp(name, heif_encoder_parameter_name_lossless)==0) { return x265_set_parameter_lossless(encoder,value); } return heif_error_unsupported_parameter; } // Unused, will use "x265_get_parameter_integer" instead. /* static struct heif_error x265_get_parameter_boolean(void* encoder, const char* name, int* value) { if (strcmp(name, heif_encoder_parameter_name_lossless)==0) { return x265_get_parameter_lossless(encoder,value); } return heif_error_unsupported_parameter; } */ static bool string_list_contains(const char*const* values_list, const char* value) { for (int i=0; values_list[i]; i++) { if (strcmp(values_list[i], value)==0) { return true; } } return false; } static struct heif_error x265_set_parameter_string(void* encoder_raw, const char* name, const char* value) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (strcmp(name, kParam_preset)==0) { if (!string_list_contains(kParam_preset_valid_values, value)) { return heif_error_invalid_parameter_value; } encoder->preset = value; return heif_error_ok; } else if (strcmp(name, kParam_tune)==0) { if (!string_list_contains(kParam_tune_valid_values, value)) { return heif_error_invalid_parameter_value; } encoder->tune = value; return heif_error_ok; } else if (strncmp(name, "x265:", 5)==0) { encoder->add_param(name, std::string(value)); return heif_error_ok; } return heif_error_unsupported_parameter; } static void save_strcpy(char* dst, int dst_size, const char* src) { strncpy(dst, src, dst_size-1); dst[dst_size-1] = 0; } static struct heif_error x265_get_parameter_string(void* encoder_raw, const char* name, char* value, int value_size) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (strcmp(name, kParam_preset)==0) { save_strcpy(value, value_size, encoder->preset.c_str()); return heif_error_ok; } else if (strcmp(name, kParam_tune)==0) { save_strcpy(value, value_size, encoder->tune.c_str()); return heif_error_ok; } return heif_error_unsupported_parameter; } static void x265_set_default_parameters(void* encoder) { for (const struct heif_encoder_parameter** p = x265_encoder_parameter_ptrs; *p; p++) { const struct heif_encoder_parameter* param = *p; if (param->has_default) { switch (param->type) { case heif_encoder_parameter_type_integer: x265_set_parameter_integer(encoder, param->name, param->integer.default_value); break; case heif_encoder_parameter_type_boolean: x265_set_parameter_boolean(encoder, param->name, param->boolean.default_value); break; case heif_encoder_parameter_type_string: x265_set_parameter_string(encoder, param->name, param->string.default_value); break; } } } } static void x265_query_input_colorspace(heif_colorspace* colorspace, heif_chroma* chroma) { if (*colorspace == heif_colorspace_monochrome) { *colorspace = heif_colorspace_monochrome; *chroma = heif_chroma_monochrome; } else { *colorspace = heif_colorspace_YCbCr; *chroma = heif_chroma_420; } } static struct heif_error x265_encode_image(void* encoder_raw, const struct heif_image* image, heif_image_input_class input_class) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; // close previous encoder if there is still one hanging around if (encoder->encoder) { const x265_api* api = x265_api_get(encoder->bit_depth); api->encoder_close(encoder->encoder); encoder->encoder = nullptr; } int bit_depth = heif_image_get_bits_per_pixel_range(image, heif_channel_Y); bool isGreyscale = (heif_image_get_colorspace(image) == heif_colorspace_monochrome); const x265_api* api = x265_api_get(bit_depth); if (api==nullptr) { struct heif_error err = { heif_error_Encoder_plugin_error, heif_suberror_Unsupported_bit_depth, kError_unsupported_bit_depth }; return err; } x265_param* param = api->param_alloc(); api->param_default_preset(param, encoder->preset.c_str(), encoder->tune.c_str()); if (bit_depth == 8) api->param_apply_profile(param, "mainstillpicture"); else if (bit_depth == 10) api->param_apply_profile(param, "main10-intra"); else if (bit_depth == 12) api->param_apply_profile(param, "main12-intra"); else { api->param_free(param); return heif_error_unsupported_parameter; } param->fpsNum = 1; param->fpsDenom = 1; // x265 cannot encode images smaller than one CTU size // https://bitbucket.org/multicoreware/x265/issues/475/x265-does-not-allow-image-sizes-smaller // -> use smaller CTU sizes for very small images char ctu_buf[4]; int ctuSize = 64; #if 0 while (heif_image_get_width(image, heif_channel_Y) < ctuSize || heif_image_get_height(image, heif_channel_Y) < ctuSize) { ctuSize /= 2; } if (ctuSize < 16) { api->param_free(param); struct heif_error err = { heif_error_Encoder_plugin_error, heif_suberror_Invalid_parameter_value, kError_unsupported_image_size }; return err; } #else // TODO: There seems to be a bug in x265 where increasing the CTU size between // multiple encoding jobs causes a segmentation fault. E.g. encoding multiple // times with a CTU of 16 works, the next encoding with a CTU of 32 crashes. // Use hardcoded value of 64 and reject images that are too small. if (heif_image_get_width(image, heif_channel_Y) < ctuSize || heif_image_get_height(image, heif_channel_Y) < ctuSize) { api->param_free(param); struct heif_error err = { heif_error_Encoder_plugin_error, heif_suberror_Invalid_parameter_value, kError_unsupported_image_size }; return err; } #endif int s = snprintf(ctu_buf,4,"%d",ctuSize); assert(s<4); // BPG uses CQP. It does not seem to be better though. // param->rc.rateControlMode = X265_RC_CQP; // param->rc.qp = (100 - encoder->quality)/2; param->totalFrames = 1; param->internalCsp = isGreyscale ? X265_CSP_I400 : X265_CSP_I420; api->param_parse(param, "info", "0"); api->param_parse(param, "limit-modes", "0"); api->param_parse(param, "limit-refs", "0"); api->param_parse(param, "ctu", ctu_buf); api->param_parse(param, "rskip", "0"); api->param_parse(param, "rect", "1"); api->param_parse(param, "amp", "1"); api->param_parse(param, "aq-mode", "1"); api->param_parse(param, "psy-rd", "1.0"); api->param_parse(param, "psy-rdoq", "1.0"); api->param_parse(param, "range", "full"); for (const auto& p : encoder->parameters) { if (p.name == heif_encoder_parameter_name_quality) { // quality=0 -> crf=50 // quality=50 -> crf=25 // quality=100 -> crf=0 param->rc.rfConstant = (100 - p.value_int)/2.0; } else if (p.name == heif_encoder_parameter_name_lossless) { param->bLossless = p.value_int; } else if (p.name == kParam_TU_intra_depth) { char buf[100]; sprintf(buf, "%d", p.value_int); api->param_parse(param, "tu-intra-depth", buf); } else if (p.name == kParam_complexity) { const int complexity = p.value_int; if (complexity >= 60) { api->param_parse(param, "rd-refine", "1"); // increases computation time api->param_parse(param, "rd", "6"); } if (complexity >= 70) { api->param_parse(param, "cu-lossless", "1"); // increases computation time } if (complexity >= 90) { api->param_parse(param, "wpp", "0"); // setting to 0 significantly increases computation time } } else if (strncmp(p.name.c_str(), "x265:", 5)==0) { std::string x265p = p.name.substr(5); api->param_parse(param, x265p.c_str(), p.value_string.c_str()); } } param->logLevel = encoder->logLevel; param->sourceWidth = heif_image_get_width(image, heif_channel_Y) & ~1; param->sourceHeight = heif_image_get_height(image, heif_channel_Y) & ~1; param->internalBitDepth = bit_depth; x265_picture* pic = api->picture_alloc(); api->picture_init(param, pic); if (isGreyscale) { pic->planes[0] = (void*)heif_image_get_plane_readonly(image, heif_channel_Y, &pic->stride[0]); } else { pic->planes[0] = (void*)heif_image_get_plane_readonly(image, heif_channel_Y, &pic->stride[0]); pic->planes[1] = (void*)heif_image_get_plane_readonly(image, heif_channel_Cb, &pic->stride[1]); pic->planes[2] = (void*)heif_image_get_plane_readonly(image, heif_channel_Cr, &pic->stride[2]); } pic->bitDepth = bit_depth; encoder->bit_depth = bit_depth; encoder->encoder = api->encoder_open(param); api->encoder_encode(encoder->encoder, &encoder->nals, &encoder->num_nals, pic, NULL); api->picture_free(pic); api->param_free(param); encoder->nal_output_counter = 0; return heif_error_ok; } static struct heif_error x265_get_compressed_data(void* encoder_raw, uint8_t** data, int* size, enum heif_encoded_data_type* type) { struct encoder_struct_x265* encoder = (struct encoder_struct_x265*)encoder_raw; if (encoder->encoder == nullptr) { *data = nullptr; *size = 0; return heif_error_ok; } const x265_api* api = x265_api_get(encoder->bit_depth); for (;;) { while (encoder->nal_output_counter < encoder->num_nals) { *data = encoder->nals[encoder->nal_output_counter].payload; *size = encoder->nals[encoder->nal_output_counter].sizeBytes; encoder->nal_output_counter++; // --- skip start code --- // skip '0' bytes while (**data==0 && *size>0) { (*data)++; (*size)--; } // skip '1' byte (*data)++; (*size)--; // --- skip NALs with irrelevant data --- if (*size >= 3 && (*data)[0]==0x4e && (*data)[2]==5) { // skip "unregistered user data SEI" } else { // output NAL return heif_error_ok; } } encoder->nal_output_counter = 0; int result = api->encoder_encode(encoder->encoder, &encoder->nals, &encoder->num_nals, NULL, NULL); if (result <= 0) { *data = nullptr; *size = 0; return heif_error_ok; } } } static const struct heif_encoder_plugin encoder_plugin_x265 { /* plugin_api_version */ 1, /* compression_format */ heif_compression_HEVC, /* id_name */ "x265", /* priority */ X265_PLUGIN_PRIORITY, /* supports_lossy_compression */ true, /* supports_lossless_compression */ true, /* get_plugin_name */ x265_plugin_name, /* init_plugin */ x265_init_plugin, /* cleanup_plugin */ x265_cleanup_plugin, /* new_encoder */ x265_new_encoder, /* free_encoder */ x265_free_encoder, /* set_parameter_quality */ x265_set_parameter_quality, /* get_parameter_quality */ x265_get_parameter_quality, /* set_parameter_lossless */ x265_set_parameter_lossless, /* get_parameter_lossless */ x265_get_parameter_lossless, /* set_parameter_logging_level */ x265_set_parameter_logging_level, /* get_parameter_logging_level */ x265_get_parameter_logging_level, /* list_parameters */ x265_list_parameters, /* set_parameter_integer */ x265_set_parameter_integer, /* get_parameter_integer */ x265_get_parameter_integer, /* set_parameter_boolean */ x265_set_parameter_integer, // boolean also maps to integer function /* get_parameter_boolean */ x265_get_parameter_integer, // boolean also maps to integer function /* set_parameter_string */ x265_set_parameter_string, /* get_parameter_string */ x265_get_parameter_string, /* query_input_colorspace */ x265_query_input_colorspace, /* encode_image */ x265_encode_image, /* get_compressed_data */ x265_get_compressed_data }; const struct heif_encoder_plugin* get_encoder_plugin_x265() { return &encoder_plugin_x265; } libheif-1.6.1/libheif/encoder_fuzzer.cc0000644000221000001440000001211113576157752015001 00000000000000/* * HEIF codec. * Copyright (c) 2018 struktur AG, Joachim Bauch * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include #include #include #include #include "heif.h" static void generate_plane(int width, int height, uint8_t* output, int stride) { // TODO(fancycode): Fill with random data. if (width == stride) { memset(output, 0, width * height); } else { for (int y = 0; y < height; y++) { memset(output, 0, width); output += stride; } } } static size_t create_image(const uint8_t* data, size_t size, struct heif_image** image) { if (size < 2) { return 0; } int width = data[0] + 16; int height = data[1] + 16; data += 2; size -= 2; // TODO(fancycode): Get colorspace/chroma from fuzzing input. heif_colorspace colorspace = heif_colorspace_YCbCr; heif_chroma chroma = heif_chroma_420; struct heif_error err = heif_image_create(width, height, colorspace, chroma, image); if (err.code != heif_error_Ok) { return 0; } err = heif_image_add_plane(*image, heif_channel_Y, width, height, 8); assert(err.code == heif_error_Ok); err = heif_image_add_plane(*image, heif_channel_Cb, width / 2, height / 2, 8); assert(err.code == heif_error_Ok); err = heif_image_add_plane(*image, heif_channel_Cr, width / 2, height / 2, 8); assert(err.code == heif_error_Ok); int stride; uint8_t* plane; plane = heif_image_get_plane(*image, heif_channel_Y, &stride); generate_plane(width, height, plane, stride); plane = heif_image_get_plane(*image, heif_channel_Cb, &stride); generate_plane(width / 2, height / 2, plane, stride); plane = heif_image_get_plane(*image, heif_channel_Cr, &stride); generate_plane(width / 2, height / 2, plane, stride); return 2; } class MemoryWriter { public: MemoryWriter() : data_(nullptr), size_(0), capacity_(0) {} ~MemoryWriter() { free(data_); } const uint8_t* data() const { return data_; } size_t size() const { return size_; } void write(const void* data, size_t size) { if (capacity_ - size_ < size) { size_t new_capacity = capacity_ + size; uint8_t* new_data = static_cast(malloc(new_capacity)); assert(new_data); if (data_) { memcpy(new_data, data_, size_); free(data_); } data_ = new_data; capacity_ = new_capacity; } memcpy(&data_[size_], data, size); size_ += size; } public: uint8_t* data_; size_t size_; size_t capacity_; }; static struct heif_error writer_write(struct heif_context* ctx, const void* data, size_t size, void* userdata) { MemoryWriter* writer = static_cast(userdata); writer->write(data, size); struct heif_error err{heif_error_Ok, heif_suberror_Unspecified, nullptr}; return err; } extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { struct heif_error err; std::shared_ptr context(heif_context_alloc(), [] (heif_context* c) { heif_context_free(c); }); assert(context); static const size_t kMaxEncoders = 5; const heif_encoder_descriptor* encoder_descriptors[kMaxEncoders]; int count = heif_context_get_encoder_descriptors(context.get(), heif_compression_HEVC, nullptr, encoder_descriptors, kMaxEncoders); assert(count > 0); heif_encoder* encoder; err = heif_context_get_encoder(context.get(), encoder_descriptors[0], &encoder); if (err.code != heif_error_Ok) { return 0; } if (size < 2) { heif_encoder_release(encoder); return 0; } int quality = data[0] % 101;; int lossless = (data[1] > 0x80); data += 2; size -= 2; heif_encoder_set_lossy_quality(encoder, quality); heif_encoder_set_lossless(encoder, lossless); struct heif_image* image = nullptr; size_t read = create_image(data, size, &image); assert(read <= size); if (!read) { heif_image_release(image); heif_encoder_release(encoder); return 0; } data += read; size -= read; struct heif_image_handle* img; err = heif_context_encode_image(context.get(), image, encoder, nullptr, &img); heif_image_release(image); heif_encoder_release(encoder); if (err.code != heif_error_Ok) { return 0; } heif_image_handle_release(img); MemoryWriter writer; struct heif_writer w; w.writer_api_version = 1; w.write = writer_write; heif_context_write(context.get(), &w, &writer); assert(writer.size() > 0); return 0; } libheif-1.6.1/libheif/heif_image.h0000644000221000001440000001017613576157752013705 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_IMAGE_H #define LIBHEIF_HEIF_IMAGE_H #include "heif.h" #include "error.h" #include "box.h" // only for color_profile, TODO: maybe move the color_profiles to its own header #include #include #include #include namespace heif { int chroma_h_subsampling(heif_chroma c); int chroma_v_subsampling(heif_chroma c); class HeifPixelImage : public std::enable_shared_from_this, public ErrorBuffer { public: explicit HeifPixelImage(); ~HeifPixelImage(); void create(int width,int height, heif_colorspace colorspace, heif_chroma chroma); bool add_plane(heif_channel channel, int width, int height, int bit_depth); bool has_channel(heif_channel channel) const; // Has alpha information either as a separate channel or in the interleaved format. bool has_alpha() const; int get_width() const { return m_width; } int get_height() const { return m_height; } int get_width(enum heif_channel channel) const; int get_height(enum heif_channel channel) const; heif_chroma get_chroma_format() const { return m_chroma; } heif_colorspace get_colorspace() const { return m_colorspace; } std::set get_channel_set() const; int get_storage_bits_per_pixel(enum heif_channel channel) const; int get_bits_per_pixel(enum heif_channel channel) const; uint8_t* get_plane(enum heif_channel channel, int* out_stride); const uint8_t* get_plane(enum heif_channel channel, int* out_stride) const; void copy_new_plane_from(const std::shared_ptr& src_image, heif_channel src_channel, heif_channel dst_channel); void fill_new_plane(heif_channel dst_channel, uint8_t value, int width, int height); void transfer_plane_from_image_as(std::shared_ptr source, heif_channel src_channel, heif_channel dst_channel); Error rotate_ccw(int angle_degrees, std::shared_ptr& out_img); Error mirror_inplace(bool horizontal); Error crop(int left,int right,int top,int bottom, std::shared_ptr& out_img) const; Error fill_RGB_16bit(uint16_t r, uint16_t g, uint16_t b, uint16_t a); Error overlay(std::shared_ptr& overlay, int dx,int dy); Error scale_nearest_neighbor(std::shared_ptr& output, int width,int height) const; void set_color_profile(std::shared_ptr profile) { m_color_profile = profile; } std::shared_ptr get_color_profile() { return m_color_profile; } private: struct ImagePlane { int width; int height; int bit_depth; uint8_t* mem; // aligned memory start uint8_t* allocated_mem = nullptr; // unaligned memory we allocated int stride; }; int m_width = 0; int m_height = 0; heif_colorspace m_colorspace = heif_colorspace_undefined; heif_chroma m_chroma = heif_chroma_undefined; std::shared_ptr m_color_profile; std::map m_planes; }; std::shared_ptr convert_colorspace(const std::shared_ptr& input, heif_colorspace colorspace, heif_chroma chroma); } #endif libheif-1.6.1/libheif/bitstream.cc0000644000221000001440000002653513507414702013747 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #include "bitstream.h" #include #include #include #define MAX_UVLC_LEADING_ZEROS 20 using namespace heif; StreamReader_istream::StreamReader_istream(std::unique_ptr&& istr) : m_istr(std::move(istr)) { m_istr->seekg(0, std::ios_base::end); m_length = m_istr->tellg(); m_istr->seekg(0, std::ios_base::beg); } int64_t StreamReader_istream::get_position() const { return m_istr->tellg(); } StreamReader::grow_status StreamReader_istream::wait_for_file_size(int64_t target_size) { return (target_size > m_length) ? size_beyond_eof : size_reached; } bool StreamReader_istream::read(void* data, size_t size) { int64_t end_pos = get_position() + size; if (end_pos > m_length) { return false; } m_istr->read((char*)data, size); return true; } bool StreamReader_istream::seek(int64_t position) { if (position>m_length) return false; m_istr->seekg(position, std::ios_base::beg); return true; } StreamReader_memory::StreamReader_memory(const uint8_t* data, int64_t size, bool copy) : m_length(size), m_position(0) { if (copy) { m_owned_data = new uint8_t[m_length]; memcpy(m_owned_data, data, m_length); m_data = m_owned_data; } else { m_data = data; } } StreamReader_memory::~StreamReader_memory() { if (m_owned_data) { delete[] m_owned_data; } } int64_t StreamReader_memory::get_position() const { return m_position; } StreamReader::grow_status StreamReader_memory::wait_for_file_size(int64_t target_size) { return (target_size > m_length) ? size_beyond_eof : size_reached; } bool StreamReader_memory::read(void* data, size_t size) { int64_t end_pos = m_position + size; if (end_pos > m_length) { return false; } memcpy(data, &m_data[m_position], size); m_position += size; return true; } bool StreamReader_memory::seek(int64_t position) { if (position>m_length || position<0) return false; m_position = position; return true; } StreamReader_CApi::StreamReader_CApi(const heif_reader* func_table, void* userdata) : m_func_table(func_table), m_userdata(userdata) { } StreamReader::grow_status StreamReader_CApi::wait_for_file_size(int64_t target_size) { heif_reader_grow_status status = m_func_table->wait_for_file_size(target_size, m_userdata); switch (status) { case heif_reader_grow_status_size_reached: return size_reached; case heif_reader_grow_status_timeout: return timeout; case heif_reader_grow_status_size_beyond_eof: return size_beyond_eof; default: assert(0); return size_beyond_eof; } } BitstreamRange::BitstreamRange(std::shared_ptr istr, uint64_t length, BitstreamRange* parent) { m_remaining = length; m_istr = istr; m_parent_range = parent; if (parent) { m_nesting_level = parent->m_nesting_level + 1; } } StreamReader::grow_status BitstreamRange::wait_until_range_is_available() { return m_istr->wait_for_file_size( m_istr->get_position() + m_remaining ); } uint8_t BitstreamRange::read8() { if (!prepare_read(1)) { return 0; } uint8_t buf; auto istr = get_istream(); bool success = istr->read((char*)&buf,1); if (!success) { set_eof_while_reading(); return 0; } return buf; } uint16_t BitstreamRange::read16() { if (!prepare_read(2)) { return 0; } uint8_t buf[2]; auto istr = get_istream(); bool success = istr->read((char*)buf,2); if (!success) { set_eof_while_reading(); return 0; } return static_cast((buf[0]<<8) | (buf[1])); } uint32_t BitstreamRange::read32() { if (!prepare_read(4)) { return 0; } uint8_t buf[4]; auto istr = get_istream(); bool success = istr->read((char*)buf,4); if (!success) { set_eof_while_reading(); return 0; } return ((buf[0]<<24) | (buf[1]<<16) | (buf[2]<< 8) | (buf[3])); } std::string BitstreamRange::read_string() { std::string str; // Reading a string when no more data is available, returns an empty string. // Such a case happens, for example, when reading a 'url' box without content. if (eof()) { return std::string(); } for (;;) { if (!prepare_read(1)) { return std::string(); } auto istr = get_istream(); char c; bool success = istr->read(&c,1); if (!success) { set_eof_while_reading(); return std::string(); } if (c==0) { break; } else { str += (char)c; } } return str; } bool BitstreamRange::prepare_read(int64_t nBytes) { if (nBytes<0) { // --- we cannot read negative amounts of bytes assert(false); return false; } else if (m_remaining < nBytes) { // --- not enough data left in box -> move to end of box and set error flag skip_to_end_of_box(); m_error = true; return false; } else { // --- this is the normal case (m_remaining >= nBytes) if (m_parent_range) { if (!m_parent_range->prepare_read(nBytes)) { return false; } } m_remaining -= nBytes; return true; } } StreamReader::grow_status BitstreamRange::wait_for_available_bytes(int64_t nBytes) { int64_t target_size = m_istr->get_position() + nBytes; return m_istr->wait_for_file_size(target_size); } void BitstreamRange::skip_without_advancing_file_pos(int64_t n) { assert(n<=m_remaining); m_remaining -= n; if (m_parent_range) { m_parent_range->skip_without_advancing_file_pos(n); } } BitReader::BitReader(const uint8_t* buffer, int len) { data = buffer; data_length = len; bytes_remaining = len; nextbits=0; nextbits_cnt=0; refill(); } int BitReader::get_bits(int n) { if (nextbits_cnt < n) { refill(); } uint64_t val = nextbits; val >>= 64-n; nextbits <<= n; nextbits_cnt -= n; return (int)val; } int BitReader::get_bits_fast(int n) { assert(nextbits_cnt >= n); uint64_t val = nextbits; val >>= 64-n; nextbits <<= n; nextbits_cnt -= n; return (int)val; } int BitReader::peek_bits(int n) { if (nextbits_cnt < n) { refill(); } uint64_t val = nextbits; val >>= 64-n; return (int)val; } void BitReader::skip_bits(int n) { if (nextbits_cnt < n) { refill(); } nextbits <<= n; nextbits_cnt -= n; } void BitReader::skip_bits_fast(int n) { nextbits <<= n; nextbits_cnt -= n; } void BitReader::skip_to_byte_boundary() { int nskip = (nextbits_cnt & 7); nextbits <<= nskip; nextbits_cnt -= nskip; } bool BitReader::get_uvlc(int* value) { int num_zeros=0; while (get_bits(1)==0) { num_zeros++; if (num_zeros > MAX_UVLC_LEADING_ZEROS) { return false; } } int offset = 0; if (num_zeros != 0) { offset = (int)get_bits(num_zeros); *value = offset + (1<0); return true; } else { *value = 0; return true; } } bool BitReader::get_svlc(int* value) { int v; if (!get_uvlc(&v)) { return false; } else if (v == 0) { *value = v; return true; } bool negative = ((v&1)==0); *value = negative ? -v/2 : (v+1)/2; return true; } void BitReader::refill() { #if 0 // TODO: activate me one I'm sure this works while (nextbits_cnt <= 64-8 && bytes_remaining) { uint64_t newval = *data++; bytes_remaining--; nextbits_cnt += 8; newval <<= 64-nextbits_cnt; nextbits |= newval; } #else int shift = 64 - nextbits_cnt; while (shift >= 8 && bytes_remaining) { uint64_t newval = *data++; bytes_remaining--; shift -= 8; newval <<= shift; nextbits |= newval; } nextbits_cnt = 64-shift; #endif } void StreamWriter::write8(uint8_t v) { if (m_position == m_data.size()) { m_data.push_back(v); m_position++; } else { m_data[m_position++] = v; } } void StreamWriter::write16(uint16_t v) { size_t required_size = m_position+2; if (required_size > m_data.size()) { m_data.resize(required_size); } m_data[m_position++] = uint8_t((v>>8) & 0xFF); m_data[m_position++] = uint8_t(v & 0xFF); } void StreamWriter::write32(uint32_t v) { size_t required_size = m_position+4; if (required_size > m_data.size()) { m_data.resize(required_size); } m_data[m_position++] = uint8_t((v>>24) & 0xFF); m_data[m_position++] = uint8_t((v>>16) & 0xFF); m_data[m_position++] = uint8_t((v>>8) & 0xFF); m_data[m_position++] = uint8_t(v & 0xFF); } void StreamWriter::write64(uint64_t v) { size_t required_size = m_position+8; if (required_size > m_data.size()) { m_data.resize(required_size); } m_data[m_position++] = uint8_t((v>>56) & 0xFF); m_data[m_position++] = uint8_t((v>>48) & 0xFF); m_data[m_position++] = uint8_t((v>>40) & 0xFF); m_data[m_position++] = uint8_t((v>>32) & 0xFF); m_data[m_position++] = uint8_t((v>>24) & 0xFF); m_data[m_position++] = uint8_t((v>>16) & 0xFF); m_data[m_position++] = uint8_t((v>>8) & 0xFF); m_data[m_position++] = uint8_t(v & 0xFF); } void StreamWriter::write(int size, uint64_t value) { if (size==1) { assert(value <= 0xFF); write8((uint8_t)value); } else if (size==2) { assert(value <= 0xFFFF); write16((uint16_t)value); } else if (size==4) { assert(value <= 0xFFFFFFFF); write32((uint32_t)value); } else if (size==8) { write64((uint64_t)value); } else { assert(false); // unimplemented size } } void StreamWriter::write(const std::string& str) { size_t required_size = m_position + str.size() +1; if (required_size > m_data.size()) { m_data.resize(required_size); } for (size_t i=0;i& vec) { size_t required_size = m_position + vec.size(); if (required_size > m_data.size()) { m_data.resize(required_size); } memcpy(m_data.data() + m_position, vec.data(), vec.size()); m_position += vec.size(); } void StreamWriter::write(const StreamWriter& writer) { size_t required_size = m_position + writer.get_data().size(); if (required_size > m_data.size()) { m_data.resize(required_size); } const auto& data = writer.get_data(); memcpy(m_data.data() + m_position, data.data(), data.size()); m_position += data.size(); } void StreamWriter::skip(int n) { assert(m_position == m_data.size()); m_data.resize( m_data.size() + n ); m_position += n; } void StreamWriter::insert(int nBytes) { assert(nBytes>=0); if (nBytes==0) { return; } m_data.resize( m_data.size() + nBytes ); if (m_position < m_data.size() - nBytes) { memmove(m_data.data() + m_position + nBytes, m_data.data() + m_position, m_data.size() - nBytes - m_position); } } libheif-1.6.1/libheif/error.h0000644000221000001440000000472213576430032012742 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_ERROR_H #define LIBHEIF_ERROR_H #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #include #include #include #include #include "heif.h" static constexpr char kSuccess[] = "Success"; namespace heif { class ErrorBuffer { public: ErrorBuffer() { } void set_success() { m_error_message = c_success; } void set_error(std::string err) { m_buffer = err; m_error_message = m_buffer.c_str(); } const char* get_error() const { return m_error_message; } private: constexpr static const char* c_success = "Success"; std::string m_buffer; const char* m_error_message = c_success; }; class Error { public: enum heif_error_code error_code; enum heif_suberror_code sub_error_code; std::string message; Error(); Error(heif_error_code c, heif_suberror_code sc = heif_suberror_Unspecified, std::string msg=""); static Error Ok; static const char kSuccess[]; bool operator==(const Error& other) const { return error_code == other.error_code; } bool operator!=(const Error& other) const { return !(*this == other); } operator bool() const { return error_code != heif_error_Ok; } static const char* get_error_string(heif_error_code err); static const char* get_error_string(heif_suberror_code err); heif_error error_struct(ErrorBuffer* error_buffer) const; }; inline std::ostream& operator<<(std::ostream& ostr, const Error& err) { ostr << err.error_code << "/" << err.sub_error_code; return ostr; } } #endif libheif-1.6.1/libheif/heif_context.h0000644000221000001440000002367613576157752014320 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #ifndef LIBHEIF_HEIF_CONTEXT_H #define LIBHEIF_HEIF_CONTEXT_H #include #include #include #include #include #include "error.h" #include "heif.h" #include "heif_plugin.h" #include "bitstream.h" #include "box.h" // only for color_profile, TODO: maybe move the color_profiles to its own header namespace heif { class HeifContext; } namespace heif { class HeifFile; class HeifPixelImage; class StreamWriter; class ImageMetadata { public: heif_item_id item_id; std::string item_type; // e.g. "Exif" std::string content_type; std::vector m_data; }; // This is a higher-level view than HeifFile. // Images are grouped logically into main images and their thumbnails. // The class also handles automatic color-space conversion. class HeifContext : public ErrorBuffer { public: HeifContext(); ~HeifContext(); void set_max_decoding_threads(int max_threads) { m_max_decoding_threads = max_threads; } void set_maximum_image_size_limit(int maximum_size) { m_maximum_image_width_limit = maximum_size; m_maximum_image_height_limit = maximum_size; } Error read(std::shared_ptr reader); Error read_from_file(const char* input_filename); Error read_from_memory(const void* data, size_t size, bool copy); class Image : public ErrorBuffer { public: Image(HeifContext* file, heif_item_id id); ~Image(); void set_resolution(int w,int h) { m_width=w; m_height=h; } void set_ispe_resolution(int w,int h) { m_ispe_width=w; m_ispe_height=h; } void set_primary(bool flag=true) { m_is_primary=flag; } heif_item_id get_id() const { return m_id; } //void set_id(heif_item_id id) { m_id=id; } (already set in constructor) int get_width() const { return m_width; } int get_height() const { return m_height; } int get_ispe_width() const { return m_ispe_width; } int get_ispe_height() const { return m_ispe_height; } int get_luma_bits_per_pixel() const; int get_chroma_bits_per_pixel() const; bool is_primary() const { return m_is_primary; } Error decode_image(std::shared_ptr& img, heif_colorspace colorspace = heif_colorspace_undefined, heif_chroma chroma = heif_chroma_undefined, const struct heif_decoding_options* options = nullptr) const; // -- thumbnails void set_is_thumbnail_of(heif_item_id id) { m_is_thumbnail=true; m_thumbnail_ref_id=id; } void add_thumbnail(std::shared_ptr img) { m_thumbnails.push_back(img); } bool is_thumbnail() const { return m_is_thumbnail; } std::vector> get_thumbnails() const { return m_thumbnails; } // --- alpha channel void set_is_alpha_channel_of(heif_item_id id) { m_is_alpha_channel=true; m_alpha_channel_ref_id=id; } void set_alpha_channel(std::shared_ptr img) { m_alpha_channel=img; } bool is_alpha_channel() const { return m_is_alpha_channel; } std::shared_ptr get_alpha_channel() const { return m_alpha_channel; } // --- depth channel void set_is_depth_channel_of(heif_item_id id) { m_is_depth_channel=true; m_depth_channel_ref_id=id; } void set_depth_channel(std::shared_ptr img) { m_depth_channel=img; } bool is_depth_channel() const { return m_is_depth_channel; } std::shared_ptr get_depth_channel() const { return m_depth_channel; } void set_depth_representation_info(struct heif_depth_representation_info& info) { m_has_depth_representation_info = true; m_depth_representation_info = info; } bool has_depth_representation_info() const { return m_has_depth_representation_info; } const struct heif_depth_representation_info& get_depth_representation_info() const { return m_depth_representation_info; } // --- metadata void add_metadata(std::shared_ptr metadata) { m_metadata.push_back(metadata); } std::vector> get_metadata() const { return m_metadata; } // === writing === void set_preencoded_hevc_image(const std::vector& data); Error encode_image_as_hevc(std::shared_ptr image, struct heif_encoder* encoder, const struct heif_encoding_options* options, enum heif_image_input_class input_class); std::shared_ptr get_color_profile() const { return m_color_profile; } void set_color_profile(std::shared_ptr profile) { m_color_profile = profile; }; private: HeifContext* m_heif_context; heif_item_id m_id = 0; uint32_t m_width=0, m_height=0; uint32_t m_ispe_width=0, m_ispe_height=0; // original image resolution bool m_is_primary = false; bool m_is_thumbnail = false; heif_item_id m_thumbnail_ref_id = 0; std::vector> m_thumbnails; bool m_is_alpha_channel = false; heif_item_id m_alpha_channel_ref_id = 0; std::shared_ptr m_alpha_channel; bool m_is_depth_channel = false; heif_item_id m_depth_channel_ref_id = 0; std::shared_ptr m_depth_channel; bool m_has_depth_representation_info = false; struct heif_depth_representation_info m_depth_representation_info; std::vector> m_metadata; std::shared_ptr m_color_profile; }; std::vector> get_top_level_images() { return m_top_level_images; } std::shared_ptr get_primary_image() { return m_primary_image; } void register_decoder(const heif_decoder_plugin* decoder_plugin); bool is_image(heif_item_id ID) const; Error decode_image(heif_item_id ID, std::shared_ptr& img, const struct heif_decoding_options* options = nullptr) const; std::string debug_dump_boxes() const; // === writing === // Create all boxes necessary for an empty HEIF file. // Note that this is no valid HEIF file, since some boxes (e.g. pitm) are generated, but // contain no valid data yet. void reset_to_empty_heif(); Error encode_image(std::shared_ptr image, struct heif_encoder* encoder, const struct heif_encoding_options* options, enum heif_image_input_class input_class, std::shared_ptr& out_image); void set_primary_image(std::shared_ptr image); Error set_primary_item(heif_item_id id); bool is_primary_image_set() const { return !!m_primary_image; } Error assign_thumbnail(std::shared_ptr master_image, std::shared_ptr thumbnail_image); Error encode_thumbnail(std::shared_ptr image, struct heif_encoder* encoder, const struct heif_encoding_options* options, int bbox_size, std::shared_ptr& out_image_handle); Error add_exif_metadata(std::shared_ptr master_image, const void* data, int size); Error add_XMP_metadata(std::shared_ptr master_image, const void* data, int size); Error add_generic_metadata(std::shared_ptr master_image, const void* data, int size, const char* item_type, const char* content_type); void write(StreamWriter& writer); private: const struct heif_decoder_plugin* get_decoder(enum heif_compression_format type) const; std::set m_decoder_plugins; std::map> m_all_images; // We store this in a vector because we need stable indices for the C API. // TODO: stable indices are obsolet now... std::vector> m_top_level_images; std::shared_ptr m_primary_image; // shortcut to primary image std::shared_ptr m_heif_file; int m_max_decoding_threads = 4; uint32_t m_maximum_image_width_limit; uint32_t m_maximum_image_height_limit; Error interpret_heif_file(); void remove_top_level_image(std::shared_ptr image); Error decode_full_grid_image(heif_item_id ID, std::shared_ptr& img, const std::vector& grid_data) const; Error decode_and_paste_tile_image(heif_item_id tileID, std::shared_ptr out_image, int x0,int y0) const; Error decode_derived_image(heif_item_id ID, std::shared_ptr& img) const; Error decode_overlay_image(heif_item_id ID, std::shared_ptr& img, const std::vector& overlay_data) const; Error get_id_of_non_virtual_child_image(heif_item_id in, heif_item_id& out) const; }; } #endif libheif-1.6.1/libheif/heif_context.cc0000644000221000001440000015216413576426430014441 00000000000000/* * HEIF codec. * Copyright (c) 2017 struktur AG, Dirk Farin * * This file is part of libheif. * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #include #include #include #if ENABLE_PARALLEL_TILE_DECODING #include #endif #include "heif_context.h" #include "heif_file.h" #include "heif_image.h" #include "heif_api_structs.h" #include "heif_limits.h" #include "heif_hevc.h" #include "heif_plugin_registry.h" using namespace heif; heif_encoder::heif_encoder(std::shared_ptr _context, const struct heif_encoder_plugin* _plugin) : //context(_context), plugin(_plugin) { } heif_encoder::~heif_encoder() { release(); } void heif_encoder::release() { if (encoder) { plugin->free_encoder(encoder); encoder = nullptr; } } struct heif_error heif_encoder::alloc() { if (encoder == nullptr) { struct heif_error error = plugin->new_encoder(&encoder); // TODO: error handling return error; } struct heif_error err = { heif_error_Ok, heif_suberror_Unspecified, kSuccess }; return err; } static int32_t readvec_signed(const std::vector& data,int& ptr,int len) { const uint32_t high_bit = 0x80<<((len-1)*8); uint32_t val=0; while (len--) { val <<= 8; val |= data[ptr++]; } bool negative = (val & high_bit) != 0; val &= ~high_bit; if (negative) { return -(high_bit-val); } else { return val; } return val; } static uint32_t readvec(const std::vector& data,int& ptr,int len) { uint32_t val=0; while (len--) { val <<= 8; val |= data[ptr++]; } return val; } class ImageGrid { public: Error parse(const std::vector& data); std::string dump() const; uint32_t get_width() const { return m_output_width; } uint32_t get_height() const { return m_output_height; } uint16_t get_rows() const { assert(m_rows<=256); return m_rows; } uint16_t get_columns() const { assert(m_columns<=256); return m_columns; } private: uint16_t m_rows; uint16_t m_columns; uint32_t m_output_width; uint32_t m_output_height; }; Error ImageGrid::parse(const std::vector& data) { if (data.size() < 8) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_grid_data, "Less than 8 bytes of data"); } uint8_t version = data[0]; (void)version; // version is unused uint8_t flags = data[1]; int field_size = ((flags & 1) ? 32 : 16); m_rows = static_cast(data[2] +1); m_columns = static_cast(data[3] +1); if (field_size == 32) { if (data.size() < 12) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_grid_data, "Grid image data incomplete"); } m_output_width = ((data[4] << 24) | (data[5] << 16) | (data[6] << 8) | (data[7])); m_output_height = ((data[ 8] << 24) | (data[ 9] << 16) | (data[10] << 8) | (data[11])); } else { m_output_width = ((data[4] << 8) | (data[5])); m_output_height = ((data[ 6] << 8) | (data[ 7])); } return Error::Ok; } std::string ImageGrid::dump() const { std::ostringstream sstr; sstr << "rows: " << m_rows << "\n" << "columns: " << m_columns << "\n" << "output width: " << m_output_width << "\n" << "output height: " << m_output_height << "\n"; return sstr.str(); } class ImageOverlay { public: Error parse(size_t num_images, const std::vector& data); std::string dump() const; void get_background_color(uint16_t col[4]) const; uint32_t get_canvas_width() const { return m_width; } uint32_t get_canvas_height() const { return m_height; } size_t get_num_offsets() const { return m_offsets.size(); } void get_offset(size_t image_index, int32_t* x, int32_t* y) const; private: uint8_t m_version; uint8_t m_flags; uint16_t m_background_color[4]; uint32_t m_width; uint32_t m_height; struct Offset { int32_t x,y; }; std::vector m_offsets; }; Error ImageOverlay::parse(size_t num_images, const std::vector& data) { Error eofError(heif_error_Invalid_input, heif_suberror_Invalid_grid_data, "Overlay image data incomplete"); if (data.size() < 2 + 4*2) { return eofError; } m_version = data[0]; m_flags = data[1]; if (m_version != 0) { std::stringstream sstr; sstr << "Overlay image data version " << ((int)m_version) << " is not implemented yet"; return Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_data_version, sstr.str()); } int field_len = ((m_flags & 1) ? 4 : 2); int ptr=2; if (ptr + 4*2 + 2*field_len + num_images*2*field_len > data.size()) { return eofError; } for (int i=0;i<4;i++) { uint16_t color = static_cast(readvec(data,ptr,2)); m_background_color[i] = color; } m_width = readvec(data,ptr,field_len); m_height = readvec(data,ptr,field_len); m_offsets.resize(num_images); for (size_t i=0;i image = it.second; image->get_thumbnails().clear(); image->set_alpha_channel(nullptr); image->set_depth_channel(nullptr); } } Error HeifContext::read(std::shared_ptr reader) { m_heif_file = std::make_shared(); Error err = m_heif_file->read(reader); if (err) { return err; } return interpret_heif_file(); } Error HeifContext::read_from_file(const char* input_filename) { m_heif_file = std::make_shared(); Error err = m_heif_file->read_from_file(input_filename); if (err) { return err; } return interpret_heif_file(); } Error HeifContext::read_from_memory(const void* data, size_t size, bool copy) { m_heif_file = std::make_shared(); Error err = m_heif_file->read_from_memory(data,size, copy); if (err) { return err; } return interpret_heif_file(); } void HeifContext::reset_to_empty_heif() { m_heif_file = std::make_shared(); m_heif_file->new_empty_file(); m_all_images.clear(); m_top_level_images.clear(); m_primary_image.reset(); } void HeifContext::write(StreamWriter& writer) { m_heif_file->write(writer); } std::string HeifContext::debug_dump_boxes() const { return m_heif_file->debug_dump_boxes(); } void HeifContext::register_decoder(const heif_decoder_plugin* decoder_plugin) { if (decoder_plugin->init_plugin) { (*decoder_plugin->init_plugin)(); } m_decoder_plugins.insert(decoder_plugin); } const struct heif_decoder_plugin* HeifContext::get_decoder(enum heif_compression_format type) const { int highest_priority = 0; const struct heif_decoder_plugin* best_plugin = nullptr; // search global plugins best_plugin = heif::get_decoder(type); if (best_plugin != nullptr) { highest_priority = best_plugin->does_support_format(type); } // search context-local plugins (DEPRECATED) for (const auto* plugin : m_decoder_plugins) { int priority = plugin->does_support_format(type); if (priority > highest_priority) { highest_priority = priority; best_plugin = plugin; } } return best_plugin; } static bool item_type_is_image(const std::string& item_type) { return (item_type=="hvc1" || item_type=="grid" || item_type=="iden" || item_type=="iovl"); } void HeifContext::remove_top_level_image(std::shared_ptr image) { std::vector> new_list; for (auto img : m_top_level_images) { if (img != image) { new_list.push_back(img); } } m_top_level_images = new_list; } Error HeifContext::interpret_heif_file() { m_all_images.clear(); m_top_level_images.clear(); m_primary_image.reset(); // --- reference all non-hidden images std::vector image_IDs = m_heif_file->get_item_IDs(); bool primary_is_grid = false; for (heif_item_id id : image_IDs) { auto infe_box = m_heif_file->get_infe_box(id); if (!infe_box) { // TODO(farindk): Should we return an error instead of skipping the invalid id? continue; } if (item_type_is_image(infe_box->get_item_type())) { auto image = std::make_shared(this, id); m_all_images.insert(std::make_pair(id, image)); if (!infe_box->is_hidden_item()) { if (id==m_heif_file->get_primary_image_ID()) { image->set_primary(true); m_primary_image = image; primary_is_grid = infe_box->get_item_type() == "grid"; } m_top_level_images.push_back(image); } } } if (!m_primary_image) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "'pitm' box references a non-existing image"); } // --- remove thumbnails from top-level images and assign to their respective image auto iref_box = m_heif_file->get_iref_box(); if (iref_box) { // m_top_level_images.clear(); for (auto& pair : m_all_images) { auto& image = pair.second; std::vector references = iref_box->get_references_from(image->get_id()); for (const Box_iref::Reference& ref : references) { uint32_t type = ref.header.get_short_type(); if (type==fourcc("thmb")) { // --- this is a thumbnail image, attach to the main image std::vector refs = ref.to_item_ID; if (refs.size() != 1) { return Error(heif_error_Invalid_input, heif_suberror_Unspecified, "Too many thumbnail references"); } image->set_is_thumbnail_of(refs[0]); auto master_iter = m_all_images.find(refs[0]); if (master_iter == m_all_images.end()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Thumbnail references a non-existing image"); } if (master_iter->second->is_thumbnail()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Thumbnail references another thumbnail"); } if (image.get() == master_iter->second.get()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Recursive thumbnail image detected"); } master_iter->second->add_thumbnail(image); remove_top_level_image(image); } else if (type==fourcc("auxl")) { // --- this is an auxiliary image // check whether it is an alpha channel and attach to the main image if yes std::vector properties; Error err = m_heif_file->get_properties(image->get_id(), properties); if (err) { return err; } std::shared_ptr auxC_property; for (const auto& property : properties) { auto auxC = std::dynamic_pointer_cast(property.property); if (auxC) { auxC_property = auxC; } } if (!auxC_property) { std::stringstream sstr; sstr << "No auxC property for image " << image->get_id(); return Error(heif_error_Invalid_input, heif_suberror_Auxiliary_image_type_unspecified, sstr.str()); } std::vector refs = ref.to_item_ID; if (refs.size() != 1) { return Error(heif_error_Invalid_input, heif_suberror_Unspecified, "Too many auxiliary image references"); } // alpha channel if (auxC_property->get_aux_type() == "urn:mpeg:avc:2015:auxid:1" || auxC_property->get_aux_type() == "urn:mpeg:hevc:2015:auxid:1") { image->set_is_alpha_channel_of(refs[0]); auto master_iter = m_all_images.find(refs[0]); if (master_iter == m_all_images.end()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Non-existing alpha image referenced"); } if (image.get() == master_iter->second.get()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Recursive alpha image detected"); } master_iter->second->set_alpha_channel(image); } // depth channel if (auxC_property->get_aux_type() == "urn:mpeg:hevc:2015:auxid:2") { image->set_is_depth_channel_of(refs[0]); auto master_iter = m_all_images.find(refs[0]); if (master_iter == m_all_images.end()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Non-existing depth image referenced"); } if (image.get() == master_iter->second.get()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Recursive depth image detected"); } master_iter->second->set_depth_channel(image); auto subtypes = auxC_property->get_subtypes(); std::vector> sei_messages; Error err = decode_hevc_aux_sei_messages(subtypes, sei_messages); for (auto& msg : sei_messages) { auto depth_msg = std::dynamic_pointer_cast(msg); if (depth_msg) { image->set_depth_representation_info(*depth_msg); } } } remove_top_level_image(image); } else { // 'image' is a normal image, keep it as a top-level image } } } } // --- check that HEVC images have an hvcC property for (auto& pair : m_all_images) { auto& image = pair.second; std::shared_ptr infe = m_heif_file->get_infe_box(image->get_id()); if (infe->get_item_type() == "hvc1") { auto ipma = m_heif_file->get_ipma_box(); auto ipco = m_heif_file->get_ipco_box(); if (!ipco->get_property_for_item_ID(image->get_id(), ipma, fourcc("hvcC"))) { return Error(heif_error_Invalid_input, heif_suberror_No_hvcC_box, "No hvcC property in hvc1 type image"); } } } // --- read through properties for each image and extract image resolutions for (auto& pair : m_all_images) { auto& image = pair.second; std::vector properties; Error err = m_heif_file->get_properties(pair.first, properties); if (err) { return err; } bool ispe_read = false; bool primary_colr_set = false; for (const auto& prop : properties) { auto ispe = std::dynamic_pointer_cast(prop.property); if (ispe) { uint32_t width = ispe->get_width(); uint32_t height = ispe->get_height(); // --- check whether the image size is "too large" if (width > m_maximum_image_width_limit || height > m_maximum_image_height_limit) { std::stringstream sstr; sstr << "Image size " << width << "x" << height << " exceeds the maximum image size " << m_maximum_image_width_limit << "x" << m_maximum_image_height_limit << "\n"; return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } image->set_resolution(width, height); image->set_ispe_resolution(width, height); ispe_read = true; } if (ispe_read) { auto clap = std::dynamic_pointer_cast(prop.property); if (clap) { image->set_resolution( clap->get_width_rounded(), clap->get_height_rounded() ); } auto irot = std::dynamic_pointer_cast(prop.property); if (irot) { if (irot->get_rotation()==90 || irot->get_rotation()==270) { // swap width and height image->set_resolution( image->get_height(), image->get_width() ); } } } auto colr = std::dynamic_pointer_cast(prop.property); if (colr) { auto profile = colr->get_color_profile(); image->set_color_profile(profile); // if this is a grid item we assign the first one's color profile // to the main image which is supposed to be a grid // TODO: this condition is not correct. It would also classify a secondary image as a 'grid item'. // We have to set the grid-image color profile in another way... const bool is_grid_item = !image->is_primary() && !image->is_alpha_channel() && !image->is_depth_channel(); if (primary_is_grid && !primary_colr_set && is_grid_item) { m_primary_image->set_color_profile(profile); primary_colr_set = true; } } } } // --- read metadata and assign to image for (heif_item_id id : image_IDs) { std::string item_type = m_heif_file->get_item_type(id); std::string content_type = m_heif_file->get_content_type(id); // we now assign all kinds of metadata to the image, not only 'Exif' and 'XMP' std::shared_ptr metadata = std::make_shared(); metadata->item_id = id; metadata->item_type = item_type; metadata->content_type = content_type; Error err = m_heif_file->get_compressed_image_data(id, &(metadata->m_data)); if (err) { return err; } //std::cerr.write((const char*)data.data(), data.size()); // --- assign metadata to the image if (iref_box) { std::vector references = iref_box->get_references_from(id); for (const auto& ref : references) { if (ref.header.get_short_type() == fourcc("cdsc")) { std::vector refs = ref.to_item_ID; if (refs.size() != 1) { return Error(heif_error_Invalid_input, heif_suberror_Unspecified, "Metadata not correctly assigned to image"); } uint32_t exif_image_id = refs[0]; auto img_iter = m_all_images.find(exif_image_id); if (img_iter == m_all_images.end()) { return Error(heif_error_Invalid_input, heif_suberror_Nonexisting_item_referenced, "Metadata assigned to non-existing image"); } img_iter->second->add_metadata(metadata); } } } } return Error::Ok; } HeifContext::Image::Image(HeifContext* context, heif_item_id id) : m_heif_context(context), m_id(id) { memset(&m_depth_representation_info, 0, sizeof(m_depth_representation_info)); } HeifContext::Image::~Image() { } bool HeifContext::is_image(heif_item_id ID) const { for (const auto& img : m_all_images) { if (img.first == ID) return true; } return false; } Error HeifContext::get_id_of_non_virtual_child_image(heif_item_id id, heif_item_id& out) const { std::string image_type = m_heif_file->get_item_type(id); if (image_type=="grid" || image_type=="iden" || image_type=="iovl") { auto iref_box = m_heif_file->get_iref_box(); if (!iref_box) { return Error(heif_error_Invalid_input, heif_suberror_No_item_data, "Derived image does not reference any other image items"); } std::vector image_references = iref_box->get_references(id, fourcc("dimg")); // TODO: check whether this really can be recursive (e.g. overlay of grid images) if (image_references.empty()) { return Error(heif_error_Invalid_input, heif_suberror_No_item_data, "Derived image does not reference any other image items"); } else { return get_id_of_non_virtual_child_image(image_references[0], out); } } else { out = id; return Error::Ok; } } int HeifContext::Image::get_luma_bits_per_pixel() const { heif_item_id id; Error err = m_heif_context->get_id_of_non_virtual_child_image(m_id, id); if (err) { return -1; } return m_heif_context->m_heif_file->get_luma_bits_per_pixel_from_configuration(id); } int HeifContext::Image::get_chroma_bits_per_pixel() const { heif_item_id id; Error err = m_heif_context->get_id_of_non_virtual_child_image(m_id, id); if (err) { return -1; } return m_heif_context->m_heif_file->get_chroma_bits_per_pixel_from_configuration(id); } Error HeifContext::Image::decode_image(std::shared_ptr& img, heif_colorspace colorspace, heif_chroma chroma, const struct heif_decoding_options* options) const { Error err = m_heif_context->decode_image(m_id, img, options); if (err) { return err; } heif_chroma target_chroma = (chroma == heif_chroma_undefined ? img->get_chroma_format() : chroma); heif_colorspace target_colorspace = (colorspace == heif_colorspace_undefined ? img->get_colorspace() : colorspace); bool different_chroma = (target_chroma != img->get_chroma_format()); bool different_colorspace = (target_colorspace != img->get_colorspace()); if (different_chroma || different_colorspace) { img = convert_colorspace(img, target_colorspace, target_chroma); if (!img) { return Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_color_conversion); } } return err; } Error HeifContext::decode_image(heif_item_id ID, std::shared_ptr& img, const struct heif_decoding_options* options) const { std::string image_type = m_heif_file->get_item_type(ID); Error error; // --- decode image, depending on its type if (image_type == "hvc1") { const struct heif_decoder_plugin* decoder_plugin = get_decoder(heif_compression_HEVC); if (!decoder_plugin) { return Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_codec); } std::vector data; error = m_heif_file->get_compressed_image_data(ID, &data); if (error) { return error; } void* decoder; struct heif_error err = decoder_plugin->new_decoder(&decoder); if (err.code != heif_error_Ok) { return Error(err.code, err.subcode, err.message); } err = decoder_plugin->push_data(decoder, data.data(), data.size()); if (err.code != heif_error_Ok) { decoder_plugin->free_decoder(decoder); return Error(err.code, err.subcode, err.message); } //std::shared_ptr* decoded_img; heif_image* decoded_img = nullptr; err = decoder_plugin->decode_image(decoder, &decoded_img); if (err.code != heif_error_Ok) { decoder_plugin->free_decoder(decoder); return Error(err.code, err.subcode, err.message); } if (!decoded_img) { // TODO(farindk): The plugin should return an error in this case. decoder_plugin->free_decoder(decoder); return Error(heif_error_Decoder_plugin_error, heif_suberror_Unspecified); } img = std::move(decoded_img->image); heif_image_release(decoded_img); decoder_plugin->free_decoder(decoder); #if 0 FILE* fh = fopen("out.bin", "wb"); fwrite(data.data(), 1, data.size(), fh); fclose(fh); #endif } else if (image_type == "grid") { std::vector data; error = m_heif_file->get_compressed_image_data(ID, &data); if (error) { return error; } error = decode_full_grid_image(ID, img, data); if (error) { return error; } } else if (image_type == "iden") { error = decode_derived_image(ID, img); if (error) { return error; } } else if (image_type == "iovl") { std::vector data; error = m_heif_file->get_compressed_image_data(ID, &data); if (error) { return error; } error = decode_overlay_image(ID, img, data); if (error) { return error; } } else { // Should not reach this, was already rejected by "get_image_data". return Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_image_type); } // --- add alpha channel, if available // TODO: this if statement is probably wrong. When we have a tiled image with alpha // channel, then the alpha images should be associated with their respective tiles. // However, the tile images are not part of the m_all_images list. // Fix this, when we have a test image available. if (m_all_images.find(ID) != m_all_images.end()) { const auto imginfo = m_all_images.find(ID)->second; std::shared_ptr alpha_image = imginfo->get_alpha_channel(); if (alpha_image) { std::shared_ptr alpha; Error err = alpha_image->decode_image(alpha); if (err) { return err; } // TODO: check that sizes are the same and that we have an Y channel // BUT: is there any indication in the standard that the alpha channel should have the same size? img->transfer_plane_from_image_as(alpha, heif_channel_Y, heif_channel_Alpha); } } // --- apply image transformations if (!options || options->ignore_transformations == false) { std::vector properties; auto ipco_box = m_heif_file->get_ipco_box(); auto ipma_box = m_heif_file->get_ipma_box(); error = ipco_box->get_properties_for_item_ID(ID, ipma_box, properties); for (const auto& property : properties) { auto rot = std::dynamic_pointer_cast(property.property); if (rot) { std::shared_ptr rotated_img; error = img->rotate_ccw(rot->get_rotation(), rotated_img); if (error) { return error; } img = rotated_img; } auto mirror = std::dynamic_pointer_cast(property.property); if (mirror) { error = img->mirror_inplace(mirror->get_mirror_axis() == Box_imir::MirrorAxis::Horizontal); if (error) { return error; } } auto clap = std::dynamic_pointer_cast(property.property); if (clap) { std::shared_ptr clap_img; int img_width = img->get_width(); int img_height = img->get_height(); assert(img_width >= 0); assert(img_height >= 0); int left = clap->left_rounded(img_width); int right = clap->right_rounded(img_width); int top = clap->top_rounded(img_height); int bottom = clap->bottom_rounded(img_height); if (left < 0) { left = 0; } if (top < 0) { top = 0; } if (right >= img_width) { right = img_width-1; } if (bottom >= img_height) { bottom = img_height-1; } if (left >= right || top >= bottom) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_clean_aperture); } std::shared_ptr cropped_img; error = img->crop(left,right,top,bottom, cropped_img); if (error) { return error; } img = cropped_img; } } } return Error::Ok; } // TODO: this function only works with YCbCr images, chroma 4:2:0, and 8 bpp at the moment // It will crash badly if we get anything else. Error HeifContext::decode_full_grid_image(heif_item_id ID, std::shared_ptr& img, const std::vector& grid_data) const { ImageGrid grid; Error err = grid.parse(grid_data); if (err) { return err; } // std::cout << grid.dump(); auto iref_box = m_heif_file->get_iref_box(); if (!iref_box) { return Error(heif_error_Invalid_input, heif_suberror_No_iref_box, "No iref box available, but needed for grid image"); } std::vector image_references = iref_box->get_references(ID, fourcc("dimg")); if ((int)image_references.size() != grid.get_rows() * grid.get_columns()) { std::stringstream sstr; sstr << "Tiled image with " << grid.get_rows() << "x" << grid.get_columns() << "=" << (grid.get_rows() * grid.get_columns()) << " tiles, but only " << image_references.size() << " tile images in file"; return Error(heif_error_Invalid_input, heif_suberror_Missing_grid_images, sstr.str()); } // --- check that all image IDs are valid images for (heif_item_id tile_id : image_references) { if (!is_image(tile_id)) { std::stringstream sstr; sstr << "Tile image ID=" << tile_id << " is not a proper image."; return Error(heif_error_Invalid_input, heif_suberror_Missing_grid_images, sstr.str()); } } const uint32_t w = grid.get_width(); const uint32_t h = grid.get_height(); const int bpp = 8; // TODO: how do we know ? // --- determine output image chroma size and make sure all tiles have same chroma assert(!image_references.empty()); heif_item_id some_tile_id = image_references[0]; heif_chroma tile_chroma = m_heif_file->get_image_chroma_from_configuration(some_tile_id); const int cw = (w+chroma_h_subsampling(tile_chroma)-1)/chroma_h_subsampling(tile_chroma); const int ch = (h+chroma_v_subsampling(tile_chroma)-1)/chroma_v_subsampling(tile_chroma); for (heif_item_id tile_id : image_references) { if (m_heif_file->get_image_chroma_from_configuration(tile_id) != tile_chroma) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_grid_data, "Images in grid do not all have the same chroma format."); } } // --- generate image of full output size if (w >= m_maximum_image_width_limit || h >= m_maximum_image_height_limit) { std::stringstream sstr; sstr << "Image size " << w << "x" << h << " exceeds the maximum image size " << m_maximum_image_width_limit << "x" << m_maximum_image_height_limit << "\n"; return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } img = std::make_shared(); img->create(w,h, heif_colorspace_YCbCr, // TODO: how do we know ? tile_chroma); img->add_plane(heif_channel_Y, w,h, bpp); if (tile_chroma != heif_chroma_monochrome) { img->add_plane(heif_channel_Cb, cw,ch, bpp); img->add_plane(heif_channel_Cr, cw,ch, bpp); } int y0=0; int reference_idx = 0; #if ENABLE_PARALLEL_TILE_DECODING // remember which tile to put where into the image struct tile_data { heif_item_id tileID; int x_origin,y_origin; }; std::deque tiles; tiles.resize(grid.get_rows() * grid.get_columns() ); std::deque > errs; #endif for (int y=0;y tileImg = iter->second; int src_width = tileImg->get_width(); int src_height = tileImg->get_height(); #if ENABLE_PARALLEL_TILE_DECODING tiles[x+y*grid.get_columns()] = tile_data { tileID, x0,y0 }; #else Error err = decode_and_paste_tile_image(tileID, img, x0,y0); if (err) { return err; } #endif x0 += src_width; tile_height = src_height; // TODO: check that all tiles have the same height reference_idx++; } y0 += tile_height; } #if ENABLE_PARALLEL_TILE_DECODING // Process all tiles in a set of background threads. // Do not start more than the maximum number of threads. while (tiles.empty()==false) { // If maximum number of threads running, wait until first thread finishes if (errs.size() >= (size_t)m_max_decoding_threads) { Error e = errs.front().get(); if (e) { return e; } errs.pop_front(); } // Start a new decoding thread tile_data data = tiles.front(); tiles.pop_front(); errs.push_back( std::async(std::launch::async, &HeifContext::decode_and_paste_tile_image, this, data.tileID, img, data.x_origin,data.y_origin) ); } // check for decoding errors in remaining tiles while (errs.empty() == false) { Error e = errs.front().get(); if (e) { return e; } errs.pop_front(); } #endif return Error::Ok; } Error HeifContext::decode_and_paste_tile_image(heif_item_id tileID, std::shared_ptr img, int x0,int y0) const { std::shared_ptr tile_img; Error err = decode_image(tileID, tile_img); if (err != Error::Ok) { return err; } const int w = img->get_width(); const int h = img->get_height(); // --- copy tile into output image int src_width = tile_img->get_width(); int src_height = tile_img->get_height(); assert(src_width >= 0); assert(src_height >= 0); heif_chroma chroma = img->get_chroma_format(); std::set channels = img->get_channel_set(); if (chroma != tile_img->get_chroma_format()) { return Error(heif_error_Invalid_input, heif_suberror_Wrong_tile_image_chroma_format, "Image tile has different chroma format than combined image"); } for (heif_channel channel : channels) { int tile_stride; uint8_t* tile_data = tile_img->get_plane(channel, &tile_stride); int out_stride; uint8_t* out_data = img->get_plane(channel, &out_stride); if (w <= x0 || h <= y0) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_grid_data); } int copy_width = std::min(src_width, w - x0); int copy_height = std::min(src_height, h - y0); int xs=x0, ys=y0; if (channel != heif_channel_Y) { int subH = chroma_h_subsampling(chroma); int subV = chroma_v_subsampling(chroma); copy_width /= subH; copy_height /= subV; xs /= subH; ys /= subV; } for (int py=0;py& img) const { // find the ID of the image this image is derived from auto iref_box = m_heif_file->get_iref_box(); if (!iref_box) { return Error(heif_error_Invalid_input, heif_suberror_No_iref_box, "No iref box available, but needed for iden image"); } std::vector image_references = iref_box->get_references(ID, fourcc("dimg")); if ((int)image_references.size() != 1) { return Error(heif_error_Invalid_input, heif_suberror_Missing_grid_images, "'iden' image with more than one reference image"); } heif_item_id reference_image_id = image_references[0]; Error error = decode_image(reference_image_id, img); return error; } Error HeifContext::decode_overlay_image(heif_item_id ID, std::shared_ptr& img, const std::vector& overlay_data) const { // find the IDs this image is composed of auto iref_box = m_heif_file->get_iref_box(); if (!iref_box) { return Error(heif_error_Invalid_input, heif_suberror_No_iref_box, "No iref box available, but needed for iovl image"); } std::vector image_references = iref_box->get_references(ID, fourcc("dimg")); /* TODO: probably, it is valid that an iovl image has no references ? if (image_references.empty()) { return Error(heif_error_Invalid_input, heif_suberror_Missing_grid_images, "'iovl' image with more than one reference image"); } */ ImageOverlay overlay; Error err = overlay.parse(image_references.size(), overlay_data); if (err) { return err; } if (image_references.size() != overlay.get_num_offsets()) { return Error(heif_error_Invalid_input, heif_suberror_Invalid_overlay_data, "Number of image offsets does not match the number of image references"); } uint32_t w = overlay.get_canvas_width(); uint32_t h = overlay.get_canvas_height(); if (w >= m_maximum_image_width_limit || h >= m_maximum_image_height_limit) { std::stringstream sstr; sstr << "Image size " << w << "x" << h << " exceeds the maximum image size " << m_maximum_image_width_limit << "x" << m_maximum_image_height_limit << "\n"; return Error(heif_error_Memory_allocation_error, heif_suberror_Security_limit_exceeded, sstr.str()); } // TODO: seems we always have to compose this in RGB since the background color is an RGB value img = std::make_shared(); img->create(w,h, heif_colorspace_RGB, heif_chroma_444); img->add_plane(heif_channel_R,w,h,8); // TODO: other bit depths img->add_plane(heif_channel_G,w,h,8); // TODO: other bit depths img->add_plane(heif_channel_B,w,h,8); // TODO: other bit depths uint16_t bkg_color[4]; overlay.get_background_color(bkg_color); err = img->fill_RGB_16bit(bkg_color[0], bkg_color[1], bkg_color[2], bkg_color[3]); if (err) { return err; } for (size_t i=0;i overlay_img; err = decode_image(image_references[i], overlay_img); if (err != Error::Ok) { return err; } overlay_img = convert_colorspace(overlay_img, heif_colorspace_RGB, heif_chroma_444); if (!overlay_img) { return Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_color_conversion); } int32_t dx,dy; overlay.get_offset(i, &dx,&dy); err = img->overlay(overlay_img, dx,dy); if (err) { if (err.error_code == heif_error_Invalid_input && err.sub_error_code == heif_suberror_Overlay_image_outside_of_canvas) { // NOP, ignore this error err = Error::Ok; } else { return err; } } } return err; } static std::shared_ptr create_alpha_image_from_image_alpha_channel(const std::shared_ptr image) { // --- generate alpha image // TODO: can we directly code a monochrome image instead of the dummy color channels? int chroma_width = (image->get_width() +1)/2; int chroma_height = (image->get_height()+1)/2; std::shared_ptr alpha_image = std::make_shared(); alpha_image->create(image->get_width(), image->get_height(), heif_colorspace_YCbCr, heif_chroma_420); alpha_image->copy_new_plane_from(image, heif_channel_Alpha, heif_channel_Y); alpha_image->fill_new_plane(heif_channel_Cb, 128, chroma_width, chroma_height); alpha_image->fill_new_plane(heif_channel_Cr, 128, chroma_width, chroma_height); return alpha_image; } void HeifContext::Image::set_preencoded_hevc_image(const std::vector& data) { m_heif_context->m_heif_file->add_hvcC_property(m_id); // --- parse the h265 stream and set hvcC headers and compressed image data int state=0; bool first=true; bool eof=false; int prev_start_code_start = -1; // init to an invalid value, will always be overwritten before use int start_code_start; int ptr = 0; for (;;) { bool dump_nal = false; uint8_t c = data[ptr++]; if (state==3) { state=0; } //printf("read c=%02x\n",c); if (c==0 && state<=1) { state++; } else if (c==0) { // NOP } else if (c==1 && state==2) { start_code_start = ptr - 3; dump_nal = true; state=3; } else { state=0; } //printf("-> state= %d\n",state); if (ptr == (int)data.size()) { start_code_start = (int)data.size(); dump_nal = true; eof = true; } if (dump_nal) { if (first) { first = false; } else { std::vector nal_data; size_t length = start_code_start - (prev_start_code_start+3); nal_data.resize(length); assert(prev_start_code_start>=0); memcpy(nal_data.data(), data.data() + prev_start_code_start+3, length); int nal_type = (nal_data[0]>>1); switch (nal_type) { case 0x20: case 0x21: case 0x22: m_heif_context->m_heif_file->append_hvcC_nal_data(m_id, nal_data); /*hvcC->append_nal_data(nal_data);*/ break; default: { std::vector nal_data_with_size; nal_data_with_size.resize(nal_data.size() + 4); memcpy(nal_data_with_size.data()+4, nal_data.data(), nal_data.size()); nal_data_with_size[0] = ((nal_data.size()>>24) & 0xFF); nal_data_with_size[1] = ((nal_data.size()>>16) & 0xFF); nal_data_with_size[2] = ((nal_data.size()>> 8) & 0xFF); nal_data_with_size[3] = ((nal_data.size()>> 0) & 0xFF); m_heif_context->m_heif_file->append_iloc_data(m_id, nal_data_with_size); } break; } } prev_start_code_start = start_code_start; } if (eof) { break; } } } Error HeifContext::encode_image(std::shared_ptr pixel_image, struct heif_encoder* encoder, const struct heif_encoding_options* options, enum heif_image_input_class input_class, std::shared_ptr& out_image) { Error error; switch (encoder->plugin->compression_format) { case heif_compression_HEVC: { heif_item_id image_id = m_heif_file->add_new_image("hvc1"); out_image = std::make_shared(this, image_id); m_top_level_images.push_back(out_image); error = out_image->encode_image_as_hevc(pixel_image, encoder, options, heif_image_input_class_normal); } break; default: return Error(heif_error_Encoder_plugin_error, heif_suberror_Unsupported_codec); } return error; } Error HeifContext::Image::encode_image_as_hevc(std::shared_ptr image, struct heif_encoder* encoder, const struct heif_encoding_options* options, enum heif_image_input_class input_class) { /* const struct heif_encoder_plugin* encoder_plugin = nullptr; encoder_plugin = m_heif_context->get_encoder(heif_compression_HEVC); if (encoder_plugin == nullptr) { return Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_codec); } */ // --- check whether we have to convert the image color space heif_colorspace colorspace = image->get_colorspace(); heif_chroma chroma = image->get_chroma_format(); auto color_profile = image->get_color_profile(); encoder->plugin->query_input_colorspace(&colorspace, &chroma); if (colorspace != image->get_colorspace() || chroma != image->get_chroma_format()) { // @TODO: use color profile when converting image = convert_colorspace(image, colorspace, chroma); if (!image) { return Error(heif_error_Unsupported_feature, heif_suberror_Unsupported_color_conversion); } } m_width = image->get_width(heif_channel_Y); m_height = image->get_height(heif_channel_Y); if (color_profile) { m_heif_context->m_heif_file->set_color_profile(m_id, color_profile); } // --- if there is an alpha channel, add it as an additional image if (options->save_alpha_channel && image->has_channel(heif_channel_Alpha)) { // --- generate alpha image // TODO: can we directly code a monochrome image instead of the dummy color channels? std::shared_ptr alpha_image; alpha_image = create_alpha_image_from_image_alpha_channel(image); // --- encode the alpha image heif_item_id alpha_image_id = m_heif_context->m_heif_file->add_new_image("hvc1"); std::shared_ptr heif_alpha_image; heif_alpha_image = std::make_shared(m_heif_context, alpha_image_id); Error error = heif_alpha_image->encode_image_as_hevc(alpha_image, encoder, options, heif_image_input_class_alpha); if (error) { return error; } m_heif_context->m_heif_file->add_iref_reference(alpha_image_id, fourcc("auxl"), { m_id }); m_heif_context->m_heif_file->set_auxC_property(alpha_image_id, "urn:mpeg:hevc:2015:auxid:1"); } m_heif_context->m_heif_file->add_hvcC_property(m_id); heif_image c_api_image; c_api_image.image = image; struct heif_error err = encoder->plugin->encode_image(encoder->encoder, &c_api_image, input_class); if (err.code) { return Error(err.code, err.subcode, err.message); } for (;;) { uint8_t* data; int size; encoder->plugin->get_compressed_data(encoder->encoder, &data, &size, NULL); if (data==NULL) { break; } const uint8_t NAL_SPS = 33; if ((data[0] >> 1) == NAL_SPS) { int width,height; Box_hvcC::configuration config; parse_sps_for_hvcC_configuration(data, size, &config, &width, &height); m_heif_context->m_heif_file->set_hvcC_configuration(m_id, config); m_heif_context->m_heif_file->add_ispe_property(m_id, width, height); } switch (data[0] >> 1) { case 0x20: case 0x21: case 0x22: m_heif_context->m_heif_file->append_hvcC_nal_data(m_id, data, size); break; default: m_heif_context->m_heif_file->append_iloc_data_with_4byte_size(m_id, data, size); } } return Error::Ok; } void HeifContext::set_primary_image(std::shared_ptr image) { // update heif context if (m_primary_image) { m_primary_image->set_primary(false); } image->set_primary(true); m_primary_image = image; // update pitm box in HeifFile m_heif_file->set_primary_item_id(image->get_id()); } Error HeifContext::set_primary_item(heif_item_id id) { auto iter = m_all_images.find(id); if (iter == m_all_images.end()) { return Error(heif_error_Usage_error, heif_suberror_No_or_invalid_primary_item, "Cannot set primary item as the ID does not exist."); } set_primary_image(iter->second); return Error::Ok; } Error HeifContext::assign_thumbnail(std::shared_ptr master_image, std::shared_ptr thumbnail_image) { m_heif_file->add_iref_reference(thumbnail_image->get_id(), fourcc("thmb"), { master_image->get_id() }); return Error::Ok; } Error HeifContext::encode_thumbnail(std::shared_ptr image, struct heif_encoder* encoder, const struct heif_encoding_options* options, int bbox_size, std::shared_ptr& out_thumbnail_handle) { Error error; int orig_width = image->get_width(); int orig_height = image->get_height(); int thumb_width, thumb_height; if (orig_width <= bbox_size && orig_height <= bbox_size) { // original image is smaller than thumbnail size -> do not encode any thumbnail out_thumbnail_handle.reset(); return Error::Ok; } else if (orig_width > orig_height) { thumb_height = orig_height * bbox_size / orig_width; thumb_width = bbox_size; } else { thumb_width = orig_width * bbox_size / orig_height; thumb_height = bbox_size; } // round size to even width and height thumb_width &= ~1; thumb_height &= ~1; std::shared_ptr thumbnail_image; error = image->scale_nearest_neighbor(thumbnail_image, thumb_width, thumb_height); if (error) { return error; } error = encode_image(thumbnail_image, encoder, options, heif_image_input_class_thumbnail, out_thumbnail_handle); if (error) { return error; } return error; } Error HeifContext::add_exif_metadata(std::shared_ptr master_image, const void* data, int size) { // find location of TIFF header uint32_t offset = 0; const char * tiffmagic1 = "MM\0*"; const char * tiffmagic2 = "II*\0"; while (offset+4 < (unsigned int)size) { if (!memcmp( (uint8_t *) data + offset, tiffmagic1, 4 )) break; if (!memcmp( (uint8_t *) data + offset, tiffmagic2, 4 )) break; offset++; } if (offset >= (unsigned int)size) { return Error(heif_error_Usage_error, heif_suberror_Invalid_parameter_value, "Could not find location of TIFF header in Exif metadata."); } std::vector data_array; data_array.resize(size+4); data_array[0] = (uint8_t) ((offset >> 24) & 0xFF); data_array[1] = (uint8_t) ((offset >> 16) & 0xFF); data_array[2] = (uint8_t) ((offset >> 8) & 0xFF); data_array[3] = (uint8_t) ((offset) & 0xFF); memcpy(data_array.data()+4, data, size); return add_generic_metadata(master_image, data_array.data(), (int)data_array.size(), "Exif", nullptr); } Error HeifContext::add_XMP_metadata(std::shared_ptr master_image, const void* data, int size) { return add_generic_metadata(master_image, data, size, "mime", "application/rdf+xml"); } Error HeifContext::add_generic_metadata(std::shared_ptr master_image, const void* data, int size, const char* item_type, const char* content_type) { // create an infe box describing what kind of data we are storing (this also creates a new ID) auto metadata_infe_box = m_heif_file->add_new_infe_box(item_type); metadata_infe_box->set_hidden_item(true); if (content_type != nullptr) { metadata_infe_box->set_content_type(content_type); } heif_item_id metadata_id = metadata_infe_box->get_item_ID(); // we assign this data to the image m_heif_file->add_iref_reference(metadata_id, fourcc("cdsc"), { master_image->get_id() }); // copy the XMP data into the file, store the pointer to it in an iloc box entry std::vector data_array; data_array.resize(size); memcpy(data_array.data(), data, size); m_heif_file->append_iloc_data(metadata_id, data_array); return Error::Ok; } libheif-1.6.1/appveyor.yml0000644000221000001440000000146313342237613012426 00000000000000# stats available at # https://ci.appveyor.com/project/strukturag/libheif version: 1.0.{build} os: - Windows Server 2012 R2 environment: matrix: - GENERATOR: "Visual Studio 14 2015" platform: - x86 - x64 configuration: - Debug build: verbosity: normal build_script: - ps: if($env:PLATFORM -eq "x64") { $env:CMAKE_GEN_SUFFIX=" Win64" } - cmd: scripts\prepare-appveyor.cmd - cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -H. -Bbuild -DLIBDE265_FOUND=1 -DLIBDE265_CFLAGS=/I"%APPVEYOR_BUILD_FOLDER%\build-libde265" -DLIBDE265_LIBRARIES="%APPVEYOR_BUILD_FOLDER%\build-libde265\libde265.lib" -DX265_FOUND=1 -DX265_CFLAGS=/I"%APPVEYOR_BUILD_FOLDER%\build-x265" -DX265_LIBRARIES="%APPVEYOR_BUILD_FOLDER%\build-x265\libx265.lib" - cmake --build build --config %CONFIGURATION% artifacts: - path: build libheif-1.6.1/config.sub0000755000221000001440000010645013514042014012011 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. timestamp='2018-02-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo "$1" exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ kopensolaris*-gnu* | cloudabi*-eabi* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo "$1" | sed 's/-[^-]*$//'` if [ "$basic_machine" != "$1" ] then os=`echo "$1" | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pru \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ | wasm32 \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | ba-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pru-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ | wasm32-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-pc os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2*) basic_machine=m68k-bull os=-sysv3 ;; e500v[12]) basic_machine=powerpc-unknown os=$os"spe" ;; e500v[12]-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=$os"spe" ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; nsv-tandem) basic_machine=nsv-tandem ;; nsx-tandem) basic_machine=nsx-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh5el) basic_machine=sh5le-unknown ;; simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; x64) basic_machine=x86_64-pc ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases that might get confused # with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # es1800 is here to avoid being matched by es* (a different OS) -es1800*) os=-ose ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | -midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -xray | -os68k* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo "$os" | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4*) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -pikeos*) # Until real need of OS specific support for # particular features comes up, bare metal # configurations are quite functional. case $basic_machine in arm*) os=-eabi ;; *) os=-elf ;; esac ;; -nacl*) ;; -ios) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; pru-*) os=-elf ;; *-be) os=-beos ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac echo "$basic_machine$os" exit # Local variables: # eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: libheif-1.6.1/Makefile.am0000644000221000001440000000061213576157752012103 00000000000000ACLOCAL_AMFLAGS = -I m4 SUBDIRS = \ libheif \ examples \ extra \ fuzzing \ gdk-pixbuf \ gnome \ go \ scripts \ tests pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libheif.pc EXTRA_DIST = \ .travis.yml \ appveyor.yml \ autogen.sh \ CMakeLists.txt \ CPPLINT.cfg \ README.md \ pre.js \ post.js \ build-emscripten.sh libheif-1.6.1/gnome/0000755000221000001440000000000013576656624011237 500000000000000libheif-1.6.1/gnome/Makefile.am0000644000221000001440000000027613576157752013216 00000000000000thumbnailer_dir = $(datadir)/thumbnailers thumbnailer__DATA = heif.thumbnailer mime_dir = $(datadir)/mime/packages mime__DATA = heif.xml EXTRA_DIST = \ heif.thumbnailer \ heif.xml libheif-1.6.1/gnome/Makefile.in0000644000221000001440000004153613576653760013233 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gnome ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_c_cxx_compile_flags.m4 \ $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(mime_dir)" \ "$(DESTDIR)$(thumbnailer_dir)" DATA = $(mime__DATA) $(thumbnailer__DATA) am__extra_recursive_targets = format-recursive test-recursive am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCAS = @CCAS@ CCASDEPMODE = @CCASDEPMODE@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_LIBFUZZER = @ENABLE_LIBFUZZER@ ENABLE_PARALLEL_TILE_DECODING = @ENABLE_PARALLEL_TILE_DECODING@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FUZZING_ENGINE = @FUZZING_ENGINE@ GO = @GO@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ HAVE_GO = @HAVE_GO@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBHEIF_AGE = @LIBHEIF_AGE@ LIBHEIF_CURRENT = @LIBHEIF_CURRENT@ LIBHEIF_REVISION = @LIBHEIF_REVISION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PROJECT_VERSION_MAJOR = @PROJECT_VERSION_MAJOR@ PROJECT_VERSION_MINOR = @PROJECT_VERSION_MINOR@ PROJECT_VERSION_PATCH = @PROJECT_VERSION_PATCH@ PROJECT_VERSION_TWEAK = @PROJECT_VERSION_TWEAK@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WITH_EXAMPLES = @WITH_EXAMPLES@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gdk_pixbuf_binary_version = @gdk_pixbuf_binary_version@ gdk_pixbuf_binarydir = @gdk_pixbuf_binarydir@ gdk_pixbuf_cache_file = @gdk_pixbuf_cache_file@ gdk_pixbuf_moduledir = @gdk_pixbuf_moduledir@ gdkpixbuf_CFLAGS = @gdkpixbuf_CFLAGS@ gdkpixbuf_LIBS = @gdkpixbuf_LIBS@ have_libde265 = @have_libde265@ have_x265 = @have_x265@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libde265_CFLAGS = @libde265_CFLAGS@ libde265_LIBS = @libde265_LIBS@ libdir = @libdir@ libexecdir = @libexecdir@ libjpeg_CFLAGS = @libjpeg_CFLAGS@ libjpeg_LIBS = @libjpeg_LIBS@ libpng_CFLAGS = @libpng_CFLAGS@ libpng_LIBS = @libpng_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ x265_CFLAGS = @x265_CFLAGS@ x265_LIBS = @x265_LIBS@ thumbnailer_dir = $(datadir)/thumbnailers thumbnailer__DATA = heif.thumbnailer mime_dir = $(datadir)/mime/packages mime__DATA = heif.xml EXTRA_DIST = \ heif.thumbnailer \ heif.xml all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gnome/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gnome/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-mime_DATA: $(mime__DATA) @$(NORMAL_INSTALL) @list='$(mime__DATA)'; test -n "$(mime_dir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(mime_dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(mime_dir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(mime_dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(mime_dir)" || exit $$?; \ done uninstall-mime_DATA: @$(NORMAL_UNINSTALL) @list='$(mime__DATA)'; test -n "$(mime_dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(mime_dir)'; $(am__uninstall_files_from_dir) install-thumbnailer_DATA: $(thumbnailer__DATA) @$(NORMAL_INSTALL) @list='$(thumbnailer__DATA)'; test -n "$(thumbnailer_dir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(thumbnailer_dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(thumbnailer_dir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(thumbnailer_dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(thumbnailer_dir)" || exit $$?; \ done uninstall-thumbnailer_DATA: @$(NORMAL_UNINSTALL) @list='$(thumbnailer__DATA)'; test -n "$(thumbnailer_dir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(thumbnailer_dir)'; $(am__uninstall_files_from_dir) format-local: test-local: tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(mime_dir)" "$(DESTDIR)$(thumbnailer_dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: format: format-am format-am: format-local html: html-am html-am: info: info-am info-am: install-data-am: install-mime_DATA install-thumbnailer_DATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: test: test-am test-am: test-local uninstall-am: uninstall-mime_DATA uninstall-thumbnailer_DATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am format-am format-local \ html html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-mime_DATA install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ install-thumbnailer_DATA installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags-am test-am test-local uninstall uninstall-am \ uninstall-mime_DATA uninstall-thumbnailer_DATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libheif-1.6.1/gnome/heif.thumbnailer0000644000221000001440000000014413341211665014303 00000000000000[Thumbnailer Entry] TryExec=heif-thumbnailer Exec=heif-thumbnailer -s %s %i %o MimeType=image/heif; libheif-1.6.1/gnome/heif.xml0000644000221000001440000000052713341211665012576 00000000000000 HEIF image HEIF-Bild libheif-1.6.1/pre.js0000644000221000001440000000222713341211665011157 00000000000000/** * @preserve libheif.js HEIF decoder * (c)2017 struktur AG, http://www.struktur.de, opensource@struktur.de * * This file is part of libheif * https://github.com/strukturag/libheif * * libheif is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * libheif is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif. If not, see . */ (function() { var Module = { print: function(text) { text = Array.prototype.slice.call(arguments).join(' '); console.log(text); }, printErr: function(text) { text = Array.prototype.slice.call(arguments).join(' '); console.error(text); }, canvas: {}, noInitialRun: true }; libheif-1.6.1/.travis.yml0000644000221000001440000001224613576157752012166 00000000000000# stats available at # https://travis-ci.org/strukturag/libheif/ language: cpp compiler: - clang - gcc os: - osx - linux dist: trusty cache: ccache sudo: required addons: apt: update: true env: global: - secure: "Hp9bDdzdJ0OzMcUW2NjddPYeTBcuK/8oM9h8wH0HT2T8JtcJcLQQ80+MfzKstWeittvosT3sp9JAhSHWdwRUu2Km0dFH3tbsDxYM1MrkdjSOd8sVeKlrGiFno3o8ek8vSPOH1MRx9io7z0N5mka0kLp4pB6C4zfL6AcPw+yt7srdfu+gJkPyPU8EupmzmD6dQQFdiNHz4gUt9S/wO2SKZiZ1hFJwDClnnWPzOdAJ2moIaQl0aXK/6F/PBPdTcHlMEr400p22B8Febio4dtWbQakwHrEzEajI/QVzXJWYLqh/ZGmY8VhwyntlIOQiV9nz979X5gwNtqDk7FcCXtEKluLheI1LHMALOqN9Kf2hLDaP7u2LyUUfKqOn8/hKhZM4tBoK0+m0joG3ZthwJ2ZRtRv9BqWhSs/BiYM8+ZI9L6RU5eX+e7UeXUWTvfqVNFL/E9TlfGwbka216ndGoeCeP5i6K7gsr04ElSTSczpNihDcaaO0ZuhlPOctXTFi+9HMS133FlYQqpfyzK0zGVC0xjlbA7kUMHef0SCPDlpRZF4oPK/SunHcdTYtick8J9qz+cpjbTcYEyburDABoKoTYEZA41nb8gyvetJnMWL4AZBoIR+2x9u4Y0sD+mEaWn1KqVr7y0TQqN4sLhoOzwe9ncjSyl7vq6lsP/chCBpN838=" matrix: - EMSCRIPTEN_VERSION=1.37.26 - WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= MINGW32=1 - WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= MINGW64=1 - WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= - WITH_LIBDE265= WITH_X265= WITH_GRAPHICS=1 - WITH_LIBDE265= WITH_X265=1 WITH_GRAPHICS= - WITH_LIBDE265= WITH_X265=1 WITH_GRAPHICS=1 - WITH_LIBDE265=1 WITH_X265= WITH_GRAPHICS=1 - WITH_LIBDE265=2 WITH_X265= WITH_GRAPHICS=1 - WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 - WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 - WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 GO=1 - WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 GO=1 - WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 FUZZER=1 - WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 FUZZER=1 - WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 TARBALL=1 - WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 CMAKE=1 - CHECK_LICENSES=1 - CPPLINT=1 - TESTS=1 matrix: exclude: # Don't build various targets with clang. - compiler: clang env: CHECK_LICENSES=1 - compiler: clang env: CPPLINT=1 - compiler: clang env: TESTS=1 - compiler: clang env: WITH_LIBDE265= WITH_X265= WITH_GRAPHICS=1 - compiler: clang env: WITH_LIBDE265= WITH_X265=1 WITH_GRAPHICS= - compiler: clang env: WITH_LIBDE265= WITH_X265=1 WITH_GRAPHICS=1 - compiler: clang env: WITH_LIBDE265=1 WITH_X265= WITH_GRAPHICS=1 - compiler: clang env: WITH_LIBDE265=2 WITH_X265= WITH_GRAPHICS=1 - compiler: clang env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 GO=1 - compiler: clang env: WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 GO=1 - compiler: clang env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 FUZZER=1 - compiler: clang env: WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 FUZZER=1 - compiler: clang env: EMSCRIPTEN_VERSION=1.37.26 - compiler: clang env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 TARBALL=1 - compiler: clang env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 CMAKE=1 - compiler: clang env: WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= MINGW32=1 - compiler: clang env: WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= MINGW64=1 # Don't build various targets with gcc on Linux. - os: linux compiler: gcc env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 - os: linux compiler: gcc env: WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 # Don't build various targets on OSX. - os: osx env: CHECK_LICENSES=1 - os: osx env: CPPLINT=1 - os: osx env: TESTS=1 - os: osx env: WITH_LIBDE265= WITH_X265= WITH_GRAPHICS=1 - os: osx env: WITH_LIBDE265= WITH_X265=1 WITH_GRAPHICS= - os: osx env: WITH_LIBDE265= WITH_X265=1 WITH_GRAPHICS=1 - os: osx env: WITH_LIBDE265=1 WITH_X265= WITH_GRAPHICS=1 - os: osx env: WITH_LIBDE265=2 WITH_X265= WITH_GRAPHICS=1 - os: osx env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 GO=1 - os: osx env: WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 GO=1 - os: osx env: EMSCRIPTEN_VERSION=1.37.26 - os: osx env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 TARBALL=1 - os: osx env: WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= MINGW32=1 - os: osx env: WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= MINGW64=1 - os: osx env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 FUZZER=1 - os: osx env: WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 FUZZER=1 - os: osx compiler: clang env: WITH_LIBDE265= WITH_X265= WITH_GRAPHICS= - os: osx compiler: clang env: WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 - os: osx compiler: clang env: WITH_LIBDE265=2 WITH_X265=1 WITH_GRAPHICS=1 include: - os: linux env: - WITH_LIBDE265=1 WITH_X265=1 WITH_GRAPHICS=1 addons: coverity_scan: project: name: "strukturag/libheif" description: "Build submitted via Travis CI" version: 2 notification_email: opensource@struktur.de build_command: "make" branch_pattern: coverity before_install: - ./scripts/install-ci-$TRAVIS_OS_NAME.sh before_script: - ./scripts/prepare-ci.sh script: - ./scripts/run-ci.sh libheif-1.6.1/Makefile.in0000644000221000001440000007246113576653757012135 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_c_cxx_compile_flags.m4 \ $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = libheif.pc CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkgconfigdir)" DATA = $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__extra_recursive_targets = format-recursive test-recursive am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libheif.pc.in COPYING compile config.guess \ config.sub depcomp install-sh ltmain.sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCAS = @CCAS@ CCASDEPMODE = @CCASDEPMODE@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_LIBFUZZER = @ENABLE_LIBFUZZER@ ENABLE_PARALLEL_TILE_DECODING = @ENABLE_PARALLEL_TILE_DECODING@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FUZZING_ENGINE = @FUZZING_ENGINE@ GO = @GO@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ HAVE_GO = @HAVE_GO@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBHEIF_AGE = @LIBHEIF_AGE@ LIBHEIF_CURRENT = @LIBHEIF_CURRENT@ LIBHEIF_REVISION = @LIBHEIF_REVISION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PROJECT_VERSION_MAJOR = @PROJECT_VERSION_MAJOR@ PROJECT_VERSION_MINOR = @PROJECT_VERSION_MINOR@ PROJECT_VERSION_PATCH = @PROJECT_VERSION_PATCH@ PROJECT_VERSION_TWEAK = @PROJECT_VERSION_TWEAK@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WITH_EXAMPLES = @WITH_EXAMPLES@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gdk_pixbuf_binary_version = @gdk_pixbuf_binary_version@ gdk_pixbuf_binarydir = @gdk_pixbuf_binarydir@ gdk_pixbuf_cache_file = @gdk_pixbuf_cache_file@ gdk_pixbuf_moduledir = @gdk_pixbuf_moduledir@ gdkpixbuf_CFLAGS = @gdkpixbuf_CFLAGS@ gdkpixbuf_LIBS = @gdkpixbuf_LIBS@ have_libde265 = @have_libde265@ have_x265 = @have_x265@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libde265_CFLAGS = @libde265_CFLAGS@ libde265_LIBS = @libde265_LIBS@ libdir = @libdir@ libexecdir = @libexecdir@ libjpeg_CFLAGS = @libjpeg_CFLAGS@ libjpeg_LIBS = @libjpeg_LIBS@ libpng_CFLAGS = @libpng_CFLAGS@ libpng_LIBS = @libpng_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ x265_CFLAGS = @x265_CFLAGS@ x265_LIBS = @x265_LIBS@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = \ libheif \ examples \ extra \ fuzzing \ gdk-pixbuf \ gnome \ go \ scripts \ tests pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libheif.pc EXTRA_DIST = \ .travis.yml \ appveyor.yml \ autogen.sh \ CMakeLists.txt \ CPPLINT.cfg \ README.md \ pre.js \ post.js \ build-emscripten.sh all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 libheif.pc: $(top_builddir)/config.status $(srcdir)/libheif.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" format-local: test-local: ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: format: format-recursive format-am: format-local html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-pkgconfigDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: test: test-recursive test-am: test-local uninstall-am: uninstall-pkgconfigDATA .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-libtool distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am format-am format-local \ html html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-pkgconfigDATA install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am test-am test-local uninstall uninstall-am \ uninstall-pkgconfigDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libheif-1.6.1/CPPLINT.cfg0000644000221000001440000000006213341211665011620 00000000000000set noparent filter=-,+build/include_what_you_use libheif-1.6.1/COPYING0000644000221000001440000012646213425046765011110 00000000000000* The library `libheif` is distributed under the terms of the GNU Lesser General Public License. * The sample applications are distributed under the terms of the MIT License. License texts below and in the `COPYING` files of the corresponding subfolders. ---------------------------------------------------------------------- GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 0. Additional Definitions. As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. "The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 1. Exception to Section 3 of the GNU GPL. You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 2. Conveying Modified Versions. If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 3. Object Code Incorporating Material from Library Header Files. The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the object code with a copy of the GNU GPL and this license document. 4. Combined Works. You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the Combined Work with a copy of the GNU GPL and this license document. c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. d) Do one of the following: 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 5. Combined Libraries. You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 6. Revised Versions of the GNU Lesser General Public License. The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. ---------------------------------------------------------------------- GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . ---------------------------------------------------------------------- MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. libheif-1.6.1/examples/0000755000221000001440000000000013576656623011747 500000000000000libheif-1.6.1/examples/heif-enc.10000644000221000001440000000455713576157752013441 00000000000000.TH HEIF-ENC 1 .SH NAME heif-enc \- convert image to HEIC/HEIF .SH SYNOPSIS .B heif-enc [\fB\-h\fR|\fB--help\fR] [\fB\-q\fR \fIQUALITY\fR|\fB--quality\fR \fIQUALITY\fR] [\fB\-L\fR|\fB--lossless\fR] [\fB\-t\fR \fISIZE\fR|\fB--thumb\fR \fISIZE\fR] [\fB--no-alpha\fR] [\fB--no-thumb-alpha\fR] [\fB\-o\fR \fIFILENAME\fR|\fB--output\fR \fIFILENAME\fR] [\fB\-v\fR|\fB--verbose\fR] [\fB\-P\fR|\fB--params\fR] [\fB\-b\fR \fIDEPTH\fR] [\fB\-p\fR \fINAME\fR\fB=\fR\fIVALUE\fR] .IR filename[.jpg|.png|.y4m] .SH DESCRIPTION .B heif-enc Convert image to HEIC/HEIF. .SH OPTIONS .TP .BR \-q\fR\ \fIQUALITY\fR ", " \-\-quality\fR\ \fIQUALITY\fR Defines quality level between 0 and 100 for the generated output file. .TP .BR \-L ", "\-\-lossless\fR Generate lossless output (\fB-q\fR has no effect) .TP .BR \-t\fR\ \fISIZE\fR ", " \-\-thumb\fR\ \fISIZE\fR Generate thumbnail with maximum size \fISIZE\fR pixels (default: off). .TP .BR \-\-no-alpha\fR Do not save alpha channel. .TP .BR \-\-no-thumb-alpha\fR Do not save alpha channel in thumbnail image. .TP .BR \-o\fR\ \fIFILENAME\fR ", " \-\-output\fR\ \fIFILENAME\fR Output filename (optional). .TP .BR \-v ", "\-\-verbose\fR Enable logging output (more \fB\-v\fR will increase logging level). .TP .BR \-P ", "\-\-params\fR Show all encoder parameters. .TP .BR \-b\fR\ \fIDEPTH\fR Bit-depth of generated HEIF file when using 16-bit PNG input (default: 10 bit). .TP .BR \-p\fR\ \fINAME\fR\fB=\fR\fIVALUE\fR Set additional encoder parameters. See \fBNOTES\fR below. .SH EXIT STATUS .PP \fB0\fR .RS 4 Success .RE .PP \fB1\fR .RS 4 Failure (syntax or usage error; error while loading, converting or writing image). .RE .SH NOTES The available input formats depend on the libraries that were available at compile time. Supported are JPEG, PNG and Y4M, the file type is determined based on the extension of the input file. When specifying multiple source images, they will all be saved into the same HEIF file. When using the x265 encoder, you may pass it any of its parameters by prefixing the parameter name with \fBx265:\fR. Hence, to set the \fBctu\fR parameter, you will have to set \fBx265:ctu\fR in libheif (e.g.: \fB-p x265:ctu=64\fR). Note that there is no checking for valid parameters when using the prefix. .SH BUGS Please reports bugs or issues at https://github.com/strukturag/libheif .SH AUTHORS Dirk Farin, struktur AG .SH COPYRIGHT Copyright \[co] 2017 struktur AG libheif-1.6.1/examples/encoder_png.h0000644000221000001440000000372313425046765014321 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2017 struktur AG, Joachim Bauch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef EXAMPLE_ENCODER_PNG_H #define EXAMPLE_ENCODER_PNG_H #include #include "encoder.h" class PngEncoder : public Encoder { public: PngEncoder(); heif_colorspace colorspace(bool has_alpha) const override { return heif_colorspace_RGB; } heif_chroma chroma(bool has_alpha, int bit_depth) const override { if (bit_depth==8) { if (has_alpha) return heif_chroma_interleaved_RGBA; else return heif_chroma_interleaved_RGB; } else { if (has_alpha) return heif_chroma_interleaved_RRGGBBAA_BE; else return heif_chroma_interleaved_RRGGBB_BE; } } bool Encode(const struct heif_image_handle* handle, const struct heif_image* image, const std::string& filename) override; private: }; #endif // EXAMPLE_ENCODER_PNG_H libheif-1.6.1/examples/encoder_jpeg.cc0000644000221000001440000001721513425046765014621 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2017 struktur AG, Joachim Bauch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include "encoder_jpeg.h" JpegEncoder::JpegEncoder(int quality) : quality_(quality) { if (quality_ < 0 || quality_ > 100) { quality_ = kDefaultQuality; } } void JpegEncoder::UpdateDecodingOptions(const struct heif_image_handle* handle, struct heif_decoding_options *options) const { if (HasExifMetaData(handle)) { options->ignore_transformations = 1; } } // static void JpegEncoder::OnJpegError(j_common_ptr cinfo) { ErrorHandler* handler = reinterpret_cast(cinfo->err); longjmp(handler->setjmp_buffer, 1); } #if !defined(HAVE_JPEG_WRITE_ICC_PROFILE) #define ICC_MARKER (JPEG_APP0 + 2) /* JPEG marker code for ICC */ #define ICC_OVERHEAD_LEN 14 /* size of non-profile data in APP2 */ #define MAX_BYTES_IN_MARKER 65533 /* maximum data len of a JPEG marker */ #define MAX_DATA_BYTES_IN_MARKER (MAX_BYTES_IN_MARKER - ICC_OVERHEAD_LEN) /* * This routine writes the given ICC profile data into a JPEG file. It *must* * be called AFTER calling jpeg_start_compress() and BEFORE the first call to * jpeg_write_scanlines(). (This ordering ensures that the APP2 marker(s) will * appear after the SOI and JFIF or Adobe markers, but before all else.) */ /* This function is copied almost as is from libjpeg-turbo */ static void jpeg_write_icc_profile(j_compress_ptr cinfo, const JOCTET *icc_data_ptr, unsigned int icc_data_len) { unsigned int num_markers; /* total number of markers we'll write */ int cur_marker = 1; /* per spec, counting starts at 1 */ unsigned int length; /* number of bytes to write in this marker */ /* Calculate the number of markers we'll need, rounding up of course */ num_markers = icc_data_len / MAX_DATA_BYTES_IN_MARKER; if (num_markers * MAX_DATA_BYTES_IN_MARKER != icc_data_len) num_markers++; while (icc_data_len > 0) { /* length of profile to put in this marker */ length = icc_data_len; if (length > MAX_DATA_BYTES_IN_MARKER) length = MAX_DATA_BYTES_IN_MARKER; icc_data_len -= length; /* Write the JPEG marker header (APP2 code and marker length) */ jpeg_write_m_header(cinfo, ICC_MARKER, (unsigned int)(length + ICC_OVERHEAD_LEN)); /* Write the marker identifying string "ICC_PROFILE" (null-terminated). We * code it in this less-than-transparent way so that the code works even if * the local character set is not ASCII. */ jpeg_write_m_byte(cinfo, 0x49); jpeg_write_m_byte(cinfo, 0x43); jpeg_write_m_byte(cinfo, 0x43); jpeg_write_m_byte(cinfo, 0x5F); jpeg_write_m_byte(cinfo, 0x50); jpeg_write_m_byte(cinfo, 0x52); jpeg_write_m_byte(cinfo, 0x4F); jpeg_write_m_byte(cinfo, 0x46); jpeg_write_m_byte(cinfo, 0x49); jpeg_write_m_byte(cinfo, 0x4C); jpeg_write_m_byte(cinfo, 0x45); jpeg_write_m_byte(cinfo, 0x0); /* Add the sequencing info */ jpeg_write_m_byte(cinfo, cur_marker); jpeg_write_m_byte(cinfo, (int)num_markers); /* Add the profile data */ while (length--) { jpeg_write_m_byte(cinfo, *icc_data_ptr); icc_data_ptr++; } cur_marker++; } } #endif // !defined(HAVE_JPEG_WRITE_ICC_PROFILE) bool JpegEncoder::Encode(const struct heif_image_handle* handle, const struct heif_image* image, const std::string& filename) { FILE* fp = fopen(filename.c_str(), "wb"); if (!fp) { fprintf(stderr, "Can't open %s: %s\n", filename.c_str(), strerror(errno)); return false; } struct jpeg_compress_struct cinfo; struct ErrorHandler jerr; cinfo.err = jpeg_std_error(reinterpret_cast(&jerr)); jerr.pub.error_exit = &JpegEncoder::OnJpegError; if (setjmp(jerr.setjmp_buffer)) { cinfo.err->output_message(reinterpret_cast(&cinfo)); jpeg_destroy_compress(&cinfo); fclose(fp); return false; } jpeg_create_compress(&cinfo); jpeg_stdio_dest(&cinfo, fp); cinfo.image_width = heif_image_get_width(image, heif_channel_Y); cinfo.image_height = heif_image_get_height(image, heif_channel_Y); cinfo.input_components = 3; cinfo.in_color_space = JCS_YCbCr; jpeg_set_defaults(&cinfo); static const boolean kForceBaseline = TRUE; jpeg_set_quality(&cinfo, quality_, kForceBaseline); static const boolean kWriteAllTables = TRUE; jpeg_start_compress(&cinfo, kWriteAllTables); size_t exifsize = 0; uint8_t* exifdata = GetExifMetaData(handle, &exifsize); if (exifdata && exifsize > 4) { static const uint8_t kExifMarker = JPEG_APP0 + 1; jpeg_write_marker(&cinfo, kExifMarker, exifdata + 4, static_cast(exifsize - 4)); free(exifdata); } size_t profile_size = heif_image_handle_get_raw_color_profile_size(handle); if (profile_size > 0){ uint8_t* profile_data = static_cast(malloc(profile_size)); heif_image_handle_get_raw_color_profile(handle, profile_data); jpeg_write_icc_profile(&cinfo, profile_data, (unsigned int)profile_size); free(profile_data); } if (heif_image_handle_get_luma_bits_per_pixel(handle) != 8 || heif_image_handle_get_chroma_bits_per_pixel(handle) != 8) { fprintf(stderr, "JPEG writer cannot handle image with >8 bpp.\n"); return false; } int stride_y; const uint8_t* row_y = heif_image_get_plane_readonly(image, heif_channel_Y, &stride_y); int stride_u; const uint8_t* row_u = heif_image_get_plane_readonly(image, heif_channel_Cb, &stride_u); int stride_v; const uint8_t* row_v = heif_image_get_plane_readonly(image, heif_channel_Cr, &stride_v); JSAMPARRAY buffer = cinfo.mem->alloc_sarray( reinterpret_cast(&cinfo), JPOOL_IMAGE, cinfo.image_width * cinfo.input_components, 1); JSAMPROW row[1] = { buffer[0] }; while (cinfo.next_scanline < cinfo.image_height) { size_t offset_y = cinfo.next_scanline * stride_y; const uint8_t* start_y = &row_y[offset_y]; size_t offset_u = (cinfo.next_scanline / 2) * stride_u; const uint8_t* start_u = &row_u[offset_u]; size_t offset_v = (cinfo.next_scanline / 2) * stride_v; const uint8_t* start_v = &row_v[offset_v]; JOCTET* bufp = buffer[0]; for (JDIMENSION x = 0; x < cinfo.image_width; ++x) { *bufp++ = start_y[x]; *bufp++ = start_u[x / 2]; *bufp++ = start_v[x / 2]; } jpeg_write_scanlines(&cinfo, row, 1); } jpeg_finish_compress(&cinfo); fclose(fp); jpeg_destroy_compress(&cinfo); return true; } libheif-1.6.1/examples/heif_test.cc0000644000221000001440000001136213576201740014135 00000000000000/* libheif example application "heif-test". MIT License Copyright (c) 2017 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #if defined(HAVE_UNISTD_H) #include #else #define STDOUT_FILENO 1 #endif #include #include #include #include #include #include static struct option long_options[] = { //{"write-raw", required_argument, 0, 'w' }, //{"output", required_argument, 0, 'o' }, {"decode-img", required_argument, 0, 'd' }, {"metadata", required_argument, 0, 'm' }, {0, 0, 0, 0 } }; void show_help(const char* argv0) { fprintf(stderr," heif-test libheif version: %s\n",heif_get_version()); fprintf(stderr,"------------------------------------\n"); fprintf(stderr,"usage: heif-test [options] image.heic\n"); fprintf(stderr,"\n"); fprintf(stderr,"options:\n"); fprintf(stderr," -d, --decode-img ID decode image and output raw pixel data of all planes\n"); fprintf(stderr," -m, --metadata ID output metadata\n"); fprintf(stderr," -h, --help show help\n"); } std::pair parse_id_pair(std::string s) { std::string::size_type p = s.find_first_of(':'); if (p==std::string::npos) { fprintf(stderr,"id pair has to be in this format: 'ID:ID'\n"); exit(1); } std::pair pair; pair.first = atoi(s.substr(0,p).c_str()); pair.second = atoi(s.substr(p+1).c_str()); return pair; } int main(int argc, char** argv) { std::vector image_IDs; std::vector> metadata_IDs; // first: image, second: metadata while (true) { int option_index = 0; int c = getopt_long(argc, argv, "d:m:h", long_options, &option_index); if (c == -1) break; switch (c) { case 'd': image_IDs.push_back(atoi(optarg)); break; case 'm': metadata_IDs.push_back(parse_id_pair(optarg)); break; case 'h': show_help(argv[0]); return 0; } } if (optind != argc-1) { show_help(argv[0]); return 0; } const char* input_filename = argv[optind]; // ============================================================================== try { heif::Context ctx; ctx.read_from_file(input_filename); // --- dump images for (auto id : image_IDs) { heif::ImageHandle handle = ctx.get_image_handle(id); heif::Image img = handle.decode_image(heif_colorspace_undefined, heif_chroma_undefined); std::vector channel_candidates { heif_channel_Y, heif_channel_Cb, heif_channel_Cr, heif_channel_R, heif_channel_G, heif_channel_B, heif_channel_Alpha, heif_channel_interleaved }; for (heif_channel channel : channel_candidates) { if (img.has_channel(channel)) { int width = img.get_width(channel); int height = img.get_height(channel); int bytes = (img.get_bits_per_pixel(channel)+7)/8; int stride; const uint8_t* p = img.get_plane(channel, &stride); for (int y=0;y data = handle.get_metadata(idpair.second); fwrite(data.data(), data.size(),1, stdout); } } catch (const heif::Error& err) { std::cerr << err.get_message() << "\n"; } return 0; } libheif-1.6.1/examples/heif-test.go0000644000221000001440000001134113425046765014077 00000000000000/* Simple GO interface test program MIT License Copyright (c) 2018 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ package main import ( "bytes" "fmt" "image" _ "image/jpeg" "image/png" "io/ioutil" "os" "path/filepath" "github.com/strukturag/libheif/go/heif" ) // ================================================== // TEST // ================================================== func savePNG(img image.Image, filename string) { var out bytes.Buffer if err := png.Encode(&out, img); err != nil { fmt.Printf("Could not encode image as PNG: %s\n", err) } else { if err := ioutil.WriteFile(filename, out.Bytes(), 0644); err != nil { fmt.Printf("Could not save PNG image as %s: %s\n", filename, err) } else { fmt.Printf("Written to %s\n", filename) } } } func testHeifHighlevel(filename string) { fmt.Printf("Performing highlevel conversion of %s\n", filename) file, err := os.Open(filename) if err != nil { fmt.Printf("Could not read file %s: %s\n", filename, err) return } defer file.Close() img, magic, err := image.Decode(file) if err != nil { fmt.Printf("Could not decode image: %s\n", err) return } fmt.Printf("Decoded image of type %s: %s\n", magic, img.Bounds()) ext := filepath.Ext(filename) outFilename := filename[0:len(filename)-len(ext)] + "_highlevel.png" savePNG(img, outFilename) } func testHeifLowlevel(filename string) { fmt.Printf("Performing lowlevel conversion of %s\n", filename) c, err := heif.NewContext() if err != nil { fmt.Printf("Could not create context: %s\n", err) return } if err := c.ReadFromFile(filename); err != nil { fmt.Printf("Could not read file %s: %s\n", filename, err) return } nImages := c.GetNumberOfTopLevelImages() fmt.Printf("Number of top level images: %v\n", nImages) ids := c.GetListOfTopLevelImageIDs() fmt.Printf("List of top level image IDs: %#v\n", ids) if pID, err := c.GetPrimaryImageID(); err != nil { fmt.Printf("Could not get primary image id: %s\n", err) } else { fmt.Printf("Primary image: %v\n", pID) } handle, err := c.GetPrimaryImageHandle() if err != nil { fmt.Printf("Could not get primary image: %s\n", err) return } fmt.Printf("Image size: %v × %v\n", handle.GetWidth(), handle.GetHeight()) img, err := handle.DecodeImage(heif.ColorspaceUndefined, heif.ChromaUndefined, nil) if err != nil { fmt.Printf("Could not decode image: %s\n", err) } else if i, err := img.GetImage(); err != nil { fmt.Printf("Could not get image: %s\n", err) } else { fmt.Printf("Rectangle: %v\n", i.Bounds()) ext := filepath.Ext(filename) outFilename := filename[0:len(filename)-len(ext)] + "_lowlevel.png" savePNG(i, outFilename) } } func testHeifEncode(filename string) { file, err := os.Open(filename) if err != nil { fmt.Printf("failed to open file %v\n", file) return } defer file.Close() i, _, err := image.Decode(file) if err != nil { fmt.Printf("failed to decode image: %v\n", err) return } const quality = 100 ctx, err := heif.EncodeFromImage(i, heif.CompressionHEVC, quality, heif.LosslessModeEnabled, heif.LoggingLevelFull) if err != nil { fmt.Printf("failed to heif encode image: %v\n", err) return } ext := filepath.Ext(filename) out := filename[0:len(filename)-len(ext)] + "_encoded.heif" if err := ctx.WriteToFile(out); err != nil { fmt.Printf("failed to write to file: %v\n", err) return } fmt.Printf("Written to %s\n", out) } func main() { fmt.Printf("libheif version: %v\n", heif.GetVersion()) if len(os.Args) < 2 { fmt.Printf("USAGE: %s \n", os.Args[0]) return } filename := os.Args[1] testHeifLowlevel(filename) fmt.Println() testHeifHighlevel(filename) fmt.Println() testHeifEncode(filename) fmt.Println("Done.") } libheif-1.6.1/examples/encoder_jpeg.h0000644000221000001440000000423213576430032014445 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2017 struktur AG, Joachim Bauch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef EXAMPLE_ENCODER_JPEG_H #define EXAMPLE_ENCODER_JPEG_H #include #include #include #include #include #include "encoder.h" class JpegEncoder : public Encoder { public: JpegEncoder(int quality); heif_colorspace colorspace(bool has_alpha) const override { return heif_colorspace_YCbCr; } heif_chroma chroma(bool has_alpha, int bit_depth) const override { return heif_chroma_420; } void UpdateDecodingOptions(const struct heif_image_handle* handle, struct heif_decoding_options *options) const override; bool Encode(const struct heif_image_handle* handle, const struct heif_image* image, const std::string& filename) override; private: static const int kDefaultQuality = 90; struct ErrorHandler { struct jpeg_error_mgr pub; /* "public" fields */ jmp_buf setjmp_buffer; /* for return to caller */ }; static void OnJpegError(j_common_ptr cinfo); int quality_; }; #endif // EXAMPLE_ENCODER_JPEG_H libheif-1.6.1/examples/heif_info.cc0000644000221000001440000002327413576157752014133 00000000000000/* libheif example application "heif-info". MIT License Copyright (c) 2017 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #if defined(HAVE_UNISTD_H) #include #else #define STDOUT_FILENO 1 #endif #include #include #include #include #include #include /* image: 20005 (1920x1080), primary thumbnail: 20010 (320x240) alpha channel: 20012 (1920x1080) metadata: Exif image: 1920x1080 (20005), primary thumbnail: 320x240 (20010) alpha channel: 1920x1080 (20012) info *file info -w 20012 -o out.265 *file info -d // dump */ static struct option long_options[] = { //{"write-raw", required_argument, 0, 'w' }, //{"output", required_argument, 0, 'o' }, {"dump-boxes", no_argument, 0, 'd' }, {"help", no_argument, 0, 'h' }, {0, 0, 0, 0 } }; const char* fourcc_to_string(uint32_t fourcc) { static char fcc[5]; fcc[0] = (char)((fourcc>>24) & 0xFF); fcc[1] = (char)((fourcc>>16) & 0xFF); fcc[2] = (char)((fourcc>> 8) & 0xFF); fcc[3] = (char)((fourcc>> 0) & 0xFF); fcc[4] = 0; return fcc; } void show_help(const char* argv0) { fprintf(stderr," heif-info libheif version: %s\n",heif_get_version()); fprintf(stderr,"------------------------------------\n"); fprintf(stderr,"usage: heif-info [options] image.heic\n"); fprintf(stderr,"\n"); fprintf(stderr,"options:\n"); //fprintf(stderr," -w, --write-raw ID write raw compressed data of image 'ID'\n"); //fprintf(stderr," -o, --output NAME output file name for image selected by -w\n"); fprintf(stderr," -d, --dump-boxes show a low-level dump of all MP4 file boxes\n"); fprintf(stderr," -h, --help show help\n"); } int main(int argc, char** argv) { bool dump_boxes = false; bool write_raw_image = false; heif_item_id raw_image_id; std::string output_filename = "output.265"; while (true) { int option_index = 0; int c = getopt_long(argc, argv, "dh", long_options, &option_index); if (c == -1) break; switch (c) { case 'd': dump_boxes = true; break; case 'h': show_help(argv[0]); return 0; case 'w': write_raw_image = true; raw_image_id = atoi(optarg); break; case 'o': output_filename = optarg; break; } } if (optind != argc-1) { show_help(argv[0]); return 0; } (void)raw_image_id; (void)write_raw_image; const char* input_filename = argv[optind]; // ============================================================================== // show MIME type { uint8_t buf[20]; FILE* fh = fopen(input_filename,"rb"); if (fh) { std::cout << "MIME type: "; int n = (int)fread(buf,1,20,fh); const char* mime_type = heif_get_file_mime_type(buf,n); if (*mime_type==0) { std::cout << "unknown\n"; } else { std::cout << mime_type << "\n"; } fclose(fh); } } // ============================================================================== std::shared_ptr ctx(heif_context_alloc(), [] (heif_context* c) { heif_context_free(c); }); if (!ctx) { fprintf(stderr, "Could not create HEIF context\n"); return 1; } struct heif_error err; err = heif_context_read_from_file(ctx.get(), input_filename, nullptr); if (dump_boxes) { heif_context_debug_dump_boxes_to_file(ctx.get(), STDOUT_FILENO); // dump to stdout return 0; } if (err.code != 0) { std::cerr << "Could not read HEIF file: " << err.message << "\n"; return 1; } // ============================================================================== int numImages = heif_context_get_number_of_top_level_images(ctx.get()); heif_item_id* IDs = (heif_item_id*)alloca(numImages*sizeof(heif_item_id)); heif_context_get_list_of_top_level_image_IDs(ctx.get(), IDs, numImages); for (int i=0;ihas_z_near) printf("%f\n",depth_info->z_near); else printf("undefined\n"); printf(" z-far: "); if (depth_info->has_z_far) printf("%f\n",depth_info->z_far); else printf("undefined\n"); printf(" d-min: "); if (depth_info->has_d_min) printf("%f\n",depth_info->d_min); else printf("undefined\n"); printf(" d-max: "); if (depth_info->has_d_max) printf("%f\n",depth_info->d_max); else printf("undefined\n"); printf(" representation: "); switch (depth_info->depth_representation_type) { case heif_depth_representation_type_uniform_inverse_Z: printf("inverse Z\n"); break; case heif_depth_representation_type_uniform_disparity: printf("uniform disparity\n"); break; case heif_depth_representation_type_uniform_Z: printf("uniform Z\n"); break; case heif_depth_representation_type_nonuniform_disparity: printf("non-uniform disparity\n"); break; default: printf("unknown\n"); } if (depth_info->has_d_min || depth_info->has_d_max) { printf(" disparity_reference_view: %d\n", depth_info->disparity_reference_view); } heif_depth_representation_info_free(depth_info); } heif_image_handle_release(depth_handle); } heif_image_handle_release(handle); } #if 0 std::cout << "num images: " << heif_context_get_number_of_top_level_images(ctx.get()) << "\n"; struct heif_image_handle* handle; err = heif_context_get_primary_image_handle(ctx.get(), &handle); if (err.code != 0) { std::cerr << "Could not get primage image handle: " << err.message << "\n"; return 1; } struct heif_image* image; err = heif_decode_image(handle, &image, heif_colorspace_undefined, heif_chroma_undefined, NULL); if (err.code != 0) { heif_image_handle_release(handle); std::cerr << "Could not decode primage image: " << err.message << "\n"; return 1; } heif_image_release(image); heif_image_handle_release(handle); #endif return 0; } libheif-1.6.1/examples/Makefile.am0000644000221000001440000000603713576157752013730 00000000000000AUTOMAKE_OPTIONS = subdir-objects examples = \ heif-convert \ heif-enc \ heif-info examples_noinst = \ heif-test \ test-c-api dist_man_MANS = heif_convert_DEPENDENCIES = ../libheif/libheif.la heif_convert_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir)/. heif_convert_LDFLAGS = heif_convert_LDADD = ../libheif/libheif.la heif_convert_SOURCES = encoder.cc encoder.h heif_convert.cc encoder_y4m.cc encoder_y4m.h dist_man_MANS += heif-convert.1 if HAVE_LIBPNG examples += heif-thumbnailer heif_thumbnailer_DEPENDENCIES = ../libheif/libheif.la heif_thumbnailer_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) $(libpng_CFLAGS) heif_thumbnailer_LDFLAGS = $(libpng_LIBS) heif_thumbnailer_LDADD = ../libheif/libheif.la heif_thumbnailer_SOURCES = encoder.cc encoder.h heif_thumbnailer.cc encoder_png.cc encoder_png.h dist_man_MANS += heif-thumbnailer.1 endif if HAVE_LIBJPEG heif_convert_CXXFLAGS += $(libjpeg_CFLAGS) heif_convert_LDADD += $(libjpeg_LIBS) heif_convert_SOURCES += encoder_jpeg.cc encoder_jpeg.h endif if HAVE_LIBPNG heif_convert_CXXFLAGS += $(libpng_CFLAGS) heif_convert_LDADD += $(libpng_LIBS) heif_convert_SOURCES += encoder_png.cc encoder_png.h endif heif_info_DEPENDENCIES = ../libheif/libheif.la heif_info_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) heif_info_LDFLAGS = heif_info_LDADD = ../libheif/libheif.la heif_info_SOURCES = heif_info.cc dist_man_MANS += heif-info.1 heif_enc_DEPENDENCIES = ../libheif/libheif.la heif_enc_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) heif_enc_LDFLAGS = heif_enc_LDADD = ../libheif/libheif.la heif_enc_SOURCES = heif_enc.cc dist_man_MANS += heif-enc.1 if HAVE_LIBJPEG heif_enc_CXXFLAGS += $(libjpeg_CFLAGS) heif_enc_LDADD += $(libjpeg_LIBS) endif if HAVE_LIBPNG heif_enc_CXXFLAGS += $(libpng_CFLAGS) heif_enc_LDADD += $(libpng_LIBS) endif heif_test_DEPENDENCIES = ../libheif/libheif.la heif_test_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) heif_test_LDFLAGS = heif_test_LDADD = ../libheif/libheif.la heif_test_SOURCES = heif_test.cc test_c_api_DEPENDENCIES = ../libheif/libheif.la test_c_api_CFLAGS = -I$(top_srcdir) -I$(top_builddir) test_c_api_LDFLAGS = test_c_api_LDADD = ../libheif/libheif.la test_c_api_SOURCES = test_c_api.c EXTRA_DIST = \ CMakeLists.txt \ COPYING \ demo.html \ example.heic if HAVE_GO examples_noinst += \ heif-test-go heif_test_go_SOURCES = heif-test.go gopath: mkdir -p ${CURDIR}/src/github.com/strukturag/libheif ln -sf ${CURDIR}/../go ${CURDIR}/src/github.com/strukturag/libheif/ heif-test-go: gopath $(top_builddir)/libheif/libheif.la $(top_builddir)/libheif.pc heif-test.go GOPATH=${CURDIR} PKG_CONFIG_PATH=$(abs_top_builddir) CGO_CFLAGS="-I$(abs_top_builddir)" CGO_LDFLAGS="-L$(abs_top_builddir)/libheif/.libs" LD_LIBRARY_PATH=$(abs_top_builddir)/libheif/.libs $(GO) build -o heif-test-go ${heif_test_go_SOURCES} format-go: ${heif_test_go_SOURCES} $(GO) fmt ${heif_test_go_SOURCES} else format-go: echo ""go" not present in "${PATH}", skipping formatting" endif if WITH_EXAMPLES bin_PROGRAMS = $(examples) noinst_PROGRAMS = $(examples_noinst) endif format-local: format-go libheif-1.6.1/examples/example.heic0000644000221000001440000257244213341211665014153 00000000000000ftypmif1mif1heichevcmeta!hdlrpictpitmN$XilocD@N$N%M_N&{  N' pViinfinfeN$hvc1HEVC ImageinfeN%hvc1HEVC ImageinfeN&hvc1HEVC ImageinfeN'hvc1HEVC Image(irefthmbN%N$thmbN'N&Riprp&ipco~hvcC`x @ `x@!0B`x5Yfb&d "Drb@ispeV}hvcC`< @ `<@!/B`<  yfb&d "Drb@ispe@~hvcC`x @ `x@!0B`x5Yfb&d "Drb@}hvcC`< @ `<@!/B`<  yfb&d "Drb@$ipmaN$N%N&N'mdatN, GۻUNx265 (build 79) - 1.9:[Linux][GCC 5.3.1][64 bit] 8bit+10bit+12bit - H.265/HEVC codec - Copyright 2013-2015 (c) Multicoreware Inc - http://x265.org - options: 1280x856 fps=25/1 bitdepth=8 wpp ctu=64 min-cu-size=8 max-tu-size=32 tu-intra-depth=2 tu-inter-depth=2 me=3 subme=3 merange=57 rect amp max-merge=3 temporal-mvp no-early-skip rdpenalty=0 no-tskip no-tskip-fast strong-intra-smoothing no-lossless no-cu-lossless no-constrained-intra no-fast-intra open-gop no-temporal-layers interlace=0 keyint=250 min-keyint=25 scenecut=40 rc-lookahead=30 lookahead-slices=4 bframes=8 bframe-bias=0 b-adapt=2 ref=4 limit-refs=2 limit-modes weightp weightb aq-mode=1 qg-size=32 aq-strength=1.00 cbqpoffs=0 crqpoffs=0 rd=6 psy-rd=2.00 rdoq-level=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64 bit] 8bit+10bit+12bit - H.265/HEVC codec - Copyright 2013-2015 (c) Multicoreware Inc - http://x265.org - options: 320x216 fps=25/1 bitdepth=8 wpp ctu=64 min-cu-size=8 max-tu-size=32 tu-intra-depth=2 tu-inter-depth=2 me=3 subme=3 merange=57 rect amp max-merge=3 temporal-mvp no-early-skip rdpenalty=0 no-tskip no-tskip-fast strong-intra-smoothing no-lossless no-cu-lossless no-constrained-intra no-fast-intra open-gop no-temporal-layers interlace=0 keyint=250 min-keyint=25 scenecut=40 rc-lookahead=30 lookahead-slices=0 bframes=8 bframe-bias=0 b-adapt=2 ref=4 limit-refs=2 limit-modes weightp weightb aq-mode=1 qg-size=32 aq-strength=1.00 cbqpoffs=0 crqpoffs=0 rd=6 psy-rd=2.00 rdoq-level=2 psy-rdoq=1.00 signhide deblock sao no-sao-non-deblock b-pyramid cutree no-intra-refresh rc=crf crf=12.0 qcomp=0.60 qpmin=0 qpmax=51 qpstep=4 ipratio=1.40 pbratio=1.30\&& 8ˀFXPީ]cO# -Y`x[Ln Cاr5-}ږ.C&^7J=cwroʮ" #9;o c 6E!WL0}8v¸D*NJ_#EmOZ4SYtpj4s:zTe,HJEåQowz!'ԁ-( I 8F +b6 kXVu4YxICS-ںc䝔?/$τr7H:6rXe!+j޺R*cK.qH[& v0Na+ 彖7$\Ft0NݜH9 ֪mBn ? /Z[Bpjw&gihqn˱]p߿DX=,)"m}ڒ꜠&H`Xd snGq9X+$i@ލәhUβliM6Ϥ`@'(鄍FMU$ ڳy{^ A 0ԊDՏMzܘsUjWPs)5-}"&^F/Rb(^MaؘqXlRof)"6nt12{%:4=$Ҿ;.N2iCn'tH@t-R |ov#!R0_&CdӔJrp_\o( гn]5,ZNh- W2nUbw['p j {tM6W-4/+Ner&ʍ3g0=13PLQ;뷗6 $dSR 7`LK GJLAL模$h)n ̅{pA:m &b3|tBv!b``?`ˆ~M?J}+躋$de!}\KiT䬣zR׫OrT)nL9Oa WDR^F"m nM!Tc7F Qa_&C/zQn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sМ+{>"L)[B\ &mL>jb%=yW+c`^upI+5.ȏFV+rWƓ,5qK9_?3+ Gc_,pj%u<`T]+:h})dVKy"7;χ oxCnd⏪O 9`É(zBKm1ER:';u:x(|vF`Um7h,/sHJyl`ss1_QL`3a $|<.^F < <4SvrH}Obq]OQER(Y~sbR/4C.UgU)\Ud$=_e>0 mdatN, GۻUNx265 (build 79) - 1.9:[Linux][GCC 5.3.1][64 bit] 8bit+10bit+12bit - H.265/HEVC codec - Copyright 2013-2015 (c) Multicoreware Inc - http://x265.org - options: 1280x856 fps=25/1 bitdepth=8 wpp ctu=64 min-cu-size=8 max-tu-size=32 tu-intra-depth=2 tu-inter-depth=2 me=3 subme=3 merange=57 rect amp max-merge=3 temporal-mvp no-early-skip rdpenalty=0 no-tskip no-tskip-fast strong-intra-smoothing no-lossless no-cu-lossless no-constrained-intra no-fast-intra open-gop no-temporal-layers interlace=0 keyint=250 min-keyint=25 scenecut=40 rc-lookahead=30 lookahead-slices=4 bframes=8 bframe-bias=0 b-adapt=2 ref=4 limit-refs=2 limit-modes weightp weightb aq-mode=1 qg-size=32 aq-strength=1.00 cbqpoffs=0 crqpoffs=0 rd=6 psy-rd=2.00 rdoq-level=2 psy-rdoq=1.00 signhide deblock sao no-sao-non-deblock b-pyramid cutree no-intra-refresh rc=crf crf=12.0 qcomp=0.60 qpmin=0 qpmax=51 qpstep=4 ipratio=1.40 pbratio=1.30& u` *׊* `r/DmX[7yoS'=ӯ~Bb觻> #CpLJ$Cي[ٰ̒ Nsɋ >h`w~T)L{l}kc6=5b6.W=OVhmYý9i@.kU6g8?o$r/P אj哓' x_\r#fNi@(DZ 8.\j36 լNshque3!>$gۥ9zRȏ5٩i+,^ J+F[`p4 )8@&wh1= -l;2Vw1mRlǭ*&"4nVs"Kn3KeDq^`gS%ast~2ܸV(uUhGN.h"gퟄ$ٵBH&f;8i V^;P|k~7Aoݺrp2O:0@]1RJ^CAPФѺVRC'YP7*oʉd\<ڣ}^ sYeעkkCce*1&n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@V0`Gg{؉%u◛ҋ:տMRՋY9foph=rFDH#N}O㛄s[ʧ\G {<0sK<ˮf؏%HmEYk SclAqƨ9c*>ڻ>lh!go-$n2^ R*(EȼM3rbyۉAvƥAH[뒝i+l-x~˷:p -8FڼkFei&ŞfiVr|/Y^ؘVPx/ԫ T>k0Vpv%fTSjiotMc`i-p^~Cئi,$vQc)#l -j *^a_Í xtc5u,i].VjP࠴ݸ Eaay4?у{A &u)Q> P25˗uǕ{j'4_ PUZ)ܲ z\Q%v>Ka~P^B#8q߰Or jHl<歑𶇴9 0G*&qe M7r>uLw AJY=]Cd? áw 'S(ζ5 ҳT Hf}!xL(J@xX;OFM< h΍L8dJfPCbܫL 4>н:=j -pu0ٯGvܕ 9`D%'K4]Bhdg7S\F^a`*& [ZH(D3 hZNtšݥA~2_2G?aa8x!E %)ۖdg.|p|\Ձ⦒ h`]68"Դ1Zyn4 iei):";޼ v1̫WMlG][I!:_uWy,2d7JqA `d#bpImSYDFX$TN|3\rA [x3%$SB@ƅvLoS6O~țV9#mGUYDDŽkZs%|7nTZep6:x`D)y֔WS9$~#ͲB\.6oI dذ?FZ], V>ww:ek")Z^bREncm,y*: I )9 $^+&|br/EN'ÒCgq'k^kZn&ͼXNL.LZr3 gG#, O (E h4'pc8(y<8+$^-(QtL5 ;.àacu8s|C D\SjNkiB{3_oPeTjq)`e}gc˚"s_ u9@閑?{zV)ۧZ%; gr9%Cych@(.w}yY ۔–CnX%dNo=zyK >В>aP!6|xg·cd>(C,cѩ{YNTxs۳i3gs`'C~8B7Z,Ka)HBw|"'<Eg^R4vz)Z@-d\WPFόKQ=~- _^ܐ[Q qv7;EN;,fă bC,ϓ <=0+j jr ƿUPp^mdatN, GۻUNx265 (build 79) - 1.9:[Linux][GCC 5.3.1][64 bit] 8bit+10bit+12bit - H.265/HEVC codec - Copyright 2013-2015 (c) Multicoreware Inc - http://x265.org - options: 320x216 fps=25/1 bitdepth=8 wpp ctu=64 min-cu-size=8 max-tu-size=32 tu-intra-depth=2 tu-inter-depth=2 me=3 subme=3 merange=57 rect amp max-merge=3 temporal-mvp no-early-skip rdpenalty=0 no-tskip no-tskip-fast strong-intra-smoothing no-lossless no-cu-lossless no-constrained-intra no-fast-intra open-gop no-temporal-layers interlace=0 keyint=250 min-keyint=25 scenecut=40 rc-lookahead=30 lookahead-slices=0 bframes=8 bframe-bias=0 b-adapt=2 ref=4 limit-refs=2 limit-modes weightp weightb aq-mode=1 qg-size=32 aq-strength=1.00 cbqpoffs=0 crqpoffs=0 rd=6 psy-rd=2.00 rdoq-level=2 psy-rdoq=1.00 signhide deblock sao no-sao-non-deblock b-pyramid cutree no-intra-refresh rc=crf crf=12.0 qcomp=0.60 qpmin=0 qpmax=51 qpstep=4 ipratio=1.40 pbratio=1.30l& :X{t7o*LSK✥7 Dvl*˪7CCJɬSU^I*ħkiɶQIc Q]ieAcAG9PZ@%χ-k(ϓ=U y+*l<:Ptiz1JҨfGf=úmi~dR CX$ \)Iә5.nj0\ˌvqGV'G`Hx.%8NDC"o=7SNyreiv_賭.cR 0K?ѭ+>c_JLAVB<99\A"HLiݶ-^Rp,rjt[Kцϡ.e\Bȅ]+K"[gW=`Lli^V[ө3t${i{e9$}P1&. nV1x‚OCW{4/ȅ WxZպ>R(um5ݬگ*~+jY!zk?w\cy tr'XPHP)䫫7w a|}6rd @1xBn\gHL_CL^||z U#?0x|m <e>Wͽ6#q'u\E}9w{;br*`{dNFmSf4<6U ڛ5sV1'$TKc.GγQ&Oi-C?#62yF1՜t 1vD͚~y%QlPI6Y![yNSI9 Ev>6dE.0խL+=C\b؂>*[OvOs<[chnZ2&XPs ǩ, vJѯG$/e>P2g@Ǣrہs=|iiE3% #e)7iF.pP~Ѕ/T hS*x n)œ%ԣ% ԣX"a?G O%(bз!Qm쯯TcT;|pI)<'Y( Zbv} 2= fV]::Z'k/u^iĵd+O$۔SJ[SZd]dJkQ;eQ)`:f+cx&Ԁi6^Lza]bݭE~%s/ո(+Osv gn8.cVd%+덱[f^D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  R^9zE8Y ҀC?+@"/vV2DQGj(NB5ljǀ!Z\ph5eHj's `Bn#7G.O?A Ak_,]z.dž% JiZjKƸ%ǾIvM<ηAuwF՜D mdatNHW_0001libheif-1.6.1/examples/demo.html0000644000221000001440000002706013341211665013465 00000000000000 libheif decoder demo

libheif decoder demo

Fork me on GitHub
Copyright © 2017-2018 by struktur AG
Loading, please wait...
libheif-1.6.1/examples/heif_enc.cc0000644000221000001440000010155613576430032013726 00000000000000/* libheif example application "heif". MIT License Copyright (c) 2017 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #include #include #include #include #include #if HAVE_LIBJPEG extern "C" { // Prevent duplicate definition for libjpeg-turbo v2.0 // Note: these 'undef's are only a workaround for a libjpeg-turbo-v2.0 bug and // should be removed again later. Bug has been fixed in libjpeg-turbo-v2.0.1. #undef HAVE_STDDEF_H #undef HAVE_STDLIB_H #include } #endif #if HAVE_LIBPNG extern "C" { #include } #endif #include #define JPEG_ICC_MARKER (JPEG_APP0+2) /* JPEG marker code for ICC */ #define JPEG_ICC_OVERHEAD_LEN 14 /* size of non-profile data in APP2 */ int master_alpha = 1; int thumb_alpha = 1; static struct option long_options[] = { {"help", no_argument, 0, 'h' }, {"quality", required_argument, 0, 'q' }, {"output", required_argument, 0, 'o' }, {"lossless", no_argument, 0, 'L' }, {"thumb", required_argument, 0, 't' }, {"verbose", no_argument, 0, 'v' }, {"params", no_argument, 0, 'P' }, {"no-alpha", no_argument, &master_alpha, 0 }, {"no-thumb-alpha", no_argument, &thumb_alpha, 0 }, {"bit-depth", required_argument, 0, 'b' }, {0, 0, 0, 0 } }; void show_help(const char* argv0) { std::cerr << " heif-enc libheif version: " << heif_get_version() << "\n" << "----------------------------------------\n" << "Usage: heif-enc [options] image.jpeg ...\n" << "\n" << "When specifying multiple source images, they will all be saved into the same HEIF file.\n" << "\n" << "When using the x265 encoder, you may pass it any of its parameters by\n" << "prefixing the parameter name with 'x265:'. Hence, to set the 'ctu' parameter,\n" << "you will have to set 'x265:ctu' in libheif (e.g.: -p x265:ctu=64).\n" << "Note that there is no checking for valid parameters when using the prefix.\n" << "\n" << "Options:\n" << " -h, --help show help\n" << " -q, --quality set output quality (0-100) for lossy compression\n" << " -L, --lossless generate lossless output (-q has no effect)\n" << " -t, --thumb # generate thumbnail with maximum size # (default: off)\n" << " --no-alpha do not save alpha channel\n" << " --no-thumb-alpha do not save alpha channel in thumbnail image\n" << " -o, --output output filename (optional)\n" << " -v, --verbose enable logging output (more -v will increase logging level)\n" << " -P, --params show all encoder parameters\n" << " -b # bit-depth of generated HEIF file when using 16-bit PNG input (default: 10 bit)\n" << " -p set encoder parameter (NAME=VALUE)\n"; } #if HAVE_LIBJPEG static bool JPEGMarkerIsIcc (jpeg_saved_marker_ptr marker) { return marker->marker == JPEG_ICC_MARKER && marker->data_length >= JPEG_ICC_OVERHEAD_LEN && /* verify the identifying string */ GETJOCTET(marker->data[0]) == 0x49 && GETJOCTET(marker->data[1]) == 0x43 && GETJOCTET(marker->data[2]) == 0x43 && GETJOCTET(marker->data[3]) == 0x5F && GETJOCTET(marker->data[4]) == 0x50 && GETJOCTET(marker->data[5]) == 0x52 && GETJOCTET(marker->data[6]) == 0x4F && GETJOCTET(marker->data[7]) == 0x46 && GETJOCTET(marker->data[8]) == 0x49 && GETJOCTET(marker->data[9]) == 0x4C && GETJOCTET(marker->data[10]) == 0x45 && GETJOCTET(marker->data[11]) == 0x0; } boolean ReadICCProfileFromJPEG (j_decompress_ptr cinfo, JOCTET **icc_data_ptr, unsigned int *icc_data_len) { jpeg_saved_marker_ptr marker; int num_markers = 0; int seq_no; JOCTET *icc_data; unsigned int total_length; #define MAX_SEQ_NO 255 /* sufficient since marker numbers are bytes */ char marker_present[MAX_SEQ_NO+1]; /* 1 if marker found */ unsigned int data_length[MAX_SEQ_NO+1]; /* size of profile data in marker */ unsigned int data_offset[MAX_SEQ_NO+1]; /* offset for data in marker */ *icc_data_ptr = NULL; /* avoid confusion if FALSE return */ *icc_data_len = 0; /* This first pass over the saved markers discovers whether there are * any ICC markers and verifies the consistency of the marker numbering. */ for (seq_no = 1; seq_no <= MAX_SEQ_NO; seq_no++) marker_present[seq_no] = 0; for (marker = cinfo->marker_list; marker != NULL; marker = marker->next) { if (JPEGMarkerIsIcc(marker)) { if (num_markers == 0) num_markers = GETJOCTET(marker->data[13]); else if (num_markers != GETJOCTET(marker->data[13])) return FALSE; /* inconsistent num_markers fields */ seq_no = GETJOCTET(marker->data[12]); if (seq_no <= 0 || seq_no > num_markers) return FALSE; /* bogus sequence number */ if (marker_present[seq_no]) return FALSE; /* duplicate sequence numbers */ marker_present[seq_no] = 1; data_length[seq_no] = marker->data_length - JPEG_ICC_OVERHEAD_LEN; } } if (num_markers == 0) return FALSE; /* Check for missing markers, count total space needed, * compute offset of each marker's part of the data. */ total_length = 0; for (seq_no = 1; seq_no <= num_markers; seq_no++) { if (marker_present[seq_no] == 0) return FALSE; /* missing sequence number */ data_offset[seq_no] = total_length; total_length += data_length[seq_no]; } if (total_length <= 0) return FALSE; /* found only empty markers? */ /* Allocate space for assembled data */ icc_data = (JOCTET *) malloc(total_length * sizeof(JOCTET)); if (icc_data == NULL) return FALSE; /* oops, out of memory */ /* and fill it in */ for (marker = cinfo->marker_list; marker != NULL; marker = marker->next) { if (JPEGMarkerIsIcc(marker)) { JOCTET FAR *src_ptr; JOCTET *dst_ptr; unsigned int length; seq_no = GETJOCTET(marker->data[12]); dst_ptr = icc_data + data_offset[seq_no]; src_ptr = marker->data + JPEG_ICC_OVERHEAD_LEN; length = data_length[seq_no]; while (length--) { *dst_ptr++ = *src_ptr++; } } } *icc_data_ptr = icc_data; *icc_data_len = total_length; return TRUE; } std::shared_ptr loadJPEG(const char* filename) { struct heif_image* image = nullptr; // ### Code copied from LibVideoGfx and slightly modified to use HeifPixelImage struct jpeg_decompress_struct cinfo; struct jpeg_error_mgr jerr; // to store embedded icc profile uint32_t iccLen; uint8_t* iccBuffer = NULL; // open input file FILE * infile; if ((infile = fopen(filename, "rb")) == NULL) { std::cerr << "Can't open " << filename << "\n"; exit(1); } // initialize decompressor jpeg_create_decompress(&cinfo); cinfo.err = jpeg_std_error(&jerr); jpeg_stdio_src(&cinfo, infile); /* Adding this part to prepare for icc profile reading. */ jpeg_save_markers(&cinfo, JPEG_APP0 + 2, 0xFFFF); jpeg_read_header(&cinfo, TRUE); boolean embeddedIccFlag = ReadICCProfileFromJPEG(&cinfo, &iccBuffer, &iccLen); if (cinfo.jpeg_color_space == JCS_GRAYSCALE) { cinfo.out_color_space = JCS_GRAYSCALE; jpeg_start_decompress(&cinfo); JSAMPARRAY buffer; buffer = (*cinfo.mem->alloc_sarray) ((j_common_ptr) &cinfo, JPOOL_IMAGE, cinfo.output_width * cinfo.output_components, 1); // create destination image struct heif_error err = heif_image_create(cinfo.output_width, cinfo.output_height, heif_colorspace_monochrome, heif_chroma_monochrome, &image); (void)err; // TODO: handle error heif_image_add_plane(image, heif_channel_Y, cinfo.output_width, cinfo.output_height, 8); int y_stride; uint8_t* py = heif_image_get_plane(image, heif_channel_Y, &y_stride); // read the image while (cinfo.output_scanline < cinfo.output_height) { (void) jpeg_read_scanlines(&cinfo, buffer, 1); memcpy(py + (cinfo.output_scanline-1)*y_stride, *buffer, cinfo.output_width); } } else { cinfo.out_color_space = JCS_YCbCr; jpeg_start_decompress(&cinfo); JSAMPARRAY buffer; buffer = (*cinfo.mem->alloc_sarray) ((j_common_ptr) &cinfo, JPOOL_IMAGE, cinfo.output_width * cinfo.output_components, 1); // create destination image struct heif_error err = heif_image_create(cinfo.output_width, cinfo.output_height, heif_colorspace_YCbCr, heif_chroma_420, &image); (void)err; heif_image_add_plane(image, heif_channel_Y, cinfo.output_width, cinfo.output_height, 8); heif_image_add_plane(image, heif_channel_Cb, (cinfo.output_width+1)/2, (cinfo.output_height+1)/2, 8); heif_image_add_plane(image, heif_channel_Cr, (cinfo.output_width+1)/2, (cinfo.output_height+1)/2, 8); int y_stride; int cb_stride; int cr_stride; uint8_t* py = heif_image_get_plane(image, heif_channel_Y, &y_stride); uint8_t* pcb = heif_image_get_plane(image, heif_channel_Cb, &cb_stride); uint8_t* pcr = heif_image_get_plane(image, heif_channel_Cr, &cr_stride); // read the image //printf("jpeg size: %d %d\n",cinfo.output_width, cinfo.output_height); while (cinfo.output_scanline < cinfo.output_height) { JOCTET* bufp; (void) jpeg_read_scanlines(&cinfo, buffer, 1); bufp = buffer[0]; int y = cinfo.output_scanline-1; for (unsigned int x=0;x 0){ heif_image_set_raw_color_profile(image, "prof", iccBuffer, (size_t) iccLen); } // cleanup free(iccBuffer); jpeg_finish_decompress(&cinfo); jpeg_destroy_decompress(&cinfo); fclose(infile); return std::shared_ptr(image, [] (heif_image* img) { heif_image_release(img); }); } #else std::shared_ptr loadJPEG(const char* filename) { std::cerr << "Cannot load JPEG because libjpeg support was not compiled.\n"; exit(1); return nullptr; } #endif #if HAVE_LIBPNG static void user_read_fn(png_structp png_ptr, png_bytep data, png_size_t length) { FILE* fh = (FILE*)png_get_io_ptr(png_ptr); size_t n = fread((char*)data,length,1,fh); (void)n; } // user_read_data std::shared_ptr loadPNG(const char* filename, int output_bit_depth) { FILE* fh = fopen(filename,"rb"); if (!fh) { std::cerr << "Can't open " << filename << "\n"; exit(1); } // ### Code copied from LibVideoGfx and slightly modified to use HeifPixelImage struct heif_image* image = nullptr; png_structp png_ptr; png_infop info_ptr; png_uint_32 width, height; int bit_depth, color_type, interlace_type; int compression_type; png_charp name; #if (PNG_LIBPNG_VER < 10500) png_charp png_profile_data; #else png_bytep png_profile_data; #endif uint8_t * profile_data = nullptr; png_uint_32 profile_length = 5; /* Create and initialize the png_struct with the desired error handler * functions. If you want to use the default stderr and longjump method, * you can supply NULL for the last three parameters. We also supply the * the compiler header file version, so that we know if the application * was compiled with a compatible version of the library. REQUIRED */ png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); assert(png_ptr != NULL); /* Allocate/initialize the memory for image information. REQUIRED. */ info_ptr = png_create_info_struct(png_ptr); if (info_ptr == NULL) { png_destroy_read_struct(&png_ptr, (png_infopp)NULL, (png_infopp)NULL); assert(false); // , "could not create info_ptr"); } // if /* Set error handling if you are using the setjmp/longjmp method (this is * the normal method of doing things with libpng). REQUIRED unless you * set up your own error handlers in the png_create_read_struct() earlier. */ if (setjmp(png_jmpbuf(png_ptr))) { /* Free all of the memory associated with the png_ptr and info_ptr */ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); /* If we get here, we had a problem reading the file */ assert(false); // , "fatal error in png library"); } // if /* If you are using replacement read functions, instead of calling * png_init_io() here you would call: */ png_set_read_fn(png_ptr, (void *)fh, user_read_fn); /* where user_io_ptr is a structure you want available to the callbacks */ /* The call to png_read_info() gives us all of the information from the * PNG file before the first IDAT (image data chunk). REQUIRED */ png_read_info(png_ptr, info_ptr); png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL); if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP)) { if (PNG_INFO_iCCP == png_get_iCCP(png_ptr, info_ptr, &name, &compression_type, &png_profile_data, &profile_length) && profile_length > 0) { profile_data = (uint8_t*) malloc(profile_length); if (profile_data) { memcpy(profile_data, png_profile_data, profile_length); } } } /**** Set up the data transformations you want. Note that these are all **** optional. Only call them if you want/need them. Many of the **** transformations only work on specific types of images, and many **** are mutually exclusive. ****/ // \TODO // /* Strip alpha bytes from the input data without combining with the // * background (not recommended). // */ // png_set_strip_alpha(png_ptr); /* Extract multiple pixels with bit depths of 1, 2, and 4 from a single * byte into separate bytes (useful for paletted and grayscale images). */ png_set_packing(png_ptr); /* Expand paletted colors into true RGB triplets */ if (color_type == PNG_COLOR_TYPE_PALETTE) png_set_expand(png_ptr); /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) png_set_expand(png_ptr); /* Set the background color to draw transparent and alpha images over. * It is possible to set the red, green, and blue components directly * for paletted images instead of supplying a palette index. Note that * even if the PNG file supplies a background, you are not required to * use it - you should use the (solid) application background if it has one. */ #if 0 // \TODO 0 is index in color lookup table - correct? used already? png_color_16 my_background = {0, 255, 255, 255, 255}; png_color_16 *image_background; if (png_get_bKGD(png_ptr, info_ptr, &image_background)) png_set_background(png_ptr, image_background, PNG_BACKGROUND_GAMMA_FILE, 1, 1.0); else png_set_background(png_ptr, &my_background, PNG_BACKGROUND_GAMMA_SCREEN, 0, 1.0); #endif /* Optional call to gamma correct and add the background to the palette * and update info structure. REQUIRED if you are expecting libpng to * update the palette for you (ie you selected such a transform above). */ png_read_update_info(png_ptr, info_ptr); /* Allocate the memory to hold the image using the fields of info_ptr. */ /* The easiest way to read the image: */ uint8_t** row_pointers = new png_bytep[height]; assert(row_pointers != NULL); for (uint32_t y = 0; y < height; y++) { row_pointers[y] = (png_bytep)malloc(png_get_rowbytes(png_ptr, info_ptr)); assert(row_pointers[y] != NULL); } // for /* Now it's time to read the image. One of these methods is REQUIRED */ png_read_image(png_ptr, row_pointers); /* read rest of file, and get additional chunks in info_ptr - REQUIRED */ png_read_end(png_ptr, info_ptr); /* clean up after the read, and free any memory allocated - REQUIRED */ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); // OK, now we should have the png image in some way in // row_pointers, have fun with it int band = 0; switch (color_type) { case PNG_COLOR_TYPE_GRAY: case PNG_COLOR_TYPE_GRAY_ALPHA: band = 1; break; case PNG_COLOR_TYPE_PALETTE: case PNG_COLOR_TYPE_RGB: case PNG_COLOR_TYPE_RGB_ALPHA: band = 3; break; default: assert(false); // , "unknown color type in png image."); } // switch struct heif_error err; bool has_alpha = (color_type & PNG_COLOR_MASK_ALPHA); if (band==1) { err = heif_image_create((int)width, (int)height, heif_colorspace_monochrome, heif_chroma_monochrome, &image); (void)err; heif_image_add_plane(image, heif_channel_Y, (int)width, (int)height, 8); int y_stride; int a_stride; uint8_t* py = heif_image_get_plane(image, heif_channel_Y, &y_stride); uint8_t* pa = nullptr; if (has_alpha) { heif_image_add_plane(image, heif_channel_Alpha, (int)width, (int)height, 8); pa = heif_image_get_plane(image, heif_channel_Alpha, &a_stride); } for (uint32_t y = 0; y < height; y++) { uint8_t* p = row_pointers[y]; if (has_alpha) { for (uint32_t x = 0; x < width; x++) { py[y*y_stride + x] = *p++; pa[y*a_stride + x] = *p++; } } else { memcpy(&py[y*y_stride],p, width); } } } else if (bit_depth==8) { err = heif_image_create((int)width, (int)height, heif_colorspace_RGB, has_alpha ? heif_chroma_interleaved_RGBA : heif_chroma_interleaved_RGB, &image); (void)err; heif_image_add_plane(image, heif_channel_interleaved, (int)width, (int)height, has_alpha ? 32 : 24); int stride; uint8_t* p = heif_image_get_plane(image, heif_channel_interleaved, &stride); for (uint32_t y = 0; y < height; y++) { if (has_alpha) { memcpy(p + y*stride, row_pointers[y], width*4); } else { memcpy(p + y*stride, row_pointers[y], width*3); } } } else { err = heif_image_create((int)width, (int)height, heif_colorspace_RGB, has_alpha ? heif_chroma_interleaved_RRGGBBAA_BE : heif_chroma_interleaved_RRGGBB_BE, &image); (void)err; int bdShift = 16 - output_bit_depth; heif_image_add_plane(image, heif_channel_interleaved, (int)width, (int)height, output_bit_depth); int stride; uint8_t* p_out = (uint8_t*)heif_image_get_plane(image, heif_channel_interleaved, &stride); for (uint32_t y = 0; y < height; y++) { uint8_t* p = row_pointers[y]; uint32_t nVal = (has_alpha ? 4 : 3) * width; for (uint32_t x = 0; x < nVal ; x++) { uint16_t v = (uint16_t)(((p[0]<<8) | p[1]) >> bdShift); p_out[2*x + y*stride + 0] = (v>>8); p_out[2*x + y*stride + 1] = (v & 0xFF); p += 2; } } } if (profile_data && profile_length > 0){ heif_image_set_raw_color_profile(image, "prof", profile_data, (size_t) profile_length); } free(profile_data); for (uint32_t y = 0; y < height; y++) { free(row_pointers[y]); } // for delete[] row_pointers; return std::shared_ptr(image, [] (heif_image* img) { heif_image_release(img); }); } #else std::shared_ptr loadPNG(const char* filename, int output_bit_depth) { std::cerr << "Cannot load PNG because libpng support was not compiled.\n"; exit(1); return nullptr; } #endif std::shared_ptr loadY4M(const char* filename) { struct heif_image* image = nullptr; // open input file std::ifstream istr(filename, std::ios_base::binary); if (istr.fail()) { std::cerr << "Can't open " << filename << "\n"; exit(1); } std::string header; getline(istr, header); if (header.find("YUV4MPEG2 ")!=0) { std::cerr << "Input is not a Y4M file.\n"; exit(1); } int w=-1; int h=-1; size_t pos=0; for (;;) { pos = header.find(' ',pos+1)+1; if (pos==std::string::npos) { break; } size_t end = header.find_first_of(" \n",pos+1); if (end==std::string::npos) { break; } if (end-pos <= 1) { std::cerr << "Header format error in Y4M file.\n"; exit(1); } char tag = header[pos]; std::string value = header.substr(pos+1,end-pos-1); if (tag=='W') { w = atoi(value.c_str()); } else if (tag=='H') { h = atoi(value.c_str()); } } std::string frameheader; getline(istr, frameheader); if (frameheader != "FRAME") { std::cerr << "Y4M misses the frame header.\n"; exit(1); } if (w<0 || h<0) { std::cerr << "Y4M has invalid frame size.\n"; exit(1); } struct heif_error err = heif_image_create(w,h, heif_colorspace_YCbCr, heif_chroma_420, &image); (void)err; // TODO: handle error heif_image_add_plane(image, heif_channel_Y, w,h, 8); heif_image_add_plane(image, heif_channel_Cb, (w+1)/2,(h+1)/2, 8); heif_image_add_plane(image, heif_channel_Cr, (w+1)/2,(h+1)/2, 8); int y_stride, cb_stride, cr_stride; uint8_t* py = heif_image_get_plane(image, heif_channel_Y, &y_stride); uint8_t* pcb = heif_image_get_plane(image, heif_channel_Cb, &cb_stride); uint8_t* pcr = heif_image_get_plane(image, heif_channel_Cr, &cr_stride); for (int y=0;y(image, [] (heif_image* img) { heif_image_release(img); }); } void list_encoder_parameters(heif_encoder* encoder) { std::cerr << "Parameters for encoder `" << heif_encoder_get_name(encoder) << "`:\n"; const struct heif_encoder_parameter*const* params = heif_encoder_list_parameters(encoder); for (int i=0;params[i];i++) { const char* name = heif_encoder_parameter_get_name(params[i]); switch (heif_encoder_parameter_get_type(params[i])) { case heif_encoder_parameter_type_integer: { heif_error error; std::cerr << " " << name; if (heif_encoder_has_default(encoder, name)) { int value; error = heif_encoder_get_parameter_integer(encoder, name, &value); (void)error; std::cerr << ", default=" << value; } int have_minmax, minimum, maximum; error = heif_encoder_parameter_integer_valid_range(encoder, name, &have_minmax, &minimum, &maximum); if (have_minmax) { std::cerr << ", [" << minimum << ";" << maximum << "]"; } std::cerr << "\n"; } break; case heif_encoder_parameter_type_boolean: { heif_error error; std::cerr << " " << name; if (heif_encoder_has_default(encoder, name)) { int value; error = heif_encoder_get_parameter_boolean(encoder, name, &value); (void)error; std::cerr << ", default=" << (value ? "true":"false"); } std::cerr << "\n"; } break; case heif_encoder_parameter_type_string: { heif_error error; std::cerr << " " << name; if (heif_encoder_has_default(encoder, name)) { const int value_size = 50; char value[value_size]; error = heif_encoder_get_parameter_string(encoder, name, value, value_size); (void)error; std::cerr << ", default=" << value; } const char*const* valid_options; error = heif_encoder_parameter_string_valid_values(encoder, name, &valid_options); if (valid_options) { std::cerr << ", { "; for (int i=0;valid_options[i];i++) { if (i>0) { std::cerr << ","; } std::cerr << valid_options[i]; } std::cerr << " }"; } std::cerr << "\n"; } break; } } } void set_params(struct heif_encoder* encoder, std::vector params) { for (std::string p : params) { auto pos = p.find_first_of('='); if (pos == std::string::npos || pos==0 || pos==p.size()-1) { std::cerr << "Encoder parameter must be in the format 'name=value'\n"; exit(5); } std::string name = p.substr(0,pos); std::string value = p.substr(pos+1); struct heif_error error = heif_encoder_set_parameter(encoder, name.c_str(), value.c_str()); if (error.code) { std::cerr << "Error: " << error.message << "\n"; exit(5); } } } int main(int argc, char** argv) { int quality = 50; bool lossless = false; std::string output_filename; int logging_level = 0; bool option_show_parameters = false; int thumbnail_bbox_size = 0; int output_bit_depth = 10; std::vector raw_params; while (true) { int option_index = 0; int c = getopt_long(argc, argv, "hq:Lo:vPp:t:b:", long_options, &option_index); if (c == -1) break; switch (c) { case 'h': show_help(argv[0]); return 0; case 'q': quality = atoi(optarg); break; case 'L': lossless = true; break; case 'o': output_filename = optarg; break; case 'v': logging_level++; break; case 'P': option_show_parameters = true; break; case 'p': raw_params.push_back(optarg); break; case 't': thumbnail_bbox_size = atoi(optarg); break; case 'b': output_bit_depth = atoi(optarg); break; } } if (quality<0 || quality>100) { std::cerr << "Invalid quality factor. Must be between 0 and 100.\n"; return 5; } if (logging_level>0) { logging_level += 2; if (logging_level > 4) { logging_level = 4; } } // ============================================================================== std::shared_ptr context(heif_context_alloc(), [] (heif_context* c) { heif_context_free(c); }); if (!context) { std::cerr << "Could not create HEIF context\n"; return 1; } struct heif_encoder* encoder = nullptr; #define MAX_ENCODERS 5 const heif_encoder_descriptor* encoder_descriptors[MAX_ENCODERS]; int count = heif_context_get_encoder_descriptors(context.get(), heif_compression_HEVC, nullptr, encoder_descriptors, MAX_ENCODERS); if (count>0) { if (logging_level>0) { std::cerr << "Encoder: " << heif_encoder_descriptor_get_id_name(encoder_descriptors[0]) << " = " << heif_encoder_descriptor_get_name(encoder_descriptors[0]) << "\n"; } heif_error error = heif_context_get_encoder(context.get(), encoder_descriptors[0], &encoder); if (error.code) { std::cerr << error.message << "\n"; return 5; } } else { std::cerr << "No HEVC encoder available.\n"; return 5; } if (option_show_parameters) { list_encoder_parameters(encoder); return 0; } if (optind > argc-1) { show_help(argv[0]); return 0; } struct heif_error error; for ( ; optind image; if (filetype==PNG) { image = loadPNG(input_filename.c_str(), output_bit_depth); } else if (filetype==Y4M) { image = loadY4M(input_filename.c_str()); } else { image = loadJPEG(input_filename.c_str()); } if (heif_image_get_colorspace(image.get()) == heif_colorspace_RGB && lossless) { std::cerr << "Warning: input image is in RGB colorspace, but encoding is currently\n" << " always done in YCbCr colorspace. Hence, even though you specified lossless\n" << " compression, there will be differences because of the color conversion.\n"; } heif_encoder_set_lossy_quality(encoder, quality); heif_encoder_set_lossless(encoder, lossless); heif_encoder_set_logging_level(encoder, logging_level); set_params(encoder, raw_params); struct heif_encoding_options* options = heif_encoding_options_alloc(); options->save_alpha_channel = (uint8_t)master_alpha; struct heif_image_handle* handle; error = heif_context_encode_image(context.get(), image.get(), encoder, options, &handle); if (error.code != 0) { heif_encoding_options_free(options); std::cerr << "Could not encode HEIF file: " << error.message << "\n"; return 1; } if (thumbnail_bbox_size > 0) { // encode thumbnail struct heif_image_handle* thumbnail_handle; options->save_alpha_channel = master_alpha && thumb_alpha; error = heif_context_encode_thumbnail(context.get(), image.get(), handle, encoder, options, thumbnail_bbox_size, &thumbnail_handle); if (error.code) { heif_encoding_options_free(options); std::cerr << "Could not generate thumbnail: " << error.message << "\n"; return 5; } if (thumbnail_handle) { heif_image_handle_release(thumbnail_handle); } } heif_image_handle_release(handle); heif_encoding_options_free(options); } heif_encoder_release(encoder); error = heif_context_write_to_file(context.get(), output_filename.c_str()); if (error.code) { std::cerr << error.message << "\n"; return 5; } return 0; } libheif-1.6.1/examples/encoder_y4m.cc0000644000221000001440000000523113576157752014406 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2019 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "encoder_y4m.h" #include #include #include Y4MEncoder::Y4MEncoder() { } void Y4MEncoder::UpdateDecodingOptions(const struct heif_image_handle* handle, struct heif_decoding_options *options) const { } bool Y4MEncoder::Encode(const struct heif_image_handle* handle, const struct heif_image* image, const std::string& filename) { FILE* fp = fopen(filename.c_str(), "wb"); if (!fp) { fprintf(stderr, "Can't open %s: %s\n", filename.c_str(), strerror(errno)); return false; } int y_stride, cb_stride, cr_stride; const uint8_t* yp = heif_image_get_plane_readonly(image, heif_channel_Y, &y_stride); const uint8_t* cbp = heif_image_get_plane_readonly(image, heif_channel_Cb, &cb_stride); const uint8_t* crp = heif_image_get_plane_readonly(image, heif_channel_Cr, &cr_stride); assert(y_stride > 0); assert(cb_stride > 0); assert(cr_stride > 0); int yw = heif_image_get_width(image, heif_channel_Y); int yh = heif_image_get_height(image, heif_channel_Y); int cw = heif_image_get_width(image, heif_channel_Cb); int ch = heif_image_get_height(image, heif_channel_Cb); fprintf(fp,"YUV4MPEG2 W%d H%d F30:1\nFRAME\n",yw,yh); for (int y=0;y Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "libheif/heif.h" #include "libheif/heif_version.h" #include "libheif/heif_plugin.h" int main() { return 0; } libheif-1.6.1/examples/Makefile.in0000644000221000001440000016576013576653757013760 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ @HAVE_LIBPNG_TRUE@am__append_1 = heif-thumbnailer @HAVE_LIBPNG_TRUE@am__append_2 = heif-thumbnailer.1 @HAVE_LIBJPEG_TRUE@am__append_3 = $(libjpeg_CFLAGS) @HAVE_LIBJPEG_TRUE@am__append_4 = $(libjpeg_LIBS) @HAVE_LIBJPEG_TRUE@am__append_5 = encoder_jpeg.cc encoder_jpeg.h @HAVE_LIBPNG_TRUE@am__append_6 = $(libpng_CFLAGS) @HAVE_LIBPNG_TRUE@am__append_7 = $(libpng_LIBS) @HAVE_LIBPNG_TRUE@am__append_8 = encoder_png.cc encoder_png.h @HAVE_LIBJPEG_TRUE@am__append_9 = $(libjpeg_CFLAGS) @HAVE_LIBJPEG_TRUE@am__append_10 = $(libjpeg_LIBS) @HAVE_LIBPNG_TRUE@am__append_11 = $(libpng_CFLAGS) @HAVE_LIBPNG_TRUE@am__append_12 = $(libpng_LIBS) @HAVE_GO_TRUE@am__append_13 = \ @HAVE_GO_TRUE@ heif-test-go @WITH_EXAMPLES_TRUE@bin_PROGRAMS = $(am__EXEEXT_2) @WITH_EXAMPLES_TRUE@noinst_PROGRAMS = $(am__EXEEXT_4) subdir = examples ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_c_cxx_compile_flags.m4 \ $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = @HAVE_LIBPNG_TRUE@am__EXEEXT_1 = heif-thumbnailer$(EXEEXT) am__EXEEXT_2 = heif-convert$(EXEEXT) heif-enc$(EXEEXT) \ heif-info$(EXEEXT) $(am__EXEEXT_1) am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" @HAVE_GO_TRUE@am__EXEEXT_3 = heif-test-go$(EXEEXT) am__EXEEXT_4 = heif-test$(EXEEXT) test-c-api$(EXEEXT) $(am__EXEEXT_3) PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) am__heif_convert_SOURCES_DIST = encoder.cc encoder.h heif_convert.cc \ encoder_y4m.cc encoder_y4m.h encoder_jpeg.cc encoder_jpeg.h \ encoder_png.cc encoder_png.h @HAVE_LIBJPEG_TRUE@am__objects_1 = \ @HAVE_LIBJPEG_TRUE@ heif_convert-encoder_jpeg.$(OBJEXT) @HAVE_LIBPNG_TRUE@am__objects_2 = heif_convert-encoder_png.$(OBJEXT) am_heif_convert_OBJECTS = heif_convert-encoder.$(OBJEXT) \ heif_convert-heif_convert.$(OBJEXT) \ heif_convert-encoder_y4m.$(OBJEXT) $(am__objects_1) \ $(am__objects_2) heif_convert_OBJECTS = $(am_heif_convert_OBJECTS) am__DEPENDENCIES_1 = @HAVE_LIBJPEG_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) @HAVE_LIBPNG_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = heif_convert_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(heif_convert_CXXFLAGS) \ $(CXXFLAGS) $(heif_convert_LDFLAGS) $(LDFLAGS) -o $@ am_heif_enc_OBJECTS = heif_enc-heif_enc.$(OBJEXT) heif_enc_OBJECTS = $(am_heif_enc_OBJECTS) heif_enc_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(heif_enc_CXXFLAGS) \ $(CXXFLAGS) $(heif_enc_LDFLAGS) $(LDFLAGS) -o $@ am_heif_info_OBJECTS = heif_info-heif_info.$(OBJEXT) heif_info_OBJECTS = $(am_heif_info_OBJECTS) heif_info_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(heif_info_CXXFLAGS) \ $(CXXFLAGS) $(heif_info_LDFLAGS) $(LDFLAGS) -o $@ am_heif_test_OBJECTS = heif_test-heif_test.$(OBJEXT) heif_test_OBJECTS = $(am_heif_test_OBJECTS) heif_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(heif_test_CXXFLAGS) \ $(CXXFLAGS) $(heif_test_LDFLAGS) $(LDFLAGS) -o $@ am__heif_test_go_SOURCES_DIST = heif-test.go am_heif_test_go_OBJECTS = heif_test_go_OBJECTS = $(am_heif_test_go_OBJECTS) heif_test_go_LDADD = $(LDADD) am__heif_thumbnailer_SOURCES_DIST = encoder.cc encoder.h \ heif_thumbnailer.cc encoder_png.cc encoder_png.h @HAVE_LIBPNG_TRUE@am_heif_thumbnailer_OBJECTS = \ @HAVE_LIBPNG_TRUE@ heif_thumbnailer-encoder.$(OBJEXT) \ @HAVE_LIBPNG_TRUE@ heif_thumbnailer-heif_thumbnailer.$(OBJEXT) \ @HAVE_LIBPNG_TRUE@ heif_thumbnailer-encoder_png.$(OBJEXT) heif_thumbnailer_OBJECTS = $(am_heif_thumbnailer_OBJECTS) heif_thumbnailer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) \ $(heif_thumbnailer_LDFLAGS) $(LDFLAGS) -o $@ am_test_c_api_OBJECTS = test_c_api-test_c_api.$(OBJEXT) test_c_api_OBJECTS = $(am_test_c_api_OBJECTS) test_c_api_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_c_api_CFLAGS) \ $(CFLAGS) $(test_c_api_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(heif_convert_SOURCES) $(heif_enc_SOURCES) \ $(heif_info_SOURCES) $(heif_test_SOURCES) \ $(heif_test_go_SOURCES) $(heif_thumbnailer_SOURCES) \ $(test_c_api_SOURCES) DIST_SOURCES = $(am__heif_convert_SOURCES_DIST) $(heif_enc_SOURCES) \ $(heif_info_SOURCES) $(heif_test_SOURCES) \ $(am__heif_test_go_SOURCES_DIST) \ $(am__heif_thumbnailer_SOURCES_DIST) $(test_c_api_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(dist_man_MANS) am__extra_recursive_targets = format-recursive test-recursive am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \ $(top_srcdir)/depcomp COPYING DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCAS = @CCAS@ CCASDEPMODE = @CCASDEPMODE@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_LIBFUZZER = @ENABLE_LIBFUZZER@ ENABLE_PARALLEL_TILE_DECODING = @ENABLE_PARALLEL_TILE_DECODING@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FUZZING_ENGINE = @FUZZING_ENGINE@ GO = @GO@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ HAVE_GO = @HAVE_GO@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBHEIF_AGE = @LIBHEIF_AGE@ LIBHEIF_CURRENT = @LIBHEIF_CURRENT@ LIBHEIF_REVISION = @LIBHEIF_REVISION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PROJECT_VERSION_MAJOR = @PROJECT_VERSION_MAJOR@ PROJECT_VERSION_MINOR = @PROJECT_VERSION_MINOR@ PROJECT_VERSION_PATCH = @PROJECT_VERSION_PATCH@ PROJECT_VERSION_TWEAK = @PROJECT_VERSION_TWEAK@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WITH_EXAMPLES = @WITH_EXAMPLES@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gdk_pixbuf_binary_version = @gdk_pixbuf_binary_version@ gdk_pixbuf_binarydir = @gdk_pixbuf_binarydir@ gdk_pixbuf_cache_file = @gdk_pixbuf_cache_file@ gdk_pixbuf_moduledir = @gdk_pixbuf_moduledir@ gdkpixbuf_CFLAGS = @gdkpixbuf_CFLAGS@ gdkpixbuf_LIBS = @gdkpixbuf_LIBS@ have_libde265 = @have_libde265@ have_x265 = @have_x265@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libde265_CFLAGS = @libde265_CFLAGS@ libde265_LIBS = @libde265_LIBS@ libdir = @libdir@ libexecdir = @libexecdir@ libjpeg_CFLAGS = @libjpeg_CFLAGS@ libjpeg_LIBS = @libjpeg_LIBS@ libpng_CFLAGS = @libpng_CFLAGS@ libpng_LIBS = @libpng_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ x265_CFLAGS = @x265_CFLAGS@ x265_LIBS = @x265_LIBS@ AUTOMAKE_OPTIONS = subdir-objects examples = heif-convert heif-enc heif-info $(am__append_1) examples_noinst = heif-test test-c-api $(am__append_13) dist_man_MANS = heif-convert.1 $(am__append_2) heif-info.1 heif-enc.1 heif_convert_DEPENDENCIES = ../libheif/libheif.la heif_convert_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir)/. \ $(am__append_3) $(am__append_6) heif_convert_LDFLAGS = heif_convert_LDADD = ../libheif/libheif.la $(am__append_4) \ $(am__append_7) heif_convert_SOURCES = encoder.cc encoder.h heif_convert.cc \ encoder_y4m.cc encoder_y4m.h $(am__append_5) $(am__append_8) @HAVE_LIBPNG_TRUE@heif_thumbnailer_DEPENDENCIES = ../libheif/libheif.la @HAVE_LIBPNG_TRUE@heif_thumbnailer_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) $(libpng_CFLAGS) @HAVE_LIBPNG_TRUE@heif_thumbnailer_LDFLAGS = $(libpng_LIBS) @HAVE_LIBPNG_TRUE@heif_thumbnailer_LDADD = ../libheif/libheif.la @HAVE_LIBPNG_TRUE@heif_thumbnailer_SOURCES = encoder.cc encoder.h heif_thumbnailer.cc encoder_png.cc encoder_png.h heif_info_DEPENDENCIES = ../libheif/libheif.la heif_info_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) heif_info_LDFLAGS = heif_info_LDADD = ../libheif/libheif.la heif_info_SOURCES = heif_info.cc heif_enc_DEPENDENCIES = ../libheif/libheif.la heif_enc_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) $(am__append_9) \ $(am__append_11) heif_enc_LDFLAGS = heif_enc_LDADD = ../libheif/libheif.la $(am__append_10) \ $(am__append_12) heif_enc_SOURCES = heif_enc.cc heif_test_DEPENDENCIES = ../libheif/libheif.la heif_test_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir) heif_test_LDFLAGS = heif_test_LDADD = ../libheif/libheif.la heif_test_SOURCES = heif_test.cc test_c_api_DEPENDENCIES = ../libheif/libheif.la test_c_api_CFLAGS = -I$(top_srcdir) -I$(top_builddir) test_c_api_LDFLAGS = test_c_api_LDADD = ../libheif/libheif.la test_c_api_SOURCES = test_c_api.c EXTRA_DIST = \ CMakeLists.txt \ COPYING \ demo.html \ example.heic @HAVE_GO_TRUE@heif_test_go_SOURCES = heif-test.go all: all-am .SUFFIXES: .SUFFIXES: .c .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign examples/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign examples/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ || test -f $$p1 \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list heif-convert$(EXEEXT): $(heif_convert_OBJECTS) $(heif_convert_DEPENDENCIES) $(EXTRA_heif_convert_DEPENDENCIES) @rm -f heif-convert$(EXEEXT) $(AM_V_CXXLD)$(heif_convert_LINK) $(heif_convert_OBJECTS) $(heif_convert_LDADD) $(LIBS) heif-enc$(EXEEXT): $(heif_enc_OBJECTS) $(heif_enc_DEPENDENCIES) $(EXTRA_heif_enc_DEPENDENCIES) @rm -f heif-enc$(EXEEXT) $(AM_V_CXXLD)$(heif_enc_LINK) $(heif_enc_OBJECTS) $(heif_enc_LDADD) $(LIBS) heif-info$(EXEEXT): $(heif_info_OBJECTS) $(heif_info_DEPENDENCIES) $(EXTRA_heif_info_DEPENDENCIES) @rm -f heif-info$(EXEEXT) $(AM_V_CXXLD)$(heif_info_LINK) $(heif_info_OBJECTS) $(heif_info_LDADD) $(LIBS) heif-test$(EXEEXT): $(heif_test_OBJECTS) $(heif_test_DEPENDENCIES) $(EXTRA_heif_test_DEPENDENCIES) @rm -f heif-test$(EXEEXT) $(AM_V_CXXLD)$(heif_test_LINK) $(heif_test_OBJECTS) $(heif_test_LDADD) $(LIBS) @HAVE_GO_FALSE@heif-test-go$(EXEEXT): $(heif_test_go_OBJECTS) $(heif_test_go_DEPENDENCIES) $(EXTRA_heif_test_go_DEPENDENCIES) @HAVE_GO_FALSE@ @rm -f heif-test-go$(EXEEXT) @HAVE_GO_FALSE@ $(AM_V_CCLD)$(LINK) $(heif_test_go_OBJECTS) $(heif_test_go_LDADD) $(LIBS) heif-thumbnailer$(EXEEXT): $(heif_thumbnailer_OBJECTS) $(heif_thumbnailer_DEPENDENCIES) $(EXTRA_heif_thumbnailer_DEPENDENCIES) @rm -f heif-thumbnailer$(EXEEXT) $(AM_V_CXXLD)$(heif_thumbnailer_LINK) $(heif_thumbnailer_OBJECTS) $(heif_thumbnailer_LDADD) $(LIBS) test-c-api$(EXEEXT): $(test_c_api_OBJECTS) $(test_c_api_DEPENDENCIES) $(EXTRA_test_c_api_DEPENDENCIES) @rm -f test-c-api$(EXEEXT) $(AM_V_CCLD)$(test_c_api_LINK) $(test_c_api_OBJECTS) $(test_c_api_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_convert-encoder.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_convert-encoder_jpeg.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_convert-encoder_png.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_convert-encoder_y4m.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_convert-heif_convert.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_enc-heif_enc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_info-heif_info.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_test-heif_test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_thumbnailer-encoder.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_thumbnailer-encoder_png.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_thumbnailer-heif_thumbnailer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_c_api-test_c_api.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< test_c_api-test_c_api.o: test_c_api.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_c_api_CFLAGS) $(CFLAGS) -MT test_c_api-test_c_api.o -MD -MP -MF $(DEPDIR)/test_c_api-test_c_api.Tpo -c -o test_c_api-test_c_api.o `test -f 'test_c_api.c' || echo '$(srcdir)/'`test_c_api.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_c_api-test_c_api.Tpo $(DEPDIR)/test_c_api-test_c_api.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test_c_api.c' object='test_c_api-test_c_api.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_c_api_CFLAGS) $(CFLAGS) -c -o test_c_api-test_c_api.o `test -f 'test_c_api.c' || echo '$(srcdir)/'`test_c_api.c test_c_api-test_c_api.obj: test_c_api.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_c_api_CFLAGS) $(CFLAGS) -MT test_c_api-test_c_api.obj -MD -MP -MF $(DEPDIR)/test_c_api-test_c_api.Tpo -c -o test_c_api-test_c_api.obj `if test -f 'test_c_api.c'; then $(CYGPATH_W) 'test_c_api.c'; else $(CYGPATH_W) '$(srcdir)/test_c_api.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_c_api-test_c_api.Tpo $(DEPDIR)/test_c_api-test_c_api.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test_c_api.c' object='test_c_api-test_c_api.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_c_api_CFLAGS) $(CFLAGS) -c -o test_c_api-test_c_api.obj `if test -f 'test_c_api.c'; then $(CYGPATH_W) 'test_c_api.c'; else $(CYGPATH_W) '$(srcdir)/test_c_api.c'; fi` .cc.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< heif_convert-encoder.o: encoder.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder.o -MD -MP -MF $(DEPDIR)/heif_convert-encoder.Tpo -c -o heif_convert-encoder.o `test -f 'encoder.cc' || echo '$(srcdir)/'`encoder.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder.Tpo $(DEPDIR)/heif_convert-encoder.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder.cc' object='heif_convert-encoder.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder.o `test -f 'encoder.cc' || echo '$(srcdir)/'`encoder.cc heif_convert-encoder.obj: encoder.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder.obj -MD -MP -MF $(DEPDIR)/heif_convert-encoder.Tpo -c -o heif_convert-encoder.obj `if test -f 'encoder.cc'; then $(CYGPATH_W) 'encoder.cc'; else $(CYGPATH_W) '$(srcdir)/encoder.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder.Tpo $(DEPDIR)/heif_convert-encoder.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder.cc' object='heif_convert-encoder.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder.obj `if test -f 'encoder.cc'; then $(CYGPATH_W) 'encoder.cc'; else $(CYGPATH_W) '$(srcdir)/encoder.cc'; fi` heif_convert-heif_convert.o: heif_convert.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-heif_convert.o -MD -MP -MF $(DEPDIR)/heif_convert-heif_convert.Tpo -c -o heif_convert-heif_convert.o `test -f 'heif_convert.cc' || echo '$(srcdir)/'`heif_convert.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-heif_convert.Tpo $(DEPDIR)/heif_convert-heif_convert.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_convert.cc' object='heif_convert-heif_convert.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-heif_convert.o `test -f 'heif_convert.cc' || echo '$(srcdir)/'`heif_convert.cc heif_convert-heif_convert.obj: heif_convert.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-heif_convert.obj -MD -MP -MF $(DEPDIR)/heif_convert-heif_convert.Tpo -c -o heif_convert-heif_convert.obj `if test -f 'heif_convert.cc'; then $(CYGPATH_W) 'heif_convert.cc'; else $(CYGPATH_W) '$(srcdir)/heif_convert.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-heif_convert.Tpo $(DEPDIR)/heif_convert-heif_convert.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_convert.cc' object='heif_convert-heif_convert.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-heif_convert.obj `if test -f 'heif_convert.cc'; then $(CYGPATH_W) 'heif_convert.cc'; else $(CYGPATH_W) '$(srcdir)/heif_convert.cc'; fi` heif_convert-encoder_y4m.o: encoder_y4m.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder_y4m.o -MD -MP -MF $(DEPDIR)/heif_convert-encoder_y4m.Tpo -c -o heif_convert-encoder_y4m.o `test -f 'encoder_y4m.cc' || echo '$(srcdir)/'`encoder_y4m.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder_y4m.Tpo $(DEPDIR)/heif_convert-encoder_y4m.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_y4m.cc' object='heif_convert-encoder_y4m.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder_y4m.o `test -f 'encoder_y4m.cc' || echo '$(srcdir)/'`encoder_y4m.cc heif_convert-encoder_y4m.obj: encoder_y4m.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder_y4m.obj -MD -MP -MF $(DEPDIR)/heif_convert-encoder_y4m.Tpo -c -o heif_convert-encoder_y4m.obj `if test -f 'encoder_y4m.cc'; then $(CYGPATH_W) 'encoder_y4m.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_y4m.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder_y4m.Tpo $(DEPDIR)/heif_convert-encoder_y4m.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_y4m.cc' object='heif_convert-encoder_y4m.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder_y4m.obj `if test -f 'encoder_y4m.cc'; then $(CYGPATH_W) 'encoder_y4m.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_y4m.cc'; fi` heif_convert-encoder_jpeg.o: encoder_jpeg.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder_jpeg.o -MD -MP -MF $(DEPDIR)/heif_convert-encoder_jpeg.Tpo -c -o heif_convert-encoder_jpeg.o `test -f 'encoder_jpeg.cc' || echo '$(srcdir)/'`encoder_jpeg.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder_jpeg.Tpo $(DEPDIR)/heif_convert-encoder_jpeg.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_jpeg.cc' object='heif_convert-encoder_jpeg.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder_jpeg.o `test -f 'encoder_jpeg.cc' || echo '$(srcdir)/'`encoder_jpeg.cc heif_convert-encoder_jpeg.obj: encoder_jpeg.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder_jpeg.obj -MD -MP -MF $(DEPDIR)/heif_convert-encoder_jpeg.Tpo -c -o heif_convert-encoder_jpeg.obj `if test -f 'encoder_jpeg.cc'; then $(CYGPATH_W) 'encoder_jpeg.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_jpeg.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder_jpeg.Tpo $(DEPDIR)/heif_convert-encoder_jpeg.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_jpeg.cc' object='heif_convert-encoder_jpeg.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder_jpeg.obj `if test -f 'encoder_jpeg.cc'; then $(CYGPATH_W) 'encoder_jpeg.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_jpeg.cc'; fi` heif_convert-encoder_png.o: encoder_png.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder_png.o -MD -MP -MF $(DEPDIR)/heif_convert-encoder_png.Tpo -c -o heif_convert-encoder_png.o `test -f 'encoder_png.cc' || echo '$(srcdir)/'`encoder_png.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder_png.Tpo $(DEPDIR)/heif_convert-encoder_png.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_png.cc' object='heif_convert-encoder_png.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder_png.o `test -f 'encoder_png.cc' || echo '$(srcdir)/'`encoder_png.cc heif_convert-encoder_png.obj: encoder_png.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -MT heif_convert-encoder_png.obj -MD -MP -MF $(DEPDIR)/heif_convert-encoder_png.Tpo -c -o heif_convert-encoder_png.obj `if test -f 'encoder_png.cc'; then $(CYGPATH_W) 'encoder_png.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_png.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_convert-encoder_png.Tpo $(DEPDIR)/heif_convert-encoder_png.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_png.cc' object='heif_convert-encoder_png.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_convert_CXXFLAGS) $(CXXFLAGS) -c -o heif_convert-encoder_png.obj `if test -f 'encoder_png.cc'; then $(CYGPATH_W) 'encoder_png.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_png.cc'; fi` heif_enc-heif_enc.o: heif_enc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_enc_CXXFLAGS) $(CXXFLAGS) -MT heif_enc-heif_enc.o -MD -MP -MF $(DEPDIR)/heif_enc-heif_enc.Tpo -c -o heif_enc-heif_enc.o `test -f 'heif_enc.cc' || echo '$(srcdir)/'`heif_enc.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_enc-heif_enc.Tpo $(DEPDIR)/heif_enc-heif_enc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_enc.cc' object='heif_enc-heif_enc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_enc_CXXFLAGS) $(CXXFLAGS) -c -o heif_enc-heif_enc.o `test -f 'heif_enc.cc' || echo '$(srcdir)/'`heif_enc.cc heif_enc-heif_enc.obj: heif_enc.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_enc_CXXFLAGS) $(CXXFLAGS) -MT heif_enc-heif_enc.obj -MD -MP -MF $(DEPDIR)/heif_enc-heif_enc.Tpo -c -o heif_enc-heif_enc.obj `if test -f 'heif_enc.cc'; then $(CYGPATH_W) 'heif_enc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_enc.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_enc-heif_enc.Tpo $(DEPDIR)/heif_enc-heif_enc.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_enc.cc' object='heif_enc-heif_enc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_enc_CXXFLAGS) $(CXXFLAGS) -c -o heif_enc-heif_enc.obj `if test -f 'heif_enc.cc'; then $(CYGPATH_W) 'heif_enc.cc'; else $(CYGPATH_W) '$(srcdir)/heif_enc.cc'; fi` heif_info-heif_info.o: heif_info.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_info_CXXFLAGS) $(CXXFLAGS) -MT heif_info-heif_info.o -MD -MP -MF $(DEPDIR)/heif_info-heif_info.Tpo -c -o heif_info-heif_info.o `test -f 'heif_info.cc' || echo '$(srcdir)/'`heif_info.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_info-heif_info.Tpo $(DEPDIR)/heif_info-heif_info.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_info.cc' object='heif_info-heif_info.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_info_CXXFLAGS) $(CXXFLAGS) -c -o heif_info-heif_info.o `test -f 'heif_info.cc' || echo '$(srcdir)/'`heif_info.cc heif_info-heif_info.obj: heif_info.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_info_CXXFLAGS) $(CXXFLAGS) -MT heif_info-heif_info.obj -MD -MP -MF $(DEPDIR)/heif_info-heif_info.Tpo -c -o heif_info-heif_info.obj `if test -f 'heif_info.cc'; then $(CYGPATH_W) 'heif_info.cc'; else $(CYGPATH_W) '$(srcdir)/heif_info.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_info-heif_info.Tpo $(DEPDIR)/heif_info-heif_info.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_info.cc' object='heif_info-heif_info.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_info_CXXFLAGS) $(CXXFLAGS) -c -o heif_info-heif_info.obj `if test -f 'heif_info.cc'; then $(CYGPATH_W) 'heif_info.cc'; else $(CYGPATH_W) '$(srcdir)/heif_info.cc'; fi` heif_test-heif_test.o: heif_test.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_test_CXXFLAGS) $(CXXFLAGS) -MT heif_test-heif_test.o -MD -MP -MF $(DEPDIR)/heif_test-heif_test.Tpo -c -o heif_test-heif_test.o `test -f 'heif_test.cc' || echo '$(srcdir)/'`heif_test.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_test-heif_test.Tpo $(DEPDIR)/heif_test-heif_test.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_test.cc' object='heif_test-heif_test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_test_CXXFLAGS) $(CXXFLAGS) -c -o heif_test-heif_test.o `test -f 'heif_test.cc' || echo '$(srcdir)/'`heif_test.cc heif_test-heif_test.obj: heif_test.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_test_CXXFLAGS) $(CXXFLAGS) -MT heif_test-heif_test.obj -MD -MP -MF $(DEPDIR)/heif_test-heif_test.Tpo -c -o heif_test-heif_test.obj `if test -f 'heif_test.cc'; then $(CYGPATH_W) 'heif_test.cc'; else $(CYGPATH_W) '$(srcdir)/heif_test.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_test-heif_test.Tpo $(DEPDIR)/heif_test-heif_test.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_test.cc' object='heif_test-heif_test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_test_CXXFLAGS) $(CXXFLAGS) -c -o heif_test-heif_test.obj `if test -f 'heif_test.cc'; then $(CYGPATH_W) 'heif_test.cc'; else $(CYGPATH_W) '$(srcdir)/heif_test.cc'; fi` heif_thumbnailer-encoder.o: encoder.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -MT heif_thumbnailer-encoder.o -MD -MP -MF $(DEPDIR)/heif_thumbnailer-encoder.Tpo -c -o heif_thumbnailer-encoder.o `test -f 'encoder.cc' || echo '$(srcdir)/'`encoder.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_thumbnailer-encoder.Tpo $(DEPDIR)/heif_thumbnailer-encoder.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder.cc' object='heif_thumbnailer-encoder.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -c -o heif_thumbnailer-encoder.o `test -f 'encoder.cc' || echo '$(srcdir)/'`encoder.cc heif_thumbnailer-encoder.obj: encoder.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -MT heif_thumbnailer-encoder.obj -MD -MP -MF $(DEPDIR)/heif_thumbnailer-encoder.Tpo -c -o heif_thumbnailer-encoder.obj `if test -f 'encoder.cc'; then $(CYGPATH_W) 'encoder.cc'; else $(CYGPATH_W) '$(srcdir)/encoder.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_thumbnailer-encoder.Tpo $(DEPDIR)/heif_thumbnailer-encoder.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder.cc' object='heif_thumbnailer-encoder.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -c -o heif_thumbnailer-encoder.obj `if test -f 'encoder.cc'; then $(CYGPATH_W) 'encoder.cc'; else $(CYGPATH_W) '$(srcdir)/encoder.cc'; fi` heif_thumbnailer-heif_thumbnailer.o: heif_thumbnailer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -MT heif_thumbnailer-heif_thumbnailer.o -MD -MP -MF $(DEPDIR)/heif_thumbnailer-heif_thumbnailer.Tpo -c -o heif_thumbnailer-heif_thumbnailer.o `test -f 'heif_thumbnailer.cc' || echo '$(srcdir)/'`heif_thumbnailer.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_thumbnailer-heif_thumbnailer.Tpo $(DEPDIR)/heif_thumbnailer-heif_thumbnailer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_thumbnailer.cc' object='heif_thumbnailer-heif_thumbnailer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -c -o heif_thumbnailer-heif_thumbnailer.o `test -f 'heif_thumbnailer.cc' || echo '$(srcdir)/'`heif_thumbnailer.cc heif_thumbnailer-heif_thumbnailer.obj: heif_thumbnailer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -MT heif_thumbnailer-heif_thumbnailer.obj -MD -MP -MF $(DEPDIR)/heif_thumbnailer-heif_thumbnailer.Tpo -c -o heif_thumbnailer-heif_thumbnailer.obj `if test -f 'heif_thumbnailer.cc'; then $(CYGPATH_W) 'heif_thumbnailer.cc'; else $(CYGPATH_W) '$(srcdir)/heif_thumbnailer.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_thumbnailer-heif_thumbnailer.Tpo $(DEPDIR)/heif_thumbnailer-heif_thumbnailer.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='heif_thumbnailer.cc' object='heif_thumbnailer-heif_thumbnailer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -c -o heif_thumbnailer-heif_thumbnailer.obj `if test -f 'heif_thumbnailer.cc'; then $(CYGPATH_W) 'heif_thumbnailer.cc'; else $(CYGPATH_W) '$(srcdir)/heif_thumbnailer.cc'; fi` heif_thumbnailer-encoder_png.o: encoder_png.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -MT heif_thumbnailer-encoder_png.o -MD -MP -MF $(DEPDIR)/heif_thumbnailer-encoder_png.Tpo -c -o heif_thumbnailer-encoder_png.o `test -f 'encoder_png.cc' || echo '$(srcdir)/'`encoder_png.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_thumbnailer-encoder_png.Tpo $(DEPDIR)/heif_thumbnailer-encoder_png.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_png.cc' object='heif_thumbnailer-encoder_png.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -c -o heif_thumbnailer-encoder_png.o `test -f 'encoder_png.cc' || echo '$(srcdir)/'`encoder_png.cc heif_thumbnailer-encoder_png.obj: encoder_png.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -MT heif_thumbnailer-encoder_png.obj -MD -MP -MF $(DEPDIR)/heif_thumbnailer-encoder_png.Tpo -c -o heif_thumbnailer-encoder_png.obj `if test -f 'encoder_png.cc'; then $(CYGPATH_W) 'encoder_png.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_png.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_thumbnailer-encoder_png.Tpo $(DEPDIR)/heif_thumbnailer-encoder_png.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encoder_png.cc' object='heif_thumbnailer-encoder_png.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_thumbnailer_CXXFLAGS) $(CXXFLAGS) -c -o heif_thumbnailer-encoder_png.obj `if test -f 'encoder_png.cc'; then $(CYGPATH_W) 'encoder_png.cc'; else $(CYGPATH_W) '$(srcdir)/encoder_png.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) format-local: test-local: ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(MANS) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool \ clean-noinstPROGRAMS mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: format: format-am format-am: format-local html: html-am html-am: info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: test: test-am test-am: test-local uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool \ clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am format-am format-local html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags tags-am test-am test-local uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-man \ uninstall-man1 .PRECIOUS: Makefile @HAVE_GO_TRUE@gopath: @HAVE_GO_TRUE@ mkdir -p ${CURDIR}/src/github.com/strukturag/libheif @HAVE_GO_TRUE@ ln -sf ${CURDIR}/../go ${CURDIR}/src/github.com/strukturag/libheif/ @HAVE_GO_TRUE@heif-test-go: gopath $(top_builddir)/libheif/libheif.la $(top_builddir)/libheif.pc heif-test.go @HAVE_GO_TRUE@ GOPATH=${CURDIR} PKG_CONFIG_PATH=$(abs_top_builddir) CGO_CFLAGS="-I$(abs_top_builddir)" CGO_LDFLAGS="-L$(abs_top_builddir)/libheif/.libs" LD_LIBRARY_PATH=$(abs_top_builddir)/libheif/.libs $(GO) build -o heif-test-go ${heif_test_go_SOURCES} @HAVE_GO_TRUE@format-go: ${heif_test_go_SOURCES} @HAVE_GO_TRUE@ $(GO) fmt ${heif_test_go_SOURCES} @HAVE_GO_FALSE@format-go: @HAVE_GO_FALSE@ echo ""go" not present in "${PATH}", skipping formatting" format-local: format-go # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libheif-1.6.1/examples/encoder_y4m.h0000644000221000001440000000350313425046765014242 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2019 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef EXAMPLE_ENCODER_Y4M_H #define EXAMPLE_ENCODER_Y4M_H #include #include "encoder.h" class Y4MEncoder : public Encoder { public: Y4MEncoder(); heif_colorspace colorspace(bool has_alpha) const override { return heif_colorspace_YCbCr; } heif_chroma chroma(bool has_alpha, int bit_depth) const override { return heif_chroma_420; } void UpdateDecodingOptions(const struct heif_image_handle* handle, struct heif_decoding_options *options) const override; bool Encode(const struct heif_image_handle* handle, const struct heif_image* image, const std::string& filename) override; private: }; #endif // EXAMPLE_ENCODER_Y4M_H libheif-1.6.1/examples/encoder.h0000644000221000001440000000371113425046765013452 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2017 struktur AG, Joachim Bauch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef EXAMPLE_ENCODER_H #define EXAMPLE_ENCODER_H #include #include #include class Encoder { public: virtual ~Encoder() {} virtual heif_colorspace colorspace(bool has_alpha) const = 0; virtual heif_chroma chroma(bool has_alpha, int bit_depth) const = 0; virtual void UpdateDecodingOptions(const struct heif_image_handle* handle, struct heif_decoding_options *options) const { // Override if necessary. } virtual bool Encode(const struct heif_image_handle* handle, const struct heif_image* image, const std::string& filename) = 0; protected: static bool HasExifMetaData(const struct heif_image_handle* handle); static uint8_t* GetExifMetaData(const struct heif_image_handle* handle, size_t* size); }; #endif // EXAMPLE_ENCODER_H libheif-1.6.1/examples/COPYING0000644000221000001440000000205213425046765012712 00000000000000 MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. libheif-1.6.1/examples/CMakeLists.txt0000644000221000001440000000450113576430032014407 00000000000000# Needed to find libheif/heif_version.h while compiling the library include_directories(${PROJECT_BINARY_DIR}) set (heif_convert_sources encoder.cc encoder.h encoder_y4m.cc encoder_y4m.h heif_convert.cc ) set (additional_libraries) include (${CMAKE_ROOT}/Modules/FindJPEG.cmake) if(JPEG_FOUND) add_definitions(-DHAVE_LIBJPEG=1) include (${CMAKE_ROOT}/Modules/CheckCXXSourceCompiles.cmake) set(CMAKE_REQUIRED_LIBRARIES ${JPEG_LIBRARIES}) check_cxx_source_compiles(" #include #include #include int main() { jpeg_write_icc_profile(NULL, NULL, 0); return 0; } " HAVE_JPEG_WRITE_ICC_PROFILE) if(HAVE_JPEG_WRITE_ICC_PROFILE) add_definitions(-DHAVE_JPEG_WRITE_ICC_PROFILE=1) endif() set (heif_convert_sources ${heif_convert_sources} encoder_jpeg.cc encoder_jpeg.h ) set (additional_libraries ${additional_libraries} ${JPEG_LIBRARIES} ) endif() if(UNIX) include (${CMAKE_ROOT}/Modules/FindPkgConfig.cmake) pkg_check_modules (LIBPNG libpng) if(LIBPNG_FOUND) add_definitions(-DHAVE_LIBPNG=1) set (heif_convert_sources ${heif_convert_sources} encoder_png.cc encoder_png.h ) set (additional_libraries ${additional_libraries} ${LIBPNG_LIBRARIES} ) endif() endif() set (heif_info_sources heif_info.cc ) set (heif_enc_sources heif_enc.cc ) set (heif_test_sources heif_test.cc ) if(MSVC) set (getopt_sources ../extra/getopt.c ../extra/getopt.h ../extra/getopt_long.c ) include_directories ("../extra") endif() add_executable (heif-convert ${heif_convert_sources} ${getopt_sources}) target_link_libraries (heif-convert ${PROJECT_NAME} ${additional_libraries}) add_executable (heif-info ${heif_info_sources} ${getopt_sources}) target_link_libraries (heif-info ${PROJECT_NAME}) add_executable (heif-enc ${heif_enc_sources} ${getopt_sources}) target_link_libraries (heif-enc ${PROJECT_NAME} ${additional_libraries}) add_executable (heif-test ${heif_test_sources} ${getopt_sources}) target_link_libraries (heif-test ${PROJECT_NAME}) if(LIBPNG_FOUND) set (heif_thumbnailer_sources encoder.cc encoder.h heif_thumbnailer.cc encoder_png.cc encoder_png.h ) add_executable (heif-thumbnailer ${heif_thumbnailer_sources}) target_link_libraries (heif-thumbnailer ${PROJECT_NAME} ${LIBPNG_LIBRARIES}) endif() libheif-1.6.1/examples/heif-info.10000644000221000001440000000122313576157752013612 00000000000000.TH HEIF-INFO 1 .SH NAME heif-info \- show information on HEIC/HEIF file .SH SYNOPSIS .B heif-info [\fB\-d\fR|\fB--dump-boxes\fR] [\fB\-h\fR|\fB--help\fR] .IR filename .SH DESCRIPTION .B heif-info Show information on HEIC/HEIF file. .SH OPTIONS .TP .BR \-d ", " \-\-dump-boxes\fR Show a low-level dump of all MP4 file boxes. .TP .BR \-help ", " \-\-help\fR Show help. .SH EXIT STATUS .PP \fB0\fR .RS 4 Success .RE .PP \fB1\fR .RS 4 Failure (syntax or usage error; error while loading image). .RE .SH BUGS Please reports bugs or issues at https://github.com/strukturag/libheif .SH AUTHORS Dirk Farin, struktur AG .SH COPYRIGHT Copyright \[co] 2017 struktur AG libheif-1.6.1/examples/heif-thumbnailer.10000644000221000001440000000134013576157752015171 00000000000000.TH HEIF-THUMBNAILER 1 .SH NAME heif-thumbnailer \- create thumbnails from HEIC/HEIF files .SH SYNOPSIS .B heif-thumbnailer [\fB\-s\fR \fISIZE\fR] .IR filename .IR output .SH DESCRIPTION .B heif-thumbnailer Create thumbnail images from HEIC/HEIF files that can be used for example by Nautilus. .SH OPTIONS .TP .BR \-s\fR\ \fISIZE\fR Defines the maximum width and height of the thumbnail to generate. Default is 512 pixel. .SH EXIT STATUS .PP \fB0\fR .RS 4 Success .RE .PP \fB1\fR .RS 4 Failure (syntax or usage error; error while loading, converting or writing image). .RE .SH BUGS Please reports bugs or issues at https://github.com/strukturag/libheif .SH AUTHORS Dirk Farin, struktur AG .SH COPYRIGHT Copyright \[co] 2018 struktur AG libheif-1.6.1/examples/encoder.cc0000644000221000001440000000462213576430032013601 00000000000000/* libheif example application "convert". This file is part of convert, an example application using libheif. MIT License Copyright (c) 2018 struktur AG, Joachim Bauch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include "encoder.h" static const char kMetadataTypeExif[] = "Exif"; // static bool Encoder::HasExifMetaData(const struct heif_image_handle* handle) { heif_item_id metadata_id; int count = heif_image_handle_get_list_of_metadata_block_IDs(handle, kMetadataTypeExif, &metadata_id, 1); return count > 0; } // static uint8_t* Encoder::GetExifMetaData(const struct heif_image_handle* handle, size_t* size) { heif_item_id metadata_id; int count = heif_image_handle_get_list_of_metadata_block_IDs(handle, kMetadataTypeExif, &metadata_id, 1); for (int i = 0; i < count; i++) { size_t datasize = heif_image_handle_get_metadata_size(handle, metadata_id); uint8_t* data = static_cast(malloc(datasize)); if (!data) { continue; } heif_error error = heif_image_handle_get_metadata(handle, metadata_id, data); if (error.code != heif_error_Ok) { free(data); continue; } *size = datasize; return data; } return nullptr; } libheif-1.6.1/examples/heif_thumbnailer.cc0000644000221000001440000001227413425046765015502 00000000000000/* libheif thumbnailer for Gnome desktop. MIT License Copyright (c) 2018 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include "string.h" #if defined(HAVE_UNISTD_H) #include #endif #include #include #include #include #include #include "encoder.h" #if HAVE_LIBPNG #include "encoder_png.h" #endif #if defined(_MSC_VER) #include "getopt.h" #endif static int usage(const char* command) { fprintf(stderr, "usage: %s [-s size] \n", command); return 1; } int main(int argc, char** argv) { int opt; int size = 512; // default thumbnail size while ((opt = getopt(argc, argv, "s:h")) != -1) { switch (opt) { case 's': size = atoi(optarg); break; case 'h': default: return usage(argv[0]); } } if (optind + 2 > argc) { // Need input and output filenames as additional arguments. return usage(argv[0]); } std::string input_filename(argv[optind++]); std::string output_filename(argv[optind++]); // --- read heif file std::shared_ptr context(heif_context_alloc(), [] (heif_context* c) { heif_context_free(c); }); struct heif_error err; err = heif_context_read_from_file(context.get(), input_filename.c_str(), nullptr); if (err.code != 0) { std::cerr << "Could not read HEIF file: " << err.message << "\n"; return 1; } // --- get primary image struct heif_image_handle* image_handle = NULL; err = heif_context_get_primary_image_handle(context.get(), &image_handle); if (err.code) { std::cerr << "Could not read HEIF image : " << err.message << "\n"; return 1; } // --- if image has a thumbnail, use that instead heif_item_id thumbnail_ID; int nThumbnails = heif_image_handle_get_list_of_thumbnail_IDs(image_handle, &thumbnail_ID, 1); if (nThumbnails > 0) { struct heif_image_handle* thumbnail_handle; err = heif_image_handle_get_thumbnail(image_handle, thumbnail_ID, &thumbnail_handle); if (err.code) { std::cerr << "Could not read HEIF image : " << err.message << "\n"; return 1; } // replace image handle with thumbnail handle heif_image_handle_release(image_handle); image_handle = thumbnail_handle; } // --- decode the image (or its thumbnail) std::unique_ptr encoder(new PngEncoder()); int bit_depth=8; // TODO struct heif_image* image = NULL; err = heif_decode_image(image_handle, &image, encoder->colorspace(false), encoder->chroma(false, bit_depth), NULL); if (err.code) { std::cerr << "Could not decode HEIF image : " << err.message << "\n"; return 1; } assert(image); // --- compute output thumbnail size int input_width = heif_image_handle_get_width(image_handle); int input_height = heif_image_handle_get_height(image_handle); int thumbnail_width = input_width; int thumbnail_height = input_height; if (input_width>size || input_height>size) { if (input_width>input_height) { thumbnail_height = input_height * size/input_width; thumbnail_width = size; } else if (input_height > 0) { thumbnail_width = input_width * size/input_height; thumbnail_height = size; } else { thumbnail_width = thumbnail_height = 0; } // --- output thumbnail smaller than HEIF thumbnail -> scale down struct heif_image* scaled_image = NULL; err = heif_image_scale_image(image, &scaled_image, thumbnail_width, thumbnail_height, NULL); if (err.code) { std::cerr << "Could not scale image : " << err.message << "\n"; return 1; } heif_image_release(image); image = scaled_image; } // --- write thumbnail image to PNG bool written = encoder->Encode(image_handle, image, output_filename.c_str()); if (!written) { fprintf(stderr,"could not write image\n"); return 1; } heif_image_release(image); heif_image_handle_release(image_handle); return 0; } libheif-1.6.1/examples/heif_convert.cc0000644000221000001440000002127413576157752014656 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2017 struktur AG, Joachim Bauch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include "string.h" #if defined(HAVE_UNISTD_H) #include #endif #include #include #include #include #include #include #include #include "encoder.h" #if HAVE_LIBJPEG #include "encoder_jpeg.h" #endif #if HAVE_LIBPNG #include "encoder_png.h" #endif #include "encoder_y4m.h" #if defined(_MSC_VER) #include "getopt.h" #endif #define UNUSED(x) (void)x static int usage(const char* command) { fprintf(stderr, "USAGE: %s [-q quality 0..100] \n", command); return 1; } class ContextReleaser { public: ContextReleaser(struct heif_context* ctx) : ctx_(ctx) {} ~ContextReleaser() { heif_context_free(ctx_); } private: struct heif_context* ctx_; }; int main(int argc, char** argv) { int opt; int quality = -1; // Use default quality. UNUSED(quality); // The quality will only be used by encoders that support it. while ((opt = getopt(argc, argv, "q:")) != -1) { switch (opt) { case 'q': quality = atoi(optarg); break; default: /* '?' */ return usage(argv[0]); } } if (optind + 2 > argc) { // Need input and output filenames as additional arguments. return usage(argv[0]); } std::string input_filename(argv[optind++]); std::string output_filename(argv[optind++]); std::unique_ptr encoder; size_t dot_pos = output_filename.rfind('.'); if (dot_pos != std::string::npos) { std::string suffix_lowercase = output_filename.substr(dot_pos+1); std::transform(suffix_lowercase.begin(), suffix_lowercase.end(), suffix_lowercase.begin(), ::tolower); if (suffix_lowercase == "jpg" || suffix_lowercase == "jpeg") { #if HAVE_LIBJPEG static const int kDefaultJpegQuality = 90; if (quality == -1) { quality = kDefaultJpegQuality; } encoder.reset(new JpegEncoder(quality)); #else fprintf(stderr, "JPEG support has not been compiled in.\n"); return 1; #endif // HAVE_LIBJPEG } if (suffix_lowercase == "png") { #if HAVE_LIBPNG encoder.reset(new PngEncoder()); #else fprintf(stderr, "PNG support has not been compiled in.\n"); return 1; #endif // HAVE_LIBPNG } if (suffix_lowercase == "y4m") { encoder.reset(new Y4MEncoder()); } } if (!encoder) { fprintf(stderr, "Unknown file type in %s\n", output_filename.c_str()); return 1; } // --- check whether input is a supported HEIF file // TODO: when we are reading from named pipes, we probably should not consume any bytes // just for file-type checking. // TODO: check, whether reading from named pipes works at all. std::ifstream istr(input_filename.c_str(), std::ios_base::binary); uint8_t magic[12]; istr.read((char*)magic,12); enum heif_filetype_result filetype_check = heif_check_filetype(magic,12); if (filetype_check == heif_filetype_no) { fprintf(stderr, "Input file is not an HEIF file\n"); return 1; } if (filetype_check == heif_filetype_yes_unsupported) { fprintf(stderr, "Input file is an unsupported HEIF file type\n"); return 1; } // --- read the HEIF file struct heif_context* ctx = heif_context_alloc(); if (!ctx) { fprintf(stderr, "Could not create HEIF context\n"); return 1; } ContextReleaser cr(ctx); struct heif_error err; err = heif_context_read_from_file(ctx, input_filename.c_str(), nullptr); if (err.code != 0) { std::cerr << "Could not read HEIF file: " << err.message << "\n"; return 1; } int num_images = heif_context_get_number_of_top_level_images(ctx); if (num_images == 0) { fprintf(stderr, "File doesn't contain any images\n"); return 1; } printf("File contains %d images\n", num_images); heif_item_id* image_IDs = (heif_item_id*)alloca(num_images * sizeof(heif_item_id)); num_images = heif_context_get_list_of_top_level_image_IDs(ctx, image_IDs, num_images); std::string filename; size_t image_index = 1; // Image filenames are "1" based. for (int idx = 0; idx < num_images; ++idx) { if (num_images>1) { std::ostringstream s; s << output_filename.substr(0, output_filename.find_last_of('.')); s << "-" << image_index; s << output_filename.substr(output_filename.find_last_of('.')); filename.assign(s.str()); } else { filename.assign(output_filename); } struct heif_image_handle* handle; err = heif_context_get_image_handle(ctx, image_IDs[idx], &handle); if (err.code) { std::cerr << "Could not read HEIF image " << idx << ": " << err.message << "\n"; return 1; } int has_alpha = heif_image_handle_has_alpha_channel(handle); struct heif_decoding_options* decode_options = heif_decoding_options_alloc(); encoder->UpdateDecodingOptions(handle, decode_options); int bit_depth = heif_image_handle_get_luma_bits_per_pixel(handle); if (bit_depth < 0) { heif_decoding_options_free(decode_options); heif_image_handle_release(handle); std::cerr << "Input image has undefined bit-depth\n"; return 1; } struct heif_image* image; err = heif_decode_image(handle, &image, encoder->colorspace(has_alpha), encoder->chroma(has_alpha, bit_depth), decode_options); heif_decoding_options_free(decode_options); if (err.code) { heif_image_handle_release(handle); std::cerr << "Could not decode HEIF image: " << idx << ": " << err.message << "\n"; return 1; } if (image) { bool written = encoder->Encode(handle, image, filename.c_str()); if (!written) { fprintf(stderr,"could not write image\n"); } else { printf("Written to %s\n", filename.c_str()); } heif_image_release(image); int has_depth = heif_image_handle_has_depth_image(handle); if (has_depth) { heif_item_id depth_id; int nDepthImages = heif_image_handle_get_list_of_depth_image_IDs(handle, &depth_id, 1); assert(nDepthImages==1); (void)nDepthImages; struct heif_image_handle* depth_handle; err = heif_image_handle_get_depth_image_handle(handle, depth_id, &depth_handle); if (err.code) { heif_image_handle_release(handle); std::cerr << "Could not read depth channel\n"; return 1; } int bit_depth = heif_image_handle_get_luma_bits_per_pixel(depth_handle); struct heif_image* depth_image; err = heif_decode_image(depth_handle, &depth_image, encoder->colorspace(false), encoder->chroma(false, bit_depth), nullptr); if (err.code) { heif_image_handle_release(depth_handle); heif_image_handle_release(handle); std::cerr << "Could not decode depth image: " << err.message << "\n"; return 1; } std::ostringstream s; s << output_filename.substr(0, output_filename.find('.')); s << "-depth"; s << output_filename.substr(output_filename.find('.')); written = encoder->Encode(depth_handle, depth_image, s.str()); if (!written) { fprintf(stderr,"could not write depth image\n"); } else { printf("Depth image written to %s\n", s.str().c_str()); } } heif_image_handle_release(handle); } image_index++; } return 0; } libheif-1.6.1/examples/encoder_png.cc0000644000221000001440000001115313576157752014461 00000000000000/* libheif example application "convert". MIT License Copyright (c) 2017 struktur AG, Joachim Bauch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include #include #include #include #include #include "encoder_png.h" PngEncoder::PngEncoder() {} inline uint8_t clip(float value) { if (value < 0) { return 0x00; } else if (value >= 255) { return 0xff; } else { return static_cast(round(value)); } } bool PngEncoder::Encode(const struct heif_image_handle* handle, const struct heif_image* image, const std::string& filename) { png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); if (!png_ptr) { fprintf(stderr, "libpng initialization failed (1)\n"); return false; } png_infop info_ptr = png_create_info_struct(png_ptr); if (!info_ptr) { png_destroy_write_struct(&png_ptr, nullptr); fprintf(stderr, "libpng initialization failed (2)\n"); return false; } FILE* fp = fopen(filename.c_str(), "wb"); if (!fp) { fprintf(stderr, "Can't open %s: %s\n", filename.c_str(), strerror(errno)); png_destroy_write_struct(&png_ptr, &info_ptr); return false; } if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_write_struct(&png_ptr, &info_ptr); fclose(fp); fprintf(stderr, "Error while encoding image\n"); return false; } png_init_io(png_ptr, fp); bool withAlpha = (heif_image_get_chroma_format(image) == heif_chroma_interleaved_RGBA || heif_image_get_chroma_format(image) == heif_chroma_interleaved_RRGGBBAA_BE); int width = heif_image_get_width(image, heif_channel_interleaved); int height = heif_image_get_height(image, heif_channel_interleaved); int bitDepth; int input_bpp = heif_image_get_bits_per_pixel_range(image, heif_channel_interleaved); if (input_bpp>8) { bitDepth = 16; } else { bitDepth = 8; } const int colorType = withAlpha ? PNG_COLOR_TYPE_RGBA : PNG_COLOR_TYPE_RGB; png_set_IHDR(png_ptr, info_ptr, width, height, bitDepth, colorType, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); size_t profile_size = heif_image_handle_get_raw_color_profile_size(handle); if (profile_size > 0){ uint8_t* profile_data = static_cast(malloc(profile_size)); heif_image_handle_get_raw_color_profile(handle, profile_data); char profile_name[] = "unknown"; png_set_iCCP(png_ptr, info_ptr, profile_name, PNG_COMPRESSION_TYPE_BASE, #if PNG_LIBPNG_VER < 10500 (png_charp)profile_data, #else (png_const_bytep)profile_data, #endif (png_uint_32)profile_size); free(profile_data); } png_write_info(png_ptr, info_ptr); uint8_t** row_pointers = new uint8_t*[height]; int stride_rgb; const uint8_t* row_rgb = heif_image_get_plane_readonly(image, heif_channel_interleaved, &stride_rgb); for (int y = 0; y < height; ++y) { row_pointers[y] = const_cast(&row_rgb[y * stride_rgb]); } if (bitDepth==16) { // shift image data to full 16bit range int shift = 16-input_bpp; if (shift>0) { for (int y = 0; y < height; ++y) { for (int x=0; x < stride_rgb; x+= 2) { uint8_t* p = (&row_pointers[y][x]); int v = (p[0]<<8) | p[1]; v = (v<>(16-shift)); p[0] = (uint8_t)(v>>8); p[1] = (uint8_t)(v&0xFF); } } } } png_write_image(png_ptr, row_pointers); png_write_end(png_ptr, nullptr); png_destroy_write_struct(&png_ptr, &info_ptr); delete[] row_pointers; fclose(fp); return true; } libheif-1.6.1/m4/0000755000221000001440000000000013576656623010451 500000000000000libheif-1.6.1/m4/ac_c_cxx_compile_flags.m40000644000221000001440000000062513576157752015270 00000000000000AC_DEFUN([AC_C_CXX_COMPILE_FLAGS],[ NEW_CFLAGS="$CFLAGS" NEW_CXXFLAGS="$CXXFLAGS" for ac_flag in $1 do AC_MSG_CHECKING(whether compiler supports $ac_flag) CXXFLAGS="$NEW_CXXFLAGS $ac_flag" AC_LANG(C++) AC_TRY_COMPILE(,[ ; ],[ NEW_CFLAGS="$NEW_CFLAGS $ac_flag" NEW_CXXFLAGS="$NEW_CXXFLAGS $ac_flag" AC_MSG_RESULT(yes) ],AC_MSG_RESULT(no)) done CFLAGS=$NEW_CFLAGS CXXFLAGS=$NEW_CXXFLAGS ]) libheif-1.6.1/m4/libtool.m40000644000221000001440000112617113514042010012253 00000000000000# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ]) # serial 58 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_PREPARE_CC_BASENAME # ----------------------- m4_defun([_LT_PREPARE_CC_BASENAME], [ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in @S|@*""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } ])# _LT_PREPARE_CC_BASENAME # _LT_CC_BASENAME(CC) # ------------------- # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, # but that macro is also expanded into generated libtool script, which # arranges for $SED and $ECHO to be set by different means. m4_defun([_LT_CC_BASENAME], [m4_require([_LT_PREPARE_CC_BASENAME])dnl AC_REQUIRE([_LT_DECL_SED])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl func_cc_basename $1 cc_basename=$func_cc_basename_result ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl m4_require([_LT_CMD_TRUNCATE])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from 'configure', and 'config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # 'config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain=$ac_aux_dir/ltmain.sh ])# _LT_PROG_LTMAIN ## ------------------------------------- ## ## Accumulate code for creating libtool. ## ## ------------------------------------- ## # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the 'libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) ## ------------------------ ## ## FIXME: Eliminate VARNAME ## ## ------------------------ ## # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to 'config.status' so that its # declaration there will have the same value as in 'configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags='_LT_TAGS'dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into 'config.status', and then the shell code to quote escape them in # for loops in 'config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # '#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test 0 = "$lt_write_fail" && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ '$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test 0 != $[#] do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try '$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try '$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test yes = "$silent" && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 _LT_COPYING _LT_LIBTOOL_TAGS # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE _LT_PREPARE_MUNGE_PATH_LIST _LT_PREPARE_CC_BASENAME # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS=$save_LDFLAGS ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test yes = "$lt_cv_ld_force_load"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if([$1], [CXX], [ if test yes != "$lt_cv_apple_cc_single_mod"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script that will find a shell with a builtin # printf (that we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case $ECHO in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot if not specified).])], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([$with_sysroot]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and where our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test yes = "[$]$2"; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS ]) if test yes = "[$]$2"; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n "$lt_cv_sys_max_cmd_len"; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes = "$cross_compiling"; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen=shl_load], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen=dlopen], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) ]) ]) ]) ]) ]) ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links=nottested if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test no = "$hard_links"; then AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", [Define to the sub-directory where libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then # We can hardcode non-existent directories. if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_PREPARE_MUNGE_PATH_LIST # --------------------------- # Make sure func_munge_path_list() is defined correctly. m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], [[# func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x@S|@2 in x) ;; *:) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" ;; x:*) eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; *::*) eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" ;; *) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; esac } ]])# _LT_PREPARE_PATH_LIST # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown AC_ARG_VAR([LT_SYS_LIBRARY_PATH], [User-defined run-time library search path.]) case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a[(]lib.so.V[)]' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], [Detected run-time system search path for libraries]) _LT_DECL([], [configure_time_lt_sys_library_path], [2], [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program that can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$1"; then lt_cv_path_MAGIC_CMD=$ac_dir/"$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac]) MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program that can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], [if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi]) rm -f conftest.i conftest2.i conftest.out]) ])# _LT_PATH_DD # _LT_CMD_TRUNCATE # ---------------- # find command to truncate a binary pipe m4_defun([_LT_CMD_TRUNCATE], [m4_require([_LT_PATH_DD]) AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], [printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], [Command to truncate a binary pipe]) ])# _LT_CMD_TRUNCATE # _LT_CHECK_MAGIC_METHOD # ---------------------- # how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[[4-9]]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi]) if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # _LT_DLL_DEF_P([FILE]) # --------------------- # True iff FILE is a Windows DLL '.def' file. # Keep in sync with func_dll_def_p in the libtool script AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ])# _LT_DLL_DEF_P # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM=-lm) ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test yes = "$GCC"; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], [Transform the output of nm into a list of symbols to manually relocate]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([nm_interface], [lt_cv_nm_interface], [1], [The name lister interface]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' if test ia64 != "$host_cpu"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64, which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test yes = "$GCC"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS=$save_LDFLAGS]) if test yes = "$lt_cv_irix_exported_symbol"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi _LT_TAGVAR(link_all_deplibs, $1)=no else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; osf3*) if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test yes = "$GCC"; then wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test yes,yes = "$GCC,$enable_shared"; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting $shlibpath_var if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC=$CC AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report what library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC=$lt_save_CC ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test no != "$CXX" && ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || (test g++ != "$CXX"))); then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_caught_CXX_error"; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test yes = "$GXX"; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test yes = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GXX"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag=$shared_flag' $wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. # The "-G" linker flag allows undefined symbols. _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ func_to_tool_file "$lt_outputfile"~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(GCC, $1)=$GXX _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test yes != "$_lt_caught_CXX_error" AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case @S|@2 in .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case $prev$p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test x-L = "$p" || test x-R = "$p"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test no = "$pre_test_object_deps_done"; then case $prev in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)=$prev$p else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test no = "$pre_test_object_deps_done"; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)=$p else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)=$p else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test no = "$F77"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_F77"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$G77 _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_F77" AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test no = "$FC"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_FC"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_FC" AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code=$lt_simple_compile_test_code # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f "$lt_ac_sed" && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test 10 -lt "$lt_ac_count" && break lt_ac_count=`expr $lt_ac_count + 1` if test "$lt_ac_count" -gt "$lt_ac_max"; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine what file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS libheif-1.6.1/m4/ax_cxx_compile_stdcxx_11.m40000644000221000001440000001135713341211665015521 00000000000000# ============================================================================ # http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html # ============================================================================ # # SYNOPSIS # # AX_CXX_COMPILE_STDCXX_11([ext|noext],[mandatory|optional]) # # DESCRIPTION # # Check for baseline language coverage in the compiler for the C++11 # standard; if necessary, add switches to CXXFLAGS to enable support. # # The first argument, if specified, indicates whether you insist on an # extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g. # -std=c++11). If neither is specified, you get whatever works, with # preference for an extended mode. # # The second argument, if specified 'mandatory' or if left unspecified, # indicates that baseline C++11 support is required and that the macro # should error out if no mode with that support is found. If specified # 'optional', then configuration proceeds regardless, after defining # HAVE_CXX11 if and only if a supporting mode is found. # # LICENSE # # Copyright (c) 2008 Benjamin Kosnik # Copyright (c) 2012 Zack Weinberg # Copyright (c) 2013 Roy Stogner # Copyright (c) 2014 Alexey Sokolov # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. #serial 4 m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[ template struct check { static_assert(sizeof(int) <= sizeof(T), "not big enough"); }; struct Base { virtual void f() {} }; struct Child : public Base { virtual void f() {} // DiFa: override {} # override not supported in gcc 4.6 }; typedef check> right_angle_brackets; int a; decltype(a) b; typedef check check_type; check_type c; check_type&& cr = static_cast(c); auto d = a; auto l = [](){}; ]]) AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl m4_if([$1], [], [], [$1], [ext], [], [$1], [noext], [], [m4_fatal([invalid argument `$1' to AX_CXX_COMPILE_STDCXX_11])])dnl m4_if([$2], [], [ax_cxx_compile_cxx11_required=true], [$2], [mandatory], [ax_cxx_compile_cxx11_required=true], [$2], [optional], [ax_cxx_compile_cxx11_required=false], [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX_11])]) AC_LANG_PUSH([C++])dnl ac_success=no AC_CACHE_CHECK(whether $CXX supports C++11 features by default, ax_cv_cxx_compile_cxx11, [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])], [ax_cv_cxx_compile_cxx11=yes], [ax_cv_cxx_compile_cxx11=no])]) if test x$ax_cv_cxx_compile_cxx11 = xyes; then ac_success=yes fi m4_if([$1], [noext], [], [dnl if test x$ac_success = xno; then for switch in -std=gnu++11 -std=gnu++0x; do cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch]) AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch, $cachevar, [ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $switch" AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])], [eval $cachevar=yes], [eval $cachevar=no]) CXXFLAGS="$ac_save_CXXFLAGS"]) if eval test x\$$cachevar = xyes; then CXXFLAGS="$CXXFLAGS $switch" ac_success=yes break fi done fi]) m4_if([$1], [ext], [], [dnl if test x$ac_success = xno; then for switch in -std=c++11 -std=c++0x; do cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch]) AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch, $cachevar, [ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $switch" AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])], [eval $cachevar=yes], [eval $cachevar=no]) CXXFLAGS="$ac_save_CXXFLAGS"]) if eval test x\$$cachevar = xyes; then CXXFLAGS="$CXXFLAGS $switch" ac_success=yes break fi done fi]) AC_LANG_POP([C++]) if test x$ax_cxx_compile_cxx11_required = xtrue; then if test x$ac_success = xno; then AC_MSG_ERROR([*** A compiler with support for C++11 language features is required.]) fi else if test x$ac_success = xno; then HAVE_CXX11=0 AC_MSG_NOTICE([No compiler with C++11 support was found]) else HAVE_CXX11=1 AC_DEFINE(HAVE_CXX11,1, [define if the compiler supports basic C++11 syntax]) fi AC_SUBST(HAVE_CXX11) fi ]) libheif-1.6.1/m4/visibility.m40000644000221000001440000000413013341211665012777 00000000000000# visibility.m4 serial 1 (gettext-0.15) dnl Copyright (C) 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Tests whether the compiler supports the command-line option dnl -fvisibility=hidden and the function and variable attributes dnl __attribute__((__visibility__("hidden"))) and dnl __attribute__((__visibility__("default"))). dnl Does *not* test for __visibility__("protected") - which has tricky dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on dnl MacOS X. dnl Does *not* test for __visibility__("internal") - which has processor dnl dependent semantics. dnl Does *not* test for #pragma GCC visibility push(hidden) - which is dnl "really only recommended for legacy code". dnl Set the variable CFLAG_VISIBILITY. dnl Defines and sets the variable HAVE_VISIBILITY. AC_DEFUN([gl_VISIBILITY], [ AC_REQUIRE([AC_PROG_CC]) CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then AC_MSG_CHECKING([for simple visibility declarations]) AC_CACHE_VAL(gl_cv_cc_visibility, [ gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" AC_TRY_COMPILE( [extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void);], [], gl_cv_cc_visibility=yes, gl_cv_cc_visibility=no) CFLAGS="$gl_save_CFLAGS"]) AC_MSG_RESULT([$gl_cv_cc_visibility]) if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi AC_SUBST([CFLAG_VISIBILITY]) AC_SUBST([HAVE_VISIBILITY]) AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) ]) libheif-1.6.1/m4/ltsugar.m40000644000221000001440000001044013514042011012257 00000000000000# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59, which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) libheif-1.6.1/m4/lt~obsolete.m40000644000221000001440000001377413514042011013165 00000000000000# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software # Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) libheif-1.6.1/m4/ltoptions.m40000644000221000001440000003426213514042011012641 00000000000000# Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 8 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option '$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl 'shared' nor 'disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' # LT_INIT options. # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [pic_mode=m4_default([$1], [default])]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) libheif-1.6.1/m4/ltversion.m40000644000221000001440000000127313514042011012627 00000000000000# ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 4179 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.6]) m4_define([LT_PACKAGE_REVISION], [2.4.6]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) libheif-1.6.1/tests/0000755000221000001440000000000013576656624011274 500000000000000libheif-1.6.1/tests/encode.cc0000644000221000001440000000550313576157752012761 00000000000000/* libheif unit tests MIT License Copyright (c) 2019 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "catch.hpp" #include "libheif/heif.h" struct heif_image* createImage_RRGGBB_BE() { struct heif_image* image; struct heif_error err; err = heif_image_create(256,256, heif_colorspace_RGB, heif_chroma_interleaved_RRGGBB_BE, &image); if (err.code) { return nullptr; } err = heif_image_add_plane(image, heif_channel_interleaved, 256,256, 10); if (err.code) { heif_image_release(image); return nullptr; } return image; } struct heif_error encode_image(struct heif_image* img) { struct heif_context* ctx = heif_context_alloc(); struct heif_encoder* enc; struct heif_error err { heif_error_Ok }; err = heif_context_get_encoder_for_format(ctx, heif_compression_HEVC, &enc); if (err.code) { heif_context_free(ctx); return err; } struct heif_image_handle* hdl; err = heif_context_encode_image(ctx, img, enc, nullptr, &hdl); if (err.code) { heif_encoder_release(enc); heif_context_free(ctx); return err; } return err; } #if 0 TEST_CASE( "Create images", "[heif_image]" ) { auto img = createImage_RRGGBB_BE(); REQUIRE( img != nullptr ); heif_image_release(img); } TEST_CASE( "Encode HDR", "[heif_encoder]" ) { auto img = createImage_RRGGBB_BE(); REQUIRE( img != nullptr ); REQUIRE( encode_image(img).code == heif_error_Ok ); heif_image_release(img); } #endif libheif-1.6.1/tests/Makefile.am0000644000221000001440000000210613576157752013245 00000000000000noinst_PROGRAMS = if HAVE_TESTS noinst_PROGRAMS += \ heif-unit-tests heif_unit_tests_DEPENDENCIES = ../libheif/libheif.la heif_unit_tests_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir)/. heif_unit_tests_LDFLAGS = heif_unit_tests_LDADD = ../libheif/libheif.la heif_unit_tests_SOURCES = main.cc encode.cc catch.hpp conversion.cc test-local: heif-unit-tests ./heif-unit-tests endif if HAVE_GO noinst_PROGRAMS += \ test-race test_race_SOURCES = test-race.go gopath: mkdir -p ${CURDIR}/src/github.com/strukturag/libheif ln -sf ${CURDIR}/../go ${CURDIR}/src/github.com/strukturag/libheif/ test-race: gopath $(top_builddir)/libheif/libheif.la $(top_builddir)/libheif.pc test-race.go GOPATH=${CURDIR} PKG_CONFIG_PATH=$(abs_top_builddir) CGO_CFLAGS="-I$(abs_top_builddir)" CGO_LDFLAGS="-L$(abs_top_builddir)/libheif/.libs" LD_LIBRARY_PATH=$(abs_top_builddir)/libheif/.libs $(GO) build -o test-race ${test_race_SOURCES} format-go: ${test_race_SOURCES} $(GO) fmt ${test_race_SOURCES} else format-go: echo ""go" not present in "${PATH}", skipping formatting" endif format-local: format-go libheif-1.6.1/tests/Makefile.in0000644000221000001440000006765613576653760013303 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ noinst_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) @HAVE_TESTS_TRUE@am__append_1 = \ @HAVE_TESTS_TRUE@ heif-unit-tests @HAVE_GO_TRUE@am__append_2 = \ @HAVE_GO_TRUE@ test-race subdir = tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_c_cxx_compile_flags.m4 \ $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = @HAVE_TESTS_TRUE@am__EXEEXT_1 = heif-unit-tests$(EXEEXT) @HAVE_GO_TRUE@am__EXEEXT_2 = test-race$(EXEEXT) PROGRAMS = $(noinst_PROGRAMS) am__heif_unit_tests_SOURCES_DIST = main.cc encode.cc catch.hpp \ conversion.cc @HAVE_TESTS_TRUE@am_heif_unit_tests_OBJECTS = \ @HAVE_TESTS_TRUE@ heif_unit_tests-main.$(OBJEXT) \ @HAVE_TESTS_TRUE@ heif_unit_tests-encode.$(OBJEXT) \ @HAVE_TESTS_TRUE@ heif_unit_tests-conversion.$(OBJEXT) heif_unit_tests_OBJECTS = $(am_heif_unit_tests_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = heif_unit_tests_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) \ $(heif_unit_tests_LDFLAGS) $(LDFLAGS) -o $@ am__test_race_SOURCES_DIST = test-race.go am_test_race_OBJECTS = test_race_OBJECTS = $(am_test_race_OBJECTS) test_race_LDADD = $(LDADD) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(heif_unit_tests_SOURCES) $(test_race_SOURCES) DIST_SOURCES = $(am__heif_unit_tests_SOURCES_DIST) \ $(am__test_race_SOURCES_DIST) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__extra_recursive_targets = format-recursive test-recursive am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCAS = @CCAS@ CCASDEPMODE = @CCASDEPMODE@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_LIBFUZZER = @ENABLE_LIBFUZZER@ ENABLE_PARALLEL_TILE_DECODING = @ENABLE_PARALLEL_TILE_DECODING@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FUZZING_ENGINE = @FUZZING_ENGINE@ GO = @GO@ GREP = @GREP@ HAVE_CXX11 = @HAVE_CXX11@ HAVE_GO = @HAVE_GO@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBHEIF_AGE = @LIBHEIF_AGE@ LIBHEIF_CURRENT = @LIBHEIF_CURRENT@ LIBHEIF_REVISION = @LIBHEIF_REVISION@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PROJECT_VERSION_MAJOR = @PROJECT_VERSION_MAJOR@ PROJECT_VERSION_MINOR = @PROJECT_VERSION_MINOR@ PROJECT_VERSION_PATCH = @PROJECT_VERSION_PATCH@ PROJECT_VERSION_TWEAK = @PROJECT_VERSION_TWEAK@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WITH_EXAMPLES = @WITH_EXAMPLES@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ gdk_pixbuf_binary_version = @gdk_pixbuf_binary_version@ gdk_pixbuf_binarydir = @gdk_pixbuf_binarydir@ gdk_pixbuf_cache_file = @gdk_pixbuf_cache_file@ gdk_pixbuf_moduledir = @gdk_pixbuf_moduledir@ gdkpixbuf_CFLAGS = @gdkpixbuf_CFLAGS@ gdkpixbuf_LIBS = @gdkpixbuf_LIBS@ have_libde265 = @have_libde265@ have_x265 = @have_x265@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libde265_CFLAGS = @libde265_CFLAGS@ libde265_LIBS = @libde265_LIBS@ libdir = @libdir@ libexecdir = @libexecdir@ libjpeg_CFLAGS = @libjpeg_CFLAGS@ libjpeg_LIBS = @libjpeg_LIBS@ libpng_CFLAGS = @libpng_CFLAGS@ libpng_LIBS = @libpng_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ x265_CFLAGS = @x265_CFLAGS@ x265_LIBS = @x265_LIBS@ @HAVE_TESTS_TRUE@heif_unit_tests_DEPENDENCIES = ../libheif/libheif.la @HAVE_TESTS_TRUE@heif_unit_tests_CXXFLAGS = -I$(top_srcdir) -I$(top_builddir)/. @HAVE_TESTS_TRUE@heif_unit_tests_LDFLAGS = @HAVE_TESTS_TRUE@heif_unit_tests_LDADD = ../libheif/libheif.la @HAVE_TESTS_TRUE@heif_unit_tests_SOURCES = main.cc encode.cc catch.hpp conversion.cc @HAVE_GO_TRUE@test_race_SOURCES = test-race.go all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign tests/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list heif-unit-tests$(EXEEXT): $(heif_unit_tests_OBJECTS) $(heif_unit_tests_DEPENDENCIES) $(EXTRA_heif_unit_tests_DEPENDENCIES) @rm -f heif-unit-tests$(EXEEXT) $(AM_V_CXXLD)$(heif_unit_tests_LINK) $(heif_unit_tests_OBJECTS) $(heif_unit_tests_LDADD) $(LIBS) @HAVE_GO_FALSE@test-race$(EXEEXT): $(test_race_OBJECTS) $(test_race_DEPENDENCIES) $(EXTRA_test_race_DEPENDENCIES) @HAVE_GO_FALSE@ @rm -f test-race$(EXEEXT) @HAVE_GO_FALSE@ $(AM_V_CCLD)$(LINK) $(test_race_OBJECTS) $(test_race_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_unit_tests-conversion.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_unit_tests-encode.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heif_unit_tests-main.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< heif_unit_tests-main.o: main.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -MT heif_unit_tests-main.o -MD -MP -MF $(DEPDIR)/heif_unit_tests-main.Tpo -c -o heif_unit_tests-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_unit_tests-main.Tpo $(DEPDIR)/heif_unit_tests-main.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='main.cc' object='heif_unit_tests-main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -c -o heif_unit_tests-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc heif_unit_tests-main.obj: main.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -MT heif_unit_tests-main.obj -MD -MP -MF $(DEPDIR)/heif_unit_tests-main.Tpo -c -o heif_unit_tests-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_unit_tests-main.Tpo $(DEPDIR)/heif_unit_tests-main.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='main.cc' object='heif_unit_tests-main.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -c -o heif_unit_tests-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi` heif_unit_tests-encode.o: encode.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -MT heif_unit_tests-encode.o -MD -MP -MF $(DEPDIR)/heif_unit_tests-encode.Tpo -c -o heif_unit_tests-encode.o `test -f 'encode.cc' || echo '$(srcdir)/'`encode.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_unit_tests-encode.Tpo $(DEPDIR)/heif_unit_tests-encode.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encode.cc' object='heif_unit_tests-encode.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -c -o heif_unit_tests-encode.o `test -f 'encode.cc' || echo '$(srcdir)/'`encode.cc heif_unit_tests-encode.obj: encode.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -MT heif_unit_tests-encode.obj -MD -MP -MF $(DEPDIR)/heif_unit_tests-encode.Tpo -c -o heif_unit_tests-encode.obj `if test -f 'encode.cc'; then $(CYGPATH_W) 'encode.cc'; else $(CYGPATH_W) '$(srcdir)/encode.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_unit_tests-encode.Tpo $(DEPDIR)/heif_unit_tests-encode.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='encode.cc' object='heif_unit_tests-encode.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -c -o heif_unit_tests-encode.obj `if test -f 'encode.cc'; then $(CYGPATH_W) 'encode.cc'; else $(CYGPATH_W) '$(srcdir)/encode.cc'; fi` heif_unit_tests-conversion.o: conversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -MT heif_unit_tests-conversion.o -MD -MP -MF $(DEPDIR)/heif_unit_tests-conversion.Tpo -c -o heif_unit_tests-conversion.o `test -f 'conversion.cc' || echo '$(srcdir)/'`conversion.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_unit_tests-conversion.Tpo $(DEPDIR)/heif_unit_tests-conversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='conversion.cc' object='heif_unit_tests-conversion.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -c -o heif_unit_tests-conversion.o `test -f 'conversion.cc' || echo '$(srcdir)/'`conversion.cc heif_unit_tests-conversion.obj: conversion.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -MT heif_unit_tests-conversion.obj -MD -MP -MF $(DEPDIR)/heif_unit_tests-conversion.Tpo -c -o heif_unit_tests-conversion.obj `if test -f 'conversion.cc'; then $(CYGPATH_W) 'conversion.cc'; else $(CYGPATH_W) '$(srcdir)/conversion.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/heif_unit_tests-conversion.Tpo $(DEPDIR)/heif_unit_tests-conversion.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='conversion.cc' object='heif_unit_tests-conversion.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(heif_unit_tests_CXXFLAGS) $(CXXFLAGS) -c -o heif_unit_tests-conversion.obj `if test -f 'conversion.cc'; then $(CYGPATH_W) 'conversion.cc'; else $(CYGPATH_W) '$(srcdir)/conversion.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs format-local: test-local: ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." @HAVE_TESTS_FALSE@test-local: clean: clean-am clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: format: format-am format-am: format-local html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: test: test-am test-am: test-local uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am format-am \ format-local html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am test-am test-local uninstall uninstall-am .PRECIOUS: Makefile @HAVE_TESTS_TRUE@test-local: heif-unit-tests @HAVE_TESTS_TRUE@ ./heif-unit-tests @HAVE_GO_TRUE@gopath: @HAVE_GO_TRUE@ mkdir -p ${CURDIR}/src/github.com/strukturag/libheif @HAVE_GO_TRUE@ ln -sf ${CURDIR}/../go ${CURDIR}/src/github.com/strukturag/libheif/ @HAVE_GO_TRUE@test-race: gopath $(top_builddir)/libheif/libheif.la $(top_builddir)/libheif.pc test-race.go @HAVE_GO_TRUE@ GOPATH=${CURDIR} PKG_CONFIG_PATH=$(abs_top_builddir) CGO_CFLAGS="-I$(abs_top_builddir)" CGO_LDFLAGS="-L$(abs_top_builddir)/libheif/.libs" LD_LIBRARY_PATH=$(abs_top_builddir)/libheif/.libs $(GO) build -o test-race ${test_race_SOURCES} @HAVE_GO_TRUE@format-go: ${test_race_SOURCES} @HAVE_GO_TRUE@ $(GO) fmt ${test_race_SOURCES} @HAVE_GO_FALSE@format-go: @HAVE_GO_FALSE@ echo ""go" not present in "${PATH}", skipping formatting" format-local: format-go # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libheif-1.6.1/tests/main.cc0000644000221000001440000000227213576157752012450 00000000000000/* libheif unit tests MIT License Copyright (c) 2019 struktur AG, Dirk Farin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #define CATCH_CONFIG_MAIN #include "catch.hpp" libheif-1.6.1/tests/catch.hpp0000644000221000001440000225451413576157752013022 00000000000000/* * Catch v2.9.1 * Generated: 2019-06-17 11:59:24.363643 * ---------------------------------------------------------- * This file has been merged from multiple headers. Please don't edit it directly * Copyright (c) 2019 Two Blue Cubes Ltd. All rights reserved. * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED #define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED // start catch.hpp #define CATCH_VERSION_MAJOR 2 #define CATCH_VERSION_MINOR 9 #define CATCH_VERSION_PATCH 1 #ifdef __clang__ # pragma clang system_header #elif defined __GNUC__ # pragma GCC system_header #endif // start catch_suppress_warnings.h #ifdef __clang__ # ifdef __ICC // icpc defines the __clang__ macro # pragma warning(push) # pragma warning(disable: 161 1682) # else // __ICC # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wpadded" # pragma clang diagnostic ignored "-Wswitch-enum" # pragma clang diagnostic ignored "-Wcovered-switch-default" # endif #elif defined __GNUC__ // Because REQUIREs trigger GCC's -Wparentheses, and because still // supported version of g++ have only buggy support for _Pragmas, // Wparentheses have to be suppressed globally. # pragma GCC diagnostic ignored "-Wparentheses" // See #674 for details # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wunused-variable" # pragma GCC diagnostic ignored "-Wpadded" #endif // end catch_suppress_warnings.h #if defined(CATCH_CONFIG_MAIN) || defined(CATCH_CONFIG_RUNNER) # define CATCH_IMPL # define CATCH_CONFIG_ALL_PARTS #endif // In the impl file, we want to have access to all parts of the headers // Can also be used to sanely support PCHs #if defined(CATCH_CONFIG_ALL_PARTS) # define CATCH_CONFIG_EXTERNAL_INTERFACES # if defined(CATCH_CONFIG_DISABLE_MATCHERS) # undef CATCH_CONFIG_DISABLE_MATCHERS # endif # if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER) # define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER # endif #endif #if !defined(CATCH_CONFIG_IMPL_ONLY) // start catch_platform.h #ifdef __APPLE__ # include # if TARGET_OS_OSX == 1 # define CATCH_PLATFORM_MAC # elif TARGET_OS_IPHONE == 1 # define CATCH_PLATFORM_IPHONE # endif #elif defined(linux) || defined(__linux) || defined(__linux__) # define CATCH_PLATFORM_LINUX #elif defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) || defined(__MINGW32__) # define CATCH_PLATFORM_WINDOWS #endif // end catch_platform.h #ifdef CATCH_IMPL # ifndef CLARA_CONFIG_MAIN # define CLARA_CONFIG_MAIN_NOT_DEFINED # define CLARA_CONFIG_MAIN # endif #endif // start catch_user_interfaces.h namespace Catch { unsigned int rngSeed(); } // end catch_user_interfaces.h // start catch_tag_alias_autoregistrar.h // start catch_common.h // start catch_compiler_capabilities.h // Detect a number of compiler features - by compiler // The following features are defined: // // CATCH_CONFIG_COUNTER : is the __COUNTER__ macro supported? // CATCH_CONFIG_WINDOWS_SEH : is Windows SEH supported? // CATCH_CONFIG_POSIX_SIGNALS : are POSIX signals supported? // CATCH_CONFIG_DISABLE_EXCEPTIONS : Are exceptions enabled? // **************** // Note to maintainers: if new toggles are added please document them // in configuration.md, too // **************** // In general each macro has a _NO_ form // (e.g. CATCH_CONFIG_NO_POSIX_SIGNALS) which disables the feature. // Many features, at point of detection, define an _INTERNAL_ macro, so they // can be combined, en-mass, with the _NO_ forms later. #ifdef __cplusplus # if (__cplusplus >= 201402L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201402L) # define CATCH_CPP14_OR_GREATER # endif # if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) # define CATCH_CPP17_OR_GREATER # endif #endif #if defined(CATCH_CPP17_OR_GREATER) # define CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS #endif #ifdef __clang__ # define CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \ _Pragma( "clang diagnostic push" ) \ _Pragma( "clang diagnostic ignored \"-Wexit-time-destructors\"" ) \ _Pragma( "clang diagnostic ignored \"-Wglobal-constructors\"") # define CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS \ _Pragma( "clang diagnostic pop" ) # define CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \ _Pragma( "clang diagnostic push" ) \ _Pragma( "clang diagnostic ignored \"-Wparentheses\"" ) # define CATCH_INTERNAL_UNSUPPRESS_PARENTHESES_WARNINGS \ _Pragma( "clang diagnostic pop" ) # define CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS \ _Pragma( "clang diagnostic push" ) \ _Pragma( "clang diagnostic ignored \"-Wunused-variable\"" ) # define CATCH_INTERNAL_UNSUPPRESS_UNUSED_WARNINGS \ _Pragma( "clang diagnostic pop" ) # define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \ _Pragma( "clang diagnostic push" ) \ _Pragma( "clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"" ) # define CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS \ _Pragma( "clang diagnostic pop" ) #endif // __clang__ //////////////////////////////////////////////////////////////////////////////// // Assume that non-Windows platforms support posix signals by default #if !defined(CATCH_PLATFORM_WINDOWS) #define CATCH_INTERNAL_CONFIG_POSIX_SIGNALS #endif //////////////////////////////////////////////////////////////////////////////// // We know some environments not to support full POSIX signals #if defined(__CYGWIN__) || defined(__QNX__) || defined(__EMSCRIPTEN__) || defined(__DJGPP__) #define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS #endif #ifdef __OS400__ # define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS # define CATCH_CONFIG_COLOUR_NONE #endif //////////////////////////////////////////////////////////////////////////////// // Android somehow still does not support std::to_string #if defined(__ANDROID__) # define CATCH_INTERNAL_CONFIG_NO_CPP11_TO_STRING #endif //////////////////////////////////////////////////////////////////////////////// // Not all Windows environments support SEH properly #if defined(__MINGW32__) # define CATCH_INTERNAL_CONFIG_NO_WINDOWS_SEH #endif //////////////////////////////////////////////////////////////////////////////// // PS4 #if defined(__ORBIS__) # define CATCH_INTERNAL_CONFIG_NO_NEW_CAPTURE #endif //////////////////////////////////////////////////////////////////////////////// // Cygwin #ifdef __CYGWIN__ // Required for some versions of Cygwin to declare gettimeofday // see: http://stackoverflow.com/questions/36901803/gettimeofday-not-declared-in-this-scope-cygwin # define _BSD_SOURCE // some versions of cygwin (most) do not support std::to_string. Use the libstd check. // https://gcc.gnu.org/onlinedocs/gcc-4.8.2/libstdc++/api/a01053_source.html line 2812-2813 # if !((__cplusplus >= 201103L) && defined(_GLIBCXX_USE_C99) \ && !defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF)) # define CATCH_INTERNAL_CONFIG_NO_CPP11_TO_STRING # endif #endif // __CYGWIN__ //////////////////////////////////////////////////////////////////////////////// // Visual C++ #ifdef _MSC_VER # if _MSC_VER >= 1900 // Visual Studio 2015 or newer # define CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS # endif // Universal Windows platform does not support SEH // Or console colours (or console at all...) # if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP) # define CATCH_CONFIG_COLOUR_NONE # else # define CATCH_INTERNAL_CONFIG_WINDOWS_SEH # endif // MSVC traditional preprocessor needs some workaround for __VA_ARGS__ // _MSVC_TRADITIONAL == 0 means new conformant preprocessor // _MSVC_TRADITIONAL == 1 means old traditional non-conformant preprocessor # if !defined(_MSVC_TRADITIONAL) || (defined(_MSVC_TRADITIONAL) && _MSVC_TRADITIONAL) # define CATCH_INTERNAL_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR # endif #endif // _MSC_VER #if defined(_REENTRANT) || defined(_MSC_VER) // Enable async processing, as -pthread is specified or no additional linking is required # define CATCH_INTERNAL_CONFIG_USE_ASYNC #endif // _MSC_VER //////////////////////////////////////////////////////////////////////////////// // Check if we are compiled with -fno-exceptions or equivalent #if defined(__EXCEPTIONS) || defined(__cpp_exceptions) || defined(_CPPUNWIND) # define CATCH_INTERNAL_CONFIG_EXCEPTIONS_ENABLED #endif //////////////////////////////////////////////////////////////////////////////// // DJGPP #ifdef __DJGPP__ # define CATCH_INTERNAL_CONFIG_NO_WCHAR #endif // __DJGPP__ //////////////////////////////////////////////////////////////////////////////// // Embarcadero C++Build #if defined(__BORLANDC__) #define CATCH_INTERNAL_CONFIG_POLYFILL_ISNAN #endif //////////////////////////////////////////////////////////////////////////////// // Use of __COUNTER__ is suppressed during code analysis in // CLion/AppCode 2017.2.x and former, because __COUNTER__ is not properly // handled by it. // Otherwise all supported compilers support COUNTER macro, // but user still might want to turn it off #if ( !defined(__JETBRAINS_IDE__) || __JETBRAINS_IDE__ >= 20170300L ) #define CATCH_INTERNAL_CONFIG_COUNTER #endif //////////////////////////////////////////////////////////////////////////////// // Check if string_view is available and usable // The check is split apart to work around v140 (VS2015) preprocessor issue... #if defined(__has_include) #if __has_include() && defined(CATCH_CPP17_OR_GREATER) # define CATCH_INTERNAL_CONFIG_CPP17_STRING_VIEW #endif #endif //////////////////////////////////////////////////////////////////////////////// // Check if optional is available and usable #if defined(__has_include) # if __has_include() && defined(CATCH_CPP17_OR_GREATER) # define CATCH_INTERNAL_CONFIG_CPP17_OPTIONAL # endif // __has_include() && defined(CATCH_CPP17_OR_GREATER) #endif // __has_include //////////////////////////////////////////////////////////////////////////////// // Check if variant is available and usable #if defined(__has_include) # if __has_include() && defined(CATCH_CPP17_OR_GREATER) # if defined(__clang__) && (__clang_major__ < 8) // work around clang bug with libstdc++ https://bugs.llvm.org/show_bug.cgi?id=31852 // fix should be in clang 8, workaround in libstdc++ 8.2 # include # if defined(__GLIBCXX__) && defined(_GLIBCXX_RELEASE) && (_GLIBCXX_RELEASE < 9) # define CATCH_CONFIG_NO_CPP17_VARIANT # else # define CATCH_INTERNAL_CONFIG_CPP17_VARIANT # endif // defined(__GLIBCXX__) && defined(_GLIBCXX_RELEASE) && (_GLIBCXX_RELEASE < 9) # else # define CATCH_INTERNAL_CONFIG_CPP17_VARIANT # endif // defined(__clang__) && (__clang_major__ < 8) # endif // __has_include() && defined(CATCH_CPP17_OR_GREATER) #endif // __has_include #if defined(CATCH_INTERNAL_CONFIG_COUNTER) && !defined(CATCH_CONFIG_NO_COUNTER) && !defined(CATCH_CONFIG_COUNTER) # define CATCH_CONFIG_COUNTER #endif #if defined(CATCH_INTERNAL_CONFIG_WINDOWS_SEH) && !defined(CATCH_CONFIG_NO_WINDOWS_SEH) && !defined(CATCH_CONFIG_WINDOWS_SEH) && !defined(CATCH_INTERNAL_CONFIG_NO_WINDOWS_SEH) # define CATCH_CONFIG_WINDOWS_SEH #endif // This is set by default, because we assume that unix compilers are posix-signal-compatible by default. #if defined(CATCH_INTERNAL_CONFIG_POSIX_SIGNALS) && !defined(CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS) && !defined(CATCH_CONFIG_NO_POSIX_SIGNALS) && !defined(CATCH_CONFIG_POSIX_SIGNALS) # define CATCH_CONFIG_POSIX_SIGNALS #endif // This is set by default, because we assume that compilers with no wchar_t support are just rare exceptions. #if !defined(CATCH_INTERNAL_CONFIG_NO_WCHAR) && !defined(CATCH_CONFIG_NO_WCHAR) && !defined(CATCH_CONFIG_WCHAR) # define CATCH_CONFIG_WCHAR #endif #if !defined(CATCH_INTERNAL_CONFIG_NO_CPP11_TO_STRING) && !defined(CATCH_CONFIG_NO_CPP11_TO_STRING) && !defined(CATCH_CONFIG_CPP11_TO_STRING) # define CATCH_CONFIG_CPP11_TO_STRING #endif #if defined(CATCH_INTERNAL_CONFIG_CPP17_OPTIONAL) && !defined(CATCH_CONFIG_NO_CPP17_OPTIONAL) && !defined(CATCH_CONFIG_CPP17_OPTIONAL) # define CATCH_CONFIG_CPP17_OPTIONAL #endif #if defined(CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS) && !defined(CATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS) && !defined(CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS) # define CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS #endif #if defined(CATCH_INTERNAL_CONFIG_CPP17_STRING_VIEW) && !defined(CATCH_CONFIG_NO_CPP17_STRING_VIEW) && !defined(CATCH_CONFIG_CPP17_STRING_VIEW) # define CATCH_CONFIG_CPP17_STRING_VIEW #endif #if defined(CATCH_INTERNAL_CONFIG_CPP17_VARIANT) && !defined(CATCH_CONFIG_NO_CPP17_VARIANT) && !defined(CATCH_CONFIG_CPP17_VARIANT) # define CATCH_CONFIG_CPP17_VARIANT #endif #if defined(CATCH_CONFIG_EXPERIMENTAL_REDIRECT) # define CATCH_INTERNAL_CONFIG_NEW_CAPTURE #endif #if defined(CATCH_INTERNAL_CONFIG_NEW_CAPTURE) && !defined(CATCH_INTERNAL_CONFIG_NO_NEW_CAPTURE) && !defined(CATCH_CONFIG_NO_NEW_CAPTURE) && !defined(CATCH_CONFIG_NEW_CAPTURE) # define CATCH_CONFIG_NEW_CAPTURE #endif #if !defined(CATCH_INTERNAL_CONFIG_EXCEPTIONS_ENABLED) && !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) # define CATCH_CONFIG_DISABLE_EXCEPTIONS #endif #if defined(CATCH_INTERNAL_CONFIG_POLYFILL_ISNAN) && !defined(CATCH_CONFIG_NO_POLYFILL_ISNAN) && !defined(CATCH_CONFIG_POLYFILL_ISNAN) # define CATCH_CONFIG_POLYFILL_ISNAN #endif #if defined(CATCH_INTERNAL_CONFIG_USE_ASYNC) && !defined(CATCH_CONFIG_NO_USE_ASYNC) && !defined(CATCH_CONFIG_USE_ASYNC) # define CATCH_CONFIG_USE_ASYNC #endif #if !defined(CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS) # define CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS # define CATCH_INTERNAL_UNSUPPRESS_PARENTHESES_WARNINGS #endif #if !defined(CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS) # define CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS # define CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS #endif #if !defined(CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS) # define CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS # define CATCH_INTERNAL_UNSUPPRESS_UNUSED_WARNINGS #endif #if !defined(CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS) # define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS # define CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS #endif #if defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) #define CATCH_TRY if ((true)) #define CATCH_CATCH_ALL if ((false)) #define CATCH_CATCH_ANON(type) if ((false)) #else #define CATCH_TRY try #define CATCH_CATCH_ALL catch (...) #define CATCH_CATCH_ANON(type) catch (type) #endif #if defined(CATCH_INTERNAL_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR) && !defined(CATCH_CONFIG_NO_TRADITIONAL_MSVC_PREPROCESSOR) && !defined(CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR) #define CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR #endif // end catch_compiler_capabilities.h #define INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line ) name##line #define INTERNAL_CATCH_UNIQUE_NAME_LINE( name, line ) INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line ) #ifdef CATCH_CONFIG_COUNTER # define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ ) #else # define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __LINE__ ) #endif #include #include #include // We need a dummy global operator<< so we can bring it into Catch namespace later struct Catch_global_namespace_dummy {}; std::ostream& operator<<(std::ostream&, Catch_global_namespace_dummy); namespace Catch { struct CaseSensitive { enum Choice { Yes, No }; }; class NonCopyable { NonCopyable( NonCopyable const& ) = delete; NonCopyable( NonCopyable && ) = delete; NonCopyable& operator = ( NonCopyable const& ) = delete; NonCopyable& operator = ( NonCopyable && ) = delete; protected: NonCopyable(); virtual ~NonCopyable(); }; struct SourceLineInfo { SourceLineInfo() = delete; SourceLineInfo( char const* _file, std::size_t _line ) noexcept : file( _file ), line( _line ) {} SourceLineInfo( SourceLineInfo const& other ) = default; SourceLineInfo& operator = ( SourceLineInfo const& ) = default; SourceLineInfo( SourceLineInfo&& ) noexcept = default; SourceLineInfo& operator = ( SourceLineInfo&& ) noexcept = default; bool empty() const noexcept; bool operator == ( SourceLineInfo const& other ) const noexcept; bool operator < ( SourceLineInfo const& other ) const noexcept; char const* file; std::size_t line; }; std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info ); // Bring in operator<< from global namespace into Catch namespace // This is necessary because the overload of operator<< above makes // lookup stop at namespace Catch using ::operator<<; // Use this in variadic streaming macros to allow // >> +StreamEndStop // as well as // >> stuff +StreamEndStop struct StreamEndStop { std::string operator+() const; }; template T const& operator + ( T const& value, StreamEndStop ) { return value; } } #define CATCH_INTERNAL_LINEINFO \ ::Catch::SourceLineInfo( __FILE__, static_cast( __LINE__ ) ) // end catch_common.h namespace Catch { struct RegistrarForTagAliases { RegistrarForTagAliases( char const* alias, char const* tag, SourceLineInfo const& lineInfo ); }; } // end namespace Catch #define CATCH_REGISTER_TAG_ALIAS( alias, spec ) \ CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \ namespace{ Catch::RegistrarForTagAliases INTERNAL_CATCH_UNIQUE_NAME( AutoRegisterTagAlias )( alias, spec, CATCH_INTERNAL_LINEINFO ); } \ CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS // end catch_tag_alias_autoregistrar.h // start catch_test_registry.h // start catch_interfaces_testcase.h #include namespace Catch { class TestSpec; struct ITestInvoker { virtual void invoke () const = 0; virtual ~ITestInvoker(); }; class TestCase; struct IConfig; struct ITestCaseRegistry { virtual ~ITestCaseRegistry(); virtual std::vector const& getAllTests() const = 0; virtual std::vector const& getAllTestsSorted( IConfig const& config ) const = 0; }; bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config ); std::vector filterTests( std::vector const& testCases, TestSpec const& testSpec, IConfig const& config ); std::vector const& getAllTestCasesSorted( IConfig const& config ); } // end catch_interfaces_testcase.h // start catch_stringref.h #include #include #include namespace Catch { /// A non-owning string class (similar to the forthcoming std::string_view) /// Note that, because a StringRef may be a substring of another string, /// it may not be null terminated. c_str() must return a null terminated /// string, however, and so the StringRef will internally take ownership /// (taking a copy), if necessary. In theory this ownership is not externally /// visible - but it does mean (substring) StringRefs should not be shared between /// threads. class StringRef { public: using size_type = std::size_t; private: friend struct StringRefTestAccess; char const* m_start; size_type m_size; char* m_data = nullptr; void takeOwnership(); static constexpr char const* const s_empty = ""; public: // construction/ assignment StringRef() noexcept : StringRef( s_empty, 0 ) {} StringRef( StringRef const& other ) noexcept : m_start( other.m_start ), m_size( other.m_size ) {} StringRef( StringRef&& other ) noexcept : m_start( other.m_start ), m_size( other.m_size ), m_data( other.m_data ) { other.m_data = nullptr; } StringRef( char const* rawChars ) noexcept; StringRef( char const* rawChars, size_type size ) noexcept : m_start( rawChars ), m_size( size ) {} StringRef( std::string const& stdString ) noexcept : m_start( stdString.c_str() ), m_size( stdString.size() ) {} ~StringRef() noexcept { delete[] m_data; } auto operator = ( StringRef const &other ) noexcept -> StringRef& { delete[] m_data; m_data = nullptr; m_start = other.m_start; m_size = other.m_size; return *this; } operator std::string() const; void swap( StringRef& other ) noexcept; public: // operators auto operator == ( StringRef const& other ) const noexcept -> bool; auto operator != ( StringRef const& other ) const noexcept -> bool; auto operator[] ( size_type index ) const noexcept -> char; public: // named queries auto empty() const noexcept -> bool { return m_size == 0; } auto size() const noexcept -> size_type { return m_size; } auto numberOfCharacters() const noexcept -> size_type; auto c_str() const -> char const*; public: // substrings and searches auto substr( size_type start, size_type size ) const noexcept -> StringRef; // Returns the current start pointer. // Note that the pointer can change when if the StringRef is a substring auto currentData() const noexcept -> char const*; private: // ownership queries - may not be consistent between calls auto isOwned() const noexcept -> bool; auto isSubstring() const noexcept -> bool; }; auto operator + ( StringRef const& lhs, StringRef const& rhs ) -> std::string; auto operator + ( StringRef const& lhs, char const* rhs ) -> std::string; auto operator + ( char const* lhs, StringRef const& rhs ) -> std::string; auto operator += ( std::string& lhs, StringRef const& sr ) -> std::string&; auto operator << ( std::ostream& os, StringRef const& sr ) -> std::ostream&; inline auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef { return StringRef( rawChars, size ); } } // namespace Catch inline auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::StringRef { return Catch::StringRef( rawChars, size ); } // end catch_stringref.h // start catch_type_traits.hpp #include namespace Catch{ #ifdef CATCH_CPP17_OR_GREATER template inline constexpr auto is_unique = std::true_type{}; template inline constexpr auto is_unique = std::bool_constant< (!std::is_same_v && ...) && is_unique >{}; #else template struct is_unique : std::true_type{}; template struct is_unique : std::integral_constant ::value && is_unique::value && is_unique::value >{}; #endif } // end catch_type_traits.hpp // start catch_preprocessor.hpp #define CATCH_RECURSION_LEVEL0(...) __VA_ARGS__ #define CATCH_RECURSION_LEVEL1(...) CATCH_RECURSION_LEVEL0(CATCH_RECURSION_LEVEL0(CATCH_RECURSION_LEVEL0(__VA_ARGS__))) #define CATCH_RECURSION_LEVEL2(...) CATCH_RECURSION_LEVEL1(CATCH_RECURSION_LEVEL1(CATCH_RECURSION_LEVEL1(__VA_ARGS__))) #define CATCH_RECURSION_LEVEL3(...) CATCH_RECURSION_LEVEL2(CATCH_RECURSION_LEVEL2(CATCH_RECURSION_LEVEL2(__VA_ARGS__))) #define CATCH_RECURSION_LEVEL4(...) CATCH_RECURSION_LEVEL3(CATCH_RECURSION_LEVEL3(CATCH_RECURSION_LEVEL3(__VA_ARGS__))) #define CATCH_RECURSION_LEVEL5(...) CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(__VA_ARGS__))) #ifdef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR #define INTERNAL_CATCH_EXPAND_VARGS(...) __VA_ARGS__ // MSVC needs more evaluations #define CATCH_RECURSION_LEVEL6(...) CATCH_RECURSION_LEVEL5(CATCH_RECURSION_LEVEL5(CATCH_RECURSION_LEVEL5(__VA_ARGS__))) #define CATCH_RECURSE(...) CATCH_RECURSION_LEVEL6(CATCH_RECURSION_LEVEL6(__VA_ARGS__)) #else #define CATCH_RECURSE(...) CATCH_RECURSION_LEVEL5(__VA_ARGS__) #endif #define CATCH_REC_END(...) #define CATCH_REC_OUT #define CATCH_EMPTY() #define CATCH_DEFER(id) id CATCH_EMPTY() #define CATCH_REC_GET_END2() 0, CATCH_REC_END #define CATCH_REC_GET_END1(...) CATCH_REC_GET_END2 #define CATCH_REC_GET_END(...) CATCH_REC_GET_END1 #define CATCH_REC_NEXT0(test, next, ...) next CATCH_REC_OUT #define CATCH_REC_NEXT1(test, next) CATCH_DEFER ( CATCH_REC_NEXT0 ) ( test, next, 0) #define CATCH_REC_NEXT(test, next) CATCH_REC_NEXT1(CATCH_REC_GET_END test, next) #define CATCH_REC_LIST0(f, x, peek, ...) , f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ ) #define CATCH_REC_LIST1(f, x, peek, ...) , f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0) ) ( f, peek, __VA_ARGS__ ) #define CATCH_REC_LIST2(f, x, peek, ...) f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ ) #define CATCH_REC_LIST0_UD(f, userdata, x, peek, ...) , f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ ) #define CATCH_REC_LIST1_UD(f, userdata, x, peek, ...) , f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0_UD) ) ( f, userdata, peek, __VA_ARGS__ ) #define CATCH_REC_LIST2_UD(f, userdata, x, peek, ...) f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ ) // Applies the function macro `f` to each of the remaining parameters, inserts commas between the results, // and passes userdata as the first parameter to each invocation, // e.g. CATCH_REC_LIST_UD(f, x, a, b, c) evaluates to f(x, a), f(x, b), f(x, c) #define CATCH_REC_LIST_UD(f, userdata, ...) CATCH_RECURSE(CATCH_REC_LIST2_UD(f, userdata, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) #define CATCH_REC_LIST(f, ...) CATCH_RECURSE(CATCH_REC_LIST2(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) #define INTERNAL_CATCH_EXPAND1(param) INTERNAL_CATCH_EXPAND2(param) #define INTERNAL_CATCH_EXPAND2(...) INTERNAL_CATCH_NO## __VA_ARGS__ #define INTERNAL_CATCH_DEF(...) INTERNAL_CATCH_DEF __VA_ARGS__ #define INTERNAL_CATCH_NOINTERNAL_CATCH_DEF #define INTERNAL_CATCH_STRINGIZE(...) INTERNAL_CATCH_STRINGIZE2(__VA_ARGS__) #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR #define INTERNAL_CATCH_STRINGIZE2(...) #__VA_ARGS__ #define INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS(param) INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_REMOVE_PARENS(param)) #else // MSVC is adding extra space and needs another indirection to expand INTERNAL_CATCH_NOINTERNAL_CATCH_DEF #define INTERNAL_CATCH_STRINGIZE2(...) INTERNAL_CATCH_STRINGIZE3(__VA_ARGS__) #define INTERNAL_CATCH_STRINGIZE3(...) #__VA_ARGS__ #define INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS(param) (INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_REMOVE_PARENS(param)) + 1) #endif #define INTERNAL_CATCH_MAKE_NAMESPACE2(...) ns_##__VA_ARGS__ #define INTERNAL_CATCH_MAKE_NAMESPACE(name) INTERNAL_CATCH_MAKE_NAMESPACE2(name) #define INTERNAL_CATCH_REMOVE_PARENS(...) INTERNAL_CATCH_EXPAND1(INTERNAL_CATCH_DEF __VA_ARGS__) #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR #define INTERNAL_CATCH_MAKE_TYPE_LIST2(...) decltype(get_wrapper()) #define INTERNAL_CATCH_MAKE_TYPE_LIST(...) INTERNAL_CATCH_MAKE_TYPE_LIST2(INTERNAL_CATCH_REMOVE_PARENS(__VA_ARGS__)) #else #define INTERNAL_CATCH_MAKE_TYPE_LIST2(...) INTERNAL_CATCH_EXPAND_VARGS(decltype(get_wrapper())) #define INTERNAL_CATCH_MAKE_TYPE_LIST(...) INTERNAL_CATCH_EXPAND_VARGS(INTERNAL_CATCH_MAKE_TYPE_LIST2(INTERNAL_CATCH_REMOVE_PARENS(__VA_ARGS__))) #endif #define INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES(...)\ CATCH_REC_LIST(INTERNAL_CATCH_MAKE_TYPE_LIST,__VA_ARGS__) #define INTERNAL_CATCH_REMOVE_PARENS_1_ARG(_0) INTERNAL_CATCH_REMOVE_PARENS(_0) #define INTERNAL_CATCH_REMOVE_PARENS_2_ARG(_0, _1) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_1_ARG(_1) #define INTERNAL_CATCH_REMOVE_PARENS_3_ARG(_0, _1, _2) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_2_ARG(_1, _2) #define INTERNAL_CATCH_REMOVE_PARENS_4_ARG(_0, _1, _2, _3) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_3_ARG(_1, _2, _3) #define INTERNAL_CATCH_REMOVE_PARENS_5_ARG(_0, _1, _2, _3, _4) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_4_ARG(_1, _2, _3, _4) #define INTERNAL_CATCH_REMOVE_PARENS_6_ARG(_0, _1, _2, _3, _4, _5) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_5_ARG(_1, _2, _3, _4, _5) #define INTERNAL_CATCH_REMOVE_PARENS_7_ARG(_0, _1, _2, _3, _4, _5, _6) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_6_ARG(_1, _2, _4, _5, _6) #define INTERNAL_CATCH_REMOVE_PARENS_8_ARG(_0, _1, _2, _3, _4, _5, _6, _7) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_7_ARG(_1, _2, _3, _4, _5, _6, _7) #define INTERNAL_CATCH_REMOVE_PARENS_9_ARG(_0, _1, _2, _3, _4, _5, _6, _7, _8) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_8_ARG(_1, _2, _3, _4, _5, _6, _7, _8) #define INTERNAL_CATCH_REMOVE_PARENS_10_ARG(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_9_ARG(_1, _2, _3, _4, _5, _6, _7, _8, _9) #define INTERNAL_CATCH_REMOVE_PARENS_11_ARG(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10) INTERNAL_CATCH_REMOVE_PARENS(_0), INTERNAL_CATCH_REMOVE_PARENS_10_ARG(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10) #define INTERNAL_CATCH_VA_NARGS_IMPL(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N #define INTERNAL_CATCH_TYPE_GEN\ template struct TypeList {};\ template\ constexpr auto get_wrapper() noexcept -> TypeList { return {}; }\ \ template class L1, typename...E1, template class L2, typename...E2> \ constexpr auto append(L1, L2) noexcept -> L1 { return {}; }\ template< template class L1, typename...E1, template class L2, typename...E2, typename...Rest>\ constexpr auto append(L1, L2, Rest...) noexcept -> decltype(append(L1{}, Rest{}...)) { return {}; }\ template< template class L1, typename...E1, typename...Rest>\ constexpr auto append(L1, TypeList, Rest...) noexcept -> L1 { return {}; }\ \ template< template class Container, template class List, typename...elems>\ constexpr auto rewrap(List) noexcept -> TypeList> { return {}; }\ template< template class Container, template class List, class...Elems, typename...Elements>\ constexpr auto rewrap(List,Elements...) noexcept -> decltype(append(TypeList>{}, rewrap(Elements{}...))) { return {}; }\ \ template