#include "avcodec.h"
#include "libavutil/avassert.h"
#include "libavutil/opt.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. | |
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. | |
AVFilterBufferRef * | avfilter_get_buffer_ref_from_frame (enum AVMediaType type, const AVFrame *frame, int perms) |
Create and return a buffer reference from the data and properties contained in frame. | |
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. | |
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. |
Definition in file avcodec.c.
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 108 of file avcodec.c.
Referenced by avfilter_fill_frame_from_audio_buffer_ref(), avfilter_fill_frame_from_buffer_ref(), avfilter_fill_frame_from_video_buffer_ref(), reap_filters(), and video_thread().
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 30 of file avcodec.c.
Referenced by avfilter_get_audio_buffer_ref_from_frame(), avfilter_get_video_buffer_ref_from_frame(), decode_video(), and video_thread().
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 |
int avfilter_fill_frame_from_buffer_ref | ( | AVFrame * | frame, | |
const AVFilterBufferRef * | ref | |||
) |
Fill an AVFrame with information stored in ref.
frame | an already allocated AVFrame | |
ref | a video or audio buffer reference |
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 |
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 81 of file avcodec.c.
Referenced by avfilter_get_buffer_ref_from_frame().
AVFilterBufferRef* avfilter_get_buffer_ref_from_frame | ( | enum AVMediaType | type, | |
const AVFrame * | frame, | |||
int | perms | |||
) |
Create and return a buffer reference from the data and properties contained in frame.
perms | permissions to assign to the new buffer reference |
Definition at line 94 of file avcodec.c.
Referenced by av_buffersrc_add_frame(), and frame_to_buf().
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 68 of file avcodec.c.
Referenced by avfilter_get_buffer_ref_from_frame().