summaryrefslogtreecommitdiffstats
path: root/filters/f_hwtransfer.h
diff options
context:
space:
mode:
Diffstat (limited to 'filters/f_hwtransfer.h')
-rw-r--r--filters/f_hwtransfer.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/filters/f_hwtransfer.h b/filters/f_hwtransfer.h
index 567bf92213..4f6c253193 100644
--- a/filters/f_hwtransfer.h
+++ b/filters/f_hwtransfer.h
@@ -5,22 +5,6 @@
// A filter which uploads sw frames to hw. Ignores hw frames.
struct mp_hwupload {
struct mp_filter *f;
-
- // Hardware wrapper format, e.g. IMGFMT_VAAPI.
- int hw_imgfmt;
-
- // List of supported underlying surface formats.
- int *fmts;
- int num_fmts;
- // List of supported upload image formats. May contain duplicate entries
- // (which should be ignored).
- int *upload_fmts;
- int num_upload_fmts;
- // For fmts[n], fmt_upload_index[n] gives the index of the first supported
- // upload format in upload_fmts[], and fmt_upload_num[n] gives the number
- // of formats at this position.
- int *fmt_upload_index;
- int *fmt_upload_num;
};
struct mp_hwupload *mp_hwupload_create(struct mp_filter *parent, int hw_imgfmt);