aboutsummaryrefslogtreecommitdiffstats
path: root/src/libanalog/ntsc.h
blob: 9cc520bce8e0ef02acdbbb629a1c73f2696393e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef NTSC_H
#define NTSC_H

#include <stdio.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);

void ntsc_enable_verbose(FILE* fout, ntsc_ctx* ctx);

#endif