system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
cmd: 

Direktori : /usr/local/src/libavif-main/apps/shared/
Upload File :
Current File : //usr/local/src/libavif-main/apps/shared/iccmaker.h

// Copyright 2023 Yuan Tong. All rights reserved.
// SPDX-License-Identifier: BSD-2-Clause

#ifndef LIBAVIF_APPS_SHARED_ICCMAKER_H
#define LIBAVIF_APPS_SHARED_ICCMAKER_H

#include "avif/avif.h"

#ifdef __cplusplus
extern "C" {
#endif

// Note to libavif maintainers:
// These ICC maker functions only serve to handle legacy color space
// information in PNG files, and shall not be moved to libavif itself.
avifBool avifGenerateRGBICC(avifRWData * icc, float gamma, const float primaries[8]);
avifBool avifGenerateGrayICC(avifRWData * icc, float gamma, const float white[2]);

#ifdef __cplusplus
} // extern "C"
#endif

#endif //LIBAVIF_APPS_SHARED_ICCMAKER_H