We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c74f0ad commit 5b36efcCopy full SHA for 5b36efc
src/utils/image_delegate.c
@@ -56,6 +56,13 @@ static void
56
gpujpeg_cuda_free_host(void* ptr);
57
static void*
58
gpujpeg_cuda_realloc_sized_host(void* ptr, int oldsz, int newsz);
59
+#define STBI_NO_JPEG
60
+#define STBI_NO_PNG
61
+#define STBI_NO_PSD
62
+#define STBI_NO_GIF
63
+#define STBI_NO_HDR
64
+#define STBI_NO_PIC
65
+#define STBI_NO_PNM
66
// we want use custom allocator but only way to do this in stbi is to define the below
67
#define STBI_MALLOC gpujpeg_cuda_malloc_host
68
#define STBI_FREE gpujpeg_cuda_free_host
0 commit comments