mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavfi: generic hardware surface upload and download filters
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
551c6775ab
commit
07a844f32e
@@ -300,6 +300,15 @@ struct AVFilterContext {
|
||||
* An opaque struct for libavfilter internal use.
|
||||
*/
|
||||
AVFilterInternal *internal;
|
||||
|
||||
/**
|
||||
* For filters which will create hardware frames, sets the device the
|
||||
* filter should create them in. All other filters will ignore this field:
|
||||
* in particular, a filter which consumes or processes hardware frames will
|
||||
* instead use the hw_frames_ctx field in AVFilterLink to carry the
|
||||
* hardware context information.
|
||||
*/
|
||||
AVBufferRef *hw_device_ctx;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user