summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOneric <oneric@oneric.stub>2024-02-18 21:47:45 +0100
committerOneric <oneric@oneric.stub>2024-02-21 19:57:37 +0100
commitdd8e1546d2ebd571cfc5680a188394ec7b007673 (patch)
tree779554c35727e2a45572a21955926264cf7a492f
parent3887c2113d92277249a69c59ede64f3027461bdf (diff)
downloadlibass-dd8e1546d2ebd571cfc5680a188394ec7b007673.tar.bz2
libass-dd8e1546d2ebd571cfc5680a188394ec7b007673.tar.xz
Document tonemapping beyond RGB mangling
-rw-r--r--libass/ass_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libass/ass_types.h b/libass/ass_types.h
index e4cc222..48ee09e 100644
--- a/libass/ass_types.h
+++ b/libass/ass_types.h
@@ -229,6 +229,12 @@ typedef struct ass_event {
* absolutely can't do that, because the video colorspace is required
* in order to handle this as intended. API users must use the exposed
* information to perform color mangling as described above.
+ *
+ * Further note all of the above only concerns the RGB values.
+ * Color primaries and transfer charateristics of ASS subtitles
+ * must always match their associated video.
+ * (This indeed has some undesirable effects on HDR videos,
+ * but no mechanism avoiding this is yet standardized.)
*/
typedef enum ASS_YCbCrMatrix {
YCBCR_DEFAULT = 0, // Header missing