Home
last modified time | relevance | path

Searched refs:MAX_THREADS (Results 1 – 16 of 16) sorted by relevance

/third_party/gstreamer/gstreamer/tests/benchmarks/
Dgstclockstress.c25 #define MAX_THREADS 100 macro
49 GThread *threads[MAX_THREADS]; in main()
63 if (num_threads <= 0 || num_threads > MAX_THREADS) { in main()
64 g_print ("number of threads must be between 0 and %d\n", MAX_THREADS); in main()
Dgstbufferstress.c25 #define MAX_THREADS 1000 macro
64 GThread *threads[MAX_THREADS]; in main()
81 if (num_threads <= 0 || num_threads > MAX_THREADS) { in main()
82 g_print ("number of threads must be between 0 and %d\n", MAX_THREADS); in main()
Dgstpollstress.c31 #define MAX_THREADS 100 macro
142 GThread *threads[MAX_THREADS]; in main()
/third_party/ffmpeg/libavcodec/
Dframe_thread_encoder.c33 #define MAX_THREADS 64 macro
38 #define BUFFER_SIZE (MAX_THREADS + 2)
63 pthread_t worker[MAX_THREADS];
174 avctx->thread_count = FFMIN(avctx->thread_count, MAX_THREADS); in ff_frame_thread_encoder_init()
180 if(avctx->thread_count > MAX_THREADS) in ff_frame_thread_encoder_init()
Ddnxhdenc.h60 struct DNXHDEncContext *thread[MAX_THREADS];
Dvp8.h147 #define MAX_THREADS 8 macro
Dmpegvideo.h62 #define MAX_THREADS 32 macro
155 struct MpegEncContext *thread_context[MAX_THREADS];
Dvp8.c55 for (i = 0; i < MAX_THREADS; i++) { in free_buffers()
226 s->thread_data = av_mallocz(MAX_THREADS * sizeof(VP8ThreadData)); in update_dimensions()
234 for (i = 0; i < MAX_THREADS; i++) { in update_dimensions()
2776 for (i = 0; i < MAX_THREADS; i++) { in vp78_decode_frame()
Dmpegvideo.c936 if (nb_slices > MAX_THREADS || (nb_slices > s->mb_height && s->mb_height)) { in ff_mpv_common_init()
939 max_slices = FFMIN(MAX_THREADS, s->mb_height); in ff_mpv_common_init()
941 max_slices = MAX_THREADS; in ff_mpv_common_init()
Ddnxhdenc.c510 if (avctx->thread_count > MAX_THREADS) { in dnxhd_encode_init()
/third_party/ffmpeg/libavfilter/
Dvf_convolve.c34 #define MAX_THREADS 16 macro
40 FFTContext *fft[4][MAX_THREADS];
41 FFTContext *ifft[4][MAX_THREADS];
478 …ctx->internal->execute(ctx, fft_horizontal, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_thr… in do_convolve()
479 …ctx->internal->execute(ctx, fft_vertical, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threa… in do_convolve()
504 …ctx->internal->execute(ctx, fft_horizontal, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_thr… in do_convolve()
505 …ctx->internal->execute(ctx, fft_vertical, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threa… in do_convolve()
513 …ctx->internal->execute(ctx, s->filter, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(… in do_convolve()
518 …ctx->internal->execute(ctx, ifft_vertical, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_thre… in do_convolve()
519 …ctx->internal->execute(ctx, ifft_horizontal, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_th… in do_convolve()
[all …]
Dvf_dctdnoiz.c40 #define MAX_THREADS 8 macro
47 AVExpr *expr[MAX_THREADS];
48 double var_values[MAX_THREADS][VAR_VARS_NB];
55 float *slices[MAX_THREADS]; // slices buffers (1 slice buffer per thread)
570 s->nb_threads = FFMIN3(MAX_THREADS, ff_filter_get_nb_threads(ctx), max_slice_h); in config_input()
572 MAX_THREADS, max_slice_h, ff_filter_get_nb_threads(ctx), s->nb_threads); in config_input()
/third_party/alsa-lib/test/
Dpcm-multi-thread.c25 #define MAX_THREADS 10 macro
53 static pthread_t peeper_threads[MAX_THREADS];
159 if (num_threads < 1 || num_threads > MAX_THREADS) { in parse_options()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dopenjpeg.c41 #define MAX_THREADS 8 macro
/third_party/ltp/testcases/network/netstress/
Dnetstress.c128 #define MAX_THREADS 10000 macro
457 if (clients_num >= MAX_THREADS) { in client_init()
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dlibimagequant.c1159 #define MAX_THREADS 8 macro
1178 const unsigned int max_threads = MIN (MAX_THREADS, omp_get_max_threads ()); in remap_to_palette()
1181 map->colors) * MAX_THREADS); in remap_to_palette()