Skip to content

Commit

Permalink
FEAT: updated optional qoi (Quite OK Image) codec
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Dec 21, 2021
1 parent 68679a1 commit c474d05
Show file tree
Hide file tree
Showing 2 changed files with 296 additions and 255 deletions.
7 changes: 4 additions & 3 deletions src/core/u-qoi.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@
#include "sys-core.h"

#ifdef INCLUDE_QOI_CODEC
#define QOI_IMPLEMENTATION
#define QOI_NO_STDIO
#include "sys-qoi.h"

#define QOI_MALLOC(sz) Make_Mem(sz)
#define QOI_FREE(p) free(p)

#define QOI_IMPLEMENTATION
#define QOI_NO_STDIO
#include "sys-qoi.h"

/***********************************************************************
**
*/ static void Encode_QOI_Image(REBCDI *codi)
Expand Down
Loading

0 comments on commit c474d05

Please sign in to comment.