avfilter/vf_scale_cuda: Simplify output plane addressing
authorPhilip Langdale <philipl@overt.org>
Tue, 14 May 2019 03:07:42 +0000 (20:07 -0700)
committerPhilip Langdale <philipl@overt.org>
Wed, 15 May 2019 18:40:50 +0000 (11:40 -0700)
commit13168ecbdc03c25065f2d1394aa6f2447b33600e
treeb2271ca831cf8e662fe4cdae07e3998b1a6ff405
parentbfbde996cfa51a28359841369144ad075d603086
avfilter/vf_scale_cuda: Simplify output plane addressing

I'm not sure why this was written the way it was originally. We
initialise the plane addresses correctly in hwcontext_cuda so
why try and play games to calculate the plane offsets directly
in this code?
libavfilter/vf_scale_cuda.c