[vlc-devel] [PATCH 1/2] Add i_aligned_width and i_aligned_height
Rémi Denis-Courmont
remi at remlab.net
Thu Dec 11 20:47:23 CET 2014
Le jeudi 11 décembre 2014, 17:08:38 Thomas Guillem a écrit :
> There are currently no ways for the scaler (swscale, vdpau_chroma) or direct
> video output (XVideo) to differentiate the crop rectangle of the source
> video and the source video rectangle itself. Consequently bilinear scaling
> bleeds the non-video padding bytes into the video.
>
> To solve this issue, add 2 new variables in video_format_t: i_aligned_width
> and i_aligned_height. These 2 variables should be used by decoders that
> need an aligned buffer (the case of avcodec when using direct rendering).
Changing video_format_t (and thus es_format_t and picture_t) affects
access_demuxes, demuxes, packetizers, decoders, video filters, spu sources, spu
filters, encoders, visualizations, vout splitters and vout displays...
Personally I am unable to review such an invasive change within any meaningful
time frame.
> (refs #13062)
Breaking the binary interface is no longer an option for 2.2 releases so you
would need to change the bug milestone in any case.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list