Class Functions
- Namespace
- GstVideo
- Assembly
- GstVideo-1.0.dll
public static class Functions
- Inheritance
-
Functions
- Inherited Members
Methods
AncillaryMetaApiGetType()
public static Type AncillaryMetaApiGetType()
Returns
AncillaryMetaGetInfo()
public static MetaInfo AncillaryMetaGetInfo()
Returns
BufferAddAncillaryMeta(Buffer)
[Version("1.24")]
public static AncillaryMeta BufferAddAncillaryMeta(Buffer buffer)
Parameters
bufferBuffer
Returns
BufferAddVideoAfdMeta(Buffer, byte, VideoAFDSpec, VideoAFDValue)
[Version("1.18")]
public static VideoAFDMeta BufferAddVideoAfdMeta(Buffer buffer, byte field, VideoAFDSpec spec, VideoAFDValue afd)
Parameters
bufferBufferfieldbytespecVideoAFDSpecafdVideoAFDValue
Returns
BufferAddVideoAffineTransformationMeta(Buffer)
[Version("1.8")]
public static VideoAffineTransformationMeta BufferAddVideoAffineTransformationMeta(Buffer buffer)
Parameters
bufferBuffer
Returns
BufferAddVideoBarMeta(Buffer, byte, bool, uint, uint)
[Version("1.18")]
public static VideoBarMeta BufferAddVideoBarMeta(Buffer buffer, byte field, bool isLetterbox, uint barData1, uint barData2)
Parameters
Returns
BufferAddVideoCaptionMeta(Buffer, VideoCaptionType, Span<byte>)
[Version("1.16")]
public static VideoCaptionMeta BufferAddVideoCaptionMeta(Buffer buffer, VideoCaptionType captionType, Span<byte> data)
Parameters
bufferBuffercaptionTypeVideoCaptionTypedataSpan<byte>
Returns
BufferAddVideoCodecAlphaMeta(Buffer, Buffer)
[Version("1.20")]
public static VideoCodecAlphaMeta BufferAddVideoCodecAlphaMeta(Buffer buffer, Buffer alphaBuffer)
Parameters
Returns
BufferAddVideoMeta(Buffer, VideoFrameFlags, VideoFormat, uint, uint)
public static VideoMeta BufferAddVideoMeta(Buffer buffer, VideoFrameFlags flags, VideoFormat format, uint width, uint height)
Parameters
bufferBufferflagsVideoFrameFlagsformatVideoFormatwidthuintheightuint
Returns
BufferAddVideoOverlayCompositionMeta(Buffer, VideoOverlayComposition?)
public static VideoOverlayCompositionMeta BufferAddVideoOverlayCompositionMeta(Buffer buf, VideoOverlayComposition? comp)
Parameters
bufBuffercompVideoOverlayComposition
Returns
BufferAddVideoRegionOfInterestMeta(Buffer, string, uint, uint, uint, uint)
public static VideoRegionOfInterestMeta BufferAddVideoRegionOfInterestMeta(Buffer buffer, string roiType, uint x, uint y, uint w, uint h)
Parameters
Returns
BufferAddVideoRegionOfInterestMetaId(Buffer, Quark, uint, uint, uint, uint)
public static VideoRegionOfInterestMeta BufferAddVideoRegionOfInterestMetaId(Buffer buffer, Quark roiType, uint x, uint y, uint w, uint h)
Parameters
Returns
BufferAddVideoSeiUserDataUnregisteredMeta(Buffer, ref byte, ref byte, nuint)
[Version("1.22")]
public static VideoSEIUserDataUnregisteredMeta BufferAddVideoSeiUserDataUnregisteredMeta(Buffer buffer, ref byte uuid, ref byte data, nuint size)
Parameters
Returns
BufferAddVideoTimeCodeMeta(Buffer, VideoTimeCode)
[Version("1.10")]
public static VideoTimeCodeMeta? BufferAddVideoTimeCodeMeta(Buffer buffer, VideoTimeCode tc)
Parameters
bufferBuffertcVideoTimeCode
Returns
BufferAddVideoTimeCodeMetaFull(Buffer, uint, uint, DateTime, VideoTimeCodeFlags, uint, uint, uint, uint, uint)
[Version("1.10")]
public static VideoTimeCodeMeta? BufferAddVideoTimeCodeMetaFull(Buffer buffer, uint fpsN, uint fpsD, DateTime latestDailyJam, VideoTimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint fieldCount)
Parameters
bufferBufferfpsNuintfpsDuintlatestDailyJamDateTimeflagsVideoTimeCodeFlagshoursuintminutesuintsecondsuintframesuintfieldCountuint
Returns
BufferGetVideoMeta(Buffer)
public static VideoMeta? BufferGetVideoMeta(Buffer buffer)
Parameters
bufferBuffer
Returns
BufferGetVideoMetaId(Buffer, int)
public static VideoMeta? BufferGetVideoMetaId(Buffer buffer, int id)
Parameters
Returns
BufferGetVideoRegionOfInterestMetaId(Buffer, int)
public static VideoRegionOfInterestMeta? BufferGetVideoRegionOfInterestMetaId(Buffer buffer, int id)
Parameters
Returns
BufferPoolConfigGetVideoAlignment(Structure, VideoAlignment)
public static bool BufferPoolConfigGetVideoAlignment(Structure config, VideoAlignment align)
Parameters
configStructurealignVideoAlignment
Returns
BufferPoolConfigSetVideoAlignment(Structure, VideoAlignment)
public static void BufferPoolConfigSetVideoAlignment(Structure config, VideoAlignment align)
Parameters
configStructurealignVideoAlignment
IsVideoOverlayPrepareWindowHandleMessage(Message)
public static bool IsVideoOverlayPrepareWindowHandleMessage(Message msg)
Parameters
msgMessage
Returns
NavigationEventGetCoordinates(Event, out double, out double)
[Version("1.22")]
public static bool NavigationEventGetCoordinates(Event @event, out double x, out double y)
Parameters
Returns
NavigationEventGetType(Event)
public static NavigationEventType NavigationEventGetType(Event @event)
Parameters
eventEvent
Returns
NavigationEventNewCommand(NavigationCommand)
[Version("1.22")]
public static Event NavigationEventNewCommand(NavigationCommand command)
Parameters
commandNavigationCommand
Returns
NavigationEventNewKeyPress(string, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewKeyPress(string key, NavigationModifierType state)
Parameters
keystringstateNavigationModifierType
Returns
NavigationEventNewKeyRelease(string, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewKeyRelease(string key, NavigationModifierType state)
Parameters
keystringstateNavigationModifierType
Returns
NavigationEventNewMouseButtonPress(int, double, double, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewMouseButtonPress(int button, double x, double y, NavigationModifierType state)
Parameters
buttonintxdoubleydoublestateNavigationModifierType
Returns
NavigationEventNewMouseButtonRelease(int, double, double, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewMouseButtonRelease(int button, double x, double y, NavigationModifierType state)
Parameters
buttonintxdoubleydoublestateNavigationModifierType
Returns
NavigationEventNewMouseDoubleClick(int, double, double, NavigationModifierType)
[Version("1.26")]
public static Event NavigationEventNewMouseDoubleClick(int button, double x, double y, NavigationModifierType state)
Parameters
buttonintxdoubleydoublestateNavigationModifierType
Returns
NavigationEventNewMouseMove(double, double, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewMouseMove(double x, double y, NavigationModifierType state)
Parameters
xdoubleydoublestateNavigationModifierType
Returns
NavigationEventNewMouseScroll(double, double, double, double, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewMouseScroll(double x, double y, double deltaX, double deltaY, NavigationModifierType state)
Parameters
xdoubleydoubledeltaXdoubledeltaYdoublestateNavigationModifierType
Returns
NavigationEventNewTouchCancel(NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewTouchCancel(NavigationModifierType state)
Parameters
stateNavigationModifierType
Returns
NavigationEventNewTouchDown(uint, double, double, double, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewTouchDown(uint identifier, double x, double y, double pressure, NavigationModifierType state)
Parameters
identifieruintxdoubleydoublepressuredoublestateNavigationModifierType
Returns
NavigationEventNewTouchFrame(NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewTouchFrame(NavigationModifierType state)
Parameters
stateNavigationModifierType
Returns
NavigationEventNewTouchMotion(uint, double, double, double, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewTouchMotion(uint identifier, double x, double y, double pressure, NavigationModifierType state)
Parameters
identifieruintxdoubleydoublepressuredoublestateNavigationModifierType
Returns
NavigationEventNewTouchUp(uint, double, double, NavigationModifierType)
[Version("1.22")]
public static Event NavigationEventNewTouchUp(uint identifier, double x, double y, NavigationModifierType state)
Parameters
identifieruintxdoubleydoublestateNavigationModifierType
Returns
NavigationEventParseCommand(Event, out NavigationCommand)
public static bool NavigationEventParseCommand(Event @event, out NavigationCommand command)
Parameters
eventEventcommandNavigationCommand
Returns
NavigationEventParseKeyEvent(Event, out string)
public static bool NavigationEventParseKeyEvent(Event @event, out string key)
Parameters
Returns
NavigationEventParseModifierState(Event, ref NavigationModifierType)
[Version("1.22")]
public static bool NavigationEventParseModifierState(Event @event, ref NavigationModifierType state)
Parameters
eventEventstateNavigationModifierType
Returns
NavigationEventParseMouseButtonEvent(Event, out int, out double, out double)
public static bool NavigationEventParseMouseButtonEvent(Event @event, out int button, out double x, out double y)
Parameters
Returns
NavigationEventParseMouseMoveEvent(Event, out double, out double)
public static bool NavigationEventParseMouseMoveEvent(Event @event, out double x, out double y)
Parameters
Returns
NavigationEventParseMouseScrollEvent(Event, out double, out double, out double, out double)
[Version("1.18")]
public static bool NavigationEventParseMouseScrollEvent(Event @event, out double x, out double y, out double deltaX, out double deltaY)
Parameters
Returns
NavigationEventParseTouchEvent(Event, out uint, out double, out double, out double)
[Version("1.22")]
public static bool NavigationEventParseTouchEvent(Event @event, out uint identifier, out double x, out double y, out double pressure)
Parameters
Returns
NavigationEventParseTouchUpEvent(Event, out uint, out double, out double)
[Version("1.22")]
public static bool NavigationEventParseTouchUpEvent(Event @event, out uint identifier, out double x, out double y)
Parameters
Returns
NavigationEventSetCoordinates(Event, double, double)
[Version("1.22")]
public static bool NavigationEventSetCoordinates(Event @event, double x, double y)
Parameters
Returns
NavigationMessageGetType(Message)
public static NavigationMessageType NavigationMessageGetType(Message message)
Parameters
messageMessage
Returns
NavigationMessageNewAnglesChanged(Object, uint, uint)
public static Message NavigationMessageNewAnglesChanged(Object src, uint curAngle, uint nAngles)
Parameters
Returns
NavigationMessageNewCommandsChanged(Object)
public static Message NavigationMessageNewCommandsChanged(Object src)
Parameters
srcObject
Returns
NavigationMessageNewEvent(Object, Event)
[Version("1.6")]
public static Message NavigationMessageNewEvent(Object src, Event @event)
Parameters
Returns
NavigationMessageNewMouseOver(Object, bool)
public static Message NavigationMessageNewMouseOver(Object src, bool active)
Parameters
Returns
NavigationMessageParseAnglesChanged(Message, out uint, out uint)
public static bool NavigationMessageParseAnglesChanged(Message message, out uint curAngle, out uint nAngles)
Parameters
Returns
NavigationMessageParseMouseOver(Message, out bool)
public static bool NavigationMessageParseMouseOver(Message message, out bool active)
Parameters
Returns
NavigationQueryGetType(Query)
public static NavigationQueryType NavigationQueryGetType(Query query)
Parameters
queryQuery
Returns
NavigationQueryNewAngles()
public static Query NavigationQueryNewAngles()
Returns
NavigationQueryNewCommands()
public static Query NavigationQueryNewCommands()
Returns
NavigationQueryParseAngles(Query, out uint, out uint)
public static bool NavigationQueryParseAngles(Query query, out uint curAngle, out uint nAngles)
Parameters
Returns
NavigationQueryParseCommandsLength(Query, out uint)
public static bool NavigationQueryParseCommandsLength(Query query, out uint nCmds)
Parameters
Returns
NavigationQueryParseCommandsNth(Query, uint, out NavigationCommand)
public static bool NavigationQueryParseCommandsNth(Query query, uint nth, out NavigationCommand cmd)
Parameters
queryQuerynthuintcmdNavigationCommand
Returns
NavigationQuerySetAngles(Query, uint, uint)
public static void NavigationQuerySetAngles(Query query, uint curAngle, uint nAngles)
Parameters
VideoAfdMetaApiGetType()
public static Type VideoAfdMetaApiGetType()
Returns
VideoAfdMetaGetInfo()
public static MetaInfo VideoAfdMetaGetInfo()
Returns
VideoAffineTransformationMetaApiGetType()
public static Type VideoAffineTransformationMetaApiGetType()
Returns
VideoAffineTransformationMetaGetInfo()
public static MetaInfo VideoAffineTransformationMetaGetInfo()
Returns
VideoBarMetaApiGetType()
public static Type VideoBarMetaApiGetType()
Returns
VideoBarMetaGetInfo()
public static MetaInfo VideoBarMetaGetInfo()
Returns
VideoBlend(VideoFrame, VideoFrame, int, int, float)
public static bool VideoBlend(VideoFrame dest, VideoFrame src, int x, int y, float globalAlpha)
Parameters
destVideoFramesrcVideoFramexintyintglobalAlphafloat
Returns
VideoCalculateDisplayRatio(out uint, out uint, uint, uint, uint, uint, uint, uint)
public static bool VideoCalculateDisplayRatio(out uint darN, out uint darD, uint videoWidth, uint videoHeight, uint videoParN, uint videoParD, uint displayParN, uint displayParD)
Parameters
darNuintdarDuintvideoWidthuintvideoHeightuintvideoParNuintvideoParDuintdisplayParNuintdisplayParDuint
Returns
VideoCaptionMetaApiGetType()
public static Type VideoCaptionMetaApiGetType()
Returns
VideoCaptionMetaGetInfo()
public static MetaInfo VideoCaptionMetaGetInfo()
Returns
VideoCaptionTypeFromCaps(Caps)
[Version("1.16")]
public static VideoCaptionType VideoCaptionTypeFromCaps(Caps caps)
Parameters
capsCaps
Returns
VideoCaptionTypeToCaps(VideoCaptionType)
[Version("1.16")]
public static Caps VideoCaptionTypeToCaps(VideoCaptionType type)
Parameters
typeVideoCaptionType
Returns
VideoCenterRect(VideoRectangle, VideoRectangle, out VideoRectangle, bool)
[Version("1.20")]
public static void VideoCenterRect(VideoRectangle src, VideoRectangle dst, out VideoRectangle result, bool scaling)
Parameters
srcVideoRectangledstVideoRectangleresultVideoRectanglescalingbool
VideoChromaFromString(string)
public static VideoChromaSite VideoChromaFromString(string s)
Parameters
sstring
Returns
VideoChromaResample(VideoChromaResample, nint, int)
public static void VideoChromaResample(VideoChromaResample resample, nint lines, int width)
Parameters
resampleVideoChromaResamplelinesnintwidthint
VideoChromaResampleNew(VideoChromaMethod, VideoChromaSite, VideoChromaFlags, VideoFormat, int, int)
public static VideoChromaResample VideoChromaResampleNew(VideoChromaMethod method, VideoChromaSite site, VideoChromaFlags flags, VideoFormat format, int hFactor, int vFactor)
Parameters
methodVideoChromaMethodsiteVideoChromaSiteflagsVideoChromaFlagsformatVideoFormathFactorintvFactorint
Returns
VideoChromaSiteFromString(string)
[Version("1.20")]
public static VideoChromaSite VideoChromaSiteFromString(string s)
Parameters
sstring
Returns
VideoChromaSiteToString(VideoChromaSite)
[Version("1.20")]
public static string? VideoChromaSiteToString(VideoChromaSite site)
Parameters
siteVideoChromaSite
Returns
VideoChromaToString(VideoChromaSite)
public static string VideoChromaToString(VideoChromaSite site)
Parameters
siteVideoChromaSite
Returns
VideoCodecAlphaMetaApiGetType()
[Version("1.20")]
public static Type VideoCodecAlphaMetaApiGetType()
Returns
VideoCodecAlphaMetaGetInfo()
[Version("1.20")]
public static MetaInfo VideoCodecAlphaMetaGetInfo()
Returns
VideoColorMatrixFromIso(uint)
[Version("1.18")]
public static VideoColorMatrix VideoColorMatrixFromIso(uint value)
Parameters
valueuint
Returns
VideoColorMatrixGetKrKb(VideoColorMatrix, out double, out double)
[Version("1.6")]
public static bool VideoColorMatrixGetKrKb(VideoColorMatrix matrix, out double kr, out double kb)
Parameters
matrixVideoColorMatrixkrdoublekbdouble
Returns
VideoColorMatrixToIso(VideoColorMatrix)
[Version("1.18")]
public static uint VideoColorMatrixToIso(VideoColorMatrix matrix)
Parameters
matrixVideoColorMatrix
Returns
VideoColorPrimariesFromIso(uint)
[Version("1.18")]
public static VideoColorPrimaries VideoColorPrimariesFromIso(uint value)
Parameters
valueuint
Returns
VideoColorPrimariesGetInfo(VideoColorPrimaries)
[Version("1.6")]
public static VideoColorPrimariesInfo VideoColorPrimariesGetInfo(VideoColorPrimaries primaries)
Parameters
primariesVideoColorPrimaries
Returns
VideoColorPrimariesIsEquivalent(VideoColorPrimaries, VideoColorPrimaries)
[Version("1.22")]
public static bool VideoColorPrimariesIsEquivalent(VideoColorPrimaries primaries, VideoColorPrimaries other)
Parameters
primariesVideoColorPrimariesotherVideoColorPrimaries
Returns
VideoColorPrimariesToIso(VideoColorPrimaries)
[Version("1.18")]
public static uint VideoColorPrimariesToIso(VideoColorPrimaries primaries)
Parameters
primariesVideoColorPrimaries
Returns
VideoColorTransferDecode(VideoTransferFunction, double)
[Version("1.6")]
public static double VideoColorTransferDecode(VideoTransferFunction func, double val)
Parameters
funcVideoTransferFunctionvaldouble
Returns
VideoColorTransferEncode(VideoTransferFunction, double)
[Version("1.6")]
public static double VideoColorTransferEncode(VideoTransferFunction func, double val)
Parameters
funcVideoTransferFunctionvaldouble
Returns
VideoConvertSample(Sample, Caps, ClockTime)
public static Sample? VideoConvertSample(Sample sample, Caps toCaps, ClockTime timeout)
Parameters
Returns
VideoConvertSampleAsync(Sample, Caps, ClockTime, VideoConvertSampleCallback)
public static void VideoConvertSampleAsync(Sample sample, Caps toCaps, ClockTime timeout, VideoConvertSampleCallback callback)
Parameters
sampleSampletoCapsCapstimeoutClockTimecallbackVideoConvertSampleCallbackA callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).
VideoConverterNew(VideoInfo, VideoInfo, Structure)
[Version("1.6")]
public static VideoConverter VideoConverterNew(VideoInfo inInfo, VideoInfo outInfo, Structure config)
Parameters
Returns
VideoConverterNewWithPool(VideoInfo, VideoInfo, Structure, TaskPool?)
[Version("1.20")]
public static VideoConverter VideoConverterNewWithPool(VideoInfo inInfo, VideoInfo outInfo, Structure config, TaskPool? pool)
Parameters
Returns
VideoCropMetaApiGetType()
public static Type VideoCropMetaApiGetType()
Returns
VideoCropMetaGetInfo()
public static MetaInfo VideoCropMetaGetInfo()
Returns
VideoDitherNew(VideoDitherMethod, VideoDitherFlags, VideoFormat, ref uint, uint)
public static VideoDither VideoDitherNew(VideoDitherMethod method, VideoDitherFlags flags, VideoFormat format, ref uint quantizer, uint width)
Parameters
methodVideoDitherMethodflagsVideoDitherFlagsformatVideoFormatquantizeruintwidthuint
Returns
VideoDmaDrmFormatFromGstFormat(VideoFormat, ref ulong)
[Version("1.26")]
public static uint VideoDmaDrmFormatFromGstFormat(VideoFormat format, ref ulong modifier)
Parameters
formatVideoFormatmodifierulong
Returns
VideoDmaDrmFormatToGstFormat(uint, ulong)
[Version("1.26")]
public static VideoFormat VideoDmaDrmFormatToGstFormat(uint fourcc, ulong modifier)
Parameters
Returns
VideoDmaDrmFourccFromFormat(VideoFormat)
[Version("1.24")]
public static uint VideoDmaDrmFourccFromFormat(VideoFormat format)
Parameters
formatVideoFormat
Returns
VideoDmaDrmFourccFromString(string, out ulong)
[Version("1.24")]
public static uint VideoDmaDrmFourccFromString(string formatStr, out ulong modifier)
Parameters
Returns
VideoDmaDrmFourccToFormat(uint)
[Version("1.24")]
public static VideoFormat VideoDmaDrmFourccToFormat(uint fourcc)
Parameters
fourccuint
Returns
VideoDmaDrmFourccToString(uint, ulong)
[Version("1.24")]
public static string? VideoDmaDrmFourccToString(uint fourcc, ulong modifier)
Parameters
Returns
VideoEventIsForceKeyUnit(Event)
public static bool VideoEventIsForceKeyUnit(Event @event)
Parameters
eventEvent
Returns
VideoEventNewDownstreamForceKeyUnit(ClockTime, ClockTime, ClockTime, bool, uint)
public static Event VideoEventNewDownstreamForceKeyUnit(ClockTime timestamp, ClockTime streamTime, ClockTime runningTime, bool allHeaders, uint count)
Parameters
Returns
VideoEventNewStillFrame(bool)
public static Event VideoEventNewStillFrame(bool inStill)
Parameters
inStillbool
Returns
VideoEventNewUpstreamForceKeyUnit(ClockTime, bool, uint)
public static Event VideoEventNewUpstreamForceKeyUnit(ClockTime runningTime, bool allHeaders, uint count)
Parameters
Returns
VideoEventParseDownstreamForceKeyUnit(Event, out ClockTime, out ClockTime, out ClockTime, out bool, out uint)
public static bool VideoEventParseDownstreamForceKeyUnit(Event @event, out ClockTime timestamp, out ClockTime streamTime, out ClockTime runningTime, out bool allHeaders, out uint count)
Parameters
eventEventtimestampClockTimestreamTimeClockTimerunningTimeClockTimeallHeadersboolcountuint
Returns
VideoEventParseStillFrame(Event, out bool)
public static bool VideoEventParseStillFrame(Event @event, out bool inStill)
Parameters
Returns
VideoEventParseUpstreamForceKeyUnit(Event, out ClockTime, out bool, out uint)
public static bool VideoEventParseUpstreamForceKeyUnit(Event @event, out ClockTime runningTime, out bool allHeaders, out uint count)
Parameters
Returns
VideoFieldOrderFromString(string)
[Version("1.12")]
public static VideoFieldOrder VideoFieldOrderFromString(string order)
Parameters
orderstring
Returns
VideoFieldOrderToString(VideoFieldOrder)
[Version("1.12")]
public static string VideoFieldOrderToString(VideoFieldOrder order)
Parameters
orderVideoFieldOrder
Returns
VideoFormatFromFourcc(uint)
public static VideoFormat VideoFormatFromFourcc(uint fourcc)
Parameters
fourccuint
Returns
VideoFormatFromMasks(int, int, int, uint, uint, uint, uint)
public static VideoFormat VideoFormatFromMasks(int depth, int bpp, int endianness, uint redMask, uint greenMask, uint blueMask, uint alphaMask)
Parameters
Returns
VideoFormatFromString(string)
public static VideoFormat VideoFormatFromString(string format)
Parameters
formatstring
Returns
VideoFormatGetInfo(VideoFormat)
public static VideoFormatInfo VideoFormatGetInfo(VideoFormat format)
Parameters
formatVideoFormat
Returns
VideoFormatGetPalette(VideoFormat, out nuint)
[Version("1.2")]
public static nint VideoFormatGetPalette(VideoFormat format, out nuint size)
Parameters
formatVideoFormatsizenuint
Returns
VideoFormatToFourcc(VideoFormat)
public static uint VideoFormatToFourcc(VideoFormat format)
Parameters
formatVideoFormat
Returns
VideoFormatToString(VideoFormat)
public static string VideoFormatToString(VideoFormat format)
Parameters
formatVideoFormat
Returns
VideoFrameMap(out VideoFrame, VideoInfo, Buffer, MapFlags)
public static bool VideoFrameMap(out VideoFrame frame, VideoInfo info, Buffer buffer, MapFlags flags)
Parameters
frameVideoFrameinfoVideoInfobufferBufferflagsMapFlags
Returns
VideoFrameMapId(out VideoFrame, VideoInfo, Buffer, int, MapFlags)
public static bool VideoFrameMapId(out VideoFrame frame, VideoInfo info, Buffer buffer, int id, MapFlags flags)
Parameters
frameVideoFrameinfoVideoInfobufferBufferidintflagsMapFlags
Returns
VideoGlTextureUploadMetaApiGetType()
public static Type VideoGlTextureUploadMetaApiGetType()
Returns
VideoGlTextureUploadMetaGetInfo()
public static MetaInfo VideoGlTextureUploadMetaGetInfo()
Returns
VideoGuessFramerate(ClockTime, out int, out int)
[Version("1.6")]
public static bool VideoGuessFramerate(ClockTime duration, out int destN, out int destD)
Parameters
Returns
VideoInfoDmaDrmFromCaps(out VideoInfoDmaDrm, Caps)
[Version("1.24")]
public static bool VideoInfoDmaDrmFromCaps(out VideoInfoDmaDrm drmInfo, Caps caps)
Parameters
drmInfoVideoInfoDmaDrmcapsCaps
Returns
VideoInfoDmaDrmFromVideoInfo(out VideoInfoDmaDrm, VideoInfo, ulong)
[Version("1.24")]
public static bool VideoInfoDmaDrmFromVideoInfo(out VideoInfoDmaDrm drmInfo, VideoInfo info, ulong modifier)
Parameters
drmInfoVideoInfoDmaDrminfoVideoInfomodifierulong
Returns
VideoInfoDmaDrmInit(out VideoInfoDmaDrm)
[Version("1.24")]
public static void VideoInfoDmaDrmInit(out VideoInfoDmaDrm drmInfo)
Parameters
drmInfoVideoInfoDmaDrm
VideoInfoFromCaps(out VideoInfo, Caps)
public static bool VideoInfoFromCaps(out VideoInfo info, Caps caps)
Parameters
Returns
VideoInfoInit(out VideoInfo)
public static void VideoInfoInit(out VideoInfo info)
Parameters
infoVideoInfo
VideoInterlaceModeFromString(string)
[Version("1.6")]
public static VideoInterlaceMode VideoInterlaceModeFromString(string mode)
Parameters
modestring
Returns
VideoInterlaceModeToString(VideoInterlaceMode)
[Version("1.6")]
public static string VideoInterlaceModeToString(VideoInterlaceMode mode)
Parameters
modeVideoInterlaceMode
Returns
VideoIsCommonAspectRatio(int, int, int, int)
[Version("1.22")]
public static bool VideoIsCommonAspectRatio(int width, int height, int parN, int parD)
Parameters
Returns
VideoIsDmaDrmCaps(Caps)
[Version("1.24")]
public static bool VideoIsDmaDrmCaps(Caps caps)
Parameters
capsCaps
Returns
VideoMasteringDisplayInfoFromString(out VideoMasteringDisplayInfo, string)
[Version("1.18")]
public static bool VideoMasteringDisplayInfoFromString(out VideoMasteringDisplayInfo minfo, string mastering)
Parameters
minfoVideoMasteringDisplayInfomasteringstring
Returns
VideoMetaApiGetType()
public static Type VideoMetaApiGetType()
Returns
VideoMetaGetInfo()
public static MetaInfo VideoMetaGetInfo()
Returns
VideoMetaTransformScaleGetQuark()
public static Quark VideoMetaTransformScaleGetQuark()
Returns
VideoMultiviewGetDoubledHeightModes()
[Version("1.6")]
public static Value VideoMultiviewGetDoubledHeightModes()
Returns
VideoMultiviewGetDoubledSizeModes()
[Version("1.6")]
public static Value VideoMultiviewGetDoubledSizeModes()
Returns
VideoMultiviewGetDoubledWidthModes()
[Version("1.6")]
public static Value VideoMultiviewGetDoubledWidthModes()
Returns
VideoMultiviewGetMonoModes()
[Version("1.6")]
public static Value VideoMultiviewGetMonoModes()
Returns
VideoMultiviewGetUnpackedModes()
[Version("1.6")]
public static Value VideoMultiviewGetUnpackedModes()
Returns
VideoMultiviewGuessHalfAspect(VideoMultiviewMode, uint, uint, uint, uint)
[Version("1.6")]
public static bool VideoMultiviewGuessHalfAspect(VideoMultiviewMode mvMode, uint width, uint height, uint parN, uint parD)
Parameters
mvModeVideoMultiviewModewidthuintheightuintparNuintparDuint
Returns
VideoMultiviewModeFromCapsString(string)
[Version("1.6")]
public static VideoMultiviewMode VideoMultiviewModeFromCapsString(string capsMviewMode)
Parameters
capsMviewModestring
Returns
VideoMultiviewModeToCapsString(VideoMultiviewMode)
[Version("1.6")]
public static string? VideoMultiviewModeToCapsString(VideoMultiviewMode mviewMode)
Parameters
mviewModeVideoMultiviewMode
Returns
VideoMultiviewVideoInfoChangeMode(VideoInfo, VideoMultiviewMode, VideoMultiviewFlags)
[Version("1.6")]
public static void VideoMultiviewVideoInfoChangeMode(VideoInfo info, VideoMultiviewMode outMviewMode, VideoMultiviewFlags outMviewFlags)
Parameters
infoVideoInfooutMviewModeVideoMultiviewModeoutMviewFlagsVideoMultiviewFlags
VideoOrientationFromTag(TagList, out VideoOrientationMethod)
[Version("1.20")]
public static bool VideoOrientationFromTag(TagList taglist, out VideoOrientationMethod method)
Parameters
taglistTagListmethodVideoOrientationMethod
Returns
VideoOverlayCompositionMetaApiGetType()
public static Type VideoOverlayCompositionMetaApiGetType()
Returns
VideoOverlayCompositionMetaGetInfo()
public static MetaInfo VideoOverlayCompositionMetaGetInfo()
Returns
VideoOverlayInstallProperties(ObjectClass, int)
[Version("1.14")]
public static void VideoOverlayInstallProperties(ObjectClass oclass, int lastPropId)
Parameters
oclassObjectClasslastPropIdint
VideoOverlaySetProperty(Object, int, uint, Value)
[Version("1.14")]
public static bool VideoOverlaySetProperty(Object @object, int lastPropId, uint propertyId, Value value)
Parameters
Returns
VideoRegionOfInterestMetaApiGetType()
public static Type VideoRegionOfInterestMetaApiGetType()
Returns
VideoRegionOfInterestMetaGetInfo()
public static MetaInfo VideoRegionOfInterestMetaGetInfo()
Returns
VideoScalerNew(VideoResamplerMethod, VideoScalerFlags, uint, uint, uint, Structure?)
public static VideoScaler VideoScalerNew(VideoResamplerMethod method, VideoScalerFlags flags, uint nTaps, uint inSize, uint outSize, Structure? options)
Parameters
methodVideoResamplerMethodflagsVideoScalerFlagsnTapsuintinSizeuintoutSizeuintoptionsStructure
Returns
VideoSeiUserDataUnregisteredMetaApiGetType()
[Version("1.22")]
public static Type VideoSeiUserDataUnregisteredMetaApiGetType()
Returns
VideoSeiUserDataUnregisteredMetaGetInfo()
[Version("1.22")]
public static MetaInfo VideoSeiUserDataUnregisteredMetaGetInfo()
Returns
VideoSeiUserDataUnregisteredParsePrecisionTimeStamp(VideoSEIUserDataUnregisteredMeta, out byte, out ulong)
[Version("1.22")]
public static bool VideoSeiUserDataUnregisteredParsePrecisionTimeStamp(VideoSEIUserDataUnregisteredMeta userData, out byte status, out ulong precisionTimeStamp)
Parameters
userDataVideoSEIUserDataUnregisteredMetastatusbyteprecisionTimeStampulong
Returns
VideoTileGetIndex(VideoTileMode, int, int, int, int)
[Version("1.4")]
public static uint VideoTileGetIndex(VideoTileMode mode, int x, int y, int xTiles, int yTiles)
Parameters
modeVideoTileModexintyintxTilesintyTilesint
Returns
VideoTimeCodeMetaApiGetType()
public static Type VideoTimeCodeMetaApiGetType()
Returns
VideoTimeCodeMetaGetInfo()
public static MetaInfo VideoTimeCodeMetaGetInfo()
Returns
VideoTransferFunctionDecode(VideoTransferFunction, double)
[Version("1.20")]
public static double VideoTransferFunctionDecode(VideoTransferFunction func, double val)
Parameters
funcVideoTransferFunctionvaldouble
Returns
VideoTransferFunctionEncode(VideoTransferFunction, double)
[Version("1.20")]
public static double VideoTransferFunctionEncode(VideoTransferFunction func, double val)
Parameters
funcVideoTransferFunctionvaldouble
Returns
VideoTransferFunctionFromIso(uint)
[Version("1.18")]
public static VideoTransferFunction VideoTransferFunctionFromIso(uint value)
Parameters
valueuint
Returns
VideoTransferFunctionIsEquivalent(VideoTransferFunction, uint, VideoTransferFunction, uint)
[Version("1.18")]
public static bool VideoTransferFunctionIsEquivalent(VideoTransferFunction fromFunc, uint fromBpp, VideoTransferFunction toFunc, uint toBpp)
Parameters
fromFuncVideoTransferFunctionfromBppuinttoFuncVideoTransferFunctiontoBppuint
Returns
VideoTransferFunctionToIso(VideoTransferFunction)
[Version("1.18")]
public static uint VideoTransferFunctionToIso(VideoTransferFunction func)