Searched refs:MAX_THREADS (Results 1 – 4 of 4) sorted by relevance
17 #define MAX_THREADS MAX_CPUS macro26 static thread_t threads[MAX_THREADS];61 if (num_threads >= MAX_THREADS) in create_per_cpu_threads()88 if (nthreads > MAX_THREADS) in create_threads()89 nthreads = MAX_THREADS; in create_threads()
401 #define MAX_THREADS 4 macro409 dec_state_t *ps_dec_state[MAX_THREADS];410 UWORD32 au4_thread_launched[MAX_THREADS];
53 #define NUM_MEM_RECORDS 4 * MAX_THREADS + NUM_INT_FRAME_BUFFERS + 5 + 2
287 for(i = 0; i < MAX_THREADS; i++) in impeg2d_api_set_num_cores()505 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_fill_mem_rec()1015 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_api_reset()1639 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_api_init()1759 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_api_init()2989 if((ps_ip->u4_num_cores < 1) || (ps_ip->u4_num_cores > MAX_THREADS)) in impeg2d_api_check_struct_sanity()