2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; either version 2
5 * of the License, or (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software Foundation,
14 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17 * All rights reserved.
49 FFMPEG_PRESET_NONE = 0,
50 FFMPEG_PRESET_DVD = 1,
51 FFMPEG_PRESET_SVCD = 2,
52 FFMPEG_PRESET_VCD = 3,
54 FFMPEG_PRESET_H264 = 5,
55 FFMPEG_PRESET_THEORA = 6,
56 FFMPEG_PRESET_XVID = 7,
63 int BKE_ffmpeg_start(void *context_v,
64 const struct Scene *scene,
65 struct RenderData *rd,
68 struct ReportList *reports,
71 void BKE_ffmpeg_end(void *context_v);
72 int BKE_ffmpeg_append(void *context_v,
73 struct RenderData *rd,
80 struct ReportList *reports);
81 void BKE_ffmpeg_filepath_get(char *string,
82 const struct RenderData *rd,
86 void BKE_ffmpeg_preset_set(struct RenderData *rd, int preset);
87 void BKE_ffmpeg_image_type_verify(struct RenderData *rd, struct ImageFormatData *imf);
88 void BKE_ffmpeg_codec_settings_verify(struct RenderData *rd);
89 bool BKE_ffmpeg_alpha_channel_is_supported(const struct RenderData *rd);
91 int BKE_ffmpeg_property_add_string(struct RenderData *rd, const char *type, const char *str);
92 void BKE_ffmpeg_property_del(struct RenderData *rd, void *type, void *prop_);
94 void *BKE_ffmpeg_context_create(void);
95 void BKE_ffmpeg_context_free(void *context_v);