mirror of
https://github.com/dnet/pySSTV.git
synced 2026-04-06 06:43:42 +00:00
codegen: avoid defining test image in multiple places
This commit is contained in:
parent
c7fecff3e6
commit
5d38b3b52d
2 changed files with 5 additions and 4 deletions
|
|
@ -5,9 +5,9 @@
|
|||
#include "stb_image.h"
|
||||
#include "codegen.c"
|
||||
|
||||
int main() {
|
||||
int main(int argc, char **argv) {
|
||||
int x, y, n;
|
||||
unsigned char *img = stbi_load("320x256rgb.png", &x, &y, &n, 0);
|
||||
unsigned char *img = stbi_load(argv[1], &x, &y, &n, 0);
|
||||
|
||||
float freqs[FREQ_COUNT], msecs[FREQ_COUNT];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue