mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-07 08:30:58 +08:00
16 lines
272 B
Go
16 lines
272 B
Go
//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
|
|
)
|