mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
14 files changed
+14
-14
No files matched your search
@@ -44,7 +44,7 @@ for a C++ compiler $CXX, such as clang++ or g++.
|
|||||||
// https://raw.githubusercontent.com/nothings/stb/master/docs/stb_howto.txt
|
// https://raw.githubusercontent.com/nothings/stb/master/docs/stb_howto.txt
|
||||||
#define WUFFS_CONFIG__STATIC_FUNCTIONS
|
#define WUFFS_CONFIG__STATIC_FUNCTIONS
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C++ file.
|
// program to generate a stand-alone C++ file.
|
||||||
#include "../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ uint64_t micros_since_start(struct timespec* now) {
|
|||||||
// compiling it.
|
// compiling it.
|
||||||
#define WUFFS_IMPLEMENTATION
|
#define WUFFS_IMPLEMENTATION
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
+1
-1
@@ -46,7 +46,7 @@ for a C compiler $CC, such as clang or gcc.
|
|||||||
#define WUFFS_CONFIG__MODULE__DEFLATE
|
#define WUFFS_CONFIG__MODULE__DEFLATE
|
||||||
#define WUFFS_CONFIG__MODULE__GZIP
|
#define WUFFS_CONFIG__MODULE__GZIP
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ It should print "PASS", amongst other information, and exit(0).
|
|||||||
// compiling it.
|
// compiling it.
|
||||||
#define WUFFS_IMPLEMENTATION
|
#define WUFFS_IMPLEMENTATION
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ It should print "PASS", amongst other information, and exit(0).
|
|||||||
// compiling it.
|
// compiling it.
|
||||||
#define WUFFS_IMPLEMENTATION
|
#define WUFFS_IMPLEMENTATION
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
// compiling it.
|
// compiling it.
|
||||||
#define WUFFS_IMPLEMENTATION
|
#define WUFFS_IMPLEMENTATION
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../release/c/wuffs-unsupported-snapshot.h"
|
#include "../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
@@ -557,7 +557,7 @@ pri func decoder.decode_id_part1!??(dst ptr base.pixel_buffer, src base.io_reade
|
|||||||
// of bits for the decoder to read has ticked over from 8 to 9 just before
|
// of bits for the decoder to read has ticked over from 8 to 9 just before
|
||||||
// that end code is encountered.
|
// that end code is encountered.
|
||||||
//
|
//
|
||||||
// To accomodate such malformed GIFs, we detect when the previous frame's
|
// To accommodate such malformed GIFs, we detect when the previous frame's
|
||||||
// LZW decoding ended abruptly. The previous LZW decode 'works', in that it
|
// LZW decoding ended abruptly. The previous LZW decode 'works', in that it
|
||||||
// decodes as much pixel data as is available, but without seeing that end
|
// decodes as much pixel data as is available, but without seeing that end
|
||||||
// code (i.e. returning the "ok" status code), the LZW decoder is stuck in
|
// code (i.e. returning the "ok" status code), the LZW decoder is stuck in
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
#define WUFFS_CONFIG__MODULE__BASE
|
#define WUFFS_CONFIG__MODULE__BASE
|
||||||
#define WUFFS_CONFIG__MODULE__ADLER32
|
#define WUFFS_CONFIG__MODULE__ADLER32
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
+1
-1
@@ -56,7 +56,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
#define WUFFS_CONFIG__MODULE__BASE
|
#define WUFFS_CONFIG__MODULE__BASE
|
||||||
#define WUFFS_CONFIG__MODULE__CRC32
|
#define WUFFS_CONFIG__MODULE__CRC32
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
#define WUFFS_CONFIG__MODULE__BASE
|
#define WUFFS_CONFIG__MODULE__BASE
|
||||||
#define WUFFS_CONFIG__MODULE__DEFLATE
|
#define WUFFS_CONFIG__MODULE__DEFLATE
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
#define WUFFS_CONFIG__MODULE__GIF
|
#define WUFFS_CONFIG__MODULE__GIF
|
||||||
#define WUFFS_CONFIG__MODULE__LZW
|
#define WUFFS_CONFIG__MODULE__LZW
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
+1
-1
@@ -58,7 +58,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
#define WUFFS_CONFIG__MODULE__DEFLATE
|
#define WUFFS_CONFIG__MODULE__DEFLATE
|
||||||
#define WUFFS_CONFIG__MODULE__GZIP
|
#define WUFFS_CONFIG__MODULE__GZIP
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
+1
-1
@@ -56,7 +56,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
#define WUFFS_CONFIG__MODULE__BASE
|
#define WUFFS_CONFIG__MODULE__BASE
|
||||||
#define WUFFS_CONFIG__MODULE__LZW
|
#define WUFFS_CONFIG__MODULE__LZW
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
+1
-1
@@ -58,7 +58,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
#define WUFFS_CONFIG__MODULE__DEFLATE
|
#define WUFFS_CONFIG__MODULE__DEFLATE
|
||||||
#define WUFFS_CONFIG__MODULE__ZLIB
|
#define WUFFS_CONFIG__MODULE__ZLIB
|
||||||
|
|
||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accommodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
#include "../../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|||||||
Reference in new issue
Block a user