Home
last modified time | relevance | path

Searched refs:thr (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/ffmpeg/libavfilter/
Dvf_deband.c43 int thr[4]; member
147 const int thr = s->thr[p]; in deband_8_c() local
169 dst_ptr[y * dst_linesize + x] = diff < thr ? avg : src0; in deband_8_c()
171 dst_ptr[y * dst_linesize + x] = (FFABS(src0 - ref0) < thr) && in deband_8_c()
172 (FFABS(src0 - ref1) < thr) && in deband_8_c()
173 (FFABS(src0 - ref2) < thr) && in deband_8_c()
174 … (FFABS(src0 - ref3) < thr) ? get_avg(ref0, ref1, ref2, ref3) : src0; in deband_8_c()
204 const int thr = s->thr[p]; in deband_8_coupling_c() local
217 cmp[p] = FFABS(src0 - avg[p]) < thr; in deband_8_coupling_c()
219 cmp[p] = (FFABS(src0 - ref0) < thr) && in deband_8_coupling_c()
[all …]
/third_party/ffmpeg/libavcodec/
Daacpsy.c110 float thr; ///< energy threshold member
544 if (band->energy > band->thr) { in calc_pe_3gpp()
546 pe = a - log2f(band->thr); in calc_pe_3gpp()
577 float thr = band->thr; in calc_reduced_thr_3gpp() local
579 if (band->energy > thr) { in calc_reduced_thr_3gpp()
580 thr = sqrtf(thr); in calc_reduced_thr_3gpp()
581 thr = sqrtf(thr) + reduction; in calc_reduced_thr_3gpp()
582 thr *= thr; in calc_reduced_thr_3gpp()
583 thr *= thr; in calc_reduced_thr_3gpp()
590 if (thr > band->energy * min_snr && band->avoid_holes != PSY_3GPP_AH_NONE) { in calc_reduced_thr_3gpp()
[all …]
/third_party/ltp/testcases/kernel/crypto/
Daf_alg02.c59 pthread_t thr; in run() local
63 SAFE_PTHREAD_CREATE(&thr, NULL, verify_encrypt, NULL); in run()
69 pthread_cancel(thr); in run()
75 pthread_join(thr, NULL); in run()
/third_party/flutter/glfw/deps/
Dtinycthread.c361 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument
375 *thr = (HANDLE)_beginthreadex(NULL, 0, _thrd_wrapper_function, (void *)ti, 0, NULL); in thrd_create()
377 if(pthread_create(thr, NULL, _thrd_wrapper_function, (void *)ti) != 0) in thrd_create()
379 *thr = 0; in thrd_create()
384 if(!*thr) in thrd_create()
402 int thrd_detach(thrd_t thr) in thrd_detach() argument
405 (void)thr; in thrd_detach()
432 int thrd_join(thrd_t thr, int *res) in thrd_join() argument
435 if (WaitForSingleObject(thr, INFINITE) == WAIT_FAILED) in thrd_join()
442 GetExitCodeThread(thr, &dwRes); in thrd_join()
[all …]
Dtinycthread.h340 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg);
349 int thrd_detach(thrd_t thr);
372 int thrd_join(thrd_t thr, int *res);
/third_party/mesa3d/include/c11/
Dthreads_win32.h351 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument
355 assert(thr != NULL); in thrd_create()
366 *thr = (thrd_t)handle; in thrd_create()
413 thrd_detach(thrd_t thr) in thrd_detach() argument
415 CloseHandle(thr); in thrd_detach()
436 thrd_join(thrd_t thr, int *res) in thrd_join() argument
439 w = WaitForSingleObject(thr, INFINITE); in thrd_join()
443 if (!GetExitCodeThread(thr, &code)) { in thrd_join()
444 CloseHandle(thr); in thrd_join()
449 CloseHandle(thr); in thrd_join()
Dthreads_posix.h281 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument
284 assert(thr != NULL); in thrd_create()
289 if (pthread_create(thr, NULL, impl_thrd_routine, pack) != 0) { in thrd_create()
305 thrd_detach(thrd_t thr) in thrd_detach() argument
307 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error; in thrd_detach()
326 thrd_join(thrd_t thr, int *res) in thrd_join() argument
329 if (pthread_join(thr, &code) != 0) in thrd_join()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
D3-2.c176 pthread_t thr; in main() local
231 if ((ret = pthread_create(&thr, NULL, unlock_issue, NULL))) { in main()
249 if ((ret = pthread_join(thr, &th_ret))) { in main()
282 if ((ret = pthread_create(&thr, NULL, deadlk_issue, NULL))) { in main()
300 if ((ret = pthread_cancel(thr))) { in main()
307 if ((ret = pthread_join(thr, &th_ret))) { in main()
D1-2.c171 pthread_t thr; in main() local
238 if ((ret = pthread_create(&thr, NULL, unlock_issue, NULL))) { in main()
256 if ((ret = pthread_join(thr, &th_ret))) { in main()
289 if ((ret = pthread_create(&thr, NULL, deadlk_issue, NULL))) { in main()
307 if ((ret = pthread_cancel(thr))) { in main()
314 if ((ret = pthread_join(thr, &th_ret))) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dthrd_current.c21 static thrd_t thr; variable
29 if (!(thrd_equal(id, thr))) { in threadfuncA()
52 result = thrd_create(&thr, threadfuncA, NULL); in thrd_current_0100()
62 result = thrd_join(thr, NULL); in thrd_current_0100()
Dthrd_equal.c21 static thrd_t thr; variable
29 if (!(thrd_equal(id, thr))) { in threadfuncA()
52 result = thrd_create(&thr, threadfuncA, NULL); in thrd_equal_0100()
62 result = thrd_join(thr, NULL); in thrd_equal_0100()
/third_party/boost/libs/histogram/examples/
Dguide_custom_minimal_axis.cpp23 threshold_axis(double x) : thr(x) {} in main()
24 axis::index_type index(double x) const { return x >= thr; } in main()
26 double thr; in main() member
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c94 int strartThread(Thread * thr);
95 void stopThread(Thread * thr);
96 void joinThread(Thread * thr);
305 void stopThread(Thread * thr) in stopThread() argument
307 thr->flags += THREAD_STOP; in stopThread()
308 joinThread(thr); in stopThread()
311 void joinThread(Thread * thr) in joinThread() argument
314 if (pthread_join(thr->pthread, &ret) != 0) { in joinThread()
/third_party/boost/libs/process/test/
Dterminate.cpp28 std::thread thr{ variable
58 thr.join();
64 std::thread thr{ variable
94 thr.join();
Dgroup_wait.cpp37 std::thread thr{ variable
80 thr.join();
89 std::thread thr{ variable
134 thr.join();
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
Drt_sigqueueinfo01.c62 pthread_t thr; in verify_sigqueueinfo() local
64 SAFE_PTHREAD_CREATE(&thr, NULL, handle_thread, NULL); in verify_sigqueueinfo()
75 SAFE_PTHREAD_JOIN(thr, NULL); in verify_sigqueueinfo()
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal01.c49 pthread_t thr; in verify_pidfd_send_signal() local
51 SAFE_PTHREAD_CREATE(&thr, NULL, handle_thread, NULL); in verify_pidfd_send_signal()
62 SAFE_PTHREAD_JOIN(thr, NULL); in verify_pidfd_send_signal()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/
Dconnector_throughput.cc58 auto thr = (cur_out_rows_count - prev_out_rows_count) / (multiplier * data_time); in Sample() local
59 throughput_row[col] = thr; in Sample()
73 json ConnectorThroughput::ParseOpInfo(const DatasetOp &node, const std::vector<double> &thr) { in ParseOpInfo() argument
86 metrics["output_queue"] = {{"throughput", thr}}; in ParseOpInfo()
/third_party/musl/src/thread/
Dthrd_create.c4 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument
6 int ret = __pthread_create(thr, __ATTRP_C11_THREAD, (void *(*)(void *))func, arg); in thrd_create()
/third_party/boost/libs/log/test/run/
Dcore.cpp207 attr_set thr = pCore->get_thread_attributes(); in BOOST_AUTO_TEST_CASE() local
208 BOOST_CHECK_EQUAL(thr.size(), 1UL); in BOOST_AUTO_TEST_CASE()
209 BOOST_CHECK_EQUAL(thr.count(data::attr3()), 1UL); in BOOST_AUTO_TEST_CASE()
234 attr_set thr = pCore->get_thread_attributes(); in BOOST_AUTO_TEST_CASE() local
235 BOOST_CHECK_EQUAL(thr.size(), 1UL); in BOOST_AUTO_TEST_CASE()
236 BOOST_CHECK_EQUAL(thr.count(data::attr3()), 1UL); in BOOST_AUTO_TEST_CASE()
/third_party/mesa3d/src/egl/main/
Deglcurrent.c305 _EGLThreadInfo *thr = _eglGetCurrentThread(); in _eglDebugReport() local
310 funcName = thr->CurrentFuncName; in _eglDebugReport()
327 callback(error, funcName, type, thr->Label, thr->CurrentObjectLabel, in _eglDebugReport()
/third_party/ltp/testcases/kernel/syscalls/userfaultfd/
Duserfaultfd01.c79 pthread_t thr; in run() local
108 SAFE_PTHREAD_CREATE(&thr, NULL, in run()
118 SAFE_PTHREAD_JOIN(thr, NULL); in run()
/third_party/vk-gl-cts/framework/common/
DtcuRGBA.hpp85 …d (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr.getGreen()) && (getB… in isBelowThreshold()
/third_party/boost/boost/thread/executors/
Dscheduler.hpp235 thr(&super::loop, this) {} in scheduler()
240 thr.interrupt(); in ~scheduler()
241 thr.join(); in ~scheduler()
263 thread thr; member in boost::executors::scheduler
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
D3-1.c94 pthread_t *thr; member
115 if ((ret = pthread_kill(*(thearg->thr), thearg->sig))) { in sendsig()
314 arg1.thr = &th_work; in main()
315 arg2.thr = &th_work; in main()

1234