Table of Contents

Class Functions

Namespace
GstVideo
Assembly
GstVideo-1.0.dll
public static class Functions
Inheritance
Functions
Inherited Members

Methods

BufferAddVideoAfdMeta(Buffer, byte, VideoAFDSpec, VideoAFDValue)

[Version("1.18")]
public static VideoAFDMeta BufferAddVideoAfdMeta(Buffer buffer, byte field, VideoAFDSpec spec, VideoAFDValue afd)

Parameters

buffer Buffer
field byte
spec VideoAFDSpec
afd VideoAFDValue

Returns

VideoAFDMeta

BufferAddVideoAffineTransformationMeta(Buffer)

[Version("1.8")]
public static VideoAffineTransformationMeta BufferAddVideoAffineTransformationMeta(Buffer buffer)

Parameters

buffer Buffer

Returns

VideoAffineTransformationMeta

BufferAddVideoBarMeta(Buffer, byte, bool, uint, uint)

[Version("1.18")]
public static VideoBarMeta BufferAddVideoBarMeta(Buffer buffer, byte field, bool isLetterbox, uint barData1, uint barData2)

Parameters

buffer Buffer
field byte
isLetterbox bool
barData1 uint
barData2 uint

Returns

VideoBarMeta

BufferAddVideoCaptionMeta(Buffer, VideoCaptionType, Span<byte>)

[Version("1.16")]
public static VideoCaptionMeta BufferAddVideoCaptionMeta(Buffer buffer, VideoCaptionType captionType, Span<byte> data)

Parameters

buffer Buffer
captionType VideoCaptionType
data Span<byte>

Returns

VideoCaptionMeta

BufferAddVideoCodecAlphaMeta(Buffer, Buffer)

[Version("1.20")]
public static VideoCodecAlphaMeta BufferAddVideoCodecAlphaMeta(Buffer buffer, Buffer alphaBuffer)

Parameters

buffer Buffer
alphaBuffer Buffer

Returns

VideoCodecAlphaMeta

BufferAddVideoMeta(Buffer, VideoFrameFlags, VideoFormat, uint, uint)

public static VideoMeta BufferAddVideoMeta(Buffer buffer, VideoFrameFlags flags, VideoFormat format, uint width, uint height)

Parameters

buffer Buffer
flags VideoFrameFlags
format VideoFormat
width uint
height uint

Returns

VideoMeta

BufferAddVideoOverlayCompositionMeta(Buffer, VideoOverlayComposition?)

public static VideoOverlayCompositionMeta BufferAddVideoOverlayCompositionMeta(Buffer buf, VideoOverlayComposition? comp)

Parameters

buf Buffer
comp VideoOverlayComposition

Returns

VideoOverlayCompositionMeta

BufferAddVideoRegionOfInterestMeta(Buffer, string, uint, uint, uint, uint)

public static VideoRegionOfInterestMeta BufferAddVideoRegionOfInterestMeta(Buffer buffer, string roiType, uint x, uint y, uint w, uint h)

Parameters

buffer Buffer
roiType string
x uint
y uint
w uint
h uint

Returns

VideoRegionOfInterestMeta

BufferAddVideoRegionOfInterestMetaId(Buffer, Quark, uint, uint, uint, uint)

public static VideoRegionOfInterestMeta BufferAddVideoRegionOfInterestMetaId(Buffer buffer, Quark roiType, uint x, uint y, uint w, uint h)

Parameters

buffer Buffer
roiType Quark
x uint
y uint
w uint
h uint

Returns

VideoRegionOfInterestMeta

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

buffer Buffer
uuid byte
data byte
size nuint

Returns

VideoSEIUserDataUnregisteredMeta

BufferAddVideoTimeCodeMeta(Buffer, VideoTimeCode)

[Version("1.10")]
public static VideoTimeCodeMeta? BufferAddVideoTimeCodeMeta(Buffer buffer, VideoTimeCode tc)

Parameters

buffer Buffer
tc VideoTimeCode

Returns

VideoTimeCodeMeta

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

