Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/cfhd: add bayer support

2019-07-30 Thread Michael Niedermayer
On Mon, Jul 29, 2019 at 06:22:29PM +0200, Carl Eugen Hoyos wrote: > Am Mo., 29. Juli 2019 um 18:07 Uhr schrieb Paul B Mahol : > > > > On Mon, Jul 29, 2019 at 6:05 PM Carl Eugen Hoyos wrote: > > > > > Am Mo., 29. Juli 2019 um 16:35 Uhr schrieb Paul B Mahol > > >: > > > > > > > +static inline void

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/cfhd: add bayer support

2019-07-29 Thread Paul B Mahol
On Mon, Jul 29, 2019 at 6:22 PM Carl Eugen Hoyos wrote: > Am Mo., 29. Juli 2019 um 18:07 Uhr schrieb Paul B Mahol >: > > > > On Mon, Jul 29, 2019 at 6:05 PM Carl Eugen Hoyos > wrote: > > > > > Am Mo., 29. Juli 2019 um 16:35 Uhr schrieb Paul B Mahol < > g...@videolan.org > > > >: > > > > > > > +

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/cfhd: add bayer support

2019-07-29 Thread Carl Eugen Hoyos
Am Mo., 29. Juli 2019 um 18:07 Uhr schrieb Paul B Mahol : > > On Mon, Jul 29, 2019 at 6:05 PM Carl Eugen Hoyos wrote: > > > Am Mo., 29. Juli 2019 um 16:35 Uhr schrieb Paul B Mahol > >: > > > > > +static inline void process_bayer(AVFrame *frame) > > > +{ > > > +const int linesize = frame->line

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/cfhd: add bayer support

2019-07-29 Thread Paul B Mahol
On Mon, Jul 29, 2019 at 6:05 PM Carl Eugen Hoyos wrote: > Am Mo., 29. Juli 2019 um 16:35 Uhr schrieb Paul B Mahol >: > > > +static inline void process_bayer(AVFrame *frame) > > +{ > > +const int linesize = frame->linesize[0]; > > +uint16_t *r = (uint16_t *)frame->data[0]; > > +uint16

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/cfhd: add bayer support

2019-07-29 Thread Carl Eugen Hoyos
Am Mo., 29. Juli 2019 um 16:35 Uhr schrieb Paul B Mahol : > +static inline void process_bayer(AVFrame *frame) > +{ > +const int linesize = frame->linesize[0]; > +uint16_t *r = (uint16_t *)frame->data[0]; > +uint16_t *g1 = (uint16_t *)(frame->data[0] + 2); > +uint16_t *g2 = (uint16_