2019-05-27 06:55:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2006-04-24 13:29:46 +00: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 14:29:19 +00:00
|
|
|
#include "pwc.h"
|
2006-04-24 13:29:46 +00:00
|
|
|
|
2012-01-10 20:02:04 +00:00
|
|
|
void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd)
|
2006-04-24 13:29:46 +00:00
|
|
|
{
|
2012-01-08 14:29:19 +00:00
|
|
|
struct pwc_dec1_private *pdec = &pdev->dec1;
|
2006-04-24 13:29:46 +00:00
|
|
|
|
2012-01-08 14:29:19 +00:00
|
|
|
pdec->version = pdev->release;
|
2006-04-24 13:29:46 +00:00
|
|
|
}
|