mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-26 17:01:12 +08:00
2023-10-22 11:46:19 CST W43D0
This commit is contained in:
27
avutil_hwcontext_drm.go
Normal file
27
avutil_hwcontext_drm.go
Normal 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
|
||||
Reference in New Issue
Block a user