| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2013 Texas Instruments Inc. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * David Griego, <dagriego@biglakesoftware.com> |
|---|
| 5 | 6 | * Dale Farnsworth, <dale@farnsworth.org> |
|---|
| 6 | 7 | * Archit Taneja, <archit@ti.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 9 | | - * under the terms of the GNU General Public License version 2 as published by |
|---|
| 10 | | - * the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | #ifndef TI_CSC_H |
|---|
| 13 | 10 | #define TI_CSC_H |
|---|
| .. | .. |
|---|
| 61 | 58 | void csc_dump_regs(struct csc_data *csc); |
|---|
| 62 | 59 | void csc_set_coeff_bypass(struct csc_data *csc, u32 *csc_reg5); |
|---|
| 63 | 60 | void csc_set_coeff(struct csc_data *csc, u32 *csc_reg0, |
|---|
| 64 | | - enum v4l2_colorspace src_colorspace, |
|---|
| 65 | | - enum v4l2_colorspace dst_colorspace); |
|---|
| 61 | + struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt); |
|---|
| 62 | + |
|---|
| 66 | 63 | struct csc_data *csc_create(struct platform_device *pdev, const char *res_name); |
|---|
| 67 | 64 | |
|---|
| 68 | 65 | #endif |
|---|