diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-07-09 03:10:45 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-07-28 19:02:34 +0100 |
commit | abb2e9ac3cb90c9268e20864f0a44baad12cd883 (patch) | |
tree | 3f817d585123a60caf519bbe6f9aff261a53b964 /doc/bitstream_filters.texi | |
parent | 43a188847cce63326c932b5226bb925f75df300e (diff) |
vp9_metadata: Improve spec-compliance and warnings
The earlier version had three deficits:
1. It allowed to set the stream to RGB although this is not allowed when
the profile is 0 or 2.
2. If it set the stream to RGB, then it did not automatically set the
range to full range; the result was that one got a warning every time a
frame with color_config element was processed if the frame originally
had TV range and the user didn't explicitly choose PC range. Now one
gets only one warning in such a situation.
3. Intra-only frames in profile 0 are automatically BT.601, but if the
user wished another color space, he was not informed about his wishes
being unfulfillable.
The commit also improves the documentation about this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/bitstream_filters.texi')
-rw-r--r-- | doc/bitstream_filters.texi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 14f35893d3..023945e9be 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -659,7 +659,9 @@ Modify metadata embedded in a VP9 stream. @table @option @item color_space -Set the color space value in the frame header. +Set the color space value in the frame header. Note that any frame +set to RGB will be implicitly set to PC range and that RGB is +incompatible with profiles 0 and 2. @table @samp @item unknown @item bt601 @@ -671,8 +673,8 @@ Set the color space value in the frame header. @end table @item color_range -Set the color range value in the frame header. Note that this cannot -be set in RGB streams. +Set the color range value in the frame header. Note that any value +imposed by the color space will take precedence over this value. @table @samp @item tv @item pc |