We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec58e2b commit d91f9aeCopy full SHA for d91f9ae
src/_avif.c
@@ -3,6 +3,12 @@
3
#include "libImaging/Imaging.h"
4
#include "avif/avif.h"
5
6
+#if AVIF_VERSION < 80300
7
+#define AVIF_CHROMA_UPSAMPLING_AUTOMATIC AVIF_CHROMA_UPSAMPLING_BILINEAR
8
+#define AVIF_CHROMA_UPSAMPLING_BEST_QUALITY AVIF_CHROMA_UPSAMPLING_BILINEAR
9
+#define AVIF_CHROMA_UPSAMPLING_FASTEST AVIF_CHROMA_UPSAMPLING_NEAREST
10
+#endif
11
+
12
typedef struct {
13
avifPixelFormat yuv_format;
14
int qmin;
0 commit comments