tests/color_util: prettify arr_curves
Fix up whitespace and document what this array is for. For the sake of slightly better readability. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
committed by
Pekka Paalanen
parent
8adbd3d802
commit
6fa7ab5d5f
+1
-1
@@ -50,6 +50,7 @@ struct color_tone_curve {
|
|||||||
double param[5];
|
double param[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Mapping from enum transfer_fn to LittleCMS curve parameters. */
|
||||||
const struct color_tone_curve arr_curves[] = {
|
const struct color_tone_curve arr_curves[] = {
|
||||||
{
|
{
|
||||||
.fn = TRANSFER_FN_SRGB_EOTF,
|
.fn = TRANSFER_FN_SRGB_EOTF,
|
||||||
@@ -69,7 +70,6 @@ const struct color_tone_curve arr_curves[] = {
|
|||||||
.internal_type = 1,
|
.internal_type = 1,
|
||||||
.param = { 2.4, 0.0, 0.0, 0.0 , 0.0 },
|
.param = { 2.4, 0.0, 0.0, 0.0 , 0.0 },
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|||||||
Reference in New Issue
Block a user