mpv/sub
Niklas Haas d81fb97f45 mp_image: split colorimetry metadata into its own struct
This has two reasons:

1. I tend to add new fields to this metadata, and every time I've done
so I've consistently forgotten to update all of the dozens of places in
which this colorimetry metadata might end up getting used. While most
usages don't really care about most of the metadata, sometimes the
intend was simply to “copy” the colorimetry metadata from one struct to
another. With this being inside a substruct, those lines of code can now
simply read a.color = b.color without having to care about added or
removed fields.

2. It makes the type definitions nicer for upcoming refactors.

In going through all of the usages, I also expanded a few where I felt
that omitting the “young” fields was a bug.
2016-07-03 19:42:52 +02:00
..
ass_mp.c sub: change how libass output is converted to RGBA in some cases 2016-07-03 19:32:31 +02:00
ass_mp.h sub: pack libass bitmaps directly in sd_ass.c and osd_libass.c 2016-06-30 21:38:50 +02:00
dec_sub.c sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +02:00
dec_sub.h sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +02:00
draw_bmp.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
draw_bmp.h
img_convert.c sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c sub: interpret "text" subtitles as srt 2016-04-06 12:36:13 +02:00
osd.c sub: remove unused sub_bitmaps.scaled field 2016-07-03 19:32:43 +02:00
osd.h sub: remove unused sub_bitmaps.scaled field 2016-07-03 19:32:43 +02:00
osd_dummy.c sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +02:00
osd_font.otf
osd_libass.c sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +02:00
osd_state.h sub: change how libass output is converted to RGBA in some cases 2016-07-03 19:32:31 +02:00
sd.h sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +02:00
sd_ass.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
sd_lavc.c sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +02:00