buffer Buffer
fpsN uint
fpsD uint
latestDailyJam DateTime
flags VideoTimeCodeFlags
hours uint
minutes uint
seconds uint
frames uint
fieldCount uint

Returns

VideoTimeCodeMeta

BufferGetVideoMeta(Buffer)

public static VideoMeta? BufferGetVideoMeta(Buffer buffer)

Parameters

buffer Buffer

Returns

VideoMeta

BufferGetVideoMetaId(Buffer, int)

public static VideoMeta? BufferGetVideoMetaId(Buffer buffer, int id)

Parameters

buffer Buffer
id int

Returns

VideoMeta

BufferGetVideoRegionOfInterestMetaId(Buffer, int)

public static VideoRegionOfInterestMeta? BufferGetVideoRegionOfInterestMetaId(Buffer buffer, int id)

Parameters

buffer Buffer
id int

Returns

VideoRegionOfInterestMeta

BufferPoolConfigGetVideoAlignment(Structure, VideoAlignment)

public static bool BufferPoolConfigGetVideoAlignment(Structure config, VideoAlignment align)

Parameters

config Structure
align VideoAlignment

Returns

bool

BufferPoolConfigSetVideoAlignment(Structure, VideoAlignment)

public static void BufferPoolConfigSetVideoAlignment(Structure config, VideoAlignment align)

Parameters

config Structure
align VideoAlignment

IsVideoOverlayPrepareWindowHandleMessage(Message)

public static bool IsVideoOverlayPrepareWindowHandleMessage(Message msg)

Parameters

msg Message

Returns

bool

NavigationEventGetCoordinates(Event, out double, out double)

[Version("1.22")]
public static bool NavigationEventGetCoordinates(Event @event, out double x, out double y)

Parameters

event Event
x double
y double

Returns

bool

NavigationEventGetType(Event)

public static NavigationEventType NavigationEventGetType(Event @event)

Parameters

event Event

Returns

NavigationEventType

NavigationEventNewCommand(NavigationCommand)

[Version("1.22")]
public static Event NavigationEventNewCommand(NavigationCommand command)

Parameters

command NavigationCommand

Returns

Event

