#include "avfilter.h"
Go to the source code of this file.
Functions | |
AVFilterBufferRef * | ff_default_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
AVFilterBufferRef * | ff_null_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
AVFilterBufferRef * | ff_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
Request a picture buffer with a specific set of permissions. | |
int | ff_inplace_start_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
int | ff_null_start_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
int | ff_null_draw_slice (AVFilterLink *link, int y, int h, int slice_dir) |
int | ff_null_end_frame (AVFilterLink *link) |
int | ff_start_frame (AVFilterLink *link, AVFilterBufferRef *picref) |
Notify the next filter of the start of a frame. | |
int | ff_null_start_frame_keep_ref (AVFilterLink *inlink, AVFilterBufferRef *picref) |
Pass video frame along and keep an internal reference for later use. | |
int | ff_end_frame (AVFilterLink *link) |
Notify the next filter that the current frame has finished. | |
int | ff_draw_slice (AVFilterLink *link, int y, int h, int slice_dir) |
Send a slice to the next filter. |
AVFilterBufferRef* ff_default_get_video_buffer | ( | AVFilterLink * | link, | |
int | perms, | |||
int | w, | |||
int | h | |||
) |
int ff_draw_slice | ( | AVFilterLink * | link, | |
int | y, | |||
int | h, | |||
int | slice_dir | |||
) |
Send a slice to the next filter.
Slices have to be provided in sequential order, either in top-bottom or bottom-top order. If slices are provided in non-sequential order the behavior of the function is undefined.
link | the output link over which the frame is being sent | |
y | offset in pixels from the top of the image for this slice | |
h | height of this slice in pixels | |
slice_dir | the assumed direction for sending slices, from the top slice to the bottom slice if the value is 1, from the bottom slice to the top slice if the value is -1, for other values the behavior of the function is undefined. |
Definition at line 366 of file video.c.
Referenced by default_draw_slice(), draw_frame(), draw_send_bar_slice(), draw_slice(), draw_slice_main(), end_frame(), end_last_frame(), ff_null_draw_slice(), movie_push_frame(), push_frame(), request_frame(), return_frame(), try_push_frame(), and vf_next_put_image().
int ff_end_frame | ( | AVFilterLink * | link | ) |
Notify the next filter that the current frame has finished.
link | the output link the frame was sent over |
Definition at line 334 of file video.c.
Referenced by default_end_frame(), end_frame(), end_frame_main(), end_last_frame(), ff_null_end_frame(), movie_push_frame(), push_frame(), request_frame(), return_frame(), try_push_frame(), and vf_next_put_image().
AVFilterBufferRef* ff_get_video_buffer | ( | AVFilterLink * | link, | |
int | perms, | |||
int | w, | |||
int | h | |||
) |
Request a picture buffer with a specific set of permissions.
link | the output link to the filter from which the buffer will be requested | |
perms | the required access permissions | |
w | the minimum width of the buffer to allocate | |
h | the minimum height of the buffer to allocate |
Definition at line 140 of file video.c.
Referenced by config_output(), default_start_frame(), end_frame(), ff_copy_buffer_ref(), ff_inplace_start_frame(), ff_null_get_video_buffer(), ff_start_frame(), filter_samples(), get_video_buffer(), request_frame(), return_frame(), source_request_frame(), and start_frame().
int ff_inplace_start_frame | ( | AVFilterLink * | link, | |
AVFilterBufferRef * | picref | |||
) |
int ff_null_draw_slice | ( | AVFilterLink * | link, | |
int | y, | |||
int | h, | |||
int | slice_dir | |||
) |
int ff_null_end_frame | ( | AVFilterLink * | link | ) |
AVFilterBufferRef* ff_null_get_video_buffer | ( | AVFilterLink * | link, | |
int | perms, | |||
int | w, | |||
int | h | |||
) |
int ff_null_start_frame | ( | AVFilterLink * | link, | |
AVFilterBufferRef * | picref | |||
) |
int ff_null_start_frame_keep_ref | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | picref | |||
) |
Pass video frame along and keep an internal reference for later use.
int ff_start_frame | ( | AVFilterLink * | link, | |
AVFilterBufferRef * | picref | |||
) |
Notify the next filter of the start of a frame.
link | the output link the frame will be sent over | |
picref | A reference to the frame about to be sent. The data for this frame need only be valid once draw_slice() is called for that portion. The receiving filter will free this reference when it no longer needs it. |
Definition at line 241 of file video.c.
Referenced by default_start_frame(), end_frame(), end_last_frame(), ff_inplace_start_frame(), ff_null_start_frame(), filter_frame(), movie_push_frame(), process_frame(), push_frame(), request_frame(), return_frame(), source_request_frame(), start_frame(), try_start_frame(), and vf_next_put_image().