summaryrefslogtreecommitdiffstats
path: root/third_party/qcms
diff options
context:
space:
mode:
authornoel <noel@chromium.org>2015-10-09 05:18:08 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-09 12:19:05 +0000
commitd202bccc6c61c6eb2c0980bc30e210fe29b36d7f (patch)
tree6449388cbaa42b13520b74b01ed7184f8649fea4 /third_party/qcms
parent05b9c617a6cb894ed31ddda136baccdac7c2a699 (diff)
downloadchromium_src-d202bccc6c61c6eb2c0980bc30e210fe29b36d7f.zip
chromium_src-d202bccc6c61c6eb2c0980bc30e210fe29b36d7f.tar.gz
chromium_src-d202bccc6c61c6eb2c0980bc30e210fe29b36d7f.tar.bz2
[qcms] Remove unsued tetra clut transform variables
Minor cleanup: after the transform cache prelude work (on issue 506607) these local variables are no longer used by the code: remove them. BUG=532910 Review URL: https://codereview.chromium.org/1395483003 Cr-Commit-Position: refs/heads/master@{#353270}
Diffstat (limited to 'third_party/qcms')
-rw-r--r--third_party/qcms/src/transform.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/third_party/qcms/src/transform.c b/third_party/qcms/src/transform.c
index 2369526..f3bc849 100644
--- a/third_party/qcms/src/transform.c
+++ b/third_party/qcms/src/transform.c
@@ -540,8 +540,6 @@ void qcms_transform_data_tetra_clut_rgba(qcms_transform *transform, unsigned cha
unsigned char in_b = *src++;
unsigned char in_a = *src++;
- float linear_r = in_r/255.0f, linear_g=in_g/255.0f, linear_b = in_b/255.0f;
-
int x = transform->floor_cache[in_r];
int y = transform->floor_cache[in_g];
int z = transform->floor_cache[in_b];
@@ -666,8 +664,6 @@ static void qcms_transform_data_tetra_clut(qcms_transform *transform, unsigned c
unsigned char in_g = *src++;
unsigned char in_b = *src++;
- float linear_r = in_r/255.0f, linear_g=in_g/255.0f, linear_b = in_b/255.0f;
-
int x = transform->floor_cache[in_r];
int y = transform->floor_cache[in_g];
int z = transform->floor_cache[in_b];