// SPDX-License-Identifier: GPL-2.0-or-later /* Linux driver for Philips webcam Various miscellaneous functions and tables. (C) 1999-2003 Nemosoft Unv. (C) 2004-2006 Luc Saillard ([email protected]) NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx driver and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <[email protected]>. The decompression routines have been implemented by reverse-engineering the Nemosoft binary pwcx module. Caveat emptor. */ #include "pwc.h" const int pwc_image_sizes[PSZ_MAX][2] = …; /* x,y -> PSZ_ */ int pwc_get_size(struct pwc_device *pdev, int width, int height) { … } /* initialize variables depending on type and decompressor */ void pwc_construct(struct pwc_device *pdev) { … }