// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "qcmsint.h" #include <math.h> qcms_coords; qcms_triangle; #define NTSC_1953_GAMUT_SIZE … static qcms_triangle get_profile_triangle(qcms_profile *profile) { … } static float get_triangle_area(const qcms_triangle candidate) { … } static float get_ntsc_gamut_metric_area(const qcms_triangle candidate) { … } float qcms_profile_ntsc_relative_gamut_size(qcms_profile *profile) { … }