28 #ifndef OPENSHOT_OPENMP_UTILITIES_H 29 #define OPENSHOT_OPENMP_UTILITIES_H 37 #define OPEN_MP_NUM_PROCESSORS (min(omp_get_num_procs(), 6)) 38 #define FF_NUM_PROCESSORS (min(omp_get_num_procs(), 12)) 46 static bool IsOMPEnabled() {
47 char* OS2_OMP_THREADS = getenv(
"OS2_OMP_THREADS");
48 if (OS2_OMP_THREADS != NULL && strcmp(OS2_OMP_THREADS,
"0") == 0)
This namespace is the default namespace for all code in the openshot library.