Re: [FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-08-05 Thread Michael Niedermayer
On Tue, Aug 05, 2014 at 04:23:14PM +0200, Clément Bœsch wrote: > On Tue, Jul 22, 2014 at 01:51:46AM +0200, Michael Niedermayer wrote: > [...] > > > +typedef struct AVMBInfo_MB { > > > > > +int8_t source; /* -1/+1 XXX: set exact relative ref frame > > instead of "direction" */ > > > > i s

Re: [FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-08-05 Thread Michael Niedermayer
On Tue, Aug 05, 2014 at 04:27:53PM +0200, wm4 wrote: > On Tue, 22 Jul 2014 01:51:46 +0200 > Michael Niedermayer wrote: > > > On Wed, Jul 16, 2014 at 05:06:27PM +0200, Clément Bœsch wrote: > > > Also add an example exporting the MB information as a CSV stream. > > > > > > --- > > > > > > A bunch

Re: [FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-08-05 Thread Clément Bœsch
On Tue, Jul 22, 2014 at 01:51:46AM +0200, Michael Niedermayer wrote: [...] > > +typedef struct AVMBInfo_MB { > > > +int8_t source; /* -1/+1 XXX: set exact relative ref frame instead > of "direction" */ > > i suspect this is too small for long term references Would signed 16-bit enough?

Re: [FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-08-05 Thread wm4
On Tue, 22 Jul 2014 01:51:46 +0200 Michael Niedermayer wrote: > On Wed, Jul 16, 2014 at 05:06:27PM +0200, Clément Bœsch wrote: > > Also add an example exporting the MB information as a CSV stream. > > > > --- > > > > A bunch of questions stand: > > > > - Ideally the "source" for a given macrob

Re: [FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-07-21 Thread Michael Niedermayer
On Wed, Jul 16, 2014 at 05:06:27PM +0200, Clément Bœsch wrote: > Also add an example exporting the MB information as a CSV stream. > > --- > > A bunch of questions stand: > > - Ideally the "source" for a given macroblock should be a specific > reference to a future or paste frame (something li

Re: [FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-07-16 Thread Michael Niedermayer
On Wed, Jul 16, 2014 at 05:31:47PM +0200, Clément Bœsch wrote: > On Wed, Jul 16, 2014 at 05:06:27PM +0200, Clément Bœsch wrote: > > Also add an example exporting the MB information as a CSV stream. > > > > --- > > > > A bunch of questions stand: > > > > - Ideally the "source" for a given macrobl

Re: [FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-07-16 Thread Clément Bœsch
On Wed, Jul 16, 2014 at 05:06:27PM +0200, Clément Bœsch wrote: > Also add an example exporting the MB information as a CSV stream. > > --- > > A bunch of questions stand: > > - Ideally the "source" for a given macroblock should be a specific > reference to a future or paste frame (something li

[FFmpeg-devel] [PATCH] [RFC] avcodec: export MB information in frame side data

2014-07-16 Thread Clément Bœsch
Also add an example exporting the MB information as a CSV stream. --- A bunch of questions stand: - Ideally the "source" for a given macroblock should be a specific reference to a future or paste frame (something like -4 or +2). Currently it's just ±1 depending on the direction. I don't see