vl: add a bicubic interpolation filter(v5)
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Wed, 29 Jun 2016 13:24:00 +0000 (18:54 +0530)
committerChristian König <christian.koenig@amd.com>
Fri, 1 Jul 2016 10:54:33 +0000 (12:54 +0200)
commit872dd9ad154b0ef9c91486640f73232a60074292
tree56e4894e55025d04724c7d815bd1219dc48bb97e
parent3fea592c4eb26f6652bef1e5dc430e2296e14bac
vl: add a bicubic interpolation filter(v5)

This is a shader based bicubic interpolater which uses cubic
Hermite spline algorithm.

v2: set dst_area and dst_clip during scaling (Christian)
v3: clear the render target before rendering
v4: intialize offsets while initializing shaders
    use a constant buffer to send dst_size to frag shader
    small changes to reduce calculation in shader
v5: send half pixel offset instead of sending dst_size

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/vl/vl_bicubic_filter.c [new file with mode: 0644]
src/gallium/auxiliary/vl/vl_bicubic_filter.h [new file with mode: 0644]