Show / Hide Table of Contents

Class BufferSrcParameters

Represents the parameters used for configuring a buffer source in FFmpeg. Provides mechanisms to allocate, manage, and dispose of buffer source parameters.

Inheritance
object
BufferSrcParameters
Implements
IDisposable
IAVPointer<_AVBufferSrcParameters>
Inherited Members
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: FFmpeg.Filters
Assembly: FFmpeg.dll
Syntax
public sealed class BufferSrcParameters : IDisposable, IAVPointer<_AVBufferSrcParameters>

Properties

View Source

ChannelLayout

Gets the channel layout for the buffer source.

Declaration
public ChannelLayout_ref ChannelLayout { get; }
Property Value
Type Description
ChannelLayout_ref
View Source

ColorRange

Gets or sets the color range of the buffer source.

Declaration
public ColorRange ColorRange { get; set; }
Property Value
Type Description
ColorRange
View Source

ColorSpace

Gets or sets the color space of the buffer source.

Declaration
public ColorSpace ColorSpace { get; set; }
Property Value
Type Description
ColorSpace
View Source

FrameRate

Gets or sets the frame rate of the buffer source.

Declaration
public Rational FrameRate { get; set; }
Property Value
Type Description
Rational
View Source

Height

Gets or sets the height of the buffer source.

Declaration
public int Height { get; set; }
Property Value
Type Description
int
View Source

PixelFormat

Gets or sets the pixel format used for the buffer source.

Declaration
public PixelFormat PixelFormat { get; set; }
Property Value
Type Description
PixelFormat
View Source

SampleAspectRatio

Gets or sets the sample aspect ratio of the buffer source.

Declaration
public Rational SampleAspectRatio { get; set; }
Property Value
Type Description
Rational
View Source

SampleFormat

Gets or sets the sample format used for the buffer source.

Declaration
public SampleFormat SampleFormat { get; set; }
Property Value
Type Description
SampleFormat
View Source

SampleRate

Gets or sets the sample rate of the buffer source.

Declaration
public int SampleRate { get; set; }
Property Value
Type Description
int
View Source

TimeBase

Gets or sets the time base for the buffer source.

Declaration
public Rational TimeBase { get; set; }
Property Value
Type Description
Rational
View Source

Width

Gets or sets the width of the buffer source.

Declaration
public int Width { get; set; }
Property Value
Type Description
int

Methods

View Source

Allocate()

Allocates memory for the buffer source parameters using FFmpeg's av_buffersrc_parameters_alloc function.

Declaration
public static BufferSrcParameters Allocate()
Returns
Type Description
BufferSrcParameters

A new instance of BufferSrcParameters if memory allocation succeeds.

Exceptions
Type Condition
OutOfMemoryException

Thrown if memory allocation fails.

View Source

Dispose()

Disposes of the resources (other than memory) used by the BufferSrcParameters.

Declaration
public void Dispose()
View Source

~BufferSrcParameters()

Finalizer for the BufferSrcParameters class. Ensures that unmanaged resources are freed if Dispose() is not called.

Declaration
protected ~BufferSrcParameters()

Implements

IDisposable
IAVPointer<T>
  • View Source
In this article
Back to top Generated by DocFX