Class VideoScaler
- Namespace
- GstVideo
- Assembly
- GstVideo-1.0.dll
public sealed class VideoScaler
- Inheritance
-
VideoScaler
- Inherited Members
Constructors
VideoScaler(VideoScalerOwnedHandle)
public VideoScaler(VideoScalerOwnedHandle handle)
Parameters
handleVideoScalerOwnedHandle
Properties
Handle
public VideoScalerOwnedHandle Handle { get; }
Property Value
Methods
CombinePackedYUV(VideoScaler, VideoFormat, VideoFormat)
[Version("1.6")]
public VideoScaler CombinePackedYUV(VideoScaler uvScale, VideoFormat inFormat, VideoFormat outFormat)
Parameters
uvScaleVideoScalerinFormatVideoFormatoutFormatVideoFormat
Returns
Equals(VideoScaler?)
public bool Equals(VideoScaler? other)
Parameters
otherVideoScaler
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Free()
public void Free()
GetCoeff(uint, out uint, out uint)
public nint GetCoeff(uint outOffset, out uint inOffset, out uint nTaps)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMaxTaps()
public uint GetMaxTaps()
Returns
Horizontal(VideoFormat, nint, nint, uint, uint)
public void Horizontal(VideoFormat format, nint src, nint dest, uint destOffset, uint width)
Parameters
formatVideoFormatsrcnintdestnintdestOffsetuintwidthuint
New(VideoResamplerMethod, VideoScalerFlags, uint, uint, uint, Structure?)
public static VideoScaler New(VideoResamplerMethod method, VideoScalerFlags flags, uint nTaps, uint inSize, uint outSize, Structure? options)
Parameters
methodVideoResamplerMethodflagsVideoScalerFlagsnTapsuintinSizeuintoutSizeuintoptionsStructure
Returns
TwoD(VideoScaler, VideoFormat, nint, int, nint, int, uint, uint, uint, uint)
public void TwoD(VideoScaler vscale, VideoFormat format, nint src, int srcStride, nint dest, int destStride, uint x, uint y, uint width, uint height)
Parameters
vscaleVideoScalerformatVideoFormatsrcnintsrcStrideintdestnintdestStrideintxuintyuintwidthuintheightuint
Vertical(VideoFormat, nint, nint, uint, uint)
public void Vertical(VideoFormat format, nint srcLines, nint dest, uint destOffset, uint width)
Parameters
formatVideoFormatsrcLinesnintdestnintdestOffsetuintwidthuint