diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2018-08-27 00:27:54 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2018-08-27 00:27:54 +0300 |
commit | 29c347faffec58a6bb3eb97e6a008e2d579d0928 (patch) | |
tree | 5227542a915e1a86c1df0c1af100ca01f9b3c71c /src/libanalog/ntsc.h | |
download | analogcolor-29c347faffec58a6bb3eb97e6a008e2d579d0928.tar.gz |
First commit
analogcolor - util to simulate color encoding/decoding
Diffstat (limited to 'src/libanalog/ntsc.h')
-rw-r--r-- | src/libanalog/ntsc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libanalog/ntsc.h b/src/libanalog/ntsc.h new file mode 100644 index 0000000..908e9a6 --- /dev/null +++ b/src/libanalog/ntsc.h @@ -0,0 +1,11 @@ +#ifndef NTSC_H +#define NTSC_H + +typedef struct ntsc_ctx ntsc_ctx; + +ntsc_ctx* ntsc_create_context(int width, int encode); +void ntsc_free_context(ntsc_ctx* ctx); +void ntsc_process_encode(const float* input, float* output, ntsc_ctx* ctx); +void ntsc_process_decode(const float* input, float* output, ntsc_ctx* ctx); + +#endif |