mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-04 23:33:15 +08:00
28 lines
550 B
Go
28 lines
550 B
Go
//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
|