I've checked swscale_unscaled.c and sws_scale function in it, and I found that sliceDir seems determined by srcSliceY. but it seems there is no way to specify a upsize-down image for sws_scale.
Under Windows, any image captured from a webcam by using Media Foundation are all upside down, means stride are negative, but if I use this negative stride directly in sws_scale, the function return 0, means no image are converted. So, for this kind of images, how can I use sws_scale to convert pixel format and output a correct converted upside-down image? Thanks for any help. Steve Yin _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
