libavfilter/avcodec.c File Reference

libavcodec/libavfilter gluing utilities More...

#include "avcodec.h"

Go to the source code of this file.

Functions

void avfilter_copy_frame_props (AVFilterBufferRef *dst, const AVFrame *src)
 Copy the frame properties of src to dst, without copying the actual image data.
AVFilterBufferRefavfilter_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.


Detailed Description

libavcodec/libavfilter gluing utilities

Definition in file avcodec.c.


Function Documentation

void 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 movie_get_frame().

int avfilter_fill_frame_from_video_buffer_ref ( AVFrame frame,
const AVFilterBufferRef picref 
)

Fill an AVFrame with the information stored in picref.

Parameters:
frame an already allocated AVFrame
picref a video buffer reference
Returns:
0 in case of success, a negative AVERROR code in case of failure

Definition at line 57 of file avcodec.c.

Referenced by output_packet(), and video_thread().

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.

Parameters:
perms permissions to assign to the new buffer reference

Definition at line 44 of file avcodec.c.


Generated on Fri Oct 26 02:38:19 2012 for FFmpeg by  doxygen 1.5.8