The range parameters need to be set up before calling sws_init_context (which selects which fastpaths can be used; this gets called by sws_getContext); solely passing them via sws_setColorspaceDetails isn't enough. This fixes producing full range YUV range output when doing YUV->YUV conversions between different YUV color spaces. Signed-off-by: Martin Storsjö <martin@martin.st> |
||
|---|---|---|
| .. | ||
| aarch64 | ||
| arm | ||
| ppc | ||
| tests | ||
| x86 | ||
| alphablend.c | ||
| bayer_template.c | ||
| gamma.c | ||
| hscale.c | ||
| hscale_fast_bilinear.c | ||
| input.c | ||
| libswscale.v | ||
| log2_tab.c | ||
| Makefile | ||
| options.c | ||
| output.c | ||
| rgb2rgb.c | ||
| rgb2rgb.h | ||
| rgb2rgb_template.c | ||
| slice.c | ||
| swscale.c | ||
| swscale.h | ||
| swscale_internal.h | ||
| swscale_unscaled.c | ||
| swscaleres.rc | ||
| utils.c | ||
| version.h | ||
| vscale.c | ||
| yuv2rgb.c | ||