.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* linux/drivers/media/platform/s5p-jpeg/jpeg-core.h |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. |
---|
4 | 5 | * http://www.samsung.com |
---|
5 | 6 | * |
---|
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> |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #ifndef JPEG_CORE_H_ |
---|
.. | .. |
---|
153 | 150 | |
---|
154 | 151 | /** |
---|
155 | 152 | * struct jpeg_fmt - driver's internal color format data |
---|
156 | | - * @name: format descritpion |
---|
157 | 153 | * @fourcc: the fourcc code, 0 if not applicable |
---|
158 | 154 | * @depth: number of bits per pixel |
---|
159 | 155 | * @colplanes: number of color planes (1 for packed formats) |
---|
.. | .. |
---|
162 | 158 | * @flags: flags describing format applicability |
---|
163 | 159 | */ |
---|
164 | 160 | struct s5p_jpeg_fmt { |
---|
165 | | - char *name; |
---|
166 | 161 | u32 fourcc; |
---|
167 | 162 | int depth; |
---|
168 | 163 | int colplanes; |
---|
.. | .. |
---|
193 | 188 | * @sos: SOS marker's position relative to the buffer beginning |
---|
194 | 189 | * @dht: DHT markers' positions relative to the buffer beginning |
---|
195 | 190 | * @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 |
---|
197 | 192 | * @sof_len: SOF0 marker's payload length (without length field itself) |
---|
198 | | - * @components: number of image components |
---|
199 | 193 | * @size: image buffer size in bytes |
---|
200 | 194 | */ |
---|
201 | 195 | struct s5p_jpeg_q_data { |
---|
.. | .. |
---|
207 | 201 | struct s5p_jpeg_marker dqt; |
---|
208 | 202 | u32 sof; |
---|
209 | 203 | u32 sof_len; |
---|
210 | | - u32 components; |
---|
211 | 204 | u32 size; |
---|
212 | 205 | }; |
---|
213 | 206 | |
---|