realbasic-nug
[Top] [All Lists]

OOP design question

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: OOP design question
From: Eric de La Rochette <rblists@edlr.fr>
Date: Thu, 31 Jul 2008 15:01:21 +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
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Hi there,

I'm currently trying to implement a video image deinterlacing process. After a short brainstorm I came out with to solutions.

1/ Handling this from the movie point of view only.
I subclass a thread and then put all the deinterlace process inside.

2/ Splitting this in two classes.
I create a 'deinterlacer' class that handles the deinterlacing of a picture and send it back to the caller. I subclass a thread that extracts the picture one by one and send it to the deinterlacer to process it.

What I currently need is the most efficient balance beetween speed of process and maintanability of the code as I will need to refine the deinterlace process in the future and may be rewrite the thread code if enhancements have been done the the built-in thread model ;-)....

My guess at this point is that the solution #2 would provide the best balance, but I'm also wondering if the solution #1 will really be tricky to maintain.

Am I correct ?

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>