History

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

Vitor Sessak committed 18 years ago

Commit 72f6d631 parent 13ff8fd1 file · +2 −3Browse files

Showing the changes to libavfilter/avfilter.h (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.h+2−3
@@ -161,7 +161,7 @@ struct AVFilterPad · 160 unmodified lines
161161 *
162162 * Input video pads only.
163163 */
164− void (*draw_slice)(AVFilterLink *link, uint8_t *data[4], int y, int height);
164+ void (*draw_slice)(AVFilterLink *link, int y, int height);
165165
166166 /**
167167 * Frame request callback. A call to this should result in at least one
@@ -330,11 +330,10 @@ void avfilter_end_frame(AVFilterLink *link); · 162 unmodified lines
330330 /**
331331 * Send a slice to the next filter
332332 * @param link The output link over which the frame is being sent
333− * @param data Start of the picture data for this slice
334333 * @param y Offset in pixels from the top of the image for this slice
335334 * @param h Height of this slice in pixels
336335 */
337−void avfilter_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int h);
336+void avfilter_draw_slice(AVFilterLink *link, int y, int h);
338337
339338 /** Initialize the filter system. Registers all builtin filters */
340339 void avfilter_init(void);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t