#include "avif/internal.h"
#if defined(_MSC_VER)
#pragma warning(disable : 4201)
#endif
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc11-extensions"
#endif
#include "dav1d/dav1d.h"
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
#include <string.h>
#ifndef DAV1D_ERR
#define DAV1D_ERR …
#endif
struct avifCodecInternal
{ … };
static void avifDav1dFreeCallback(const uint8_t * buf, void * cookie)
{ … }
static void dav1dCodecDestroyInternal(avifCodec * codec)
{ … }
static avifBool dav1dCodecGetNextImage(struct avifCodec * codec,
const avifDecodeSample * sample,
avifBool alpha,
avifBool * isLimitedRangeAlpha,
avifImage * image)
{ … }
const char * avifCodecVersionDav1d(void)
{ … }
avifCodec * avifCodecCreateDav1d(void)
{ … }