st/vdpau: change the order in which filters are applied(v3)
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Fri, 12 Aug 2016 14:02:51 +0000 (19:32 +0530)
committerChristian König <christian.koenig@amd.com>
Tue, 16 Aug 2016 08:07:35 +0000 (10:07 +0200)
commit09dff7ae2e179d5a3490481762c6bd3d50430c9f
tree2f1c51d314407704b60c321b4184b69d995d85ed
parent1f47f78fc3193ecff13799305a8e35af82e68a06
st/vdpau: change the order in which filters are applied(v3)

Apply the median and matrix filter before the compostioning
we apply the deinterlacing first to avoid the extra overhead
in processing the past and the future surfaces in deinterlacing.

v2: apply the filters on all the surfaces (Christian)
v3: use get_sampler_view_planes() instead of
    get_sampler_view_components() and iterate over
    VL_MAX_SURFACES (Christian)

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