2023-10-22 11:46:19 CST W43D0

This commit is contained in:
aggresss
2023-10-22 11:46:19 +08:00
parent 0f95831c39
commit e163918619
62 changed files with 2326 additions and 355 deletions

27
avutil_hwcontext_drm.go Normal file
View File

@@ -0,0 +1,27 @@
//go:build ffmpeg_hw_drm
package ffmpeg
/*
#include <libavutil/hwcontext_drm.h>
*/
import "C"
const (
AV_DRM_MAX_PLANES = C.AV_DRM_MAX_PLANES
)
// AVDRMObjectDescriptor
type AVDRMObjectDescriptor C.struct_AVDRMObjectDescriptor
// AVDRMPlaneDescriptor
type AVDRMPlaneDescriptor C.struct_AVDRMPlaneDescriptor
// AVDRMLayerDescriptor
type AVDRMLayerDescriptor C.struct_AVDRMLayerDescriptor
// AVDRMFrameDescriptor
type AVDRMFrameDescriptor C.struct_AVDRMFrameDescriptor
// AVDRMDeviceContext
type AVDRMDeviceContext C.struct_AVDRMDeviceContext