realbasic-nug
[Top] [All Lists]

Re: OOP design question

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: OOP design question
From: Eric de La Rochette <rblists@edlr.fr>
Date: Fri, 1 Aug 2008 01:18:34 +0200
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
Delivered-to: listarchive@realsoftware.com
In-reply-to: <eb8fc1930807311338r146fc5f0q787f8573afa58dba@mail.gmail.com>
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> <eb8fc1930807311338r146fc5f0q787f8573afa58dba@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

Le 31 juil. 08 à 22:38, dda a écrit :

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... ;-)

It's not that simple. What I'm trying to do here is to deinterlace video pictures and yet kept the more details I can. These Pictures have been shot in DigitalBetacam (Currently the topmost recording format in Standard Definition video). Then digitized to disk in an uncompressed format. And will then be compressed in various format depending on your clients request. The simplest/fatest way to deinterlace is to remove the odd/even lines of pixels and replace them by the upper or lower remaining lines. For pictures that does not include any graphics or special effects, one's eyes can't barely see the difference if they aren't trained to picture quality control. But when it comes to titles and GFX (Or even charts !), the result is just not acceptable. That's why I need to interpolate the details I removed, and keep the image uncompressed all along the process. But for a 50 minutes movie, wich is more or less the standard duration for us, we will have 87 GB for the original, 87 GB for the Spool and 87 GB for the output. It's just 'Gargantuesque' ! (Hugely huge !!!)

But as I'm writing these lines, I tought of a new solution. Processed the pictures in small chunk of data. When the chunk is processed, insert it in the output movie. Commit to the output file. Delete the chunk. start to process a new chunk. It sounds more efficient to me. And if ever the machine crashed, I will just have to restart from the last saved position. I'll try it tomorrow.

Good night or good evening to all of you.

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>