[FFmpeg-devel] [PATCH] avutil/colorspace: add macros for RGB->YUV BT.709

Gyan ffmpeg at gyani.pro
Wed Apr 17 21:00:12 EEST 2019



On 17-04-2019 11:11 PM, Vittorio Giovara wrote:
> On Wed, Apr 17, 2019 at 12:26 AM Gyan <ffmpeg at gyani.pro> wrote:
>
>>
>> On 13-04-2019 05:23 PM, Gyan wrote:
>>> Will be helpful for correct result in filters that paint like
>>> fillborders/drawbox or those using drawutils.
>> Ping.
>>
> these seem to only work for 8 bit content, is that their only intended
> usecase?
> if so, could there be at least a comment mentioning that please?
Yes, the existing macros use Rec.601 co-efficients, but most data is 709 
now.
Will add a note.

Gyan


More information about the ffmpeg-devel mailing list