fix build with non-standard libheif location
This commit is contained in:
parent
dac75219b2
commit
77ab3d2562
@ -177,6 +177,14 @@ typedef struct _VipsForeignLoadHeif {
|
|||||||
|
|
||||||
} VipsForeignLoadHeif;
|
} VipsForeignLoadHeif;
|
||||||
|
|
||||||
|
void
|
||||||
|
vips__heif_error( struct heif_error *error )
|
||||||
|
{
|
||||||
|
if( error->code )
|
||||||
|
vips_error( "heif", "%s (%d.%d)", error->message, error->code,
|
||||||
|
error->subcode );
|
||||||
|
}
|
||||||
|
|
||||||
typedef struct _VipsForeignLoadHeifClass {
|
typedef struct _VipsForeignLoadHeifClass {
|
||||||
VipsForeignLoadClass parent_class;
|
VipsForeignLoadClass parent_class;
|
||||||
|
|
||||||
|
@ -76,16 +76,6 @@
|
|||||||
|
|
||||||
#include "pforeign.h"
|
#include "pforeign.h"
|
||||||
|
|
||||||
#include <libheif/heif.h>
|
|
||||||
|
|
||||||
void
|
|
||||||
vips__heif_error( struct heif_error *error )
|
|
||||||
{
|
|
||||||
if( error->code )
|
|
||||||
vips_error( "heif", "%s (%d.%d)", error->message, error->code,
|
|
||||||
error->subcode );
|
|
||||||
}
|
|
||||||
|
|
||||||
const char *vips__heif_suffs[] = {
|
const char *vips__heif_suffs[] = {
|
||||||
".heic",
|
".heic",
|
||||||
".heif",
|
".heif",
|
||||||
|
@ -232,11 +232,6 @@ typedef void *(*VipsNiftiMapFn)( const char *name, GValue *value, glong offset,
|
|||||||
void *vips__foreign_nifti_map( VipsNiftiMapFn fn, void *a, void *b );
|
void *vips__foreign_nifti_map( VipsNiftiMapFn fn, void *a, void *b );
|
||||||
|
|
||||||
extern const char *vips__heif_suffs[];
|
extern const char *vips__heif_suffs[];
|
||||||
struct heif_error;
|
|
||||||
void vips__heif_error( struct heif_error *error );
|
|
||||||
|
|
||||||
struct heif_image;
|
|
||||||
void vips__heif_image_print( struct heif_image *img );
|
|
||||||
|
|
||||||
extern const char *vips__jp2k_suffs[];
|
extern const char *vips__jp2k_suffs[];
|
||||||
int vips__foreign_load_jp2k_decompress( VipsImage *out,
|
int vips__foreign_load_jp2k_decompress( VipsImage *out,
|
||||||
|
@ -120,6 +120,11 @@ typedef struct _VipsForeignSaveHeif {
|
|||||||
|
|
||||||
typedef VipsForeignSaveClass VipsForeignSaveHeifClass;
|
typedef VipsForeignSaveClass VipsForeignSaveHeifClass;
|
||||||
|
|
||||||
|
/* Defined in heif2vips.c
|
||||||
|
*/
|
||||||
|
void vips__heif_error( struct heif_error *error );
|
||||||
|
void vips__heif_image_print( struct heif_image *img );
|
||||||
|
|
||||||
G_DEFINE_ABSTRACT_TYPE( VipsForeignSaveHeif, vips_foreign_save_heif,
|
G_DEFINE_ABSTRACT_TYPE( VipsForeignSaveHeif, vips_foreign_save_heif,
|
||||||
VIPS_TYPE_FOREIGN_SAVE );
|
VIPS_TYPE_FOREIGN_SAVE );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user