Hi, i want to resize an YUV420P image by using the function sws_scale( SwsContext * c, uint8_t * src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t * dst[], int dstStride[]) in swscal.h. I want to resize only its resolution and i don't want to change the picture format. At this function I have to specify the param int dstStride[] but I don't know what this param specify and what I have to pass to the function. The source picture is a 720x576 resolution, and is linesizes contains: linesize[0]=752 linesize[1]=376 linesize[2]=376, what specify this attributes and what i have to adapt them at the new resolution?
Thanjs in advance, best regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
