]> git.sesse.net Git - ffmpeg/commit
avutil/pixfmt: improve definition of AVColorRange
authorJan Ekström <jeebjp@gmail.com>
Fri, 18 Sep 2020 20:50:54 +0000 (23:50 +0300)
committerJan Ekström <jeebjp@gmail.com>
Wed, 23 Sep 2020 16:14:45 +0000 (19:14 +0300)
commitd8ce8e8ed37e05136c96ac61f7aee83638d0600a
tree1dec3a21b7a725b3e4c065b293ace93fa0dca762
parent3f04c3037223f5e5417a14674103f3eeabb4887c
avutil/pixfmt: improve definition of AVColorRange

As it was brought up that the current documentation leaves things
as specific to YCbCr only, ICtCp and RGB are now mentioned.
Additionally, the specifications on which these definitions of
narrow and full range are defined are mentioned.

This way, the documentation of AVColorRange should now match how
most people seem to read interpret it at this point, and thus
flagging RGB AVFrames as full range is valid not only according to
common sense, but also the enum definition.
libavutil/pixfmt.h