Commit 5f8c3834 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lsws/input: Do not change transparency range.

Fixes ticket #8509.
parent b3c46e26
......@@ -437,7 +437,7 @@ static void abgrToA_c(uint8_t *_dst, const uint8_t *src, const uint8_t *unused1,
int16_t *dst = (int16_t *)_dst;
int i;
for (i=0; i<width; i++) {
dst[i]= src[4*i]<<6;
dst[i]= src[4*i]<<6 | src[4*i]>>2;
}
}
......@@ -446,7 +446,7 @@ static void rgbaToA_c(uint8_t *_dst, const uint8_t *src, const uint8_t *unused1,
int16_t *dst = (int16_t *)_dst;
int i;
for (i=0; i<width; i++) {
dst[i]= src[4*i+3]<<6;
dst[i]= src[4*i+3]<<6 | src[4*i+3]>>2;
}
}
......@@ -457,7 +457,7 @@ static void palToA_c(uint8_t *_dst, const uint8_t *src, const uint8_t *unused1,
for (i=0; i<width; i++) {
int d= src[i];
dst[i]= (pal[d] >> 24)<<6;
dst[i]= (pal[d] >> 24)<<6 | pal[d]>>26;
}
}
......
......@@ -28,7 +28,7 @@
#define LIBSWSCALE_VERSION_MAJOR 5
#define LIBSWSCALE_VERSION_MINOR 6
#define LIBSWSCALE_VERSION_MICRO 100
#define LIBSWSCALE_VERSION_MICRO 101
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \
......
......@@ -3,13 +3,13 @@
#codec_id 0: rawvideo
#dimensions 0: 720x576
#sar 0: 0/1
0, 0, 0, 1, 622080, 0x4e30accb
0, 1, 1, 1, 622080, 0x7d941c14
0, 2, 2, 1, 622080, 0xf7451c5b
0, 3, 3, 1, 622080, 0xb2c74319
0, 4, 4, 1, 622080, 0xc9b80b79
0, 5, 5, 1, 622080, 0x92ce1194
0, 6, 6, 1, 622080, 0x43ae99ac
0, 7, 7, 1, 622080, 0x4ec3a554
0, 8, 8, 1, 622080, 0x3200250c
0, 9, 9, 1, 622080, 0x94ebb3f3
0, 0, 0, 1, 622080, 0x78efb628
0, 1, 1, 1, 622080, 0x641f2564
0, 2, 2, 1, 622080, 0x348f25c3
0, 3, 3, 1, 622080, 0x6afc485a
0, 4, 4, 1, 622080, 0xe949107f
0, 5, 5, 1, 622080, 0x171716e5
0, 6, 6, 1, 622080, 0x2985a01f
0, 7, 7, 1, 622080, 0xc5ddabd7
0, 8, 8, 1, 622080, 0xb4dd2b7f
0, 9, 9, 1, 622080, 0x6e75ba82
This diff is collapsed.
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 65536, 0xbac99946
0, 0, 0, 1, 65536, 0x821bcb9b
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 49152, 0xa905d586
0, 0, 0, 1, 49152, 0x738d07ea
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 24576, 0x1505f000
0, 0, 0, 1, 24576, 0xf104fedd
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 32768, 0x2d88b114
0, 0, 0, 1, 32768, 0x180ac096
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 49152, 0x92da3b63
0, 0, 0, 1, 49152, 0x42ec4c43
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 40960, 0x0a1ab3c0
0, 0, 0, 1, 40960, 0x5de1c29d
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 49152, 0x369974d4
0, 0, 0, 1, 49152, 0xdb3b8456
......@@ -3,4 +3,4 @@
#codec_id 0: rawvideo
#dimensions 0: 128x128
#sar 0: 1/1
0, 0, 0, 1, 65536, 0xa279ff14
0, 0, 0, 1, 65536, 0x91d31003
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment