18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/* Linux driver for Philips webcam
38c2ecf20Sopenharmony_ci   (C) 2004-2006 Luc Saillard (luc@saillard.org)
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci   NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
68c2ecf20Sopenharmony_ci   driver and thus may have bugs that are not present in the original version.
78c2ecf20Sopenharmony_ci   Please send bug reports and support requests to <luc@saillard.org>.
88c2ecf20Sopenharmony_ci   The decompression routines have been implemented by reverse-engineering the
98c2ecf20Sopenharmony_ci   Nemosoft binary pwcx module. Caveat emptor.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci*/
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci/* Entries for the Kiara (730/740/750) camera */
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#ifndef PWC_KIARA_H
168c2ecf20Sopenharmony_ci#define PWC_KIARA_H
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#include "pwc.h"
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#define PWC_FPS_MAX_KIARA 6
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_cistruct Kiara_table_entry
238c2ecf20Sopenharmony_ci{
248c2ecf20Sopenharmony_ci	char alternate;			/* USB alternate interface */
258c2ecf20Sopenharmony_ci	unsigned short packetsize;	/* Normal packet size */
268c2ecf20Sopenharmony_ci	unsigned short bandlength;	/* Bandlength when decompressing */
278c2ecf20Sopenharmony_ci	unsigned char mode[12];		/* precomputed mode settings for cam */
288c2ecf20Sopenharmony_ci};
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciextern const struct Kiara_table_entry Kiara_table[PSZ_MAX][PWC_FPS_MAX_KIARA][4];
318c2ecf20Sopenharmony_ciextern const unsigned int KiaraRomTable[8][2][16][8];
328c2ecf20Sopenharmony_ciextern const unsigned int Kiara_fps_vector[PWC_FPS_MAX_KIARA];
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci#endif
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci
37