[FFmpeg-devel] [PATCH] Make slicify honour the slice direction

Michael Niedermayer michaelni
Sun Dec 6 14:51:03 CET 2009


On Sun, Dec 06, 2009 at 10:57:23AM +0100, Stefano Sabatini wrote:
> On date Sunday 2009-12-06 03:41:15 +0100, Michael Niedermayer encoded:
> > On Sat, Dec 05, 2009 at 02:23:38AM +0100, Stefano Sabatini wrote:
> [...]
> > > Index: libavfilter-soc/ffmpeg/libavfilter/vf_slicify.c
> > > ===================================================================
> > > --- libavfilter-soc.orig/ffmpeg/libavfilter/vf_slicify.c	2009-12-05 02:18:08.000000000 +0100
> > > +++ libavfilter-soc/ffmpeg/libavfilter/vf_slicify.c	2009-12-05 02:18:52.000000000 +0100
> > > @@ -28,6 +28,7 @@
> > >  typedef struct {
> > >      int h;          ///< output slice height
> > >      int vshift;     ///< vertical chroma subsampling shift
> > > +    int slice_y;    ///< if the slice direction is bottom-up is the bottom y for the next slice
> > >  } SliceContext;
> > >  
> > >  static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
> > 
> > i see no need for this variable
> > its also not needed for the other direction
> 
> Right, thanks.
> 
> Regards.
> -- 
> FFmpeg = Fundamental and Fantastic Merciless Puritan Egregious Ghost

>  vf_slicify.c |    8 ++++++++
>  1 file changed, 8 insertions(+)
> 700c1c7adb13eacccef273652e179bf0d440ea0c  fix-slice-dir-for-slicify.patch

ok (is tested of course)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091206/66caf412/attachment.pgp>



More information about the ffmpeg-devel mailing list