Files
FFmpeg/libavutil
nyanmisaka a508495cd7 avutil/hwcontext_cuda: fix yuv420p V/U plane overlap in cuda_get_buffer()
Odd-height yuv420p result in incorrect calculations of the U-plane
address offset. The last row of the V-plane overlapped with and was
overwritten by the first row of the U-plane, leading to chroma artifacts.

```
ffmpeg -init_hw_device cuda=cu -filter_hw_device cu -f lavfi -i \
testsrc=s=1920x1081,format=yuv420p -vf hwupload -c:v hevc_nvenc \
-vframes 1 -y <OUTPUT>
```

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
(cherry picked from commit 3f6bf150cb)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2026-06-29 18:11:20 +02:00
..
2025-08-03 13:48:47 +02:00
2026-04-28 12:29:37 +00:00
2026-04-28 12:29:37 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2025-08-03 13:48:47 +02:00
2025-09-02 17:05:50 +02:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2025-12-23 03:39:16 +00:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2025-09-02 17:05:50 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-06-23 19:15:57 +02:00
2026-06-26 02:43:34 +02:00
2025-08-03 13:48:47 +02:00