36 const char *
UNUSED(suffix))
52 const char *
UNUSED(suffix),
71 static int start_avi(
void *context_v,
79 static void end_avi(
void *context_v);
80 static int append_avi(
void *context_v,
89 static void filepath_avi(
char *
string,
const RenderData *rd,
bool preview,
const char *suffix);
90 static void *context_create_avi(
void);
91 static void context_free_avi(
void *context_v);
145 static void filepath_avi(
char *
string,
const RenderData *rd,
bool preview,
const char *suffix)
149 if (
string ==
NULL) {
162 strcpy(
string, rd->
pic);
170 strcat(
string,
".avi");
182 static int start_avi(
void *context_v,
198 filepath_avi(name, rd,
preview, suffix);
226 printf(
"Created avi: %s\n", name);
230 static int append_avi(
void *context_v,
237 const char *
UNUSED(suffix),
240 unsigned int *rt1, *rt2, *rectot;
250 rectot =
MEM_mallocN(rectx * recty *
sizeof(
int),
"rectot");
252 rt2 = (
unsigned int *)pixels + (recty - 1) * rectx;
254 for (
y = 0;
y < recty;
y++, rt1 += rectx, rt2 -= rectx) {
255 memcpy(rt1, rt2, rectx *
sizeof(
int));
258 for (
x = rectx;
x > 0;
x--) {
275 static void end_avi(
void *context_v)
286 static void *context_create_avi(
void)
292 static void context_free_avi(
void *context_v)
AviError AVI_open_compress(char *name, AviMovie *movie, int streams,...)
AviError AVI_close_compress(AviMovie *movie)
#define AVI_OPTION_TYPE_MAIN
AviError AVI_write_frame(AviMovie *movie, int frame_num,...)
AviError AVI_set_compress_option(AviMovie *movie, int option_type, int stream, AviOption option, void *opt_data)
const char * BKE_main_blendfile_path_from_global(void)
void BKE_report(ReportList *reports, eReportType type, const char *message)
bool BLI_make_existing_file(const char *name)
bool BLI_path_frame_check_chars(const char *path) ATTR_NONNULL(1) ATTR_WARN_UNUSED_RESULT
bool BLI_path_extension_check(const char *str, const char *ext) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
bool BLI_path_frame_range(char *path, int sta, int end, int digits) ATTR_NONNULL()
bool BLI_path_abs(char *path, const char *basepath) ATTR_NONNULL()
bool BLI_path_suffix(char *string, size_t maxlen, const char *suffix, const char *sep) ATTR_NONNULL()
typedef double(DMatrix)[4][4]
#define R_IMF_IMTYPE_FFMPEG
#define R_IMF_IMTYPE_H264
#define R_IMF_IMTYPE_THEORA
#define R_IMF_IMTYPE_AVIJPEG
#define R_IMF_IMTYPE_XVID
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
Read Guarded memory(de)allocation.
SyclQueue void void size_t num_bytes void
void(* MEM_freeN)(void *vmemh)
void *(* MEM_mallocN)(size_t len, const char *str)
static const pxr::TfToken preview("preview", pxr::TfToken::Immortal)
struct ImageFormatData im_format
void(* get_movie_path)(char *string, const struct RenderData *rd, bool preview, const char *suffix)
void(* end_movie)(void *context_v)
int(* start_movie)(void *context_v, const struct Scene *scene, struct RenderData *rd, int rectx, int recty, struct ReportList *reports, bool preview, const char *suffix)
void(* context_free)(void *context_v)
void *(* context_create)(void)
int(* append_movie)(void *context_v, struct RenderData *rd, int start_frame, int frame, int *pixels, int rectx, int recty, const char *suffix, struct ReportList *reports)
bMovieHandle * BKE_movie_handle_get(const char imtype)
static void context_free_stub(void *UNUSED(context_v))
static int start_stub(void *UNUSED(context_v), const Scene *UNUSED(scene), RenderData *UNUSED(rd), int UNUSED(rectx), int UNUSED(recty), ReportList *UNUSED(reports), bool UNUSED(preview), const char *UNUSED(suffix))
static void end_stub(void *UNUSED(context_v))
static void * context_create_stub(void)
void BKE_movie_filepath_get(char *string, const RenderData *rd, bool preview, const char *suffix)
static int append_stub(void *UNUSED(context_v), RenderData *UNUSED(rd), int UNUSED(start_frame), int UNUSED(frame), int *UNUSED(pixels), int UNUSED(rectx), int UNUSED(recty), const char *UNUSED(suffix), ReportList *UNUSED(reports))