Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/IMB_imbuf.h
| Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
| #define IM_MAX_SPACE 64 | #define IM_MAX_SPACE 64 | ||||
| /** | /** | ||||
| * | * | ||||
| * \attention defined in ??? | * \attention defined in ??? | ||||
| */ | */ | ||||
| struct ImBuf; | struct ImBuf; | ||||
| struct rcti; | struct rcti; | ||||
| struct rctf; | |||||
| /** | /** | ||||
| * | * | ||||
| * \attention defined in ??? | * \attention defined in ??? | ||||
| */ | */ | ||||
| struct anim; | struct anim; | ||||
| struct ColorManagedDisplay; | struct ColorManagedDisplay; | ||||
| ▲ Show 20 Lines • Show All 237 Lines • ▼ Show 20 Lines | typedef enum IMB_Proxy_Size { | ||||
| IMB_PROXY_NONE = 0, | IMB_PROXY_NONE = 0, | ||||
| IMB_PROXY_25 = 1, | IMB_PROXY_25 = 1, | ||||
| IMB_PROXY_50 = 2, | IMB_PROXY_50 = 2, | ||||
| IMB_PROXY_75 = 4, | IMB_PROXY_75 = 4, | ||||
| IMB_PROXY_100 = 8, | IMB_PROXY_100 = 8, | ||||
| IMB_PROXY_MAX_SLOT = 4, | IMB_PROXY_MAX_SLOT = 4, | ||||
| } IMB_Proxy_Size; | } IMB_Proxy_Size; | ||||
| typedef enum eIMBInterpolationFilterMode { | |||||
| IMB_FILTER_NEAREST, | |||||
| IMB_FILTER_BILINEAR, | |||||
| } eIMBInterpolationFilterMode; | |||||
| /* Defaults to BL_proxy within the directory of the animation. */ | /* Defaults to BL_proxy within the directory of the animation. */ | ||||
| void IMB_anim_set_index_dir(struct anim *anim, const char *dir); | void IMB_anim_set_index_dir(struct anim *anim, const char *dir); | ||||
| void IMB_anim_get_fname(struct anim *anim, char *file, int size); | void IMB_anim_get_fname(struct anim *anim, char *file, int size); | ||||
| int IMB_anim_index_get_frame_index(struct anim *anim, IMB_Timecode_Type tc, int position); | int IMB_anim_index_get_frame_index(struct anim *anim, IMB_Timecode_Type tc, int position); | ||||
| IMB_Proxy_Size IMB_anim_proxy_get_existing(struct anim *anim); | IMB_Proxy_Size IMB_anim_proxy_get_existing(struct anim *anim); | ||||
| ▲ Show 20 Lines • Show All 393 Lines • ▼ Show 20 Lines | void IMB_processor_apply_threaded( | ||||
| void(init_handle)(void *handle, int start_line, int tot_line, void *customdata), | void(init_handle)(void *handle, int start_line, int tot_line, void *customdata), | ||||
| void *(do_thread)(void *)); | void *(do_thread)(void *)); | ||||
| typedef void (*ScanlineThreadFunc)(void *custom_data, int start_scanline, int num_scanlines); | typedef void (*ScanlineThreadFunc)(void *custom_data, int start_scanline, int num_scanlines); | ||||
| void IMB_processor_apply_threaded_scanlines(int total_scanlines, | void IMB_processor_apply_threaded_scanlines(int total_scanlines, | ||||
| ScanlineThreadFunc do_thread, | ScanlineThreadFunc do_thread, | ||||
| void *custom_data); | void *custom_data); | ||||
| void IMB_transform(struct ImBuf *src, | |||||
| struct ImBuf *dst, | |||||
| float transform_matrix[3][3], | |||||
| struct rctf *src_crop, | |||||
| const eIMBInterpolationFilterMode filter); | |||||
| /* ffmpeg */ | /* ffmpeg */ | ||||
| void IMB_ffmpeg_init(void); | void IMB_ffmpeg_init(void); | ||||
| const char *IMB_ffmpeg_last_error(void); | const char *IMB_ffmpeg_last_error(void); | ||||
| /** | /** | ||||
| * | * | ||||
| * \attention defined in util_gpu.c | * \attention defined in util_gpu.c | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines | |||||