hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/media/platform/ti-vpe/csc.h
....@@ -1,13 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2013 Texas Instruments Inc.
34 *
45 * David Griego, <dagriego@biglakesoftware.com>
56 * Dale Farnsworth, <dale@farnsworth.org>
67 * 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.
118 */
129 #ifndef TI_CSC_H
1310 #define TI_CSC_H
....@@ -61,8 +58,8 @@
6158 void csc_dump_regs(struct csc_data *csc);
6259 void csc_set_coeff_bypass(struct csc_data *csc, u32 *csc_reg5);
6360 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
+
6663 struct csc_data *csc_create(struct platform_device *pdev, const char *res_name);
6764
6865 #endif