This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/makesdna/DNA_movieclip_defaults.h
Campbell Barton c434782e3a File headers: SPDX License migration
Use a shorter/simpler license convention, stops the header taking so
much space.

Follow the SPDX license specification: https://spdx.org/licenses

- C/C++/objc/objc++
- Python
- Shell Scripts
- CMake, GNUmakefile

While most of the source tree has been included

- `./extern/` was left out.
- `./intern/cycles` & `./intern/atomic` are also excluded because they
  use different header conventions.

doc/license/SPDX-license-identifiers.txt has been added to list SPDX all
used identifiers.

See P2788 for the script that automated these edits.

Reviewed By: brecht, mont29, sergey

Ref D14069
2022-02-11 09:14:36 +11:00

65 lines
1.3 KiB
C++

/* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup DNA
*/
#pragma once
/* Struct members on own line. */
/* clang-format off */
/* -------------------------------------------------------------------- */
/** \name MovieClip Struct
* \{ */
#define _DNA_DEFAULT_MovieClipProxy \
{ \
.build_size_flag = IMB_PROXY_25, \
.build_tc_flag = IMB_TC_RECORD_RUN | IMB_TC_FREE_RUN | \
IMB_TC_INTERPOLATED_REC_DATE_FREE_RUN | IMB_TC_RECORD_RUN_NO_GAPS, \
.quality = 50, \
}
#define _DNA_DEFAULT_MovieClip \
{ \
.aspx = 1.0f, \
.aspy = 1.0f, \
.proxy = _DNA_DEFAULT_MovieClipProxy, \
.start_frame = 1, \
.frame_offset = 0, \
}
#define _DNA_DEFAULT_MovieClipUser \
{ \
.framenr = 1, \
.render_size = MCLIP_PROXY_RENDER_SIZE_FULL, \
.render_flag = 0, \
}
#define _DNA_DEFAULT_MovieClipScopes \
{ \
.ok = 0, \
.use_track_mask = 0, \
.track_preview_height = 120, \
.frame_width = 0, \
.frame_height = 0, \
.undist_marker = _DNA_DEFAULT_MovieTrackingMarker, \
.track_pos = {0, 0}, \
.track_disabled = 0, \
.track_locked = 0, \
.scene_framenr = 0, \
.slide_scale = {0.0f, 0.0f}, \
}
/* initialize as all zeros. */
#define _DNA_DEFAULT_MovieTrackingMarker \
{ \
.pos = {0.0f, 0.0f}, \
}
/** \} */
/* clang-format on */