forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/media/platform/s5p-jpeg/jpeg-core.h
....@@ -1,13 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* linux/drivers/media/platform/s5p-jpeg/jpeg-core.h
23 *
34 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
45 * http://www.samsung.com
56 *
6
- * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
7
+ * Author: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
118 */
129
1310 #ifndef JPEG_CORE_H_
....@@ -153,7 +150,6 @@
153150
154151 /**
155152 * struct jpeg_fmt - driver's internal color format data
156
- * @name: format descritpion
157153 * @fourcc: the fourcc code, 0 if not applicable
158154 * @depth: number of bits per pixel
159155 * @colplanes: number of color planes (1 for packed formats)
....@@ -162,7 +158,6 @@
162158 * @flags: flags describing format applicability
163159 */
164160 struct s5p_jpeg_fmt {
165
- char *name;
166161 u32 fourcc;
167162 int depth;
168163 int colplanes;
....@@ -193,9 +188,8 @@
193188 * @sos: SOS marker's position relative to the buffer beginning
194189 * @dht: DHT markers' positions relative to the buffer beginning
195190 * @dqt: DQT markers' positions relative to the buffer beginning
196
- * @sof: SOF0 marker's postition relative to the buffer beginning
191
+ * @sof: SOF0 marker's position relative to the buffer beginning
197192 * @sof_len: SOF0 marker's payload length (without length field itself)
198
- * @components: number of image components
199193 * @size: image buffer size in bytes
200194 */
201195 struct s5p_jpeg_q_data {
....@@ -207,7 +201,6 @@
207201 struct s5p_jpeg_marker dqt;
208202 u32 sof;
209203 u32 sof_len;
210
- u32 components;
211204 u32 size;
212205 };
213206