diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-11-05 15:33:27 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-11-05 15:33:27 +0300 |
commit | 0f43fe7fa66b94cf3cb5033223c1d96b89372ecc (patch) | |
tree | ebe008c860f1b0988f48da46d220d28b6860f9cb /source/blender/sequencer/intern/proxy.h | |
parent | 7bc7b7da2d2fdd48a7c8c28f7c23419ca9178b4d (diff) |
Cleanup: split sequencer.c file
Move functions closely related to rendering images and proxies into
render.c and proxy.c files. render.h and proxy.h are created for
functions used internally.
There should be no functional changes.
Diffstat (limited to 'source/blender/sequencer/intern/proxy.h')
-rw-r--r-- | source/blender/sequencer/intern/proxy.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/source/blender/sequencer/intern/proxy.h b/source/blender/sequencer/intern/proxy.h new file mode 100644 index 00000000000..ed23db1a826 --- /dev/null +++ b/source/blender/sequencer/intern/proxy.h @@ -0,0 +1,40 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * The Original Code is Copyright (C) 2004 Blender Foundation. + * All rights reserved. + */ + +#pragma once + +/** \file + * \ingroup sequencer + */ + +#ifdef __cplusplus +extern "C" { +#endif + +struct SeqRenderData; +struct ImBuf; +struct Sequence; + +#define PROXY_MAXFILE (2 * FILE_MAXDIR + FILE_MAXFILE) +struct ImBuf *seq_proxy_fetch(const struct SeqRenderData *context, struct Sequence *seq, int cfra); +bool seq_proxy_get_custom_file_fname(struct Sequence *seq, char *name, const int view_id); + +#ifdef __cplusplus +} +#endif |