babl r250 - in trunk: . babl



Author: ok
Date: 2007-11-13 00:05:46 +0000 (Tue, 13 Nov 2007)
New Revision: 250
ViewCVS link: http://svn.gnome.org/viewcvs/babl?rev=250&view=rev

Modified:
   trunk/ChangeLog
   trunk/babl/babl-db.c
   trunk/babl/babl-db.h
   trunk/babl/babl-fish.c
Log:
* babl/babl-fish.c: (go_fishing): optimized fishing when looking
up existing fish (should perhaps be moved to lists going from given
formats, similar to how conversions are added there instead.) Made
go_fishing accept BABL_FISH_REFERENCE when source and desintation
formats are equal.
(babl_fish_process): removed most of the need for BablImage for
linear buffers, do a memcpy when source and destination formats
are equal (and we're a BABL_FISH_REFERENCE).
* babl/babl-db.[ch]: moved the BablDb struct out into public to
allow faster iteration through it.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]