diff options
Diffstat (limited to 'multimedia/pwcbsd/files/patch-pwc-dec23.c')
-rw-r--r-- | multimedia/pwcbsd/files/patch-pwc-dec23.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/multimedia/pwcbsd/files/patch-pwc-dec23.c b/multimedia/pwcbsd/files/patch-pwc-dec23.c index 08796d35696f..9e7a9579a7d7 100644 --- a/multimedia/pwcbsd/files/patch-pwc-dec23.c +++ b/multimedia/pwcbsd/files/patch-pwc-dec23.c @@ -1,6 +1,6 @@ ---- pwc-dec23.c.orig 2006-06-03 18:39:14.000000000 -0700 -+++ pwc-dec23.c 2022-07-26 09:51:27.868178000 -0700 -@@ -261,7 +261,7 @@ +--- pwc-dec23.c.orig 2006-06-04 01:39:14 UTC ++++ pwc-dec23.c +@@ -261,7 +261,7 @@ void pwc_dec23_init(int type, int release, unsigned ch { int flags; struct pwc_dec23_private *pdev = data; @@ -9,7 +9,7 @@ switch (type) { case 720: -@@ -277,7 +277,7 @@ +@@ -277,7 +277,7 @@ void pwc_dec23_init(int type, int release, unsigned ch pdev->zz = 6; flags = mode[2] >> 5; /* our: 7 */ @@ -18,7 +18,7 @@ pdev->table_0004, pdev->table_8004); break; -@@ -293,7 +293,7 @@ +@@ -293,7 +293,7 @@ void pwc_dec23_init(int type, int release, unsigned ch pdev->zz = 6; flags = mode[2] >> 3; @@ -27,7 +27,7 @@ pdev->table_0004, pdev->table_8004); break; -@@ -347,7 +347,6 @@ +@@ -347,7 +347,6 @@ static void DecompressBand23(const struct pwc_dec23_pr unsigned int reservoir, nbits_in_reservoir; int first_4_bits; unsigned int bytes_per_channel; @@ -35,7 +35,7 @@ int passes; const unsigned char *ptable0004, *ptable8004; -@@ -368,8 +367,6 @@ +@@ -368,8 +367,6 @@ static void DecompressBand23(const struct pwc_dec23_pr get_nbits(reservoir, nbits_in_reservoir, stream, 4, first_4_bits); @@ -44,7 +44,7 @@ for (passes = 0; passes < 2; passes++) { if (passes == 0) { bytes_per_channel = pixels_per_line; -@@ -605,12 +602,13 @@ +@@ -605,12 +602,13 @@ void pwc_dec23_decompress(const struct pwc_coord *imag int flags, const void *data, int bandlength) { const struct pwc_dec23_private *pdev = data; @@ -60,7 +60,7 @@ pixel_size = view->x * 4; } else { n = view->x * view->y; -@@ -632,7 +630,7 @@ +@@ -632,7 +630,7 @@ void pwc_dec23_decompress(const struct pwc_coord *imag //TODO: //DecompressBandBayer(pdev,src,pout,image.x,view->x,flags); src += bandlength; |