#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. | |
int | avfilter_copy_buf_props (AVFrame *dst, const AVFilterBufferRef *src) |
Copy the frame properties and data pointers of src to dst, without copying the actual 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. | |
AVFilterBufferRef * | avfilter_get_audio_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_audio_buffer_ref (AVFrame *frame, const AVFilterBufferRef *samplesref) |
Fill an AVFrame with the information stored in samplesref. | |
int | avfilter_fill_frame_from_video_buffer_ref (AVFrame *frame, const AVFilterBufferRef *picref) |
Fill an AVFrame with the information stored in picref. | |
int | avfilter_fill_frame_from_buffer_ref (AVFrame *frame, const AVFilterBufferRef *ref) |
Fill an AVFrame with information stored in ref. | |
int | av_buffersrc_add_frame (AVFilterContext *buffer_src, const AVFrame *frame, int flags) |
Add frame data to buffer_src. | |
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_buffersrc_add_frame | ( | AVFilterContext * | buffer_src, | |
const AVFrame * | frame, | |||
int | flags | |||
) |
Add frame data to buffer_src.
buffer_src | pointer to a buffer source context | |
frame | a frame, or NULL to mark EOF | |
flags | a combination of AV_BUFFERSRC_FLAG_* |
Definition at line 132 of file buffersrc.c.
Referenced by av_buffersrc_write_frame(), decode_audio(), decode_video(), and main().
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().
int avfilter_copy_buf_props | ( | AVFrame * | dst, | |
const AVFilterBufferRef * | src | |||
) |
Copy the frame properties and data pointers of src to dst, without copying the actual data.
Definition at line 193 of file buffer.c.
Referenced by poll_filters().
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 166 of file buffer.c.
Referenced by avfilter_get_audio_buffer_ref_from_frame(), avfilter_get_video_buffer_ref_from_frame(), and decode_video().
int avfilter_fill_frame_from_audio_buffer_ref | ( | AVFrame * | frame, | |
const AVFilterBufferRef * | samplesref | |||
) |
Fill an AVFrame with the information stored in samplesref.
frame | an already allocated AVFrame | |
samplesref | an audio buffer reference |
Definition at line 55 of file avcodec.c.
Referenced by avfilter_fill_frame_from_buffer_ref().
int avfilter_fill_frame_from_buffer_ref | ( | AVFrame * | frame, | |
const AVFilterBufferRef * | ref | |||
) |
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 73 of file avcodec.c.
Referenced by avfilter_fill_frame_from_buffer_ref(), poll_filters(), and video_thread().
AVFilterBufferRef* avfilter_get_audio_buffer_ref_from_frame | ( | const AVFrame * | frame, | |
int | perms | |||
) |
Create and return a picref reference from the data and properties contained in frame.
perms | permissions to assign to the new buffer reference |
Definition at line 42 of file avcodec.c.
Referenced by av_buffersrc_add_frame().
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.
perms | permissions to assign to the new buffer reference |
Definition at line 29 of file avcodec.c.
Referenced by av_buffersrc_add_frame().