mpv/sub
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
..
ass_mp.c video: make OSD/subtitle bitmaps refcounted (sort of) 2020-04-26 23:34:32 +02:00
ass_mp.h command: extend osd-overlay command with bounds reporting 2020-03-06 18:20:11 +01:00
dec_sub.c sub: fix incorrect commit 2020-05-15 16:37:41 +02:00
dec_sub.h command: add property to return text subtitles in ASS 2020-05-14 22:14:49 +02:00
draw_bmp.c video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
draw_bmp.h draw_bmp: make another small guarantee to users 2020-05-13 22:46:29 +02:00
filter_regex.c sub: add an option to filter subtitles by regex 2020-02-16 02:07:24 +01:00
filter_sdh.c sub: make filter_sdh a "proper" filter, allow runtime changes 2020-02-16 02:07:24 +01:00
img_convert.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
osd.c draw_bmp: use command line options for any used scalers 2020-05-13 20:07:59 +02:00
osd.h video: remove RGB32/BGR32 aliases 2020-05-11 19:57:34 +02:00
osd_font.otf osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osd_libass.c video: make OSD/subtitle bitmaps refcounted (sort of) 2020-04-26 23:34:32 +02:00
osd_state.h osd: add change timestamp and screen size to struct sub_bitmap_list 2020-05-09 18:02:57 +02:00
sd.h command: add property to return text subtitles in ASS 2020-05-14 22:14:49 +02:00
sd_ass.c command: add property to return text subtitles in ASS 2020-05-14 22:14:49 +02:00
sd_lavc.c sd_lavc: fix occasional problems with certain VOs when changing scaling 2020-05-09 18:02:57 +02:00