X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=image_format.h;h=7ca334c36016e4324f0cc75fac9ab8fe87af5cb3;hp=df6f48747cdc3e933dfa6cdaf6cec88f544b14a3;hb=93377952636717f15fd50961f6d3500861596cdc;hpb=245513f7873fca03be3f031beddaca716d7536d9 diff --git a/image_format.h b/image_format.h index df6f487..7ca334c 100644 --- a/image_format.h +++ b/image_format.h @@ -1,11 +1,15 @@ #ifndef _MOVIT_IMAGE_FORMAT_H #define _MOVIT_IMAGE_FORMAT_H 1 -// Note: Input depths above 8 bits have not been tested, so Rec. 2020 -// support should be regarded as somewhat untested (it assumes 10- -// or 12-bit input). We also only support “conventional non-constant -// luminance” for Rec. 2020, where Y' is derived from R'G'B' instead of -// RGB, since this is the same system as used in Rec. 601 and 709. +// Note: Movit's internal processing formats do not have enough +// accuracy to support 12-bit input, so if you want to use Rec. 2020, +// you should probably stick to 10-bit, or accept somewhat reduced +// accuracy for 12-bit. Input depths above 8 bits are also generally +// less tested. +// +// We also only support “conventional non-constant luminance” for Rec. 2020, +// where Y' is derived from R'G'B' instead of RGB, since this is the same +// system as used in Rec. 601 and 709. enum MovitPixelFormat { FORMAT_RGB,