chromium/third_party/qcms/src/tests/qcms_test_internal_srgb.c

// 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 "qcms.h"
#include "qcms_test_util.h"

#include <assert.h>
#include <math.h> // sqrt
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>

#ifndef DISPLAY_DEVICE_PROFILE
#define DISPLAY_DEVICE_PROFILE
#endif

// D50 adapted color primaries of the internal sRGB color profile.
static s15Fixed16Number sRGB_reference[3][3] =;

// Reference media white point of the sRGB IEC61966-2.1 color profile.
static struct XYZNumber D65 =;

static void check_profile_description(qcms_profile *profile)
{}

static void check_profile_pcs_white_point(const qcms_profile *profile)
{}

static void check_profile_media_white_point(const qcms_profile *profile)
{}

static s15Fixed16Number check_profile_primaries(const qcms_profile *profile)
{}

static int qcms_test_internal_srgb(size_t width,
        size_t height,
        int iterations,
        const char *in_path,
        const char *out_path,
        const int force_software)
{}

struct qcms_test_case qcms_test_internal_srgb_info =;