summaryrefslogtreecommitdiff
path: root/src/sstv.c
diff options
context:
space:
mode:
authorrimio <vasi.vilvoiu@gmail.com>2019-02-11 00:00:26 +0200
committerrimio <vasi.vilvoiu@gmail.com>2019-02-11 00:00:26 +0200
commit84a3971982ddd04f3e8cab8be69ae07ef201010d (patch)
tree553ae2e08b38997bfa5d5a02c84741f7129bd0ec /src/sstv.c
parenta76e7ef6b9459d3b0f908eecebb33c4c76e1d36e (diff)
Sub-sample accuracy
Diffstat (limited to 'src/sstv.c')
-rw-r--r--src/sstv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sstv.c b/src/sstv.c
index 3365bee..9a6055e 100644
--- a/src/sstv.c
+++ b/src/sstv.c
@@ -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)
{