Add implementation of analog TV signal generator (PAL so far)

Quick and dirty Howto:
make && tv/osmotv --sdr-soapy --sdr-tx-gain 60  -r 15000000 -c 21 tx-fubk --sdr-tune-args "OFFSET=-3000000"
This commit is contained in:
Andreas Eversberg
2017-08-20 07:43:41 +02:00
parent a52c89800c
commit 496aff5a79
22 changed files with 3071 additions and 5 deletions

40
src/tv/Makefile.am Normal file
View File

@@ -0,0 +1,40 @@
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes) -fstack-check
bin_PROGRAMS = \
osmotv
osmotv_SOURCES = \
bas.c \
fubk.c \
font.c \
vcr.c \
image.c \
tv_modulate.c \
channels.c \
main.c
osmotv_LDADD = \
$(COMMON_LA) \
$(top_builddir)/src/common/libimage.a \
$(top_builddir)/src/common/libcommon.a \
$(ALSA_LIBS) \
$(UHD_LIBS) \
$(SOAPY_LIBS) \
$(GRAPHICSMAGICK_LIBS) $(IMAGEMAGICK_LIBS) \
-lm
if HAVE_SDR
AM_CPPFLAGS += -DHAVE_SDR
endif
if HAVE_UHD
AM_CPPFLAGS += -DHAVE_UHD
endif
if HAVE_SOAPY
AM_CPPFLAGS += -DHAVE_SOAPY
endif
if ENABLE_MAGICK
AM_CPPFLAGS += -DWITH_MAGICK
endif