]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/internal.h
Merge commit 'fd9147f11456a7e39a998d7270684922a2a46e6d'
[ffmpeg] / libavfilter / internal.h
index d098156442a074e4f7c1af71a150b4fee8a7adfc..d03de56644dc5926c3e48921089a3b7e69966859 100644 (file)
@@ -87,18 +87,6 @@ struct AVFilterPad {
      */
     int rej_perms;
 
-    /**
-     * Callback called before passing the first slice of a new frame. If
-     * NULL, the filter layer will default to storing a reference to the
-     * picture inside the link structure.
-     *
-     * Input video pads only.
-     *
-     * @return >= 0 on success, a negative AVERROR on error. picref will be
-     * unreferenced by the caller in case of error.
-     */
-    void (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref);
-
     /**
      * Callback function to get a video buffer. If NULL, the filter system will
      * use ff_default_get_video_buffer().
@@ -116,27 +104,6 @@ struct AVFilterPad {
     AVFilterBufferRef *(*get_audio_buffer)(AVFilterLink *link, int perms,
                                            int nb_samples);
 
-    /**
-     * Callback called after the slices of a frame are completely sent. If
-     * NULL, the filter layer will default to releasing the reference stored
-     * in the link structure during start_frame().
-     *
-     * Input video pads only.
-     *
-     * @return >= 0 on success, a negative AVERROR on error.
-     */
-    int (*end_frame)(AVFilterLink *link);
-
-    /**
-     * Slice drawing callback. This is where a filter receives video data
-     * and should do its processing.
-     *
-     * Input video pads only.
-     *
-     * @return >= 0 on success, a negative AVERROR on error.
-     */
-    int (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir);
-
     /**
      * Filtering callback. This is where a filter receives a frame with
      * audio/video data and should do its processing.