21 lines · c
1// SPDX-License-Identifier: GPL-2.0-or-later2/* Linux driver for Philips webcam3 Decompression for chipset version 14 (C) 2004-2006 Luc Saillard (luc@saillard.org)5 6 NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx7 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 the10 Nemosoft binary pwcx module. Caveat emptor.11 12*/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}21