- All movie related public headers now have MOV_ prefix instead of IMB_movie_. - All movie related public functions now have MOV_ prefix as well, instead of IMB_movie_ or IMB_anim_. - IMB_anim.hh -> MOV_read.hh (also ImBufAnim -> MovieReader), and various utility functions not related to playback were split off into MOV_util.hh. - Other function name tweaks for clarity, e.g. IMB_suffix_anim -> MOV_set_multiview_suffix and so on. - All except one usages of MOV_get_fps (nee IMB_anim_get_fps) were ultimately just converting returned value into a float. So make MOV_get_fps just return that directly. For the (exactly just one) place that needs numerator and denominator, have MOV_get_fps_num_denom. - Code comments on the public header functions. - Removed never-used code paths inside movie timecode proxy building file. It might be easier to review each commit separately. Pull Request: https://projects.blender.org/blender/blender/pulls/132145
21 lines
554 B
C++
21 lines
554 B
C++
/* SPDX-FileCopyrightText: 2004 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
struct ImBuf;
|
|
struct SeqRenderData;
|
|
struct Sequence;
|
|
struct anim;
|
|
|
|
#define PROXY_MAXFILE (2 * FILE_MAXDIR + FILE_MAXFILE)
|
|
ImBuf *seq_proxy_fetch(const SeqRenderData *context, Sequence *seq, int timeline_frame);
|
|
bool seq_proxy_get_custom_file_filepath(Sequence *seq, char *filepath, int view_id);
|
|
void free_proxy_seq(Sequence *seq);
|
|
void seq_proxy_index_dir_set(MovieReader *anim, const char *base_dir);
|