Jeremy Bicha [Sun, 27 Oct 2019 14:08:38 +0000 (10:08 -0400)]
Build-Depend on debhelper-compat 12 and drop debian/compat
Jeremy Bicha [Sat, 26 Oct 2019 19:34:34 +0000 (15:34 -0400)]
releasing package babl version 0.1.72-1
Jeremy Bicha [Sat, 26 Oct 2019 19:26:12 +0000 (15:26 -0400)]
Bump Standards-Version to 4.4.1
Jeremy Bicha [Sat, 26 Oct 2019 19:22:10 +0000 (15:22 -0400)]
debian/libbabl-0.1-0.symbols: Add new symbols
Simon McVittie [Wed, 23 Oct 2019 15:58:16 +0000 (16:58 +0100)]
libbabl-0.1-0.symbols: Bump all minimal versions to 0.1.72
When built with Meson, libbabl has versioned symbols. If an executable
or a dependent library has been linked to a libbabl with versioned
symbols, it will fail to load when using an older libbabl with
unversioned symbols, so we have to bump the dependency.
Jeremy Bicha [Mon, 16 Sep 2019 02:31:46 +0000 (22:31 -0400)]
Skip installing README for now
Still trying to figure out how the README build works
Jeremy Bicha [Mon, 16 Sep 2019 02:26:31 +0000 (22:26 -0400)]
Drop disable-float-to-8bit-test.patch: perhaps no longer needed
Jeremy Bicha [Mon, 16 Sep 2019 02:20:11 +0000 (22:20 -0400)]
Build with meson
Jeremy Bicha [Mon, 16 Sep 2019 02:17:11 +0000 (22:17 -0400)]
New upstream release
Jeremy Bicha [Mon, 16 Sep 2019 02:17:10 +0000 (22:17 -0400)]
Update upstream source from tag 'upstream/0.1.72'
Update to upstream version '0.1.72'
with Debian dir
8bd170b79660a4ce29d738c1d6e2db202a734b67
Jeremy Bicha [Mon, 16 Sep 2019 02:17:05 +0000 (22:17 -0400)]
New upstream version 0.1.72
Jeremy Bicha [Mon, 16 Sep 2019 02:16:28 +0000 (22:16 -0400)]
Update debian/watch
babl finally has .xz tarball releases
Øyvind Kolås [Thu, 22 Aug 2019 20:11:33 +0000 (22:11 +0200)]
release 0.1.72
Øyvind Kolås [Thu, 22 Aug 2019 20:11:20 +0000 (22:11 +0200)]
cairo: add code path from Y'A float
Øyvind Kolås [Tue, 20 Aug 2019 00:54:51 +0000 (02:54 +0200)]
babl: register gray and gray alpha shortcuts between spaces
The formats "Y float", "YA float" and "YaA float" between different RGB
and gray spaces are all exactly the same. This registers memcpy shortcuts
for these combinations for all spaces. This avoids temporarily expand
into RGBA for many babl path fishes.
Øyvind Kolås [Tue, 20 Aug 2019 00:45:24 +0000 (02:45 +0200)]
half/sse-half: register conversions for YaA as well
Øyvind Kolås [Mon, 19 Aug 2019 23:46:08 +0000 (01:46 +0200)]
float: add conversions to/from associated alpha for grayscale
Further speeds up rotations/scales etc in all grayscale precisions.
Øyvind Kolås [Mon, 19 Aug 2019 23:07:42 +0000 (01:07 +0200)]
float: add grayscale alpha and trc converters
Øyvind Kolås [Mon, 19 Aug 2019 22:19:32 +0000 (00:19 +0200)]
gray: add graya to rgba expanders
Øyvind Kolås [Mon, 19 Aug 2019 18:44:33 +0000 (20:44 +0200)]
cairo: remove on of the conversaions added in last commit
Øyvind Kolås [Mon, 19 Aug 2019 15:40:17 +0000 (17:40 +0200)]
cairo: add more little endian conversions
Ell [Mon, 19 Aug 2019 14:33:29 +0000 (17:33 +0300)]
avx2, two-table: don't segfault for NaN input
In the AVX2 and two-table linear-float => gamma-int8 conversions,
tweak the input bounds-check to handle NaN values. NaN would
previously lead to an out-of-bounds table lookup, and a segfault
(see issue #43).
Øyvind Kolås [Mon, 19 Aug 2019 10:44:19 +0000 (12:44 +0200)]
babl: add a lock around creation of new fishes
This prevents multiple threads from racing in creation of a missing fish.
Øyvind Kolås [Mon, 19 Aug 2019 01:19:39 +0000 (03:19 +0200)]
extensions: add a Y' u8 to RGBA float conversion
Øyvind Kolås [Mon, 19 Aug 2019 00:57:47 +0000 (02:57 +0200)]
extensions: add some u8 and u16 conversions for grayscale
This adds some missing end pieces for building much better than reference
conversions for many useful u8 and u16 code paths.
Øyvind Kolås [Sun, 18 Aug 2019 23:00:11 +0000 (01:00 +0200)]
babl: reduce default max path length to 3 (5)
With the space invasion progressing, we're starting to have
many more conversions to search through - in some cases
looking for conversions - when there are no conversions
become too expensive with an exhaustive search of all
conversions up to 7 steps. (it is likely possible to reduce
the amount of conversions tried).
As well re-enable handling of grayscale ICC profiles - since
the formerly patological tests on gimp now pass.
Øyvind Kolås [Sun, 18 Aug 2019 22:01:13 +0000 (00:01 +0200)]
babl: add support for grayscale spaces
A grayscale space is just like an RGB space, but has a default set
of chromaticities for R,G,B. When ICC profiles are loaded only the TRC
is considered is considered (we could also include the whitepoint),
blackpoint tag is ignored (and should be baked into the used ICC
profile instead.)
This works with GIMP-2.10 but master of GIMP currently hangs when
trying to load a grayscale jpeg with attached grayscale ICC profile,
The if #0 on line 999 of babl/babl-icc.c needs to be turned into a
1 to enable grayscale icc profiles for further testing.
Øyvind Kolås [Sun, 18 Aug 2019 19:06:33 +0000 (21:06 +0200)]
babl: use an enum to internally differentiate rgb, cmyk or gray type spaces
Øyvind Kolås [Sun, 18 Aug 2019 13:28:52 +0000 (15:28 +0200)]
docs: update alpha docs
Øyvind Kolås [Fri, 16 Aug 2019 21:45:18 +0000 (23:45 +0200)]
babl: simplify logic in babl_epsilon_for_zero
We do not need to treate positive/negative avoided infinities differently,
the result is the same as long as we are consistent, and only using the
positive epsilon value leads to slightly simpler per-pixel conversion code
in both directions.
Michael Schumacher [Sun, 4 Aug 2019 17:24:59 +0000 (19:24 +0200)]
extensions: add sse2_cflags to CIE
Fixes #42
Øyvind Kolås [Thu, 8 Aug 2019 08:55:11 +0000 (10:55 +0200)]
gir: set nsversion to 0.1
Øyvind Kolås [Thu, 8 Aug 2019 08:54:54 +0000 (10:54 +0200)]
meson: depend on meson 0.50.0
Niels De Graef [Mon, 5 Aug 2019 20:09:21 +0000 (22:09 +0200)]
ci: Add GObject introspection packages
We added GObject introspection in the previous commits, so we need to
make sure the correct binaries are installed for this.
Niels De Graef [Mon, 5 Aug 2019 19:52:27 +0000 (21:52 +0200)]
Add some GIR annotations
Niels De Graef [Mon, 5 Aug 2019 17:07:54 +0000 (19:07 +0200)]
Fix several GObject Introspection warnings
Niels De Graef [Mon, 5 Aug 2019 16:56:21 +0000 (18:56 +0200)]
Remove "Rename to" annotation
This is a deprecated gtk-doc construct, so remove it (to rename structs,
we have the identity filter now).
Niels De Graef [Mon, 5 Aug 2019 16:55:38 +0000 (18:55 +0200)]
Add GObject Introspection support to babl
This is needed for GIMP to also have proper GIR support for its plugins.
Extra thanks go to Emmanuele Bassi for the identity filter.
Øyvind Kolås [Tue, 6 Aug 2019 18:13:55 +0000 (20:13 +0200)]
babl.h: declared BablModelFlag so gobject introspection understands it
Øyvind Kolås [Tue, 6 Aug 2019 12:40:28 +0000 (14:40 +0200)]
change project description to be a bit less cryptic
Øyvind Kolås [Tue, 6 Aug 2019 12:35:01 +0000 (14:35 +0200)]
meson: move pkgconfig after subdir defining babl
Use the meson pkgconfig generator after the babl library object has
been defined.
Øyvind Kolås [Tue, 6 Aug 2019 12:06:02 +0000 (14:06 +0200)]
meson/pkgconfig: drop remnants of libdir customizations
Øyvind Kolås [Tue, 6 Aug 2019 11:46:35 +0000 (13:46 +0200)]
meson: stop overriding libdir
Let meson do it's defaults, this mean we get installed in
prefix/lib/x86_64-linux-gnu/ instead of prefix/lib/
apparently which apparently is better - but different from
what autotools used to do; and leads to other paths also
needing potential adjustment.
Øyvind Kolås [Fri, 2 Aug 2019 16:17:49 +0000 (18:17 +0200)]
post-release version bump
Øyvind Kolås [Fri, 2 Aug 2019 16:16:25 +0000 (18:16 +0200)]
relase babl 0.1.70
Øyvind Kolås [Fri, 2 Aug 2019 14:34:28 +0000 (16:34 +0200)]
meson: for issue #41 clean up cflags varials
Øyvind Kolås [Fri, 2 Aug 2019 14:29:20 +0000 (16:29 +0200)]
build: fix typo in previous attempt at fixing issue #41
Øyvind Kolås [Fri, 2 Aug 2019 13:49:23 +0000 (15:49 +0200)]
build: issue #41 set all cflags variables to empty at start
Cleaner than previous attempt, possibly fixing builds on non-x86
Øyvind Kolås [Fri, 2 Aug 2019 13:26:00 +0000 (15:26 +0200)]
build: set more of the simd_cflags when not found
Further attempt at mitigating issue #41.
Øyvind Kolås [Fri, 2 Aug 2019 11:53:44 +0000 (13:53 +0200)]
build: issue #41 builds without mmx/sse etc extensions do not work
The warnings about the SIMD flags specific variables not being set goes
away with this commit. Setting empty strings do not work since then gcc
ends up looking for input files that are the empty string, thus this patch
re-adds -Wall instead of setting an empty string.
Abderrahim Kitouni [Fri, 2 Aug 2019 04:54:26 +0000 (05:54 +0100)]
build: don't fail on unknown architecture
The autotools build ignored unknown architectures silently while the meson
build errors out. This turns the error into a warning.
Fixes #41
Abderrahim Kitouni [Fri, 2 Aug 2019 04:51:47 +0000 (05:51 +0100)]
build: use meson to find system python instead of assuming it's called python
some systems only have python3
Ell [Tue, 30 Jul 2019 17:37:18 +0000 (20:37 +0300)]
meson: fix AVX2 detection on x86
s/rax/eax/
Øyvind Kolås [Tue, 30 Jul 2019 08:03:04 +0000 (10:03 +0200)]
build: remove autogen.sh, remnants of autotools
Øyvind Kolås [Mon, 29 Jul 2019 22:24:17 +0000 (00:24 +0200)]
babl: initialize buffer pointers
This silences a false warning from gcc, where it doesn't recognize the type
of control flow occuring with the pre/post switches in the reference
conversion.
Øyvind Kolås [Mon, 29 Jul 2019 20:31:51 +0000 (22:31 +0200)]
build: remove autotools
Alexandre Prokoudine [Fri, 26 Jul 2019 13:47:02 +0000 (13:47 +0000)]
NEWS: formatting :)
Øyvind Kolås [Thu, 25 Jul 2019 13:30:47 +0000 (15:30 +0200)]
docs: fix html tag typo
Øyvind Kolås [Wed, 24 Jul 2019 16:36:26 +0000 (18:36 +0200)]
post-release version bump
Øyvind Kolås [Wed, 24 Jul 2019 16:35:58 +0000 (18:35 +0200)]
release 0.1.68
Øyvind Kolås [Thu, 25 Jul 2019 12:54:49 +0000 (14:54 +0200)]
NEWS: update
Øyvind Kolås [Thu, 25 Jul 2019 12:58:17 +0000 (14:58 +0200)]
INSTALL.in: document meson build instead of autotools build
Øyvind Kolås [Thu, 25 Jul 2019 10:29:39 +0000 (12:29 +0200)]
docs: remove duplicate files
Ell [Wed, 24 Jul 2019 20:52:08 +0000 (23:52 +0300)]
extensions: distribute avx2-int8-tables.h
Ell [Wed, 24 Jul 2019 20:24:29 +0000 (23:24 +0300)]
extensions: add AVX2 linear-float -> gamma-u8 conversions
Add AVX2 conversions from Y float, YA float, RGB float, and RGBA
float, to Y' u8, Y'A u8, R'G'B' u8, and R'G'B'A u8, respectively.
The conversions use a lookup table, similarly to the two-table
conversions, indexed using AVX2's 256-bit gather instruction, which
allow us to process 8 floats at once. Over here, this conversion
is ~5x faster than the SSE conversions.
Note, however, that unlike two-table, we don't use a second
"feedback" table to correct the result, leading to an off-by-one
conversion error with a probability of ~0.1%, using a 2^16-element
table. This error rate is low enough for babl to use the
conversion, but might still be a bit too high regardless; it can be
further reduced with a bigger table.
Ell [Wed, 24 Jul 2019 20:21:01 +0000 (23:21 +0300)]
configure.ac, meson, cpu-accel: add AVX2 detection
Detect AVX2 support during configuration and runtime, in
preperation for next commit.
Øyvind Kolås [Wed, 24 Jul 2019 16:44:47 +0000 (18:44 +0200)]
docs: remove wrong refernces to old versions
Øyvind Kolås [Wed, 24 Jul 2019 16:00:56 +0000 (18:00 +0200)]
docs: add a couple of entries to glossary
Øyvind Kolås [Wed, 24 Jul 2019 15:44:06 +0000 (17:44 +0200)]
meson: fix mistake in add_dist_script
Øyvind Kolås [Wed, 24 Jul 2019 14:23:23 +0000 (16:23 +0200)]
AUTHORS: update
Øyvind Kolås [Wed, 24 Jul 2019 14:09:48 +0000 (16:09 +0200)]
update NEWS
Øyvind Kolås [Wed, 24 Jul 2019 14:09:01 +0000 (16:09 +0200)]
HCY: convert luminance relative to RGB chromaticities
Øyvind Kolås [Wed, 24 Jul 2019 14:07:11 +0000 (16:07 +0200)]
docs: add OldNews page
Øyvind Kolås [Wed, 24 Jul 2019 13:28:59 +0000 (15:28 +0200)]
extensions/HSL: add model doc string
Øyvind Kolås [Wed, 24 Jul 2019 13:28:38 +0000 (15:28 +0200)]
extensions/HSV: update model docs
Félix Piédallu [Wed, 24 Jul 2019 11:35:26 +0000 (13:35 +0200)]
force generate git-version.h before copying
Øyvind Kolås [Wed, 24 Jul 2019 11:49:08 +0000 (13:49 +0200)]
build (docs): add Glossary.html to BUILT_EXTRA_DIST
Øyvind Kolås [Wed, 24 Jul 2019 11:39:01 +0000 (13:39 +0200)]
meson: require meson version 0.49.0
Øyvind Kolås [Wed, 24 Jul 2019 09:47:33 +0000 (11:47 +0200)]
extensions/HSV: add documentation for model
Félix Piédallu [Wed, 24 Jul 2019 10:58:54 +0000 (12:58 +0200)]
Fix git-version.h handling
Ell [Wed, 24 Jul 2019 04:58:00 +0000 (07:58 +0300)]
configure.ac: clean up SSE config
Øyvind Kolås [Tue, 23 Jul 2019 09:13:20 +0000 (11:13 +0200)]
docs: start adding a glossary
Øyvind Kolås [Mon, 22 Jul 2019 22:59:48 +0000 (00:59 +0200)]
docs: refer to Y in generated reference as Luminance
Øyvind Kolås [Mon, 22 Jul 2019 20:37:58 +0000 (22:37 +0200)]
babl-space: do not use universal rgb sse converter for non-sse path
Øyvind Kolås [Mon, 22 Jul 2019 15:25:26 +0000 (17:25 +0200)]
docs: s/git.gnome.org/gitlab.gnome.org/
Øyvind Kolås [Mon, 22 Jul 2019 15:20:37 +0000 (17:20 +0200)]
extensions/CIE: add some documentation overrides
Øyvind Kolås [Mon, 22 Jul 2019 15:10:08 +0000 (17:10 +0200)]
docs: improve generated reference
When registering types, models, formats and components one can now
specify override "doc" strings that end up in this reference.
Øyvind Kolås [Mon, 22 Jul 2019 14:11:07 +0000 (16:11 +0200)]
docs: update meson.build
Øyvind Kolås [Mon, 22 Jul 2019 14:10:02 +0000 (16:10 +0200)]
docs: dist Reference.html
Øyvind Kolås [Mon, 22 Jul 2019 13:59:23 +0000 (15:59 +0200)]
docs: rename vocabulary page to reference
Øyvind Kolås [Mon, 22 Jul 2019 13:49:51 +0000 (15:49 +0200)]
base: s/premultiplied/associated_alpha/
Øyvind Kolås [Mon, 22 Jul 2019 13:44:58 +0000 (15:44 +0200)]
extensions/sse2-float: s/premul/assoc/ in function names
Øyvind Kolås [Mon, 22 Jul 2019 13:44:46 +0000 (15:44 +0200)]
extensions/gimp-8bit: s/premul/assoc/ in function names
Øyvind Kolås [Mon, 22 Jul 2019 13:44:30 +0000 (15:44 +0200)]
extensions/cairo: s/premul/assoc/ in function names
Øyvind Kolås [Mon, 22 Jul 2019 13:29:33 +0000 (15:29 +0200)]
babl: replace premultiplied with associated in BablModelFlags
The terminology that babl has settled for - for the different types
of alpha is associated- and separate- alpha.
Øyvind Kolås [Mon, 22 Jul 2019 12:39:52 +0000 (14:39 +0200)]
docs: improve the generated reference
Øyvind Kolås [Mon, 22 Jul 2019 02:41:50 +0000 (04:41 +0200)]
meson: adapt to changes in docs build
Øyvind Kolås [Mon, 22 Jul 2019 02:06:26 +0000 (04:06 +0200)]
docs: add separate pages for CMYK, ColorManagement and alpha
Øyvind Kolås [Mon, 22 Jul 2019 01:40:42 +0000 (03:40 +0200)]
docs: remove reference to non-existing file build-docs.sh
Øyvind Kolås [Mon, 22 Jul 2019 01:22:11 +0000 (03:22 +0200)]
babl-space: add universal convertors between linear and nonlinear
Register conversions for all space pairs between "R'G'B'A float" and
"RGBA float" and vice versa, both SSE2 and non SIMD versions.