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
handle
VideoScalerOwnedHandle
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
uvScale
VideoScalerinFormat
VideoFormatoutFormat
VideoFormat
Returns
Equals(VideoScaler?)
public bool Equals(VideoScaler? other)
Parameters
other
VideoScaler
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
public void Free()
GetCoeff(uint, out uint, out uint)
public IntPtr 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, IntPtr, IntPtr, uint, uint)
public void Horizontal(VideoFormat format, IntPtr src, IntPtr dest, uint destOffset, uint width)
Parameters
format
VideoFormatsrc
IntPtrdest
IntPtrdestOffset
uintwidth
uint
New(VideoResamplerMethod, VideoScalerFlags, uint, uint, uint, Structure?)
public static VideoScaler New(VideoResamplerMethod method, VideoScalerFlags flags, uint nTaps, uint inSize, uint outSize, Structure? options)
Parameters
method
VideoResamplerMethodflags
VideoScalerFlagsnTaps
uintinSize
uintoutSize
uintoptions
Structure
Returns
TwoD(VideoScaler, VideoFormat, IntPtr, int, IntPtr, int, uint, uint, uint, uint)
public void TwoD(VideoScaler vscale, VideoFormat format, IntPtr src, int srcStride, IntPtr dest, int destStride, uint x, uint y, uint width, uint height)
Parameters
vscale
VideoScalerformat
VideoFormatsrc
IntPtrsrcStride
intdest
IntPtrdestStride
intx
uinty
uintwidth
uintheight
uint
Vertical(VideoFormat, IntPtr, IntPtr, uint, uint)
public void Vertical(VideoFormat format, IntPtr srcLines, IntPtr dest, uint destOffset, uint width)
Parameters
format
VideoFormatsrcLines
IntPtrdest
IntPtrdestOffset
uintwidth
uint