🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1457

Re: quick data copy between objects

#1457
From: Damon Chandler (TeamB)
Date: Fri, 03 Aug 2007 09:48
27 lines
2191 bytes
Robert,

JPEG compression does a great job of exploiting spatial redundancy: 
Neighboring pixels in space tend to be similar in value.  However, as 
others have mentioned, to be efficient, you need to also exploit the 
temporal redundancy in the data:  Neighboring pixels in time also tend 
to be similar in value (even more so than across space).  Your best bet 
would be to use a video compression algorithm for this, one which 
ideally uses motion-compensated prediction to track objects (and moving 
objects) across time.

I know Malcolm Smith does video transmission with BCB--it might be worth 
dropping him a line to see if he has any advice regarding turnkey 
solutions (his contact info is available at http://www.mjfreelancing.com).

Best of luck,
--
Damon Chandler (TeamB)
C++Builder Developer's Journal
http://bcbjournal.com
http://bcbjournal.org


Robert G. Hoover wrote:
> I've got a timing/performance need... I'm trying to capture the screen as BMP,
> compress to JPG, then send over a TCustomWinSocket. I'm afraid it just takes too
> long... :(  Here's what I've got going on...
Technical Details
Message-ID: <46b2f9cc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46b0f5c4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2f02e67f1be3ea63
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 03 Aug 2007 04:48:11 -0500
From: "Damon Chandler (TeamB)" <editor@NOSPAM.bcbjournal.com>
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: quick data copy between objects
References: <46b0f5c4$1@newsgroups.borland.com>
In-Reply-To: <46b0f5c4$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 139.78.77.231
Message-ID: <46b2f9cc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1186134476 139.78.77.231 (3 Aug 2007 02:47:56 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail