avutil/hwcontext_cuda: increase CUDA frame alignment to 512

At least on Turing, a frame without 512 byte alignment cannot be passed
to cuTexObjectCreate.
This commit is contained in:
Timo Rothenpieler 2020-11-02 21:31:35 +01:00
parent 1c430f6045
commit d5763edab2
1 changed files with 1 additions and 1 deletions

View File

@ -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;