mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-31 18:49:15 -04:00
Minor Replay & GPS baseband optimizations (#1289)
* No need to scale progress now that widget is fixed * Use memcpy vs byte copy, elim progress scaling, correct comments * Minor optimization in C16->C8 conversion * Only copy bytes actually read from file
This commit is contained in:
parent
2af95456a2
commit
8eafe27955
3 changed files with 20 additions and 21 deletions
|
@ -59,7 +59,7 @@ void ReplayProcessor::execute(const buffer_c8_t& buffer) {
|
|||
|
||||
// Fill and "stretch"
|
||||
for (size_t i = 0; i < buffer.count; i++) {
|
||||
if (i & 3) {
|
||||
if (i & 7) {
|
||||
buffer.p[i] = buffer.p[i - 1];
|
||||
} else {
|
||||
auto re_out = iq_buffer.p[i >> 3].real() >> 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue