1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-23 04:24:35 +02:00
Steven Liu 282b9f4cba avfilter/overlay_cuda: add hsub and vsub compute x and y positions
fix problem when set x to odd number in nv12 by cuda

test step:
1. ffmpeg -f lavfi testsrc2=s=176x144 -pix_fmt nv12 -t 1 output_overlay.yuv
2. ffmpeg -f lavfi testsrc2=s=352x288 -pix_fmt nv12 -t 1 output_main.yuv
before this patch:
overlay_cuda=x=0:y=0 will right,
overlay_cuda=x=3:y=0 will wrong,

both will right after patch.

Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2021-06-07 17:02:36 +02:00
..
2021-04-19 14:34:10 +02:00
2020-02-14 09:59:27 +01:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-05-10 13:34:29 +08:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-01-17 12:06:01 +01:00
2021-01-17 12:06:01 +01:00
2018-11-15 14:44:24 +01:00
2018-06-21 00:31:42 +01:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-05-10 13:34:29 +08:00
2020-02-14 21:49:47 +01:00
2021-04-11 23:18:20 +08:00
2021-04-11 23:18:20 +08:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2020-02-04 18:28:04 +01:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2019-09-26 08:10:31 +08:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-05-01 08:45:30 +08:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-02-16 22:26:56 +01:00
2021-04-27 11:48:05 -03:00