FFmpeg
1.2.4
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
libavfilter
avcodec.h
Go to the documentation of this file.
1
/*
2
* This file is part of FFmpeg.
3
*
4
* FFmpeg is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* FFmpeg is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with FFmpeg; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef AVFILTER_AVCODEC_H
20
#define AVFILTER_AVCODEC_H
21
31
#include "libavcodec/avcodec.h"
// AVFrame
32
#include "
avfilter.h
"
33
40
int
avfilter_copy_frame_props
(
AVFilterBufferRef
*
dst
,
const
AVFrame
*src);
41
48
int
avfilter_copy_buf_props
(
AVFrame
*
dst
,
const
AVFilterBufferRef
*src);
49
56
AVFilterBufferRef
*
avfilter_get_video_buffer_ref_from_frame
(
const
AVFrame
*
frame
,
int
perms);
57
58
65
AVFilterBufferRef
*
avfilter_get_audio_buffer_ref_from_frame
(
const
AVFrame
*
frame
,
66
int
perms);
67
74
AVFilterBufferRef
*
avfilter_get_buffer_ref_from_frame
(
enum
AVMediaType
type,
75
const
AVFrame
*
frame
,
76
int
perms);
77
78
#ifdef FF_API_FILL_FRAME
79
88
attribute_deprecated
89
int
avfilter_fill_frame_from_audio_buffer_ref(
AVFrame
*
frame
,
90
const
AVFilterBufferRef
*samplesref);
91
101
attribute_deprecated
102
int
avfilter_fill_frame_from_video_buffer_ref(
AVFrame
*
frame
,
103
const
AVFilterBufferRef
*picref);
104
114
attribute_deprecated
115
int
avfilter_fill_frame_from_buffer_ref(
AVFrame
*
frame
,
116
const
AVFilterBufferRef
*ref);
117
#endif
118
128
int
av_buffersrc_add_frame
(
AVFilterContext
*buffer_src,
129
const
AVFrame
*
frame
,
int
flags
);
130
131
#endif
/* AVFILTER_AVCODEC_H */
Generated on Fri Nov 29 2013 19:14:51 for FFmpeg by
1.8.1.2