[SCM] libav/experimental: Remove the data parameter from draw_slice(). It's unneeded and often more work than it's worth.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:14:55 UTC 2013


The following commit has been merged in the experimental branch:
commit 72f6d6317ca73cd9900f28c1bed197fc0cdf0d16
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Fri Feb 15 22:13:44 2008 +0000

    Remove the data parameter from draw_slice().  It's unneeded and often more
    work than it's worth.
    
    Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11
    
    Originally committed as revision 12096 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 7c6b361..20e9f68 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -161,7 +161,7 @@ struct AVFilterPad
      *
      * Input video pads only.
      */
-    void (*draw_slice)(AVFilterLink *link, uint8_t *data[4], int y, int height);
+    void (*draw_slice)(AVFilterLink *link, int y, int height);
 
     /**
      * Frame request callback.  A call to this should result in at least one
@@ -330,11 +330,10 @@ void avfilter_end_frame(AVFilterLink *link);
 /**
  * Send a slice to the next filter
  * @param link The output link over which the frame is being sent
- * @param data Start of the picture data for this slice
  * @param y    Offset in pixels from the top of the image for this slice
  * @param h    Height of this slice in pixels
  */
-void avfilter_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int h);
+void avfilter_draw_slice(AVFilterLink *link, int y, int h);
 
 /** Initialize the filter system.  Registers all builtin filters */
 void avfilter_init(void);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list