#include "libavcodec/avcodec.h"
#include "avfilter.h"
#include "vsrc_buffer.h"
Go to the source code of this file.
Functions | |
int | avfilter_copy_frame_props (AVFilterBufferRef *dst, const AVFrame *src) |
Copy the frame properties of src to dst, without copying the actual image data. | |
AVFilterBufferRef * | avfilter_get_video_buffer_ref_from_frame (const AVFrame *frame, int perms) |
Create and return a picref reference from the data and properties contained in frame. | |
int | avfilter_fill_frame_from_video_buffer_ref (AVFrame *frame, const AVFilterBufferRef *picref) |
Fill an AVFrame with the information stored in picref. | |
int | av_vsrc_buffer_add_frame (AVFilterContext *buffer_src, const AVFrame *frame, int flags) |
Add frame data to buffer_src. |
This should be included in an application ONLY if the installed libavfilter has been compiled with libavcodec support, otherwise symbols defined below will not be available.
Definition in file avcodec.h.
int av_vsrc_buffer_add_frame | ( | AVFilterContext * | buffer_src, | |
const AVFrame * | frame, | |||
int | flags | |||
) |
Add frame data to buffer_src.
buffer_src | pointer to a buffer source context | |
flags | a combination of AV_VSRC_BUF_FLAG_* flags |
Referenced by main(), and transcode_video().
int avfilter_copy_frame_props | ( | AVFilterBufferRef * | dst, | |
const AVFrame * | src | |||
) |
Copy the frame properties of src to dst, without copying the actual image data.
Definition at line 26 of file avcodec.c.
Referenced by avfilter_get_video_buffer_ref_from_frame(), and transcode_video().
int avfilter_fill_frame_from_video_buffer_ref | ( | AVFrame * | frame, | |
const AVFilterBufferRef * | picref | |||
) |
Fill an AVFrame with the information stored in picref.
frame | an already allocated AVFrame | |
picref | a video buffer reference |
Definition at line 59 of file avcodec.c.
Referenced by transcode_video(), and video_thread().
AVFilterBufferRef* avfilter_get_video_buffer_ref_from_frame | ( | const AVFrame * | frame, | |
int | perms | |||
) |