Re: [FFmpeg-devel] [PATCH V2] Add a filter implementing HDR image reconstruction from a single exposure using deep CNNs

2018-10-18 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Pedro Arthur > Sent: Thursday, October 18, 2018 2:15 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V2] Add a filter imp

Re: [FFmpeg-devel] [PATCH V2] Add a filter implementing HDR image reconstruction from a single exposure using deep CNNs

2018-10-18 Thread Guo, Yejun
ATCH V2] Add a filter implementing HDR > image reconstruction from a single exposure using deep CNNs > > 2018-10-17 18:41 GMT+02:00, Guo, Yejun : > > > +short* outg = (short*)out->data[0]; > > +short* outb = (short*)out->data[1]; > > +short* ou

Re: [FFmpeg-devel] [PATCH V2] Add a filter implementing HDR image reconstruction from a single exposure using deep CNNs

2018-10-17 Thread Carl Eugen Hoyos
2018-10-17 18:41 GMT+02:00, Guo, Yejun : > +short* outg = (short*)out->data[0]; > +short* outb = (short*)out->data[1]; > +short* outr = (short*)out->data[2]; I believe this should use "int16_t", there is no guarantee that short is smaller than 128 bit. Carl Eugen

Re: [FFmpeg-devel] [PATCH V2] Add a filter implementing HDR image reconstruction from a single exposure using deep CNNs

2018-10-17 Thread Pedro Arthur
Hi, How hard is it to support the native backend? which operations are missing or any other limitations? Em qua, 17 de out de 2018 às 05:47, Guo, Yejun escreveu: > > see the algorithm's paper and code below. > > the filter's parameter looks like: >

[FFmpeg-devel] [PATCH V2] Add a filter implementing HDR image reconstruction from a single exposure using deep CNNs

2018-10-17 Thread Guo, Yejun
see the algorithm's paper and code below. the filter's parameter looks like: sdr2hdr=model_filename=/path_to_tensorflow_graph.pb:out_fmt=gbrp10le The input of the deep CNN model is RGB24 while the output is float for each color channel. This is the filter's default behavior to output format with