core, filters: Add initial version of gamma correction.
commit84a1d252db8cd13901a64caa34bf68d543c99828
authorCyril Hrubis <metan@ucw.cz>
Sun, 17 Jun 2012 13:50:38 +0000 (17 15:50 +0200)
committerCyril Hrubis <metan@ucw.cz>
Sun, 17 Jun 2012 13:50:38 +0000 (17 15:50 +0200)
treec712016659f52c46e40d34b57c648924949dbe9e
parent986b9dbf07932b754d452f84271e0a28c5bfd684
core, filters: Add initial version of gamma correction.

* This commit introduces concept of per-context per-channel
  gamma correction.

* The GP_Context structure gets a new pointer to GP_Gamma
  structure that describes gamma values and tables for
  each individual context channel.

* One of the resampling algorithms gets experimental support
  for gamma tables.
demos/spiv/spiv.c
include/core/GP_Context.h
include/core/GP_Core.h
include/core/GP_Gamma.h [new file with mode: 0644]
include/core/GP_GammaCorrection.h
include/core/GP_GammaPixel.gen.h.t [new file with mode: 0644]
include/core/Makefile
libs/core/GP_Context.c
libs/core/GP_Gamma.c [new file with mode: 0644]
libs/filters/GP_Resize.c