Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /* Linux driver for Philips webcam
0003    (C) 2004-2006 Luc Saillard (luc@saillard.org)
0004 
0005    NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
0006    driver and thus may have bugs that are not present in the original version.
0007    Please send bug reports and support requests to <luc@saillard.org>.
0008    The decompression routines have been implemented by reverse-engineering the
0009    Nemosoft binary pwcx module. Caveat emptor.
0010 
0011 */
0012 
0013 /* Entries for the Kiara (730/740/750) camera */
0014 
0015 #ifndef PWC_KIARA_H
0016 #define PWC_KIARA_H
0017 
0018 #include "pwc.h"
0019 
0020 #define PWC_FPS_MAX_KIARA 6
0021 
0022 struct Kiara_table_entry
0023 {
0024     char alternate;         /* USB alternate interface */
0025     unsigned short packetsize;  /* Normal packet size */
0026     unsigned short bandlength;  /* Bandlength when decompressing */
0027     unsigned char mode[12];     /* precomputed mode settings for cam */
0028 };
0029 
0030 extern const struct Kiara_table_entry Kiara_table[PSZ_MAX][PWC_FPS_MAX_KIARA][4];
0031 extern const unsigned int KiaraRomTable[8][2][16][8];
0032 extern const unsigned int Kiara_fps_vector[PWC_FPS_MAX_KIARA];
0033 
0034 #endif
0035 
0036