1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/video/decode
wm4 4c2fb8f3a2 dec_video: make vf_input and hwdec_info statically allocated
The only reason why these structs were dynamically allocated was to
avoid recursive includes in stheader.h, which is (or was) a very central
file included by almost all other files. (If a struct is referenced via
a pointer type only, it can be forward referenced, and the definition of
the struct is not needed.) Now that they're out of stheader.h, this
difference doesn't matter anymore, and the code can be simplified.

Also sneak in some sanity checks.
2013-11-23 21:39:07 +01:00
..
dec_video.c dec_video: make vf_input and hwdec_info statically allocated 2013-11-23 21:39:07 +01:00
dec_video.h dec_video: make vf_input and hwdec_info statically allocated 2013-11-23 21:39:07 +01:00
lavc_dr1.c video: move decoder context from sh_video into new struct 2013-11-23 21:36:20 +01:00
lavc.h video: move struct mp_hwdec_info into its own header file 2013-11-23 21:26:31 +01:00
vaapi.c video: move struct mp_hwdec_info into its own header file 2013-11-23 21:26:31 +01:00
vd_lavc.c dec_video: make vf_input and hwdec_info statically allocated 2013-11-23 21:39:07 +01:00
vd.h video: move decoder context from sh_video into new struct 2013-11-23 21:36:20 +01:00
vda.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
vdpau_old.c video: move decoder context from sh_video into new struct 2013-11-23 21:36:20 +01:00
vdpau.c video: move struct mp_hwdec_info into its own header file 2013-11-23 21:26:31 +01:00