[Mesa-dev] Fwd: [PATCH] st/vdpau: use bicubic filter for scaling
Nayan Deshmukh
nayan26deshmukh at gmail.com
Sun Jun 26 19:06:40 UTC 2016
Hi Andy,
On Sun, Jun 26, 2016 at 12:25 AM, Andy Furniss <adf.lists at gmail.com> wrote:
> Nayan Deshmukh wrote:
>
>> Hi Andy,
>>
>> Thanks for testing the patches.
>>
>> Please send me the videos and ratios with which there is corruption.
>>
>
>
> https://drive.google.com/file/d/0BxP5-S1t9VEEaHZEM203RFpyNEE/view?usp=sharing
>
> This has no aspect encoded and displayed fullscreen on a 1920x1080
> monitor shows vertical line artifacts over the first 2/3 of the image.
>
> When I say lines they are not lines as such just that the distortion
> on the pendulum shows as it passes over imaginary lines at fixed
> points on the screen.
>
> with mplayer -aspect 4/3 or 16/9 it doesn't.
>
I tested the videos and found out that the distortion is because of the
amount
of calculation done in the fragment shader. I tested the video with
vl_median_filter
and it showed no distortion however, with vl_matrix_filter( which requires
more
calculations than vl_median_filter) it showed the same distortion. I'll try
to make it
more efficient. But it still requires a lot of processing for a single
pixel as it uses
15 neighbouring pixel.
Also I don't see any offsets with the videos, may be I am missing something.
If could tell me more about the offsets, I'll try to debug them.
Thanks,
Nayan.
>
> That one is 720x576, with a 704x576 like -
>
> ftp://ftp.tek.com/tv/test/streams/Element/MPEG-Video/625/mobl_080.m2v
>
> 4/3 still has the vertical "line" artifacts - 16/9 doesn't.
>
> On other vids there is a hint of horizontal distortion, I'd need time
> to cut the one I saw that on - it was subtle on a 1440x1080 16/9 long vid.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160627/a8c14158/attachment.html>
More information about the mesa-dev
mailing list