Re: [FFmpeg-devel] [PATCH 1/2] swscale/swscale_internal: interpret RGB paletted pixel formats as RGB

2020-10-07 Thread Jan Ekström
On Wed, Oct 7, 2020 at 8:34 PM Michael Niedermayer wrote: > > On Wed, Oct 07, 2020 at 02:03:16AM +0300, Jan Ekström wrote: > > This makes isAnyRGB return true for AV_PIX_FMT_PAL8 which is currently > > the only pixel format with this flag. > > > > This lets us have a single query for formats

Re: [FFmpeg-devel] [PATCH 1/2] swscale/swscale_internal: interpret RGB paletted pixel formats as RGB

2020-10-07 Thread Michael Niedermayer
On Wed, Oct 07, 2020 at 02:03:16AM +0300, Jan Ekström wrote: > This makes isAnyRGB return true for AV_PIX_FMT_PAL8 which is currently > the only pixel format with this flag. > > This lets us have a single query for formats where we need to force > range as only full range content is supported. >

[FFmpeg-devel] [PATCH 1/2] swscale/swscale_internal: interpret RGB paletted pixel formats as RGB

2020-10-06 Thread Jan Ekström
This makes isAnyRGB return true for AV_PIX_FMT_PAL8 which is currently the only pixel format with this flag. This lets us have a single query for formats where we need to force range as only full range content is supported. --- libswscale/swscale_internal.h| 2 +-