[Mesa-dev] [PATCH 0/2] Implement lanczos interpolation filter

Andy Furniss adf.lists at gmail.com
Wed Sep 21 16:00:37 UTC 2016


Andy Furniss wrote:
> Andy Furniss wrote:
>> Andy Furniss wrote:
>>> Andy Furniss wrote:
>>>
>>>> bz2 compressed vid showing the issue -
>>>>
>>>> https://drive.google.com/open?id=0BxP5-S1t9VEEUE5sbUFBV20zSms
>>>
>>> To be clear this is just the test rez vid I used so you can
>>> possibly recreate the issue your self.
>>
>> Hmm, interesting, with bicubic, hqscaling=1 this vid behaves
>> differently with mplayer compared to mpv, the latter looks like
>> it's scaling a bit, maybe there's an off by one somewhere in mpv
>> code.
>
> I don't know if it's the cause, but looking for differences between
> mplayer and mpv it seems that mpv sets video mixer height so it's
> divisible by 32 but mplayer doesn't. For this 720p sample it uses 736
> and mplayer uses 720.
>
> vdp_video_mixer_create(1, 1, {11}, 3, {0, 1, 2}, {1280, 736, 0}, -)
>
> for output surfaces and render calls it uses 720.
>
> So does the bicubic code see/use this 736 somewhere?

To answer my own question - it does.

Putting a printf in vl_bicubic.c create_frag_shader video_height = 736




>



More information about the mesa-dev mailing list