Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /* Linux driver for Philips webcam
0003    Decompression for chipset version 1
0004    (C) 2004-2006 Luc Saillard (luc@saillard.org)
0005 
0006    NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
0007    driver and thus may have bugs that are not present in the original version.
0008    Please send bug reports and support requests to <luc@saillard.org>.
0009    The decompression routines have been implemented by reverse-engineering the
0010    Nemosoft binary pwcx module. Caveat emptor.
0011 
0012 */
0013 #include "pwc.h"
0014 
0015 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd)
0016 {
0017     struct pwc_dec1_private *pdec = &pdev->dec1;
0018 
0019     pdec->version = pdev->release;
0020 }