linux/drivers/media/platform/ti/vpe/csc.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Color space converter library
 *
 * Copyright (c) 2013 Texas Instruments Inc.
 *
 * David Griego, <[email protected]>
 * Dale Farnsworth, <[email protected]>
 * Archit Taneja, <[email protected]>
 */

#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>

#include "csc.h"

/*
 * 12 coefficients in the order:
 * a0, b0, c0, a1, b1, c1, a2, b2, c2, d0, d1, d2
 */
struct quantization {};

struct colorspace {};

struct encoding_direction {};

struct csc_coeffs {};

/* default colorspace coefficients */
static struct csc_coeffs csc_coeffs =;

void csc_dump_regs(struct csc_data *csc)
{}
EXPORT_SYMBOL();

void csc_set_coeff_bypass(struct csc_data *csc, u32 *csc_reg5)
{}
EXPORT_SYMBOL();

/*
 * set the color space converter coefficient shadow register values
 */
void csc_set_coeff(struct csc_data *csc, u32 *csc_reg0,
		   struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt)
{}
EXPORT_SYMBOL();

struct csc_data *csc_create(struct platform_device *pdev, const char *res_name)
{}
EXPORT_SYMBOL();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();