1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 21:52:12 +00:00
mpv/test
wm4 caee8748da video: clean up some imgfmt related stuff
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 00653a3eb0). With this I've decided to keep mp_imgfmt_desc,
just removing the weird parts, and keeping the saner parts.
2020-05-18 01:54:59 +02:00
..
ref video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
chmap.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
gl_video.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
img_format.c video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
input-gamepad.conf
json.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
linked_list.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
paths.c path: add mp_path_is_absolute() 2020-02-06 14:14:35 +01:00
repack.c video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
scale_sws.c test: add tests for zimg RGB repacking 2019-11-09 01:55:13 +01:00
scale_test.c video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
scale_test.h test: add tests for zimg RGB repacking 2019-11-09 01:55:13 +01:00
scale_zimg.c test: fix some idiotic UB 2020-05-06 15:27:25 +02:00
subtimes.js
tests.c video: separate repacking code from zimg and make it independent 2020-05-09 18:02:57 +02:00
tests.h video: separate repacking code from zimg and make it independent 2020-05-09 18:02:57 +02:00