comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier write-only <gautier_niouzes@hotmail.com>
Subject: Re: A generic image decoder - specification design
Date: Mon, 3 May 2010 05:18:05 -0700 (PDT)
Date: 2010-05-03T05:18:05-07:00	[thread overview]
Message-ID: <e0c3b543-f354-4a87-a5e4-1eebc9f7e383@37g2000yqm.googlegroups.com> (raw)
In-Reply-To: hrl07o$5er$1@speranza.aioe.org

On May 3, 1:01 am, tmo...@acm.org wrote:

> Generic handling at the pixel level will surely be slower than direct
> coding that knows what it's operating on, and that will be an issue
> if there's any significant pixel level processing.
Not necessarily if the generics are properly inlined (perhaps you are
thinking of shared generics).
The range of primary colors is now a generic parameter too. So there
will be tests like "if Color_Range'Last=255 then..." which will be
resolved at compile-time by smart compilers.

[...]
> But is your package aimed more at processing images, or at doing IO on
> the myriad file formats of images?
Only decoding images of various formats, that's all!
> And how about video?
This is not excluded. Probably I'll add an out parameter,
time_of_next_frame, to the Load_image_contents procedure.
_________________________________________________________
Gautier's Ada programming -- http://sf.net/users/gdemont/
NB: For a direct answer, e-mail address on the following web site:
http://www.fechtenafz.ethz.ch/wm_email.htm



  reply	other threads:[~2010-05-03 12:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01 17:03 A generic image decoder - specification design Gautier write-only
2010-05-01 20:30 ` Gautier write-only
2010-05-02  9:19   ` Andre
2010-05-02 10:48     ` RasikaSrinivasan@gmail.com
2010-05-02 15:09     ` Gautier write-only
2010-05-02 15:21       ` Dmitry A. Kazakov
2010-05-02 19:21         ` Gautier write-only
2010-05-02 11:45 ` brian
2010-05-02 15:15   ` Gautier write-only
2010-05-02 19:24   ` Gautier write-only
2010-05-02 22:07     ` Brian Drummond
2010-05-02 23:01       ` tmoran
2010-05-03 12:18         ` Gautier write-only [this message]
2010-05-05 21:07 ` A generic image decoder - first preview! Gautier write-only
2010-05-24 20:51 ` A generic image decoder - specification design Stephen Sangwine
2010-05-24 21:42   ` Gautier write-only
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox