SHA256
1
0
forked from pool/argyllcms

Accepting request 101110 from home:kwk:branches:multimedia:color_management

- ColorHug-sensor-driver.patch: Fix function declaration to improve
  detection of 'perfect black' (via colorhug-users@googlegroups.com)

OBS-URL: https://build.opensuse.org/request/show/101110
OBS-URL: https://build.opensuse.org/package/show/multimedia:color_management/argyllcms?expand=0&rev=6
This commit is contained in:
Klaus Kämpf 2012-01-23 11:05:03 +00:00 committed by Git OBS Bridge
parent 5eac044d7c
commit 2d4a960713
2 changed files with 7 additions and 1 deletions

View File

@ -304,7 +304,7 @@ diff -wruN ../orig-Argyll_V1.3.5/spectro/colorhug.c ./spectro/colorhug.c
+}
+
+/* Converts a packed float to a double */
+static double packed_float_to_double (uint32_t pf)
+static double packed_float_to_double (int32_t pf)
+{
+ return (double) pf / (double) 0x10000;
+}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 23 10:50:19 UTC 2012 - kkaempf@suse.com
- ColorHug-sensor-driver.patch: Fix function declaration to improve
detection of 'perfect black' (via colorhug-users@googlegroups.com)
-------------------------------------------------------------------
Thu Jan 19 15:24:23 UTC 2012 - fcrozat@suse.com