You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
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:
@ -30,7 +30,7 @@
|
|||||||
#include "pixfmt.h"
|
#include "pixfmt.h"
|
||||||
#include "imgutils.h"
|
#include "imgutils.h"
|
||||||
|
|
||||||
#define CUDA_FRAME_ALIGNMENT 256
|
#define CUDA_FRAME_ALIGNMENT 512
|
||||||
|
|
||||||
typedef struct CUDAFramesContext {
|
typedef struct CUDAFramesContext {
|
||||||
int shift_width, shift_height;
|
int shift_width, shift_height;
|
||||||
|
Reference in New Issue
Block a user