#include <string.h>#include <stdio.h>#include "libavutil/imgutils.h"#include "libavutil/mem.h"#include "avfilter.h"#include "internal.h"#include "video.h"Go to the source code of this file.
Functions | |
| static void | ff_dlog_ref (void *ctx, AVFilterBufferRef *ref, int end) |
| AVFilterBufferRef * | ff_null_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
| AVFilterBufferRef * | ff_default_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
| AVFilterBufferRef * | avfilter_get_video_buffer_ref_from_arrays (uint8_t *data[4], int linesize[4], int perms, int w, int h, enum AVPixelFormat format) |
| Create a buffer reference wrapped around an already allocated image buffer. More... | |
| AVFilterBufferRef * | ff_get_video_buffer (AVFilterLink *link, int perms, int w, int h) |
| Request a picture buffer with a specific set of permissions. More... | |
| AVFilterBufferRef* avfilter_get_video_buffer_ref_from_arrays | ( | uint8_t * | data[4], |
| int | linesize[4], | ||
| int | perms, | ||
| int | w, | ||
| int | h, | ||
| enum AVPixelFormat | format | ||
| ) |
Create a buffer reference wrapped around an already allocated image buffer.
| data | pointers to the planes of the image to reference |
| linesize | linesizes for the planes of the image to reference |
| perms | the required access permissions |
| w | the width of the image specified by the data and linesize arrays |
| h | the height of the image specified by the data and linesize arrays |
| format | the pixel format of the image specified by the data and linesize arrays |
Definition at line 101 of file video.c.
Referenced by decode_video(), ff_default_get_video_buffer(), and video_thread().
| AVFilterBufferRef* ff_default_get_video_buffer | ( | AVFilterLink * | link, |
| int | perms, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 80 of file video.c.
Referenced by ff_get_video_buffer(), and get_video_buffer().
|
static |
Definition at line 43 of file video.c.
Referenced by ff_get_video_buffer().
| 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 145 of file video.c.
Referenced by av_buffersrc_write_frame(), color_request_frame(), ff_filter_frame(), ff_null_get_video_buffer(), filter_frame(), get_video_buffer(), movie_get_frame(), request_frame(), return_frame(), and source_request_frame().
| AVFilterBufferRef* ff_null_get_video_buffer | ( | AVFilterLink * | link, |
| int | perms, | ||
| int | w, | ||
| int | h | ||
| ) |