Re: [FFmpeg-devel] [PATCH] diracdec: add support for field coding

2016-01-26 Thread Hendrik Leppkes
On Tue, Jan 26, 2016 at 4:13 PM, Rostislav Pehlivanov wrote: > On 26 January 2016 at 14:45, Carl Eugen Hoyos wrote: > >> Rostislav Pehlivanov gmail.com> writes: >> >> > -for (y = 0; y < p->height; y += 16) { >> >> > -ff_spatial_idwt_slice2(&d, y+16); /* decode */ >> >

Re: [FFmpeg-devel] [PATCH] diracdec: add support for field coding

2016-01-26 Thread Rostislav Pehlivanov
On 26 January 2016 at 14:45, Carl Eugen Hoyos wrote: > Rostislav Pehlivanov gmail.com> writes: > > > -for (y = 0; y < p->height; y += 16) { > > > -ff_spatial_idwt_slice2(&d, y+16); /* decode */ > > > +for (y = 0; y < p->height; y += 16) > > +

Re: [FFmpeg-devel] [PATCH] diracdec: add support for field coding

2016-01-26 Thread Carl Eugen Hoyos
Rostislav Pehlivanov gmail.com> writes: > -for (y = 0; y < p->height; y += 16) { > -ff_spatial_idwt_slice2(&d, y+16); /* decode */ > +for (y = 0; y < p->height; y += 16) > +ff_spatial_idwt_slice2(&d, y+16); Sorry if it's just me but don't

[FFmpeg-devel] [PATCH] diracdec: add support for field coding

2016-01-26 Thread Rostislav Pehlivanov
This commit adds support for field coding (instead of the traditional frame coding). In this mode, two fields, each half height, are transmitted. The decoder does not output a frame for the first field (the top one since Dirac only supports top field first) but caches it and interleaves the image d