[Mesa-dev] [PATCH] st/vdpau: use bicubic filter for scaling

Christian König deathsimple at vodafone.de
Wed Jun 22 07:56:00 UTC 2016


> Secondly, I also need to set destination_rect clip. I am not yet sure 
> how that could be done.

See how clipping is done in the compositor, function 
vl_compositor_render() and vl_compositor_set_dst_clip(). Basically you 
just use a scissor state to limit where on the surface we are going to 
write.

Regards,
Christian.

Am 22.06.2016 um 08:58 schrieb Nayan Deshmukh:
> Hi Andy,
>
> Thanks for trying it.
>
> I figured out that there are some problems in the patch.
>
> Firstly, I need to send a u_rect to bicubic_filter_render to take care 
> of the destination_video_rect, as to avoid writing on the entire surface.
>
> Secondly, I also need to set destination_rect clip. I am not yet sure 
> how that could be done.
>
> Any ideas?
>
> Regards,
> Nayan.
>
> On Wed, Jun 22, 2016 at 3:21 AM, Andy Furniss <adf.lists at gmail.com 
> <mailto:adf.lists at gmail.com>> wrote:
>
>     Andy Furniss wrote:
>
>         Nayan Deshmukh wrote:
>
>             I forgot to CC the list, so I am attaching our
>             conversation here. Also
>             probably my R7 M265 uses
>             a progressive shader.
>
>
>         OK, maybe that could be it.
>
>         I may be able to try progressive, but need to remember what to
>         change...
>
>
>     Seems I can't test progressive with this h/w. I had a different card
>     last time I did it - trying the same now just segfaults.
>
>
>
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160622/d34c2453/attachment.html>


More information about the mesa-dev mailing list