mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-09-26 20:01:22 +08:00
21 lines
481 B
Go
21 lines
481 B
Go
// Copyright (c) 2023 QRTC. All rights reserved.
|
|
// Use of this source code is governed by a MIT
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//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
|
|
AV_CUDA_USE_CURRENT_CONTEXT = C.AV_CUDA_USE_CURRENT_CONTEXT
|
|
)
|