2019-05-27 14:55:05 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2006-04-24 21:29:46 +08:00
|
|
|
/* Linux driver for Philips webcam
|
|
|
|
Decompression for chipset version 1
|
|
|
|
(C) 2004-2006 Luc Saillard (luc@saillard.org)
|
|
|
|
|
|
|
|
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 <luc@saillard.org>.
|
|
|
|
The decompression routines have been implemented by reverse-engineering the
|
|
|
|
Nemosoft binary pwcx module. Caveat emptor.
|
|
|
|
|
|
|
|
*/
|
2012-01-08 22:29:19 +08:00
|
|
|
#include "pwc.h"
|
2006-04-24 21:29:46 +08:00
|
|
|
|
2012-01-11 04:02:04 +08:00
|
|
|
void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd)
|
2006-04-24 21:29:46 +08:00
|
|
|
{
|
2012-01-08 22:29:19 +08:00
|
|
|
struct pwc_dec1_private *pdec = &pdev->dec1;
|
2006-04-24 21:29:46 +08:00
|
|
|
|
2012-01-08 22:29:19 +08:00
|
|
|
pdec->version = pdev->release;
|
2006-04-24 21:29:46 +08:00
|
|
|
}
|