History

lavfi: generic hardware surface upload and download filters

Mark Thompson committed 10 years ago

Commit 07a844f1 parent 551c6778 files · +472 −1Browse files

Showing the changes to libavfilter/avfilter.h (1 of 8 files). Show all

Unified · Split

libavfilter/avfilter.h+9−0
@@ -300,6 +300,15 @@ struct AVFilterContext { · 299 unmodified lines
300300 * An opaque struct for libavfilter internal use.
301301 */
302302 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;
303312 };
304313
305314 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t