st/vdpau: use bicubic filter for scaling(v6.1)
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Wed, 29 Jun 2016 13:24:01 +0000 (18:54 +0530)
committerChristian König <christian.koenig@amd.com>
Fri, 1 Jul 2016 10:54:58 +0000 (12:54 +0200)
commitde772bc060fb401e30cfbfa4ae3973fb025865e5
tree8c86fe7459b57ae84f307b8afad5b5da62f60120
parent872dd9ad154b0ef9c91486640f73232a60074292
st/vdpau: use bicubic filter for scaling(v6.1)

use bicubic filtering as high quality scaling L1.

v2: fix a typo and add a newline to code
v3: -render the unscaled image on a temporary surface (Christian)
    -apply noise reduction and sharpness filter on
     unscaled surface
    -render the final scaled surface using bicubic
     interpolation
v4: support high quality scaling
v5: set dst_area and dst_clip in bicubic filter
v6: set buffer layer before setting dst_area
v6.1: add PIPE_BIND_LINEAR when creating resource

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/mixer.c
src/gallium/state_trackers/vdpau/query.c
src/gallium/state_trackers/vdpau/vdpau_private.h