libavfilter/avcodec.c File Reference

libavcodec/libavfilter gluing utilities More...

#include "avcodec.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.
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

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(), input_request_frame(), and transcode_video().

Fill an AVFrame with the information stored in picref.

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

Definition at line 59 of file avcodec.c.

Referenced by transcode_video(), and video_thread().

Create and return a picref reference from the data and properties contained in frame.

Parameters:
permspermissions to assign to the new buffer reference

Definition at line 46 of file avcodec.c.