Home
last modified time | relevance | path

Searched refs:num_workers (Results 1 – 12 of 12) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c48 t += cpi->num_workers) { in enc_worker_hook()
70 static void create_enc_workers(VP9_COMP *cpi, int num_workers) { in create_enc_workers() argument
76 if (cpi->num_workers == 0) { in create_enc_workers()
77 int allocated_workers = num_workers; in create_enc_workers()
97 ++cpi->num_workers; in create_enc_workers()
132 int num_workers) { in launch_enc_workers() argument
136 for (i = 0; i < num_workers; i++) { in launch_enc_workers()
144 for (i = 0; i < num_workers; i++) { in launch_enc_workers()
151 if (i == cpi->num_workers - 1) in launch_enc_workers()
158 for (i = 0; i < num_workers; i++) { in launch_enc_workers()
[all …]
Dvp9_multi_thread.c179 int tile_cols, int num_workers) { in vp9_assign_tile_to_thread() argument
184 for (i = 0; i < num_workers; i++) { in vp9_assign_tile_to_thread()
271 for (i = 0; i < cpi->num_workers; i++) { in vp9_prepare_job_queue()
Dvp9_picklpf.c44 if (cpi->num_workers > 1) in try_filter_frame()
47 cpi->num_workers, &cpi->lf_row_sync); in try_filter_frame()
Dvp9_multi_thread.h26 int tile_cols, int num_workers);
Dvp9_bitstream.c936 for (i = 1; i < cpi->num_workers; ++i) { in vp9_bitstream_encode_tiles_buffer_dealloc()
947 cpi->num_workers * sizeof(*cpi->vp9_bitstream_worker_data); in encode_tiles_buffer_alloc()
951 for (i = 1; i < cpi->num_workers; ++i) { in encode_tiles_buffer_alloc()
965 const int num_workers = cpi->num_workers; in encode_tiles_mt() local
978 for (i = 0; i < num_workers && tile_col < tile_cols; ++i) { in encode_tiles_mt()
1001 if (i < num_workers - 1) { in encode_tiles_mt()
1054 if (cpi->oxcf.mode == REALTIME && cpi->num_workers > 1 && tile_rows == 1 && in encode_tiles()
Dvp9_encoder.h680 int num_workers; member
Dvp9_encoder.c2431 for (t = 0; t < cpi->num_workers; ++t) { in vp9_remove_compressor()
2439 if (t < cpi->num_workers - 1) { in vp9_remove_compressor()
2449 if (cpi->num_workers > 1) { in vp9_remove_compressor()
2984 if (cpi->num_workers > 1)
2987 cpi->num_workers, &cpi->lf_row_sync);
/external/libvpx/libvpx/vp9/common/
Dvp9_thread_common.c106 mi_row += lf_sync->num_workers * MI_BLOCK_SIZE) { in thread_loop_filter_rows()
162 const int num_workers = VPXMIN(nworkers, tile_cols); in loop_filter_rows_mt() local
166 num_workers > lf_sync->num_workers) { in loop_filter_rows_mt()
168 vp9_loop_filter_alloc(lf_sync, cm, sb_rows, cm->width, num_workers); in loop_filter_rows_mt()
182 for (i = 0; i < num_workers; ++i) { in loop_filter_rows_mt()
197 if (i == num_workers - 1) { in loop_filter_rows_mt()
205 for (i = 0; i < num_workers; ++i) { in loop_filter_rows_mt()
214 int num_workers, VP9LfSync *lf_sync) { in vp9_loop_filter_frame_mt() argument
230 workers, num_workers, lf_sync); in vp9_loop_filter_frame_mt()
249 int width, int num_workers) { in vp9_loop_filter_alloc() argument
[all …]
Dvp9_thread_common.h39 int num_workers; member
44 int width, int num_workers);
54 int num_workers, VP9LfSync *lf_sync);
/external/v8/tools/testrunner/local/
Dpool.py76 def __init__(self, num_workers, heartbeat_timeout=30): argument
77 self.num_workers = num_workers
116 for w in xrange(self.num_workers):
154 while self.count < self.num_workers * self.BUFFER_FACTOR:
/external/pdfium/testing/tools/
Dtest_runner.py228 if options.num_workers > 1 and len(test_cases) > 1:
230 pool = multiprocessing.Pool(options.num_workers)
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c1567 const int num_workers = VPXMIN(pbi->max_threads, tile_cols); in decode_tiles_mt() local
1591 for (n = 0; n < num_workers; ++n) { in decode_tiles_mt()
1621 if (num_workers == tile_cols) { in decode_tiles_mt()
1647 for (n = 0; n < num_workers; ++n) { in decode_tiles_mt()
1655 const int base = tile_cols / num_workers; in decode_tiles_mt()
1656 const int remain = tile_cols % num_workers; in decode_tiles_mt()
1659 for (n = 0; n < num_workers; ++n) { in decode_tiles_mt()
1660 const int count = base + (remain + n) / num_workers; in decode_tiles_mt()
1670 if (n == num_workers - 1) { in decode_tiles_mt()
1692 for (n = 0; n < num_workers; ++n) { in decode_tiles_mt()