MLT 7.40.0
Multimedia Framework
mlt_slices.h
Go to the documentation of this file.
1
23#ifndef MLT_SLICES_H
24#define MLT_SLICES_H
25
26#include "mlt_export.h"
27#include "mlt_types.h"
33struct mlt_slices_s;
34
35typedef int (*mlt_slices_proc)(int id, int idx, int jobs, void *cookie);
36
37MLT_EXPORT int mlt_slices_count_normal();
38
39MLT_EXPORT int mlt_slices_count_rr();
40
41MLT_EXPORT int mlt_slices_count_fifo();
42
43MLT_EXPORT void mlt_slices_run_normal(int jobs, mlt_slices_proc proc, void *cookie);
44
45MLT_EXPORT void mlt_slices_run_rr(int jobs, mlt_slices_proc proc, void *cookie);
46
47MLT_EXPORT void mlt_slices_run_fifo(int jobs, mlt_slices_proc proc, void *cookie);
48
49MLT_EXPORT int mlt_slices_size_slice(int jobs, int index, int input_size, int *start);
50
51#endif
int(* mlt_slices_proc)(int id, int idx, int jobs, void *cookie)
Definition mlt_slices.h:35
MLT_EXPORT void mlt_slices_run_rr(int jobs, mlt_slices_proc proc, void *cookie)
Definition mlt_slices.c:412
MLT_EXPORT int mlt_slices_size_slice(int jobs, int index, int input_size, int *start)
MLT_EXPORT int mlt_slices_count_fifo()
MLT_EXPORT void mlt_slices_run_fifo(int jobs, mlt_slices_proc proc, void *cookie)
Definition mlt_slices.c:417
MLT_EXPORT void mlt_slices_run_normal(int jobs, mlt_slices_proc proc, void *cookie)
Definition mlt_slices.c:407
MLT_EXPORT int mlt_slices_count_rr()
MLT_EXPORT int mlt_slices_count_normal()
Provides forward definitions of all public types.
Definition mlt_slices.c:61