Interface IBufferSource
Interface to access buffer source specific functions.
Namespace: FFmpeg.Filters
Assembly: FFmpeg.dll
Syntax
public interface IBufferSource
Properties
View SourceContext
Pointer to the unmanaged _AVFilterContext
Declaration
_AVFilterContext* Context { get; }
Property Value
| Type | Description |
|---|---|
| _AVFilterContext* |
Methods
View SourceDrain()
Signals end-of-stream to the buffer source filter.
Declaration
AVResult32 Drain()
Returns
| Type | Description |
|---|---|
| AVResult32 | The result returned by FFmpeg. |
SendFrame(AVFrame?, bool)
Sends a frame to a buffer source filter.
Declaration
AVResult32 SendFrame(AVFrame? frame, bool keepRef = false)
Parameters
| Type | Name | Description |
|---|---|---|
| AVFrame | frame | The frame to send, or null to signal end-of-stream. |
| bool | keepRef | true to keep a reference to the supplied frame; false to transfer ownership when possible. |
Returns
| Type | Description |
|---|---|
| AVResult32 | The result returned by FFmpeg. |
SetBufferSourceParameters(BufferSrcParameters)
Sets the parameters of a buffer source filter.
Declaration
AVResult32 SetBufferSourceParameters(BufferSrcParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| BufferSrcParameters | parameters | The buffer source parameters to apply. |
Returns
| Type | Description |
|---|---|
| AVResult32 | The result of the operation. |