mirror of
https://github.com/mpv-player/mpv
synced 2025-02-03 21:52:12 +00:00
caee8748da
Remove the vaguely defined plane_bits and component_bits fields from
struct mp_imgfmt_desc. Add weird replacements for existing uses. Remove
the bytes[] field, replace uses with bpp[].
Fix some potential alignment issues in existing code. As a compromise,
split mp_image_pixel_ptr() into 2 functions, because I think it's a bad
idea to implicitly round, but for some callers being slightly less
strict is convenient.
This shouldn't really change anything. In fact, it's a 100% useless
change. I'm just cleaning up what I started almost 8 years ago (see
commit
|
||
---|---|---|
.. | ||
ref | ||
chmap.c | ||
gl_video.c | ||
img_format.c | ||
input-gamepad.conf | ||
json.c | ||
linked_list.c | ||
paths.c | ||
repack.c | ||
scale_sws.c | ||
scale_test.c | ||
scale_test.h | ||
scale_zimg.c | ||
subtimes.js | ||
tests.c | ||
tests.h |