Class HWDownload
Downloads hardware frames to system memory.
Inherited Members
Namespace: FFmpeg.Filters.VideoFilters
Assembly: FFmpeg.dll
Syntax
public class HWDownload : FilterContext, IOptionQueryable, ILoggingContext, IAVPointer<_AVFilterContext>, IBufferSource, IBufferSink
Remarks
The input frames must be hardware frames, while the output frames are stored in system memory using a non-hardware pixel format.
Not all pixel formats are supported as output. If the required output format is
not supported by the hardware download operation, an additional format
filter may need to be inserted immediately after this filter to convert the
frames to a supported format.
Methods
View SourceAllocate(string, FilterGraph)
Allocates an uninitialized HWDownload filter context.
Declaration
public static HWDownload Allocate(string name, FilterGraph graph)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name assigned to the filter context. |
| FilterGraph | graph | The filter graph to which the filter belongs. |
Returns
| Type | Description |
|---|---|
| HWDownload | A newly allocated HWDownload filter context. |
Remarks
The returned filter is not initialized. Call Init() before using the filter.
Create(string, FilterGraph)
Creates and initializes an HWDownload filter.
Declaration
public static HWDownload Create(string name, FilterGraph graph)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name assigned to the filter context. |
| FilterGraph | graph | The filter graph to which the filter belongs. |
Returns
| Type | Description |
|---|---|
| HWDownload | An initialized HWDownload filter context. |