Table of Contents

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

VideoScalerOwnedHandle

Methods

CombinePackedYUV(VideoScaler, VideoFormat, VideoFormat)

[Version("1.6")]
public VideoScaler CombinePackedYUV(VideoScaler uvScale, VideoFormat inFormat, VideoFormat outFormat)

Parameters

uvScale VideoScaler
inFormat VideoFormat
outFormat VideoFormat

Returns

VideoScaler

Equals(VideoScaler?)

public bool Equals(VideoScaler? other)

Parameters

other VideoScaler

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

public void Free()

GetCoeff(uint, out uint, out uint)

public IntPtr GetCoeff(uint outOffset, out uint inOffset, out uint nTaps)

Parameters

outOffset uint
inOffset uint
nTaps uint

Returns

IntPtr

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

uint

Horizontal(VideoFormat, IntPtr, IntPtr, uint, uint)

public void Horizontal(VideoFormat format, IntPtr src, IntPtr dest, uint destOffset, uint width)

Parameters

format VideoFormat
src IntPtr
dest IntPtr
destOffset uint
width 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 VideoResamplerMethod
flags VideoScalerFlags
nTaps uint
inSize uint
outSize uint
options Structure

Returns

VideoScaler

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 VideoScaler
format VideoFormat
src IntPtr
srcStride int
dest IntPtr
destStride int
x uint
y uint
width uint
height uint

Vertical(VideoFormat, IntPtr, IntPtr, uint, uint)

public void Vertical(VideoFormat format, IntPtr srcLines, IntPtr dest, uint destOffset, uint width)

Parameters

format VideoFormat
srcLines IntPtr
dest IntPtr
destOffset uint
width uint