David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* Linux driver for Philips webcam |
| 3 | Decompression for chipset version 1 |
| 4 | (C) 2004-2006 Luc Saillard (luc@saillard.org) |
| 5 | |
| 6 | NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx |
| 7 | driver and thus may have bugs that are not present in the original version. |
| 8 | Please send bug reports and support requests to <luc@saillard.org>. |
| 9 | The decompression routines have been implemented by reverse-engineering the |
| 10 | Nemosoft binary pwcx module. Caveat emptor. |
| 11 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 12 | */ |
| 13 | #include "pwc.h" |
| 14 | |
| 15 | void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd) |
| 16 | { |
| 17 | struct pwc_dec1_private *pdec = &pdev->dec1; |
| 18 | |
| 19 | pdec->version = pdev->release; |
| 20 | } |