]> git.sesse.net Git - ffmpeg/commit
avfilter/vf_scale_cuda: Fix incorrect scaling of > 8bit content
authorPhilip Langdale <philipl@overt.org>
Tue, 14 May 2019 02:15:41 +0000 (19:15 -0700)
committerPhilip Langdale <philipl@overt.org>
Wed, 15 May 2019 18:40:50 +0000 (11:40 -0700)
commit89bd7554b209a447062c306129d3f36d673cbd4d
tree6a92b227aa4a6dfe8010720a4d5910165afb6572
parentb79b29ddb15c4e0ff9f041997e5562555d3ac81d
avfilter/vf_scale_cuda: Fix incorrect scaling of > 8bit content

When i converted the filter to use texture objects instead of
texture references, I incorrect dropped the `pixel_size` scaling
factor when setting `pitchInBytes`. `src_pitch` is in pixels and
so must be scaled up.
libavfilter/vf_scale_cuda.c