linux/drivers/staging/media/atomisp/pci/sh_css_metrics.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Support for Intel Camera Imaging ISP subsystem.
 * Copyright (c) 2015, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 */

#include "assert_support.h"
#include "sh_css_metrics.h"

#include "sp.h"
#include "isp.h"

#include "sh_css_internal.h"

#define MULTIPLE_PCS
#define SUSPEND
#define NOF_PCS
#define RESUME_MASK
#define STOP_MASK

static bool pc_histogram_enabled;
static struct sh_css_pc_histogram *isp_histogram;
static struct sh_css_pc_histogram *sp_histogram;

struct sh_css_metrics sh_css_metrics;

void
sh_css_metrics_start_frame(void)
{}

static void
clear_histogram(struct sh_css_pc_histogram *histogram)
{}

void
sh_css_metrics_enable_pc_histogram(bool enable)
{}

static void
make_histogram(struct sh_css_pc_histogram *histogram, unsigned int length)
{}

static void
insert_binary_metrics(struct sh_css_binary_metrics **l,
		      struct sh_css_binary_metrics *metrics)
{}

void
sh_css_metrics_start_binary(struct sh_css_binary_metrics *metrics)
{}

void
sh_css_metrics_sample_pcs(void)
{}