libavformat/yuv4mpeg: Add color range support for Y4M Add color_range support in...
authorWang Cao <doubleecao@gmail.com>
Thu, 28 Jun 2018 08:32:01 +0000 (16:32 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 29 Jun 2018 22:41:35 +0000 (00:41 +0200)
commit5a99e00023c057555697c73b2119f378b019c5fa
tree347378aad30892d24304552aa07894713de74096
parent27662ed681cbc74e9492cecf86ead8946679fd23
libavformat/yuv4mpeg: Add color range support for Y4M Add color_range support in Y4M.

Set pixel format and color_range for YUVJ pixel formats. Also set
color_range based on AVFormatContext.

Signed-off-by: Wang Cao <wangcao@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/yuv4mpegdec.c
libavformat/yuv4mpegenc.c