Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #541128
| From | Tauno Voipio <tauno.voipio@notused.fi.invalid> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Video data compression for serial link |
| Date | 2019-04-29 14:16 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <qa6met$pjj$1@dont-email.me> (permalink) |
| References | <XVmxE.157951$bA.69332@fx26.iad> <qa5284$8h4$1@reader2.panix.com> <J4oxE.117925$MC6.32863@fx16.iad> |
On 28.4.19 23:31, bitrex wrote: > On 4/28/19 4:25 PM, Hul Tytus wrote: >> switch from 2 byte parcels with 10 bits of data to 4 byte parcels with 3 >> 10 bit data words? be fast as possible with a buffer at the reciever? >> >> Hul > > the uP is 32 bit so working with the native word-width packets seems > like a prudent optimization to start with > >> bitrex <user@example.net> wrote: >>> I have a client who needs to send 10 bit greyscale video data >>> over a serial link from a PC to an ARM Cortex uP. Right now just using a >>> KISS implementation, constant-overhead-byte-stuffing protocol, two bytes >>> per value, with a simple CRC-type checksum appended to each scanline the >>> link needs to be around 384kbps to support the amount of >>> data required to transmit. >> >>> the hardware is on-paper capable of that but in practice the lash up is >>> unstable, there's a bottleneck somewhere, most likely on the PC side as >>> it's not a "real" hardware serial port but virtualized via USB and it >>> has to go thru all the multiple layers of abstraction from the >>> application until it finally gets spit out; the application code isn't >>> even complied it's from a scripting language. >> >>> Using compiled C/C++ that can do system calls directly will probably >>> help but I'm also looking for ways to compress the serial stream >>> bandwidth. For 10 bit greyscale data I was thinking that just something >>> like u-law or A-law encoding could significantly reduce the bandwidth >>> without resorting to more compute-intensive bespoke video compression >>> algorithms. Primary requirement is that the link needs to be very >>> fault-tolerant and reliable for long term operation I'm running a 1 Mbit/s bit-stuffed serial link between two AT91SAM4 Cortex-M4 processors. The processors are doing other activities besides running the link, which bridges Ethernet frames. I suspect that the only interface on the PC guaranteed to be fast enough is the network connection. The PC software is notoriously excellent in losing serial link speed. -- -TV
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Video data compression for serial link bitrex <user@example.net> - 2019-04-28 15:11 -0400
Re: Video data compression for serial link whit3rd <whit3rd@gmail.com> - 2019-04-28 13:12 -0700
Re: Video data compression for serial link Hul Tytus <ht@panix.com> - 2019-04-28 20:25 +0000
Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-28 16:31 -0400
Re: Video data compression for serial link Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-04-29 14:16 +0300
Re: Video data compression for serial link gnuarm.deletethisbit@gmail.com - 2019-04-29 04:10 -0700
Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-29 13:04 -0400
Re: Video data compression for serial link Joe Chisolm <jchisolm6@earthlink.net> - 2019-04-29 13:20 -0500
Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-04-29 11:21 -0700
Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-29 18:56 +0000
Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-29 19:13 +0000
Re: Video data compression for serial link Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-04-29 22:41 +0300
Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 00:53 +0000
Re: Video data compression for serial link Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-04-30 10:24 +0300
Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 09:59 +0000
Re: Video data compression for serial link Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-08 17:59 -0700
Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-05-09 10:42 -0700
Re: Video data compression for serial link upsidedown@downunder.com - 2019-05-09 06:56 +0300
Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-04-29 12:58 -0700
Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-29 16:33 -0400
Re: Video data compression for serial link dplatt@coop.radagast.org (Dave Platt) - 2019-04-30 18:02 -0700
Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-30 21:13 -0400
Re: Video data compression for serial link Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-04-30 18:32 -0700
Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 00:59 +0000
Re: Video data compression for serial link Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-04-29 18:27 -0700
Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-04-30 10:22 +0100
Re: Video data compression for serial link bitrex <user@example.net> - 2019-04-30 12:20 -0400
Re: Video data compression for serial link upsidedown@downunder.com - 2019-04-30 20:19 +0300
Re: Video data compression for serial link DecadentLinuxUserNumeroUno@decadence.org - 2019-04-30 22:04 +0000
Re: Video data compression for serial link whit3rd <whit3rd@gmail.com> - 2019-04-30 16:30 -0700
Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-01 08:49 +0100
Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-01 10:28 -0400
Re: Video data compression for serial link upsidedown@downunder.com - 2019-04-30 13:50 +0300
Re: Video data compression for serial link david eather <eatDELETEher@tpg.com.au> - 2019-05-01 13:45 +1000
Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-08 16:57 -0400
Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-08 22:22 +0100
Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-08 22:09 -0400
Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-08 22:11 -0400
Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-09 08:44 +0100
Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-09 10:41 -0400
Re: Video data compression for serial link bitrex <user@example.net> - 2019-05-09 10:52 -0400
Re: Video data compression for serial link david eather <eatDELETEher@tpg.com.au> - 2019-05-10 14:30 +1000
Re: Video data compression for serial link jrwalliker@gmail.com - 2019-05-10 04:30 -0700
Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-14 11:17 +0100
Re: Video data compression for serial link upsidedown@downunder.com - 2019-05-14 14:51 +0300
Re: Video data compression for serial link Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-05-14 13:45 +0100
csiph-web