lavc: clarify color_range semantics

Extend description for decoding and encoding use cases.

Address issue: http://trac.ffmpeg.org/ticket/443
This commit is contained in:
Stefano Sabatini 2023-01-15 18:16:45 +01:00
parent b4eca5cce2
commit 26eb3129df
1 changed files with 5 additions and 2 deletions

View File

@ -1016,8 +1016,11 @@ typedef struct AVCodecContext {
/**
* MPEG vs JPEG YUV range.
* - encoding: Set by user
* - decoding: Set by libavcodec
* - encoding: Set by user to override the default output color range value,
* If not specified, libavcodec sets the color range depending on the
* output format.
* - decoding: Set by libavcodec, can be set by the user to propagate the
* color range to components reading from the decoder context.
*/
enum AVColorRange color_range;