#8509: Converting 8 bit ARGB to Prores 4444 using prores_ks produces alpha
channel
that is not 100% opaque
------------------------------------+-----------------------------------
Reporter: bford | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: prores | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by cehoyos):
Does the following inlined change make a difference?
{{{
diff --git a/libswscale/input.c b/libswscale/input.c
index 159f70307d..701586be27 100644
--- a/libswscale/input.c
+++ b/libswscale/input.c
@@ -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;
}
}
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8509#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".