Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2020-11-02 23:31:35 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2020-11-03 20:17:35 +0300
commitd5763edab21b08cd1388a2f41885d11d61653917 (patch)
tree050b8f3df05743ec58928b34528e5bd7489a3136 /libavutil/hwcontext_cuda.c
parent1c430f60454acbf6f288058d971a44d6bb3d48e7 (diff)
avutil/hwcontext_cuda: increase CUDA frame alignment to 512
At least on Turing, a frame without 512 byte alignment cannot be passed to cuTexObjectCreate.
Diffstat (limited to 'libavutil/hwcontext_cuda.c')
-rw-r--r--libavutil/hwcontext_cuda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c
index 718a449b6e..546515ee66 100644
--- a/libavutil/hwcontext_cuda.c
+++ b/libavutil/hwcontext_cuda.c
@@ -30,7 +30,7 @@
#include "pixfmt.h"
#include "imgutils.h"
-#define CUDA_FRAME_ALIGNMENT 256
+#define CUDA_FRAME_ALIGNMENT 512
typedef struct CUDAFramesContext {
int shift_width, shift_height;