diff options
author | wm4 <wm4@nowhere> | 2020-01-12 01:47:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-01-12 01:47:42 +0100 |
commit | 63bf362d1101a40fc8dc49bf24447d8740de42f7 (patch) | |
tree | cf773a2417a5d93e1f69fea3e6d2eaf3ad8c22bf /filters/f_hwtransfer.h | |
parent | 68292a27808793d67238dbff442f31ca531bd109 (diff) | |
download | mpv-63bf362d1101a40fc8dc49bf24447d8740de42f7.tar.bz2 mpv-63bf362d1101a40fc8dc49bf24447d8740de42f7.tar.xz |
f_hwtransfer: move format fields to private struct
A user can barely do anything useful with it, and there are no users
which access these anyway, so private is better.
Diffstat (limited to 'filters/f_hwtransfer.h')
-rw-r--r-- | filters/f_hwtransfer.h | 16 |
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); |