Showing the changes to libavfilter/avfilter.h (1 of 8 files). Show all
Unified · Split
| @@ -300,6 +300,15 @@ struct AVFilterContext { · 299 unmodified lines | |||
| 300 | * An opaque struct for libavfilter internal use. | 300 | * An opaque struct for libavfilter internal use. |
| 301 | */ | 301 | */ |
| 302 | AVFilterInternal *internal; | 302 | AVFilterInternal *internal; |
| 303 | |||
| 304 | /** | ||
| 305 | * For filters which will create hardware frames, sets the device the | ||
| 306 | * filter should create them in. All other filters will ignore this field: | ||
| 307 | * in particular, a filter which consumes or processes hardware frames will | ||
| 308 | * instead use the hw_frames_ctx field in AVFilterLink to carry the | ||
| 309 | * hardware context information. | ||
| 310 | */ | ||
| 311 | AVBufferRef *hw_device_ctx; | ||
| 303 | }; | 312 | }; |
| 304 | 313 | ||
| 305 | /** | 314 | /** |