1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* Linux driver for Philips webcam
5 NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
6 driver and thus may have bugs that are not present in the original version.
8 The decompression routines have been implemented by reverse-engineering the
9 Nemosoft binary pwcx module. Caveat emptor.
13 /* Entries for the Kiara (730/740/750) camera */
20 #define PWC_FPS_MAX_KIARA 6
22 struct Kiara_table_entry
24 char alternate; /* USB alternate interface */
25 unsigned short packetsize; /* Normal packet size */
26 unsigned short bandlength; /* Bandlength when decompressing */
27 unsigned char mode[12]; /* precomputed mode settings for cam */
30 extern const struct Kiara_table_entry Kiara_table[PSZ_MAX][PWC_FPS_MAX_KIARA][4];
31 extern const unsigned int KiaraRomTable[8][2][16][8];
32 extern const unsigned int Kiara_fps_vector[PWC_FPS_MAX_KIARA];