realbasic-nug
[Top] [All Lists]

Re: OOP design question

To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
Subject: Re: OOP design question
From: dda <headspin@gmail.com>
Date: Fri, 1 Aug 2008 04:38:52 +0800
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Afc4uDYtKpAnOwvrBycz4+2xsiHd5kthzEujMo7nW5s=; b=lB6MCvVdEfkxw6mMGmT1y6X1OcXrVHfYVG1N/QkBo/N/qutlXlZ+O0IyMajH+74BkJ FZdWTZM1lDiYaVoWCKLRtMEG8MO6szmlbCqiy6YXaVOrrzkFIduQPZIOdohuy3Ah+63i BQu9n3SEVFRUUMltVL4U/hkD6l9JIoCQbKVI8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=atMKEWFrWt2WV5PTML6CZaYnb4ySCFdIsdkpxvtsdxInzP1an7zEGhy1R1idmWavc/ 6773kBXM+TiMz1Pu6F8Bv/A2a31zwiNOwxbHffjXmYx1d/7HtzQRHOsPzX6bu+Twubir Wh8jqiryXlN2KJVTaDygEU0dRCcjIz9ksDhHA=
In-reply-to: <0AEC9AD3-7422-4910-8382-4CF80C661414@edlr.fr>
References: <45482FD9-86C2-47DA-B62D-25BA4C9B3C96@edlr.fr> <BAY107-DAV7FDA9B842A0345CAC2594937C0@phx.gbl> <eb8fc1930807310740t454796aetf3ce4ac2ff4bb7b2@mail.gmail.com> <5CB127CA-0274-4854-8436-E7C6A74F2287@great-white-software.com> <C671CEC6-1EE3-4B05-8FAA-A2251F33537B@edlr.fr> <748ED1B8-C47A-4720-A704-722015C46554@great-white-software.com> <AD9A73CC-1E76-4535-B134-F4B2704FDA7C@edlr.fr> <722DEEAC-7D91-4EB3-9BE8-6E38C69264E7@great-white-software.com> <0AEC9AD3-7422-4910-8382-4CF80C661414@edlr.fr>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Basically, de-interlacing is moving lines of pixels around, right?
So all it boils down to is memory copy operations. I am sure I have
some assembly code for that somewhere... ;-)

More seriously, if you go a multicore way, as Norman suggested, you
have to tag each frame and buffer until you're done. But you don't
have to store the image as raw RGB data either... Saving as JPEG or
PNG could help. You could even have one (large) picture file for every
24 frames, 4x6 for instance, which should reduce the overall storage
size, since color information would be similar and common to all 24
images.

Then, when producing the movie, you'd just have to copy parts of the
big image. How fast *that* would be is another story...

-- 
dda

On Fri, Aug 1, 2008 at 4:23 AM, Eric de La Rochette <rblists@edlr.fr> wrote:
> So, for a PAL standard video movie we have 720*576 pixels per frame, 3 bytes
> per Pixels, 25 frames per second. So we have 1,73 GB for a minute of video,
> 45 GB for 26 minutes and 87 GB for 50 minutes. That will be funny to see at
> work !
>
> BTW, when Rb is resizing a picture (using Graphics.DrawPicture) on MAC OS X,
> is it using any anti-aliasing process ?
>
> Eric.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>