aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-23add README.md (for gitea / github and the like)HEADmasterHarald Welte1-0/+45
2023-08-26fosphor/cl: Fix init type in cl_queue_clear_buffersSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-08-26fosphor/axis: Fix warning in printf about possible buffer overrunSylvain Munaut1-3/+3
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-08-26fosphor/gl_cmap_gen: Introduce a new 'prog' colormapSylvain Munaut2-0/+54
This color map was originally given to me by 'prog', the sdr# author, then I tweaked it a bit. Note that there is currently no way to select it other than changing the code. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-08-26fosphor/gl_cmap_gen: Add new function to generate GL colormap from a PNGSylvain Munaut5-2/+116
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2023-08-26gr-fosphor: Add the overlap blockSylvain Munaut11-1/+240
This will probably be integrated as part of fosphor itself. But until it is, then this block is useful to overlap several FFT windows. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Add 3.9 as supported version in MANIFESTSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Add pybind11 bindingsSylvain Munaut8-1/+317
Part of the GNURadio 3.9 transition Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Use window type constant from gr:fft:window and not firdesSylvain Munaut2-6/+6
Part of GNURadio 3.9 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Switch to std::shared_ptr instead of boost::shared_ptrSylvain Munaut2-2/+2
Part of GNURadio 3.9 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Update main CMakeLists with 3.9 requirements/styleSylvain Munaut1-6/+17
Part of GNURadio 3.9 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Remove all SWIG stuffSylvain Munaut7-87/+3
Part of GNURadio 3.9 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Update the whole Doxygen setupSylvain Munaut16-2140/+177
Just taken from gr_modtool ... Part of GNURadio 3.9 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Update all copyright notices headersSylvain Munaut23-334/+69
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08fosphor: Update all copyright notices headersSylvain Munaut26-364/+52
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08gr-fosphor: Use #pragma once instead of old guard styleSylvain Munaut9-48/+9
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-01-08fosphor: Use #pragma once instead of old guard styleSylvain Munaut12-48/+12
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31gr-fosphor: Set default visibility to falsegr3.8Sylvain Munaut2-1/+2
We're hidden by default. For Qt we'll get an expose event the first time we're shown. Needed because we might be hidden by default (like in a tab chooser) and this would create problems if we consider ourselves shown by default. And for GLFW we consider ourself visible after the first reshape, which is forced at init. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31gr-fosphor: Add 'freq' message port sending the frequency a user clickedSylvain Munaut9-1/+86
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31fosphor: Add position mapping helpers for {x,y} <-> {freq,pwr,samp}Sylvain Munaut2-0/+122
This allows to know an application to know where the user clicked Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31gr-fosphor: Update zoom function to the new {center,span} specSylvain Munaut1-7/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31fosphor: Review the GL frequency mapping and switch zoom to {center,span}Sylvain Munaut4-44/+37
Previously we were hiding the extrema bin, now we display it "half" on each side which sort of maps better to the concept of circular spectrum At the same time we move the zoom spec to {center,span} rather than {start,stop} since it makes more sense and matches the channel specs Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-01-31fosphor/cl: Remove spurious debug fprintfSylvain Munaut1-1/+0
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/build: Update all CMake filesSylvain Munaut8-429/+141
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/build: Update CMakeLists.txt copyright headerSylvain Munaut9-36/+36
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fopshor/docs: Misc cleanup in Doxyfile.inSylvain Munaut1-15/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/docs: Update docs template to the latest from GNURadioSylvain Munaut16-349/+928
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/build: Remove GNURadio cmake modulesSylvain Munaut9-1576/+0
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/grc: Convert GRC blocks to YAML for 3.8Sylvain Munaut6-166/+118
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fopshor: Remove WX supportSylvain Munaut13-494/+0
This doesn't exist anymore in 3.8 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08fosphor: Convert mkresources to Python 3Sylvain Munaut1-13/+14
Py3 only ... upgrade your system folks ! Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/qt: Qt5 - Track visibility of the widgetgr3.7-qt5Sylvain Munaut2-0/+15
When not visible, doing GL operations is not supported Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/qt: Qt5 - Associate GL context to the worker threadSylvain Munaut4-6/+48
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor/qt: Qt5 - Switch to linking to Qt5Sylvain Munaut4-158/+13
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor: Add concept of visibility to the base block implementationSylvain Munaut3-13/+36
If we're not visible, don't do any GL calls Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor: Missing namespace for thread::mutexgr3.7Sylvain Munaut1-1/+1
For consistency ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor: Fix block name for QT sinkSylvain Munaut1-1/+1
Obvious typo is obvious. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08gr-fosphor: Indent (tab/space) fixesSylvain Munaut2-13/+13
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08fosphor/cl: Make sure to unlocking the GL objects during CL releaseSylvain Munaut1-0/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08fosphor/cl: Declare the target OpenCL version to avoid warningSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08fosphor/cl: Display all devices and allow selection with env varSylvain Munaut1-6/+19
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08fosphor/cl: Check for image support when filtering CL devicesSylvain Munaut1-0/+12
Thanks to Ethan Trewhitt for original patch Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08fosphor/gl: Fix memory leak when releasing color mapSylvain Munaut1-0/+3
Thanks to Emil Berg for reporting Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-11-30fosphor/gl: Remove redundant initial clear of buffersSylvain Munaut1-7/+3
The buffers will end up being initialized from the CL result anyway. (and CL has its own clear). Apparently the clear of the VBO was causing CL/GL share failur on recent NVidia driver so get rid of all of it. Thanks a lot to Aaron Giles <gilesam73@gmail.com> for finding the root cause of the issue. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-11-30fosphor/cl: Fix return type/value of cl_queue_clear_buffersSylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-11-30fosphor/cl: Cleanup shared object lock/unlocking code pathsSylvain Munaut1-21/+25
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22fosphor/gl_font: Don't use the format __attribute__ when using MSVCSylvain Munaut1-1/+7
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22gr-fosphor: On WIN32 platform, link and use GLEW to find GL extensionsSylvain Munaut3-0/+69
The FindGLEW is included because it seems the one shipping by CMake by default fails to find it on windows (which is the only platform where we use it ...) This is based on a patch from Geof Nieboer <gnieboer@corpcomm.net> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22gr-fosphor: Improve cleanup path of the worker thread in case of init failSylvain Munaut1-3/+10
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-05-22gr-fosphor: Minor tweaks to FindGLFW3Sylvain Munaut1-9/+5
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>