mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
Build libsharpyuv as a full installable library.
Headers are installed in a "sharpyuv" subdirectory of the webp dir, e.g. /usr/local/include/webp/sharpyuv/ Remove unnecessary dependency from sharpyuv to webp/types.h Add SHARPYUV_EXTERN so that only symbols meant to be public are exported. Sharpyuv users can use the library with: find_package(WebP) if(TARGET WebP::sharpyuv) # ... use WebP::sharpyuv endif() Change-Id: I602a25521a135a2edc39d6587610484fe6447ec5
This commit is contained in:
committed by
Maryla Ustarroz-Calonge
parent
b4994eaa6d
commit
a3b68c195e
@ -35,8 +35,9 @@ typedef struct {
|
||||
} SharpYuvColorSpace;
|
||||
|
||||
// Fills in 'matrix' for the given YUVColorSpace.
|
||||
void SharpYuvComputeConversionMatrix(const SharpYuvColorSpace* yuv_color_space,
|
||||
SharpYuvConversionMatrix* matrix);
|
||||
SHARPYUV_EXTERN void SharpYuvComputeConversionMatrix(
|
||||
const SharpYuvColorSpace* yuv_color_space,
|
||||
SharpYuvConversionMatrix* matrix);
|
||||
|
||||
// Enums for precomputed conversion matrices.
|
||||
typedef enum {
|
||||
@ -49,7 +50,7 @@ typedef enum {
|
||||
} SharpYuvMatrixType;
|
||||
|
||||
// Returns a pointer to a matrix for one of the predefined colorspaces.
|
||||
const SharpYuvConversionMatrix* SharpYuvGetConversionMatrix(
|
||||
SHARPYUV_EXTERN const SharpYuvConversionMatrix* SharpYuvGetConversionMatrix(
|
||||
SharpYuvMatrixType matrix_type);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user