xref: /linux/drivers/media/usb/pwc/pwc-dec1.c (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*1a59d1b8SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-or-later
20c0d06caSMauro Carvalho Chehab /* Linux driver for Philips webcam
30c0d06caSMauro Carvalho Chehab    Decompression for chipset version 1
40c0d06caSMauro Carvalho Chehab    (C) 2004-2006 Luc Saillard (luc@saillard.org)
50c0d06caSMauro Carvalho Chehab 
60c0d06caSMauro Carvalho Chehab    NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
70c0d06caSMauro Carvalho Chehab    driver and thus may have bugs that are not present in the original version.
80c0d06caSMauro Carvalho Chehab    Please send bug reports and support requests to <luc@saillard.org>.
90c0d06caSMauro Carvalho Chehab    The decompression routines have been implemented by reverse-engineering the
100c0d06caSMauro Carvalho Chehab    Nemosoft binary pwcx module. Caveat emptor.
110c0d06caSMauro Carvalho Chehab 
120c0d06caSMauro Carvalho Chehab */
130c0d06caSMauro Carvalho Chehab #include "pwc.h"
140c0d06caSMauro Carvalho Chehab 
pwc_dec1_init(struct pwc_device * pdev,const unsigned char * cmd)150c0d06caSMauro Carvalho Chehab void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd)
160c0d06caSMauro Carvalho Chehab {
170c0d06caSMauro Carvalho Chehab 	struct pwc_dec1_private *pdec = &pdev->dec1;
180c0d06caSMauro Carvalho Chehab 
190c0d06caSMauro Carvalho Chehab 	pdec->version = pdev->release;
200c0d06caSMauro Carvalho Chehab }
21