You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Getz
55e13063ea
ft8: replace temporary malloc buffer with std::vector
...
Replace the temporary CRC working buffer in `LDPC::ft8_crc()` with a
`std::vector<int>`.
The vector is value-initialized, preserving the existing zero-padding
behavior, while `std::memcpy()` copies the input message into the front
of the buffer. This removes the manual `malloc()`/`free()` pair, simplifies
the implementation, and uses RAII for temporary storage.
This change also addresses a cppcheck warning about a possible null pointer
dereference following malloc() failure. If memory allocation now fails,
std::vector will throw std::bad_alloc rather than returning a null pointer
that would be dereferenced. The algorithm and behavior are otherwise
unchanged.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
5 months ago
..
CMakeLists.txt
FT8 demod: removed experimental FT4 decoder
9 months ago
arrays.cpp
FT8: add encoding support to library and added more tests
3 years ago
arrays.h
FT8: add encoding support to library and added more tests
3 years ago
fft.cpp
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
fft.h
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
fftbuffers.cpp
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
fftbuffers.h
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
ft4.cpp
FT8 demod: more code linting
9 months ago
ft4.h
FT8 demod: more code linting
9 months ago
ft8.cpp
FT8 demod: more code linting
9 months ago
ft8.h
FT8 demod: more code linting
9 months ago
ft8plan.cpp
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
ft8plan.h
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
ft8plans.cpp
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
ft8plans.h
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
ft8stats.cpp
FT8: added soft decode on magnitudes and genaralize to any number of bits per symbol
3 years ago
ft8stats.h
FT8: added soft decode on magnitudes and genaralize to any number of bits per symbol
3 years ago
ldpcgen.py
FT8: add encoding support to library and added more tests
3 years ago
libldpc.cpp
ft8: replace temporary malloc buffer with std::vector
5 months ago
libldpc.h
FT8 demod: more code linting
9 months ago
osd.cpp
FT8 demod: more code linting
9 months ago
osd.h
FT8 demod: more code linting
9 months ago
pack0.cpp
FT8: add encoding support to library and added more tests
3 years ago
pack0.h
FT8: add encoding support to library and added more tests
3 years ago
packing.cpp
Replace sprintf by snprintf wherever possible
2 years ago
packing.h
ChirpChat demod: implemented FT decoding
3 years ago
unpack0.cpp
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
unpack0.h
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
util.cpp
FT4 demod: copy original FT8 worker to FT4. Isolate AI generated classes
9 months ago
util.h
FT4 demod: copy original FT8 worker to FT4. Isolate AI generated classes
9 months ago