diff options
author | wm4 <wm4@nowhere> | 2020-05-19 23:58:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-20 00:02:27 +0200 |
commit | 176f422213a6a72529f8a6394c34b06ff04f2fb3 (patch) | |
tree | 704624347a59a4c04a5858da4310b4ac6fad1c9e /input | |
parent | a20ae0417f2d1e1a2c173f5eaf66a81974df0008 (diff) | |
download | mpv-176f422213a6a72529f8a6394c34b06ff04f2fb3.tar.bz2 mpv-176f422213a6a72529f8a6394c34b06ff04f2fb3.tar.xz |
video: shuffle imgfmt metadata code around
I guess I decided to stuff it all into mp_imgfmt_desc (the "old"
struct). This is probably a mistake. At first I was afraid that this
struct would get too fat (probably justified, and hereby happened), but
on the other hand mp_imgfmt_get_desc() (which builds the struct) calls
the former mp_imgfmt_get_layout(), and the separation doesn't make too
much sense anyway. Just merge them.
Still, try to keep out the extra info for packed YUV bullshit. I think
the result is OK, and there's as much information as there was before.
The test output changes a little. There's no independent bits[] array
anymore, so formats which did not previously have set this now show it.
(These formats are mpv-only and are still missing the metadata. To be
added later). Also, the output for the cursed packed formats changes.
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions