Max 5 API Reference
|
Functions | |
| t_jit_qt_movie * | jit_qt_movie_new (long width, long height) |
| Constructs instance of t_jit_qt_movie. | |
| long | jit_qt_movie_matrix_calc (t_jit_qt_movie *x, void *inputs, void *outputs) |
| matrix_calc method for the jit.qt.movie object | |
| t_jit_err | jit_qt_movie_matrix_to_image (t_jit_qt_movie *x, void *o, short ac, t_atom *av, t_graphic_exportsettings *gs) |
| Export a Jitter matrix to a QuickTime-compatible image file. | |
| t_jit_err | jit_qt_movie_read_typed (t_jit_qt_movie *x, t_symbol *s, long ac, t_atom *av, t_atom *rv) |
| Read a QuickTime Movie. | |
| long jit_qt_movie_matrix_calc | ( | t_jit_qt_movie * | x, | |
| void * | inputs, | |||
| void * | outputs | |||
| ) |
matrix_calc method for the jit.qt.movie object
| x | t_jit_qt_movie object pointer | |
| inputs | input list (unused) | |
| outputs | output list (should be or contain 1 t_jit_matrix object) |
Definition at line 5283 of file jit.qt.movie.c.
References t_matrix_conv_info::dstdimend, t_matrix_conv_info::dstdimstart, t_matrix_conv_info::flags, gensym(), jit_atom_setfloat(), JIT_MATRIX_CONVERT_DSTDIM, JIT_MATRIX_CONVERT_INTERP, JIT_MATRIX_CONVERT_SRCDIM, jit_object_findregistered(), jit_object_method(), MAX, t_jit_matrix_info::planecount, t_matrix_conv_info::planemap, t_matrix_conv_info::srcdimend, and t_matrix_conv_info::srcdimstart.

| t_jit_err jit_qt_movie_matrix_to_image | ( | t_jit_qt_movie * | x, | |
| void * | o, | |||
| short | ac, | |||
| t_atom * | av, | |||
| t_graphic_exportsettings * | gs | |||
| ) |
Export a Jitter matrix to a QuickTime-compatible image file.
| x | t_jit_qt_movie object pointer | |
| o | t_jit_matrix pointer | |
| ac | argument count | |
| av | argument vector | |
| gs | undocumented |
Optional arguments are file type, desired file name/file path for exported image file, and a show settings dialog flag (0/1). Format is essentially the same as that of "exportimage" method to jit.qt.movie, as documented in the Jitter Reference.
Definition at line 905 of file jit.qt.movie.export.c.
References t_jit_matrix_info::dim, gensym(), jit_atom_arg_getlong(), jit_atom_arg_getsym(), jit_atom_setsym(), jit_object_method(), jit_qt_utils_type2str(), MAX_PATH_CHARS, path_getdefault(), t_symbol::s_name, and saveasdialog_extended().

| t_jit_qt_movie* jit_qt_movie_new | ( | long | width, | |
| long | height | |||
| ) |
Constructs instance of t_jit_qt_movie.
| width | output matrix width | |
| height | output matrix height |
Definition at line 715 of file jit.qt.movie.c.
References _jit_sym_codec_normal, clock_new(), t_jit_matrix_info::flags, gensym(), jit_linklist_new(), JIT_MATRIX_DATA_FLAGS_USE, JIT_MATRIX_DATA_REFERENCE, jit_matrix_info_default(), jit_object_new(), qelem_new(), systhread_create(), and systhread_mutex_new().

| t_jit_err jit_qt_movie_read_typed | ( | t_jit_qt_movie * | x, | |
| t_symbol * | s, | |||
| long | ac, | |||
| t_atom * | av, | |||
| t_atom * | rv | |||
| ) |
Read a QuickTime Movie.
| x | t_jit_qt_movie object pointer | |
| s | t_symbol pointer containing method name ("read" or "asyncread", "import", "importfile" or "asyncimport") | |
| ac | argument count | |
| av | argument vector | |
| rv | (optional) t_atom pointer, on output, will be of type A_OBJ and contain a t_atomarray object with any return values |
Optional argument is the file name/file path/URL or "scrap" to load.
Definition at line 55 of file jit.qt.movie.js.c.
References atom_setobj(), jit_atom_arg_getsym(), jit_atom_setlong(), jit_atom_setsym(), and object_new().
