aboutsummaryrefslogtreecommitdiffstats
path: root/src/colorramp.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-12-06 15:02:29 -0500
committerJon Lund Steffensen <jonlst@gmail.com>2014-12-15 20:31:03 -0500
commitb2fb992757aa42f6b06ee785d7cbef74e2520caf (patch)
tree6b2f5ac9a7c62a5c8ba263b14bce0d0854b77ae8 /src/colorramp.h
parentMerge pull request #145 from jonls/appdata-xml (diff)
downloadredshift-ng-b2fb992757aa42f6b06ee785d7cbef74e2520caf.tar.gz
redshift-ng-b2fb992757aa42f6b06ee785d7cbef74e2520caf.tar.bz2
redshift-ng-b2fb992757aa42f6b06ee785d7cbef74e2520caf.tar.xz
colorramp: Add float-typed colorramp_fill() equivalent
Diffstat (limited to 'src/colorramp.h')
-rw-r--r--src/colorramp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/colorramp.h b/src/colorramp.h
index dd0fa97..f8df478 100644
--- a/src/colorramp.h
+++ b/src/colorramp.h
@@ -14,7 +14,7 @@
You should have received a copy of the GNU General Public License
along with Redshift. If not, see <http://www.gnu.org/licenses/>.
- Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com>
+ Copyright (c) 2010-2014 Jon Lund Steffensen <jonlst@gmail.com>
*/
#ifndef REDSHIFT_COLORRAMP_H
@@ -24,5 +24,8 @@
void colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b,
int size, int temp, float brightness, const float gamma[3]);
+void colorramp_fill_float(float *gamma_r, float *gamma_g, float *gamma_b,
+ int size, int temp, float brightness,
+ const float gamma[3]);
#endif /* ! REDSHIFT_COLORRAMP_H */