mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-04 23:33:15 +08:00
2023-10-22 11:46:19 CST W43D0
This commit is contained in:
15
avutil_hwcontext_cuda.go
Normal file
15
avutil_hwcontext_cuda.go
Normal file
@@ -0,0 +1,15 @@
|
||||
//go:build ffmpeg_hw_cuda
|
||||
|
||||
package ffmpeg
|
||||
|
||||
/*
|
||||
#include <libavutil/hwcontext_cuda.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVCUDADeviceContextInternal
|
||||
type AVCUDADeviceContextInternal C.struct_AVCUDADeviceContextInternal
|
||||
|
||||
const (
|
||||
AV_CUDA_USE_PRIMARY_CONTEXT = C.AV_CUDA_USE_PRIMARY_CONTEXT
|
||||
)
|
Reference in New Issue
Block a user