blob: 35e3dd2b765e25c545ae72c3c5e05975ec2d7491 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001// SPDX-License-Identifier: GPL-2.0-or-later
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/* 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 Scullb4b6d4a2019-01-02 15:54:55 +000012*/
13#include "pwc.h"
14
15void 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}