MLT 7.4.0
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_types.h"
27
33struct mlt_slices_s;
34
35typedef int (*mlt_slices_proc)( int id, int idx, int jobs, void* cookie );
36
38
40
42
43extern void mlt_slices_run_normal( int jobs, mlt_slices_proc proc, void* cookie );
44
45extern void mlt_slices_run_rr( int jobs, mlt_slices_proc proc, void* cookie );
46
47extern void mlt_slices_run_fifo( int jobs, mlt_slices_proc proc, void* cookie );
48
49#endif
void mlt_slices_run_normal(int jobs, mlt_slices_proc proc, void *cookie)
Definition: mlt_slices.c:394
void mlt_slices_run_fifo(int jobs, mlt_slices_proc proc, void *cookie)
Definition: mlt_slices.c:406
int(* mlt_slices_proc)(int id, int idx, int jobs, void *cookie)
Definition: mlt_slices.h:35
void mlt_slices_run_rr(int jobs, mlt_slices_proc proc, void *cookie)
Definition: mlt_slices.c:400
Provides forward definitions of all public types.
Definition: mlt_slices.c:59
int mlt_slices_count_fifo()
Get the number of slices for the fifo scheduling policy.
Definition: mlt_slices.c:385
int mlt_slices_count_normal()
Get the number of slices for the normal scheduling policy.
Definition: mlt_slices.c:355
int mlt_slices_count_rr()
Get the number of slices for the round robin scheduling policy.
Definition: mlt_slices.c:370