NavigationEventNewKeyPress(string, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewKeyPress(string key, NavigationModifierType state)

Parameters

key string
state NavigationModifierType

Returns

Event

NavigationEventNewKeyRelease(string, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewKeyRelease(string key, NavigationModifierType state)

Parameters

key string
state NavigationModifierType

Returns

Event

NavigationEventNewMouseButtonPress(int, double, double, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewMouseButtonPress(int button, double x, double y, NavigationModifierType state)

Parameters

button int
x double
y double
state NavigationModifierType

Returns

Event

NavigationEventNewMouseButtonRelease(int, double, double, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewMouseButtonRelease(int button, double x, double y, NavigationModifierType state)

Parameters

button int
x double
y double
state NavigationModifierType

Returns

Event

NavigationEventNewMouseMove(double, double, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewMouseMove(double x, double y, NavigationModifierType state)

Parameters

x double
y double
state NavigationModifierType

Returns

Event

NavigationEventNewMouseScroll(double, double, double, double, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewMouseScroll(double x, double y, double deltaX, double deltaY, NavigationModifierType state)

Parameters

x double
y double
deltaX double
deltaY double
state NavigationModifierType

Returns

Event

NavigationEventNewTouchCancel(NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewTouchCancel(NavigationModifierType state)

Parameters

state NavigationModifierType

Returns

Event

NavigationEventNewTouchDown(uint, double, double, double, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewTouchDown(uint identifier, double x, double y, double pressure, NavigationModifierType state)

Parameters

identifier uint
x double
y double
pressure double
state NavigationModifierType

Returns

Event

NavigationEventNewTouchFrame(NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewTouchFrame(NavigationModifierType state)

Parameters

state NavigationModifierType

Returns

Event

NavigationEventNewTouchMotion(uint, double, double, double, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewTouchMotion(uint identifier, double x, double y, double pressure, NavigationModifierType state)

Parameters

identifier uint
x double
y double
pressure double
state NavigationModifierType

Returns

Event

NavigationEventNewTouchUp(uint, double, double, NavigationModifierType)

[Version("1.22")]
public static Event NavigationEventNewTouchUp(uint identifier, double x, double y, NavigationModifierType state)

Parameters

identifier uint
x double
y double
state NavigationModifierType

Returns

Event

NavigationEventParseKeyEvent(Event, out string)

public static bool NavigationEventParseKeyEvent(Event @event, out string key)

Parameters

event Event
key string

Returns

bool

NavigationEventParseModifierState(Event, ref NavigationModifierType)

[Version("1.22")]
public static bool NavigationEventParseModifierState(Event @event, ref NavigationModifierType state)

Parameters

event Event
state NavigationModifierType

Returns

bool

NavigationEventParseMouseButtonEvent(Event, out int, out double, out double)

public static bool NavigationEventParseMouseButtonEvent(Event @event, out int button, out double x, out double y)

Parameters

event Event
button int
x double
y double

Returns

bool

NavigationEventParseMouseMoveEvent(Event, out double, out double)

public static bool NavigationEventParseMouseMoveEvent(Event @event, out double x, out double y)

Parameters

event Event
x double
y double

Returns

bool

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

event Event
x double
y double
deltaX double
deltaY double

Returns

bool

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

event Event
identifier uint
x double
y double
pressure double

Returns

bool

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

event Event
identifier uint
x double
y double

Returns

bool

NavigationEventSetCoordinates(Event, double, double)

[Version("1.22")]
public static bool NavigationEventSetCoordinates(Event @event, double x, double y)

Parameters

event Event
x double
y double

Returns

bool

NavigationMessageGetType(Message)

public static NavigationMessageType NavigationMessageGetType(Message message)

Parameters

message Message

Returns

NavigationMessageType

NavigationMessageNewAnglesChanged(Object, uint, uint)

public static Message NavigationMessageNewAnglesChanged(Object src, uint curAngle, uint nAngles)

Parameters

src Object
curAngle uint
nAngles uint

Returns

Message

NavigationMessageNewCommandsChanged(Object)

public static Message NavigationMessageNewCommandsChanged(Object src)

Parameters

src Object

Returns

Message

NavigationMessageNewEvent(Object, Event)

[Version("1.6")]
public static Message NavigationMessageNewEvent(Object src, Event @event)

Parameters

src Object
event Event

Returns

Message

NavigationMessageNewMouseOver(Object, bool)

public static Message NavigationMessageNewMouseOver(Object src, bool active)

Parameters

src Object
active bool

Returns

Message

NavigationMessageParseAnglesChanged(Message, out uint, out uint)

public static bool NavigationMessageParseAnglesChanged(Message message, out uint curAngle, out uint nAngles)

Parameters

message Message
curAngle uint
nAngles uint

Returns

bool

NavigationMessageParseMouseOver(Message, out bool)

public static bool NavigationMessageParseMouseOver(Message message, out bool active)

Parameters

message Message
active bool

Returns

bool

NavigationQueryGetType(Query)

public static NavigationQueryType NavigationQueryGetType(Query query)

Parameters

query Query

Returns

NavigationQueryType

NavigationQueryNewAngles()

public static Query NavigationQueryNewAngles()

Returns

Query

NavigationQueryNewCommands()

public static Query NavigationQueryNewCommands()

Returns

Query

NavigationQueryParseAngles(Query, out uint, out uint)

public static bool NavigationQueryParseAngles(Query query, out uint curAngle, out uint nAngles)

Parameters

query Query
curAngle uint
nAngles uint

Returns

bool

NavigationQueryParseCommandsLength(Query, out uint)

public static bool NavigationQueryParseCommandsLength(Query query, out uint nCmds)

Parameters

query Query
nCmds uint

Returns

bool

NavigationQuerySetAngles(Query, uint, uint)

public static void NavigationQuerySetAngles(Query query, uint curAngle, uint nAngles)

Parameters

query Query
curAngle uint
nAngles uint

VideoAfdMetaApiGetType()

public static Type VideoAfdMetaApiGetType()

Returns

Type

VideoAfdMetaGetInfo()

public static MetaInfo VideoAfdMetaGetInfo()

Returns

MetaInfo

VideoAffineTransformationMetaApiGetType()

public static Type VideoAffineTransformationMetaApiGetType()

Returns

Type

VideoAffineTransformationMetaGetInfo()

public static MetaInfo VideoAffineTransformationMetaGetInfo()

Returns

MetaInfo

VideoBarMetaApiGetType()

public static Type VideoBarMetaApiGetType()

Returns

Type

VideoBarMetaGetInfo()

public static MetaInfo VideoBarMetaGetInfo()

Returns

MetaInfo

VideoBlend(VideoFrame, VideoFrame, int, int, float)

public static bool VideoBlend(VideoFrame dest, VideoFrame src, int x, int y, float globalAlpha)

Parameters

dest VideoFrame
src VideoFrame
x int
y int
globalAlpha float

Returns

bool

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

darN uint
darD uint
videoWidth uint
videoHeight uint
videoParN uint
videoParD uint
displayParN uint
displayParD uint

Returns

bool

VideoCaptionMetaApiGetType()

public static Type VideoCaptionMetaApiGetType()

Returns

Type

VideoCaptionMetaGetInfo()

public static MetaInfo VideoCaptionMetaGetInfo()

Returns

MetaInfo

VideoCaptionTypeFromCaps(Caps)

[Version("1.16")]
public static VideoCaptionType VideoCaptionTypeFromCaps(Caps caps)

Parameters

caps Caps

Returns

VideoCaptionType

VideoCaptionTypeToCaps(VideoCaptionType)

[Version("1.16")]
public static Caps VideoCaptionTypeToCaps(VideoCaptionType type)

Parameters

type VideoCaptionType

Returns

Caps

VideoCenterRect(VideoRectangle, VideoRectangle, out VideoRectangle, bool)

[Version("1.20")]
public static void VideoCenterRect(VideoRectangle src, VideoRectangle dst, out VideoRectangle result, bool scaling)

Parameters

src VideoRectangle
dst VideoRectangle
result VideoRectangle
scaling bool

VideoChromaFromString(string)

public static VideoChromaSite VideoChromaFromString(string s)

Parameters

s string

Returns

VideoChromaSite

VideoChromaResample(VideoChromaResample, IntPtr, int)

public static void VideoChromaResample(VideoChromaResample resample, IntPtr lines, int width)

Parameters

resample VideoChromaResample
lines IntPtr
width int

VideoChromaResampleNew(VideoChromaMethod, VideoChromaSite, VideoChromaFlags, VideoFormat, int, int)

public static VideoChromaResample VideoChromaResampleNew(VideoChromaMethod method, VideoChromaSite site, VideoChromaFlags flags, VideoFormat format, int hFactor, int vFactor)

Parameters

method VideoChromaMethod
site VideoChromaSite
flags VideoChromaFlags
format VideoFormat
hFactor int
vFactor int

Returns

VideoChromaResample

VideoChromaSiteFromString(string)

[Version("1.20")]
public static VideoChromaSite VideoChromaSiteFromString(string s)

Parameters

s string

Returns

VideoChromaSite

VideoChromaSiteToString(VideoChromaSite)

[Version("1.20")]
public static string? VideoChromaSiteToString(VideoChromaSite site)

Parameters

site VideoChromaSite

Returns

string

VideoChromaToString(VideoChromaSite)

public static string VideoChromaToString(VideoChromaSite site)

Parameters

site VideoChromaSite

Returns

string

VideoCodecAlphaMetaApiGetType()

[Version("1.20")]
public static Type VideoCodecAlphaMetaApiGetType()

Returns

Type

VideoCodecAlphaMetaGetInfo()

[Version("1.20")]
public static MetaInfo VideoCodecAlphaMetaGetInfo()

Returns

MetaInfo

VideoColorMatrixFromIso(uint)

[Version("1.18")]
public static VideoColorMatrix VideoColorMatrixFromIso(uint value)

Parameters

value uint

Returns

VideoColorMatrix

VideoColorMatrixGetKrKb(VideoColorMatrix, out double, out double)

[Version("1.6")]
public static bool VideoColorMatrixGetKrKb(VideoColorMatrix matrix, out double kr, out double kb)

Parameters

matrix VideoColorMatrix
kr double
kb double

Returns

bool

VideoColorMatrixToIso(VideoColorMatrix)

[Version("1.18")]
public static uint VideoColorMatrixToIso(VideoColorMatrix matrix)

Parameters

matrix VideoColorMatrix

Returns

uint

VideoColorPrimariesFromIso(uint)

[Version("1.18")]
public static VideoColorPrimaries VideoColorPrimariesFromIso(uint value)

Parameters

value uint

Returns

VideoColorPrimaries

VideoColorPrimariesGetInfo(VideoColorPrimaries)

[Version("1.6")]
public static VideoColorPrimariesInfo VideoColorPrimariesGetInfo(VideoColorPrimaries primaries)

Parameters

primaries VideoColorPrimaries

Returns

VideoColorPrimariesInfo

VideoColorPrimariesIsEquivalent(VideoColorPrimaries, VideoColorPrimaries)

[Version("1.22")]
public static bool VideoColorPrimariesIsEquivalent(VideoColorPrimaries primaries, VideoColorPrimaries other)

Parameters

primaries VideoColorPrimaries
other VideoColorPrimaries

Returns

bool

VideoColorPrimariesToIso(VideoColorPrimaries)

[Version("1.18")]
public static uint VideoColorPrimariesToIso(VideoColorPrimaries primaries)

Parameters

primaries VideoColorPrimaries

Returns

uint

VideoColorTransferDecode(VideoTransferFunction, double)

[Version("1.6")]
public static double VideoColorTransferDecode(VideoTransferFunction func, double val)

Parameters

func VideoTransferFunction
val double

Returns

double

VideoColorTransferEncode(VideoTransferFunction, double)

[Version("1.6")]
public static double VideoColorTransferEncode(VideoTransferFunction func, double val)

Parameters

func VideoTransferFunction
val double

Returns

double

VideoConvertSample(Sample, Caps, ClockTime)

public static Sample VideoConvertSample(Sample sample, Caps toCaps, ClockTime timeout)

Parameters

sample Sample
toCaps Caps
timeout ClockTime

Returns

Sample

VideoConvertSampleAsync(Sample, Caps, ClockTime, VideoConvertSampleCallback)

public static void VideoConvertSampleAsync(Sample sample, Caps toCaps, ClockTime timeout, VideoConvertSampleCallback callback)

Parameters

sample Sample
toCaps Caps
timeout ClockTime
callback VideoConvertSampleCallback

VideoConverterNew(VideoInfo, VideoInfo, Structure)

[Version("1.6")]
public static VideoConverter VideoConverterNew(VideoInfo inInfo, VideoInfo outInfo, Structure config)

Parameters

inInfo VideoInfo
outInfo VideoInfo
config Structure

Returns

VideoConverter

VideoConverterNewWithPool(VideoInfo, VideoInfo, Structure, TaskPool?)

[Version("1.20")]
public static VideoConverter VideoConverterNewWithPool(VideoInfo inInfo, VideoInfo outInfo, Structure config, TaskPool? pool)

Parameters

inInfo VideoInfo
outInfo VideoInfo
config Structure
pool TaskPool

Returns

VideoConverter

VideoCropMetaApiGetType()

public static Type VideoCropMetaApiGetType()

Returns

Type

VideoCropMetaGetInfo()

public static MetaInfo VideoCropMetaGetInfo()

Returns

MetaInfo

VideoDitherNew(VideoDitherMethod, VideoDitherFlags, VideoFormat, ref uint, uint)

public static VideoDither VideoDitherNew(VideoDitherMethod method, VideoDitherFlags flags, VideoFormat format, ref uint quantizer, uint width)

Parameters

method VideoDitherMethod
flags VideoDitherFlags
format VideoFormat
quantizer uint
width uint

Returns

VideoDither

VideoEventIsForceKeyUnit(Event)

public static bool VideoEventIsForceKeyUnit(Event @event)

Parameters

event Event

Returns

bool

VideoEventNewDownstreamForceKeyUnit(ClockTime, ClockTime, ClockTime, bool, uint)

public static Event VideoEventNewDownstreamForceKeyUnit(ClockTime timestamp, ClockTime streamTime, ClockTime runningTime, bool allHeaders, uint count)

Parameters

timestamp ClockTime
streamTime ClockTime
runningTime ClockTime
allHeaders bool
count uint

Returns

Event

VideoEventNewStillFrame(bool)

public static Event VideoEventNewStillFrame(bool inStill)

Parameters

inStill bool

Returns

Event

VideoEventNewUpstreamForceKeyUnit(ClockTime, bool, uint)

public static Event VideoEventNewUpstreamForceKeyUnit(ClockTime runningTime, bool allHeaders, uint count)

Parameters

runningTime ClockTime
allHeaders bool
count uint

Returns

Event

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

event Event
timestamp ClockTime
streamTime ClockTime
runningTime ClockTime
allHeaders bool
count uint

Returns

bool

VideoEventParseStillFrame(Event, out bool)

public static bool VideoEventParseStillFrame(Event @event, out bool inStill)

Parameters

event Event
inStill bool

Returns

bool

VideoEventParseUpstreamForceKeyUnit(Event, out ClockTime, out bool, out uint)

public static bool VideoEventParseUpstreamForceKeyUnit(Event @event, out ClockTime runningTime, out bool allHeaders, out uint count)

Parameters

event Event
runningTime ClockTime
allHeaders bool
count uint

Returns

bool

VideoFieldOrderFromString(string)

[Version("1.12")]
public static VideoFieldOrder VideoFieldOrderFromString(string order)

Parameters

order string

Returns

VideoFieldOrder

VideoFieldOrderToString(VideoFieldOrder)

[Version("1.12")]
public static string VideoFieldOrderToString(VideoFieldOrder order)

Parameters

order VideoFieldOrder

Returns

string

VideoFormatFromFourcc(uint)

public static VideoFormat VideoFormatFromFourcc(uint fourcc)

Parameters

fourcc uint

Returns

VideoFormat

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

depth int
bpp int
endianness int
redMask uint
greenMask uint
blueMask uint
alphaMask uint

Returns

VideoFormat

VideoFormatFromString(string)

public static VideoFormat VideoFormatFromString(string format)

Parameters

format string

Returns

VideoFormat

VideoFormatGetInfo(VideoFormat)

public static VideoFormatInfo VideoFormatGetInfo(VideoFormat format)

Parameters

format VideoFormat

Returns

VideoFormatInfo

VideoFormatGetPalette(VideoFormat, out nuint)

[Version("1.2")]
public static IntPtr VideoFormatGetPalette(VideoFormat format, out nuint size)

Parameters

format VideoFormat
size nuint

Returns

IntPtr

VideoFormatToFourcc(VideoFormat)

public static uint VideoFormatToFourcc(VideoFormat format)

Parameters

format VideoFormat

Returns

uint

VideoFormatToString(VideoFormat)

public static string VideoFormatToString(VideoFormat format)

Parameters

format VideoFormat

Returns

string

VideoFrameMap(out VideoFrame, VideoInfo, Buffer, MapFlags)

public static bool VideoFrameMap(out VideoFrame frame, VideoInfo info, Buffer buffer, MapFlags flags)

Parameters

frame VideoFrame
info VideoInfo
buffer Buffer
flags MapFlags

Returns

bool

VideoFrameMapId(out VideoFrame, VideoInfo, Buffer, int, MapFlags)

public static bool VideoFrameMapId(out VideoFrame frame, VideoInfo info, Buffer buffer, int id, MapFlags flags)

Parameters

frame VideoFrame
info VideoInfo
buffer Buffer
id int
flags MapFlags

Returns

bool

VideoGlTextureUploadMetaApiGetType()

public static Type VideoGlTextureUploadMetaApiGetType()

Returns

Type

VideoGlTextureUploadMetaGetInfo()

public static MetaInfo VideoGlTextureUploadMetaGetInfo()

Returns

MetaInfo

VideoGuessFramerate(ClockTime, out int, out int)

[Version("1.6")]
public static bool VideoGuessFramerate(ClockTime duration, out int destN, out int destD)

Parameters

duration ClockTime
destN int
destD int

Returns

bool

VideoInterlaceModeFromString(string)

[Version("1.6")]
public static VideoInterlaceMode VideoInterlaceModeFromString(string mode)

Parameters

mode string

Returns

VideoInterlaceMode

VideoInterlaceModeToString(VideoInterlaceMode)

[Version("1.6")]
public static string VideoInterlaceModeToString(VideoInterlaceMode mode)

Parameters

mode VideoInterlaceMode

Returns

string

VideoIsCommonAspectRatio(int, int, int, int)

[Version("1.22")]
public static bool VideoIsCommonAspectRatio(int width, int height, int parN, int parD)

Parameters

width int
height int
parN int
parD int

Returns

bool

VideoMasteringDisplayInfoFromString(out VideoMasteringDisplayInfo, string)

[Version("1.18")]
public static bool VideoMasteringDisplayInfoFromString(out VideoMasteringDisplayInfo minfo, string mastering)

Parameters

minfo VideoMasteringDisplayInfo
mastering string

Returns

bool

VideoMetaApiGetType()

public static Type VideoMetaApiGetType()

Returns

Type

VideoMetaGetInfo()

public static MetaInfo VideoMetaGetInfo()

Returns

MetaInfo

VideoMetaTransformScaleGetQuark()

public static Quark VideoMetaTransformScaleGetQuark()

Returns

Quark

VideoMultiviewGetDoubledHeightModes()

[Version("1.6")]
public static Value VideoMultiviewGetDoubledHeightModes()

Returns

Value

VideoMultiviewGetDoubledSizeModes()

[Version("1.6")]
public static Value VideoMultiviewGetDoubledSizeModes()

Returns

Value

VideoMultiviewGetDoubledWidthModes()

[Version("1.6")]
public static Value VideoMultiviewGetDoubledWidthModes()

Returns

Value

VideoMultiviewGetMonoModes()

[Version("1.6")]
public static Value VideoMultiviewGetMonoModes()

Returns

Value

VideoMultiviewGetUnpackedModes()

[Version("1.6")]
public static Value VideoMultiviewGetUnpackedModes()

Returns

Value

VideoMultiviewGuessHalfAspect(VideoMultiviewMode, uint, uint, uint, uint)

[Version("1.6")]
public static bool VideoMultiviewGuessHalfAspect(VideoMultiviewMode mvMode, uint width, uint height, uint parN, uint parD)

Parameters

mvMode VideoMultiviewMode
width uint
height uint
parN uint
parD uint

Returns

bool

VideoMultiviewModeFromCapsString(string)

[Version("1.6")]
public static VideoMultiviewMode VideoMultiviewModeFromCapsString(string capsMviewMode)

Parameters

capsMviewMode string

Returns

VideoMultiviewMode

VideoMultiviewModeToCapsString(VideoMultiviewMode)

[Version("1.6")]
public static string? VideoMultiviewModeToCapsString(VideoMultiviewMode mviewMode)

Parameters

mviewMode VideoMultiviewMode

Returns

string

VideoMultiviewVideoInfoChangeMode(VideoInfo, VideoMultiviewMode, VideoMultiviewFlags)

[Version("1.6")]
public static void VideoMultiviewVideoInfoChangeMode(VideoInfo info, VideoMultiviewMode outMviewMode, VideoMultiviewFlags outMviewFlags)

Parameters

info VideoInfo
outMviewMode VideoMultiviewMode
outMviewFlags VideoMultiviewFlags

VideoOverlayCompositionMetaApiGetType()

public static Type VideoOverlayCompositionMetaApiGetType()

Returns

Type

VideoOverlayCompositionMetaGetInfo()

public static MetaInfo VideoOverlayCompositionMetaGetInfo()

Returns

MetaInfo

VideoOverlayInstallProperties(ObjectClass, int)

[Version("1.14")]
public static void VideoOverlayInstallProperties(ObjectClass oclass, int lastPropId)

Parameters

oclass ObjectClass
lastPropId int

VideoOverlaySetProperty(Object, int, uint, Value)

[Version("1.14")]
public static bool VideoOverlaySetProperty(Object @object, int lastPropId, uint propertyId, Value value)

Parameters

object Object
lastPropId int
propertyId uint
value Value

Returns

bool

VideoRegionOfInterestMetaApiGetType()

public static Type VideoRegionOfInterestMetaApiGetType()

Returns

Type

VideoRegionOfInterestMetaGetInfo()

public static MetaInfo VideoRegionOfInterestMetaGetInfo()

Returns

MetaInfo

VideoScalerNew(VideoResamplerMethod, VideoScalerFlags, uint, uint, uint, Structure?)

public static VideoScaler VideoScalerNew(VideoResamplerMethod method, VideoScalerFlags flags, uint nTaps, uint inSize, uint outSize, Structure? options)

Parameters

method VideoResamplerMethod
flags VideoScalerFlags
nTaps uint
inSize uint
outSize uint
options Structure

Returns

VideoScaler

VideoSeiUserDataUnregisteredMetaApiGetType()

[Version("1.22")]
public static Type VideoSeiUserDataUnregisteredMetaApiGetType()

Returns

Type

VideoSeiUserDataUnregisteredMetaGetInfo()

[Version("1.22")]
public static MetaInfo VideoSeiUserDataUnregisteredMetaGetInfo()

Returns

MetaInfo

VideoSeiUserDataUnregisteredParsePrecisionTimeStamp(VideoSEIUserDataUnregisteredMeta, out byte, out ulong)

[Version("1.22")]
public static bool VideoSeiUserDataUnregisteredParsePrecisionTimeStamp(VideoSEIUserDataUnregisteredMeta userData, out byte status, out ulong precisionTimeStamp)

Parameters

userData VideoSEIUserDataUnregisteredMeta
status byte
precisionTimeStamp ulong

Returns

bool

VideoTileGetIndex(VideoTileMode, int, int, int, int)

[Version("1.4")]
public static uint VideoTileGetIndex(VideoTileMode mode, int x, int y, int xTiles, int yTiles)

Parameters

mode VideoTileMode
x int
y int
xTiles int
yTiles int

Returns

uint

VideoTimeCodeMetaApiGetType()

public static Type VideoTimeCodeMetaApiGetType()

Returns

Type

VideoTimeCodeMetaGetInfo()

public static MetaInfo VideoTimeCodeMetaGetInfo()

Returns

MetaInfo

VideoTransferFunctionDecode(VideoTransferFunction, double)

[Version("1.20")]
public static double VideoTransferFunctionDecode(VideoTransferFunction func, double val)

Parameters

func VideoTransferFunction
val double

Returns

double

VideoTransferFunctionEncode(VideoTransferFunction, double)

[Version("1.20")]
public static double VideoTransferFunctionEncode(VideoTransferFunction func, double val)

Parameters

func VideoTransferFunction
val double

Returns

double

VideoTransferFunctionFromIso(uint)

[Version("1.18")]
public static VideoTransferFunction VideoTransferFunctionFromIso(uint value)

Parameters

value uint

Returns

VideoTransferFunction

VideoTransferFunctionIsEquivalent(VideoTransferFunction, uint, VideoTransferFunction, uint)

[Version("1.18")]
public static bool VideoTransferFunctionIsEquivalent(VideoTransferFunction fromFunc, uint fromBpp, VideoTransferFunction toFunc, uint toBpp)

Parameters

fromFunc VideoTransferFunction
fromBpp uint
toFunc VideoTransferFunction
toBpp uint

Returns

bool

VideoTransferFunctionToIso(VideoTransferFunction)

[Version("1.18")]
public static uint VideoTransferFunctionToIso(VideoTransferFunction func)

Parameters

func VideoTransferFunction

Returns

uint