mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-06 16:19:38 +08:00
2023-11-04 09:31:38 CST W44D6
This commit is contained in:
@@ -11,6 +11,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVVideotoolboxContext
|
||||
type AVVideotoolboxContext C.struct_AVVideotoolboxContext
|
||||
|
||||
// AvVideotoolboxAllocContext allocates and initializes a Videotoolbox context.
|
||||
|
@@ -981,8 +981,13 @@ func (cpt *AVChapter) GetMetadataAddr() **AVDictionary {
|
||||
return (**AVDictionary)(unsafe.Pointer(&cpt.metadata))
|
||||
}
|
||||
|
||||
// typedef int (*av_format_control_message)(struct AVFormatContext *s, int type,
|
||||
// void *data, size_t data_size);
|
||||
type AVFormatControlMessageFunc C.av_format_control_message
|
||||
|
||||
// typedef int (*AVOpenCallback)(struct AVFormatContext *s,
|
||||
// AVIOContext **pb, const char *url, int flags,
|
||||
// const AVIOInterruptCB *int_cb, AVDictionary **options);
|
||||
type AVOpenCallbackFunc C.AVOpenCallback
|
||||
|
||||
// AVDurationEstimationMethod
|
||||
|
@@ -9,6 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVAudioFifo
|
||||
type AVAudioFifo C.struct_AVAudioFifo
|
||||
|
||||
// AvAudioFifoFree frees an AVAudioFifo.
|
||||
|
@@ -57,6 +57,7 @@ import "C"
|
||||
|
||||
// NONEED: av_append_path_component
|
||||
|
||||
// AVEscapeMode
|
||||
type AVEscapeMode = C.enum_AVEscapeMode
|
||||
|
||||
const (
|
||||
|
@@ -14,6 +14,7 @@ const (
|
||||
AV_BF_ROUNDS = C.AV_BF_ROUNDS
|
||||
)
|
||||
|
||||
// AVBlowfish
|
||||
type AVBlowfish C.struct_AVBlowfish
|
||||
|
||||
// GetP gets `AVBlowfish.p` value.
|
||||
|
@@ -17,6 +17,7 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// AVBPrint
|
||||
type AVBPrint C.struct_AVBPrint
|
||||
|
||||
const (
|
||||
|
@@ -9,6 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVCAMELLIA
|
||||
type AVCAMELLIA C.struct_AVCAMELLIA
|
||||
|
||||
// AvCamelliaAlloc allocates an AVCAMELLIA context.
|
||||
|
@@ -9,6 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVCAST5
|
||||
type AVCAST5 C.struct_AVCAST5
|
||||
|
||||
// AvCast5Alloc allocates an AVCAST5 context.
|
||||
|
@@ -71,6 +71,7 @@ const (
|
||||
AV_CH_LAYOUT_STEREO_DOWNMIX = uint64(C.AV_CH_LAYOUT_STEREO_DOWNMIX)
|
||||
)
|
||||
|
||||
// AVMatrixEncoding
|
||||
type AVMatrixEncoding = C.enum_AVMatrixEncoding
|
||||
|
||||
const (
|
||||
|
@@ -20,6 +20,7 @@ const (
|
||||
AV_DICT_MULTIKEY = C.AV_DICT_MULTIKEY
|
||||
)
|
||||
|
||||
// AVDictionaryEntry
|
||||
type AVDictionaryEntry C.struct_AVDictionaryEntry
|
||||
|
||||
// GetKey gets `AVDictionaryEntry.key` value.
|
||||
|
@@ -31,10 +31,13 @@ const (
|
||||
AV_HWDEVICE_TYPE_VULKAN = AVHWDeviceType(C.AV_HWDEVICE_TYPE_VULKAN)
|
||||
)
|
||||
|
||||
// AVHWDeviceInternal
|
||||
type AVHWDeviceInternal C.struct_AVHWDeviceInternal
|
||||
|
||||
// AVHWDeviceContext
|
||||
type AVHWDeviceContext C.struct_AVHWDeviceContext
|
||||
|
||||
// typedef void (*av_hw_device_context_free_func)(struct AVHWDeviceContext *ctx);
|
||||
type AVHWDeviceContextFreeFunc = C.av_hw_device_context_free_func
|
||||
|
||||
// GetAvClass gets `AVHWDeviceContext.av_class` value.
|
||||
@@ -117,10 +120,13 @@ func (dc *AVHWDeviceContext) GetUserOpaqueAddr() *unsafe.Pointer {
|
||||
return &dc.user_opaque
|
||||
}
|
||||
|
||||
// AVHWFramesInternal
|
||||
type AVHWFramesInternal C.struct_AVHWFramesInternal
|
||||
|
||||
// AVHWFramesContext
|
||||
type AVHWFramesContext C.struct_AVHWFramesContext
|
||||
|
||||
// typedef void (*av_hw_frames_context_free_func)(struct AVHWFramesContext *ctx);
|
||||
type AVHWFramesContextFreeFunc = C.av_hw_frames_context_free_func
|
||||
|
||||
// GetAvClass gets `AVHWFramesContext.av_class` value.
|
||||
@@ -393,6 +399,7 @@ func AvHWFrameTransferData(dst, src *AVFrame, flags int32) int32 {
|
||||
(C.int)(flags)))
|
||||
}
|
||||
|
||||
// AVHWFrameTransferDirection
|
||||
type AVHWFrameTransferDirection = C.enum_AVHWFrameTransferDirection
|
||||
|
||||
const (
|
||||
@@ -410,6 +417,7 @@ func AvHWFrameTransferGetFormats(hwframeCtx *AVBufferRef, dir AVHWFrameTransferD
|
||||
(C.int)(flags)))
|
||||
}
|
||||
|
||||
// AVHWFramesConstraints
|
||||
type AVHWFramesConstraints C.struct_AVHWFramesConstraints
|
||||
|
||||
// GetValidHwFormats gets `AVHWFramesConstraints.valid_hw_formats` value.
|
||||
|
@@ -9,6 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVRounding
|
||||
type AVRounding = C.enum_AVRounding
|
||||
|
||||
const (
|
||||
|
@@ -9,6 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVMotionVector
|
||||
type AVMotionVector C.struct_AVMotionVector
|
||||
|
||||
// GetSource gets `AVMotionVector.source` value.
|
||||
|
@@ -9,6 +9,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVMurMur3
|
||||
type AVMurMur3 C.struct_AVMurMur3
|
||||
|
||||
// AvMurmur3Alloc allocates an AVMurMur3 hash context.
|
||||
|
@@ -10,6 +10,7 @@ package ffmpeg
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// AVComponentDescriptor
|
||||
type AVComponentDescriptor C.struct_AVComponentDescriptor
|
||||
|
||||
// GetPlane gets `AVComponentDescriptor.plane` value.
|
||||
|
@@ -10,6 +10,7 @@ package ffmpeg
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// AVPixelutilsSadFn
|
||||
type AVPixelutilsSadFn C.av_pixelutils_sad_fn
|
||||
|
||||
// AvPixelutilsGetSadFn gets a potentially optimized pointer to a Sum-of-absolute-differences
|
||||
|
@@ -10,6 +10,7 @@ package ffmpeg
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// AVSphericalProjection
|
||||
type AVSphericalProjection = C.enum_AVSphericalProjection
|
||||
|
||||
const (
|
||||
@@ -18,6 +19,7 @@ const (
|
||||
AV_SPHERICAL_EQUIRECTANGULAR_TILE = AVSphericalProjection(C.AV_SPHERICAL_EQUIRECTANGULAR_TILE)
|
||||
)
|
||||
|
||||
// AVSphericalMapping
|
||||
type AVSphericalMapping C.struct_AVSphericalMapping
|
||||
|
||||
// GetProjection gets `AVSphericalMapping.projection` value.
|
||||
|
@@ -36,6 +36,7 @@ const (
|
||||
AV_STEREO3D_FLAG_INVERT = C.AV_STEREO3D_FLAG_INVERT
|
||||
)
|
||||
|
||||
// AVStereo3D
|
||||
type AVStereo3D C.struct_AVStereo3D
|
||||
|
||||
// GetType gets `AVStereo3D.type` value.
|
||||
|
@@ -12,6 +12,7 @@ typedef void (*av_thread_message_free_func)(void *msg);
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// AVThreadMessageQueue
|
||||
type AVThreadMessageQueue C.struct_AVThreadMessageQueue
|
||||
|
||||
// AVThreadMessageFlags
|
||||
|
@@ -13,6 +13,7 @@ const (
|
||||
AV_TIMECODE_STR_SIZE = C.AV_TIMECODE_STR_SIZE
|
||||
)
|
||||
|
||||
// AVTimecodeFlag
|
||||
type AVTimecodeFlag = C.enum_AVTimecodeFlag
|
||||
|
||||
const (
|
||||
@@ -21,6 +22,7 @@ const (
|
||||
AV_TIMECODE_FLAG_ALLOWNEGATIVE = AVTimecodeFlag(C.AV_TIMECODE_FLAG_ALLOWNEGATIVE)
|
||||
)
|
||||
|
||||
// AVTimecode
|
||||
type AVTimecode C.AVTimecode
|
||||
|
||||
// GetStart gets `AVTimecode.start` value.
|
||||
|
@@ -14,6 +14,7 @@ typedef int (*av_tree_enu_func)(void *opaque, void *elem);
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// AVTreeNode
|
||||
type AVTreeNode C.struct_AVTreeNode
|
||||
|
||||
// typedef int (*av_tree_cmp_func)(void *opaque, void *elem);
|
||||
|
@@ -10,6 +10,7 @@ package ffmpeg
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// AVXTEA
|
||||
type AVXTEA C.struct_AVXTEA
|
||||
|
||||
// GetKey gets `AVXTEA.key` value.
|
||||
|
Reference in New Issue
Block a user