This repository has been archived on 2024-11-23. You can view files and clone it, but cannot push or open issues or pull requests.
SSTV-Decoder/include/sstv.h

20 lines
350 B
C
Raw Normal View History

2023-04-24 23:09:52 +08:00
#pragma once
#include "derivative.h"
#include "fft/fft.h"
2023-04-24 23:09:52 +08:00
#define FS 20000
#define RE FS / FFT_N
2023-04-28 16:20:46 +08:00
#define BUF_M 1024
2023-04-24 23:09:52 +08:00
#define FREQ_BIT1 1100
#define FREQ_SYNC 1200
#define FREQ_BIT0 1300
#define FREQ_START 1900
#define FREQ_BLACK 1500
2023-04-27 21:58:11 +08:00
#define FREQ_WHITE 4000
2023-04-24 23:09:52 +08:00
#define FREQ_RANGE FREQ_WHITE - FREQ_BLACK
2023-04-27 21:58:11 +08:00
#define COLOR_SCALE 64
2023-04-24 23:09:52 +08:00
uint8_t decode_sstv();