Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: third_party/qcms/src/qcms.h

Issue 1155033003: [qcms] Add matrix transform flag and matrix extraction api (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use get_matrix in the api name. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/qcms/src/qcms.h
diff --git a/third_party/qcms/src/qcms.h b/third_party/qcms/src/qcms.h
index be747174d331e7401403c8cf2b61cc6f4a424992..178edd625665af8169303077ae09dff73ab8252a 100644
--- a/third_party/qcms/src/qcms.h
+++ b/third_party/qcms/src/qcms.h
@@ -158,11 +158,14 @@ qcms_bool qcms_profile_get_vcgt_rgb_channels(qcms_profile *profile, unsigned sho
qcms_transform* qcms_transform_create(
qcms_profile *in, qcms_data_type in_type,
- qcms_profile* out, qcms_data_type out_type,
+ qcms_profile *out, qcms_data_type out_type,
qcms_intent intent);
+qcms_bool qcms_transform_is_matrix(qcms_transform *transform);
+float qcms_transform_get_matrix(qcms_transform *transform, int i, int j);
+
qcms_bool qcms_transform_create_LUT_zyx_bgra(
- qcms_profile *in, qcms_profile* out, qcms_intent intent,
+ qcms_profile *in, qcms_profile *out, qcms_intent intent,
int samples, unsigned char* lut);
void qcms_transform_data(qcms_transform *transform, void *src, void *dest, size_t length);

Powered by Google App Engine
This is Rietveld 408576698