tinyimg
1.0.0
Lightweight image manipulation library for Cloudflare Workers
Toggle main menu visibility
Loading...
Searching...
No Matches
include
tinyimg
work.h
1
#ifndef TINYIMG_WORK_H
2
#define TINYIMG_WORK_H
3
4
#include "
tinyimg/tinyimg.h
"
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
24
typedef
enum
25
{
27
TINYIMG_WORK_SOURCE_SAMPLES = 0,
29
TINYIMG_WORK_DECODED_SAMPLES = 1,
31
TINYIMG_WORK_BLOCKS = 2,
33
TINYIMG_WORK_TRANSFORMS = 3,
41
TINYIMG_WORK_TRANSFORM_SAMPLES = 4,
43
TINYIMG_WORK_MACROBLOCKS = 5,
45
TINYIMG_WORK_FILTERED = 6,
47
TINYIMG_WORK_RESAMPLED = 7,
49
TINYIMG_WORK_ENCODED = 8,
51
TINYIMG_WORK_PASSES = 9,
52
} TinyWorkCounter;
53
60
void
tiny_work_reset(
void
);
61
71
uint32_t tiny_work_read(TinyWorkCounter counter);
72
82
void
tiny_work_add(TinyWorkCounter counter, uint32_t amount);
83
84
#ifdef __cplusplus
85
}
86
#endif
87
88
#endif
tinyimg.h
Umbrella header, version and error codes.
Generated by
1.18.0