mpv/video
wm4 ccce58d6d6 video: initialize hw decoder in get_format
Apparently the "right" place to initialize the hardware decoder is in
the libavcodec get_format callback.

This doesn't change vda.c and vdpau_old.c, because I don't have OSX, and
vdpau_old.c is probably going to be removed soon (if Libav ever manages
to release Libav 10). So for now the init_decoder callback added with
this commit is optional.

This also means vdpau.c and vaapi.c don't have to manage and check the
image parameters anymore.

This change is probably needed for when libavcodec VDA supports gets a
new iteration of its API.
2014-03-10 22:56:26 +01:00
..
decode video: initialize hw decoder in get_format 2014-03-10 22:56:26 +01:00
filter video: add rounding to aspect ratio calculations 2014-02-19 15:37:47 +01:00
out vo_opengl: Correct and clarify gl_check_features 2014-03-10 22:56:26 +01:00
csputils.c csputils: provide string descriptions of chroma locations 2014-02-16 03:51:02 +01:00
csputils.h csputils: provide string descriptions of chroma locations 2014-02-16 03:51:02 +01:00
fmt-conversion.c video/fmt-conversion.c: remove unknown pixel format messages 2013-12-21 20:50:11 +01:00
fmt-conversion.h Take care of some libavutil deprecations, drop support for FFmpeg 1.0 2013-11-29 17:39:57 +01:00
hwdec.h
image_writer.c video/fmt-conversion.c: remove unknown pixel format messages 2013-12-21 20:50:11 +01:00
image_writer.h image_writer: mp_msg conversions 2013-12-21 20:50:10 +01:00
img_format.c img_format: drop message about unknown pixel formats 2013-12-21 20:50:11 +01:00
img_format.h Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
img_fourcc.h
memcpy_pic.h
mp_image.c mp_image: reject too large image sizes 2014-01-29 17:01:42 +01:00
mp_image.h Reduce recursive config.h inclusions in headers 2013-12-18 17:12:21 +01:00
mp_image_pool.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
mp_image_pool.h
sws_utils.c sws_utils: mp_msg conversions 2013-12-21 20:50:10 +01:00
sws_utils.h sws_utils: mp_msg conversions 2013-12-21 20:50:10 +01:00
vaapi.c vaapi: fix initialization error code path 2013-12-23 11:22:12 +01:00
vaapi.h vaapi: mp_msg conversions 2013-12-21 20:50:11 +01:00
vdpau.c vdpau: mp_msg conversions 2013-12-21 20:50:11 +01:00
vdpau.h vdpau: mp_msg conversions 2013-12-21 20:50:11 +01:00
vdpau_functions.inc
vfcap.h video: remove --flip 2013-12-05 22:58:54 +01:00