mpv/video/filter
wm4 5accc5e7c1 vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API
Move the decoder parts from vo_vdpau.c to a new file vdpau_old.c. This
file is named so because because it's written against the "old"
libavcodec vdpau pseudo-decoder (e.g. "h264_vdpau").

Add support for the "new" libavcodec vdpau support. This was recently
added and replaces the "old" vdpau parts. (In fact, Libav is about to
deprecate and remove the "old" API without deprecation grace period,
so we have to support it now. Moreover, there will probably be no Libav
release which supports both, so the transition is even less smooth than
we could hope, and we have to support both the old and new API.)

Whether the old or new API is used is checked by a configure test: if
the new API is found, it is used, otherwise the old API is assumed.

Some details might be handled differently. Especially display preemption
is a bit problematic with the "new" libavcodec vdpau support: it wants
to keep a pointer to a specific vdpau API function (which can be driver
specific, because preemption might switch drivers). Also, surface IDs
are now directly stored in AVFrames (and mp_images), so they can't be
forced to VDP_INVALID_HANDLE on preemption. (This changes even with
older libavcodec versions, because mp_image always uses the newer
representation to make vo_vdpau.c simpler.)

Decoder initialization in the new code tries to deal with codec
profiles, while the old code always uses the highest profile per codec.

Surface allocation changes. Since the decoder won't call config() in
vo_vdpau.c on video size change anymore, we allow allocating surfaces
of arbitrary size instead of locking it to what the VO was configured.
The non-hwdec code also has slightly different allocation behavior now.

Enabling the old vdpau special decoders via e.g. --vd=lavc:h264_vdpau
doesn't work anymore (a warning suggesting the --hwdec option is
printed instead).
2013-07-28 19:25:07 +02:00
..
pullup.c
pullup.h
vf.c vf: fix unintended overwriting of image info 2013-07-28 18:44:20 +02:00
vf.h vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
vf_crop.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_delogo.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_divtc.c vf_divtc, vf_phase: Fix handling of subsampled formats 2013-04-10 00:22:00 +02:00
vf_dlopen.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_dlopen.h
vf_down3dright.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
vf_dsize.c
vf_eq.c
vf_expand.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_flip.c vf_flip: move flipping code to mp_image.c 2013-03-01 11:28:59 +01:00
vf_format.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_gradfun.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_hqdn3d.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
vf_ilpack.c
vf_lavfi.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
vf_mirror.c
vf_noformat.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_noise.c
vf_phase.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
vf_pp.c dec_video: get rid of two global variables 2013-05-21 00:45:42 +02:00
vf_pullup.c
vf_rotate.c video: add a new method to configure filters and VOs 2013-06-28 20:34:46 +02:00
vf_scale.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
vf_screenshot.c
vf_softpulldown.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
vf_stereo3d.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_sub.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00
vf_swapuv.c
vf_unsharp.c
vf_vo.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
vf_yadif.c options: use m_config for options instead of m_struct 2013-07-21 23:27:31 +02:00