diff options
Diffstat (limited to 'drivers/media/video/pwc/pwc-dec23.h')
-rw-r--r-- | drivers/media/video/pwc/pwc-dec23.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/media/video/pwc/pwc-dec23.h b/drivers/media/video/pwc/pwc-dec23.h index d64a3c281af6..c655b1c1e6a9 100644 --- a/drivers/media/video/pwc/pwc-dec23.h +++ b/drivers/media/video/pwc/pwc-dec23.h | |||
@@ -25,17 +25,20 @@ | |||
25 | #ifndef PWC_DEC23_H | 25 | #ifndef PWC_DEC23_H |
26 | #define PWC_DEC23_H | 26 | #define PWC_DEC23_H |
27 | 27 | ||
28 | #include "pwc.h" | 28 | struct pwc_device; |
29 | 29 | ||
30 | struct pwc_dec23_private | 30 | struct pwc_dec23_private |
31 | { | 31 | { |
32 | struct mutex lock; | 32 | struct mutex lock; |
33 | 33 | ||
34 | unsigned char last_cmd, last_cmd_valid; | ||
35 | |||
34 | unsigned int scalebits; | 36 | unsigned int scalebits; |
35 | unsigned int nbitsmask, nbits; /* Number of bits of a color in the compressed stream */ | 37 | unsigned int nbitsmask, nbits; /* Number of bits of a color in the compressed stream */ |
36 | 38 | ||
37 | unsigned int reservoir; | 39 | unsigned int reservoir; |
38 | unsigned int nbits_in_reservoir; | 40 | unsigned int nbits_in_reservoir; |
41 | |||
39 | const unsigned char *stream; | 42 | const unsigned char *stream; |
40 | int temp_colors[16]; | 43 | int temp_colors[16]; |
41 | 44 | ||
@@ -51,8 +54,8 @@ struct pwc_dec23_private | |||
51 | 54 | ||
52 | }; | 55 | }; |
53 | 56 | ||
54 | int pwc_dec23_init(struct pwc_device *pwc, int type, unsigned char *cmd); | 57 | void pwc_dec23_init(struct pwc_device *pdev, const unsigned char *cmd); |
55 | void pwc_dec23_decompress(const struct pwc_device *pwc, | 58 | void pwc_dec23_decompress(struct pwc_device *pdev, |
56 | const void *src, | 59 | const void *src, |
57 | void *dst); | 60 | void *dst); |
58 | #endif | 61 | #endif |