]> git.ipfire.org Git - thirdparty/linux.git/blame - drivers/media/usb/pwc/pwc-kiara.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
[thirdparty/linux.git] / drivers / media / usb / pwc / pwc-kiara.h
CommitLineData
1a59d1b8 1/* SPDX-License-Identifier: GPL-2.0-or-later */
1da177e4 2/* Linux driver for Philips webcam
2b455db6 3 (C) 2004-2006 Luc Saillard (luc@saillard.org)
1da177e4
LT
4
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.
7 Please send bug reports and support requests to <luc@saillard.org>.
8 The decompression routines have been implemented by reverse-engineering the
9 Nemosoft binary pwcx module. Caveat emptor.
10
1da177e4
LT
11*/
12
13/* Entries for the Kiara (730/740/750) camera */
14
15#ifndef PWC_KIARA_H
16#define PWC_KIARA_H
17
a08d2c72 18#include "pwc.h"
1da177e4 19
9ee6d78c
LS
20#define PWC_FPS_MAX_KIARA 6
21
1da177e4
LT
22struct Kiara_table_entry
23{
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 */
28};
29
9ee6d78c 30extern const struct Kiara_table_entry Kiara_table[PSZ_MAX][PWC_FPS_MAX_KIARA][4];
2b455db6 31extern const unsigned int KiaraRomTable[8][2][16][8];
9ee6d78c 32extern const unsigned int Kiara_fps_vector[PWC_FPS_MAX_KIARA];
1da177e4
LT
33
34#endif
35
36