diff options
| author | rimio <vasi.vilvoiu@gmail.com> | 2019-02-11 00:00:26 +0200 |
|---|---|---|
| committer | rimio <vasi.vilvoiu@gmail.com> | 2019-02-11 00:00:26 +0200 |
| commit | 84a3971982ddd04f3e8cab8be69ae07ef201010d (patch) | |
| tree | 553ae2e08b38997bfa5d5a02c84741f7129bd0ec /src/sstv.c | |
| parent | a76e7ef6b9459d3b0f908eecebb33c4c76e1d36e (diff) | |
Sub-sample accuracy
Diffstat (limited to 'src/sstv.c')
| -rw-r--r-- | src/sstv.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,9 +21,13 @@ #define CYCbCr2G(Y, Cb, Cr) CLIP( Y - (( 22544 * Cb + 46793 * Cr ) >> 16) + 135) #define CYCbCr2B(Y, Cb, Cr) CLIP( Y + (116129 * Cb >> 16 ) - 226 ) +/* + * User-defined memory allocation functions + */ sstv_malloc_t sstv_malloc_user = NULL; sstv_free_t sstv_free_user = NULL; + sstv_error_t sstv_init(sstv_malloc_t alloc_func, sstv_free_t dealloc_func) { |
