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
// Copyright 2022 Google LLC
// SPDX-License-Identifier: BSD-2-Clause
#ifndef LIBAVIF_APPS_SHARED_AVIFEXIF_H
#define LIBAVIF_APPS_SHARED_AVIFEXIF_H
#include "avif/avif.h"
#ifdef __cplusplus
extern "C" {
#endif
// Converts image->transformFlags, image->irot and image->imir to the equivalent Exif orientation value in [1:8].
uint8_t avifImageGetExifOrientationFromIrotImir(const avifImage * image);
// Attempts to parse the Exif payload until the orientation is found, then sets it to the given value.
avifResult avifSetExifOrientation(avifRWData * exif, uint8_t orientation);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // ifndef LIBAVIF_APPS_SHARED_AVIFEXIF_H