Re: [FFmpeg-devel] [PATCH v2 02/17] swscale/utils: add HDR metadata to SwsFormat

2024-12-19 Thread Niklas Haas
On Thu, 19 Dec 2024 05:07:16 +0100 Michael Niedermayer wrote: > Hi > > > On Mon, Dec 16, 2024 at 12:17:23PM +0100, Niklas Haas wrote: > [...] > > diff --git a/libswscale/utils.h b/libswscale/utils.h > > index 4d204ef6cc..52b1e67644 100644 > > --- a/libswscale/utils.h > > +++ b/libswscale/utils.h

Re: [FFmpeg-devel] [PATCH v2 02/17] swscale/utils: add HDR metadata to SwsFormat

2024-12-18 Thread Michael Niedermayer
Hi On Mon, Dec 16, 2024 at 12:17:23PM +0100, Niklas Haas wrote: [...] > diff --git a/libswscale/utils.h b/libswscale/utils.h > index 4d204ef6cc..52b1e67644 100644 > --- a/libswscale/utils.h > +++ b/libswscale/utils.h > @@ -21,26 +21,55 @@ > #ifndef SWSCALE_UTILS_H > #define SWSCALE_UTILS_H >

[FFmpeg-devel] [PATCH v2 02/17] swscale/utils: add HDR metadata to SwsFormat

2024-12-16 Thread Niklas Haas
From: Niklas Haas Only add the condensed values that we actually care about. Group them into a new struct to make it easier to discard or replace this metadata. Define a special comparison function that does not choke on undefined/unknown metadata. --- libswscale/swscale.c | 7 --- libswsc