mpv/video/decode
wm4 85488f6892 video: change hw_subfmt meaning
The hw_subfmt field roughly corresponds to the field
AVHWFramesContext.sw_format in ffmpeg. The ffmpeg one is of the type
AVPixelFormat (instead of the underlying hardware format), so it's a
good idea to switch to this too for preparation.

Now the hw_subfmt field is an mp_imgfmt instead of an opaque/API-
specific number. VDPAU and Direct3D11 already used mp_imgfmt, but
Videotoolbox and VAAPI had to be switched.

One somewhat user-visible change is that the verbose log will now always
show the hw_subfmt as image format, instead of as nonsensical number.

(In the end it would be good if we could switch to AVHWFramesContext
completely, but the upstream API is incomplete and doesn't cover
Direct3D11 and Videotoolbox.)
2016-07-15 13:04:17 +02:00
..
d3d.c d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
d3d.h d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
d3d11va.c d3d11va: remove unused d3d11va_surface.subindex field 2016-06-16 18:13:46 +02:00
dec_video.c
dec_video.h
dxva2.c dxva2: remove dead code in failure case 2016-06-07 18:53:05 +10:00
lavc.h vd_lavc: expose mastering display side data reference peak 2016-07-03 19:42:52 +02:00
vaapi.c
vd.h
vd_lavc.c videotoolbox: add --hwdec=videotoolbox-copy for h/w accelerated decoding with video filters 2016-07-15 01:01:17 +02:00
vdpau.c vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
videotoolbox.c video: change hw_subfmt meaning 2016-07-15 13:04:17 +02:00