diff options
author | wm4 <wm4@nowhere> | 2016-04-07 18:46:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-07 18:47:32 +0200 |
commit | f34d086cb9e0930c734254e19b41d2964d9d113e (patch) | |
tree | 5bb40e694e2a7c7444790b4e5d1415c07485e268 /video/out/opengl/hwdec_osx.c | |
parent | 8a67606c20958fa21db0b5ba9a17f379bc01786c (diff) | |
download | mpv-f34d086cb9e0930c734254e19b41d2964d9d113e.tar.bz2 mpv-f34d086cb9e0930c734254e19b41d2964d9d113e.tar.xz |
mp_image: introduce a hw_subfmt field
For hwaccel formats, mp_image will merely point to a hardware surface
handle. In these cases, the mp_image_params.imgfmt field describes the
format insufficiently, because it mostly only describes the type of the
hardware format, not its underlying format.
Introduce hw_subfmt to describe the underlying format. It makes sense to
use it with most hwaccels, though for now it will be used with the
following commit only.
Diffstat (limited to 'video/out/opengl/hwdec_osx.c')
0 files changed, 0 insertions, 0 deletions