mpv/video/decode
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
..
d3d.c d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
d3d.h d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
d3d11va.c d3d11va: remove unused d3d11va_surface.subindex field 2016-06-16 18:13:46 +02:00
dec_video.c
dec_video.h
dxva2.c dxva2: remove dead code in failure case 2016-06-07 18:53:05 +10:00
lavc.h video: add --hwdec=auto-copy mode 2016-05-11 16:20:13 +02:00
vaapi.c vaapi: avoid forward declaration of variable 2016-05-15 18:37:51 +02:00
vd.h
vd_lavc.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vdpau.c vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
videotoolbox.c