Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-19 Thread Moritz Barsnick
On Wed, Jan 16, 2019 at 11:54:42 -0800, Mohammad Izadi wrote: > Subject: Support HDR dynamic metdata (HDR10+) in HEVC decoder. ^ Nit no. 1: metadata Nit no. 2: Preferred format: avcodec/hevcdec: add support for HDR dynamic metadata (HDR10+) > +if (((row

[FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-16 Thread Mohammad Izadi
--- libavcodec/hevc_sei.c | 211 -- libavcodec/hevc_sei.h | 6 ++ libavcodec/hevcdec.c | 22 + 3 files changed, 233 insertions(+), 6 deletions(-) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index c59bd4321e..265e3f4dd1 100644 --- a/li

Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-15 Thread Mohammad Izadi
Asking my questions again: Q(James): Does this mean each frame can potentially have a few different parameters if dimensions change between them? If that's the case, then creating new references for the same buffer will not be possible, as the buffer becomes non writable once there's more than one

Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-08 Thread Mohammad Izadi
Q(James): Does this mean each frame can potentially have a few different parameters if dimensions change between them? If that's the case, then creating new references for the same buffer will not be possible, as the buffer becomes non writable once there's more than one reference. A: The window ha

Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-07 Thread Rostislav Pehlivanov
On Tue, 8 Jan 2019 at 00:26, Mohammad Izadi wrote: > --- > libavcodec/hevc_sei.c | 236 -- > libavcodec/hevc_sei.h | 6 ++ > libavcodec/hevcdec.c | 19 > 3 files changed, 255 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/hevc_sei.c b/l

Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-07 Thread James Almer
On 1/7/2019 8:55 PM, Mohammad Izadi wrote: > --- > libavcodec/hevc_sei.c | 236 -- > libavcodec/hevc_sei.h | 6 ++ > libavcodec/hevcdec.c | 19 > 3 files changed, 255 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/hevc_sei.c b/libavcodec

[FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-07 Thread Mohammad Izadi
--- libavcodec/hevc_sei.c | 236 -- libavcodec/hevc_sei.h | 6 ++ libavcodec/hevcdec.c | 19 3 files changed, 255 insertions(+), 6 deletions(-) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index c59bd4321e..7e59bf0813 100644 --- a/lib

Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-03 Thread Mohammad Izadi
Hi James, Thank you for your comments. I applied all your notes and will sent you two patches in reply to your email. -- Best, Mohammad On Wed, Dec 26, 2018 at 12:11 PM James Almer wrote: > On 12/26/2018 4:40 PM, Mohammad Izadi wrote: > > Decode HDR10+ metadata from SEI message and propagate

Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2018-12-26 Thread James Almer
On 12/26/2018 4:40 PM, Mohammad Izadi wrote: > Decode HDR10+ metadata from SEI message and propagate it to side data. > --- > libavcodec/avcodec.h | 10 +- > libavcodec/avpacket.c | 1 + > libavcodec/decode.c | 2 +- > libavcodec/hevc_sei.c | 234 --

[FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2018-12-26 Thread Mohammad Izadi
Decode HDR10+ metadata from SEI message and propagate it to side data. --- libavcodec/avcodec.h | 10 +- libavcodec/avpacket.c | 1 + libavcodec/decode.c | 2 +- libavcodec/hevc_sei.c | 234 -- libavcodec/hevc_sei.h | 7 ++ libavcodec/hevcdec.c |