/third_party/ffmpeg/libavfilter/ |
H A D | vf_deband.c | 43 int thr[4]; member 55 { "1thr", "set 1st plane threshold", OFFSET(threshold[0]), AV_OPT_TYPE_FLOAT, {.dbl=0.02}, 0.00003, 0.5, FLAGS }, 56 { "2thr", "set 2nd plane threshold", OFFSET(threshold[1]), AV_OPT_TYPE_FLOAT, {.dbl=0.02}, 0.00003, 0.5, FLAGS }, 57 { "3thr", "set 3rd plane threshold", OFFSET(threshold[2]), AV_OPT_TYPE_FLOAT, {.dbl=0.02}, 0.00003, 0.5, FLAGS }, 58 { "4thr", "set 4th plane threshold", OFFSET(threshold[3]), AV_OPT_TYPE_FLOAT, {.dbl=0.02}, 0.00003, 0.5, FLAGS }, 143 const int thr = s->thr[p]; in deband_8_c() local 165 dst_ptr[y * dst_linesize + x] = diff < thr ? avg : src0; in deband_8_c() 167 dst_ptr[y * dst_linesize + x] = (FFABS(src0 - ref0) < thr) && in deband_8_c() 168 (FFABS(src0 - ref1) < thr) in deband_8_c() 200 const int thr = s->thr[p]; deband_8_coupling_c() local 265 const int thr = s->thr[p]; deband_16_coupling_c() local 324 const int thr = s->thr[p]; deband_16_c() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | aacpsy.c | 110 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) in calc_reduced_thr_3gpp() 807 float thr = band->thr; psy_3gpp_analyze_channel() local [all...] |
/third_party/musl/src/exit/ |
H A D | cxa_thread_atexit_impl.c | 113 pthread_t thr = __pthread_self();
in __cxa_thread_atexit_impl() local 114 dtor->next = thr->thread_local_dtors;
in __cxa_thread_atexit_impl() 115 thr->thread_local_dtors = dtor;
in __cxa_thread_atexit_impl() 124 pthread_t thr = __pthread_self();
in __cxa_thread_finalize() local 125 while (thr->thread_local_dtors != NULL) {
in __cxa_thread_finalize() 126 struct thread_local_dtor* cur = thr->thread_local_dtors;
in __cxa_thread_finalize() 127 thr->thread_local_dtors= cur->next;
in __cxa_thread_finalize()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares__threads.c | 158 ares__thread_t *thr = NULL; in ares__thread_create() local 164 thr = ares_malloc_zero(sizeof(*thr)); in ares__thread_create() 165 if (thr == NULL) { in ares__thread_create() 169 thr->func = func; in ares__thread_create() 170 thr->arg = arg; in ares__thread_create() 171 thr->thread = CreateThread(NULL, 0, ares__thread_func, thr, 0, &thr->id); in ares__thread_create() 172 if (thr in ares__thread_create() 374 ares__thread_t *thr = NULL; ares__thread_create() local [all...] |
/third_party/lame/libmp3lame/ |
H A D | psymodel.c | 361 convert_partition2scalefac(PsyConst_CB2SB_t const *const gd, FLOAT const *eb, FLOAT const *thr, in convert_partition2scalefac() argument 373 assert(thr[b] >= 0); in convert_partition2scalefac() 375 thmm += thr[b]; in convert_partition2scalefac() 385 assert(thr[b] >= 0); in convert_partition2scalefac() 391 thmm += w_curr * thr[b]; in convert_partition2scalefac() 395 thmm = w_next * thr[b]; in convert_partition2scalefac() 406 convert_partition2scalefac_s(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn, in convert_partition2scalefac_s() argument 413 convert_partition2scalefac(gds, eb, thr, enn, thm); in convert_partition2scalefac_s() 422 convert_partition2scalefac_l(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn) in convert_partition2scalefac_l() argument 428 convert_partition2scalefac(gdl, eb, thr, en in convert_partition2scalefac_l() 432 convert_partition2scalefac_l_to_s(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn) convert_partition2scalefac_l_to_s() argument 1042 vbrpsy_compute_masking_s(lame_internal_flags * gfc, const FLOAT(*fftenergy_s)[HBLKSIZE_s], FLOAT * eb, FLOAT * thr, int chn, int sblock) vbrpsy_compute_masking_s() argument 1145 vbrpsy_compute_masking_l(lame_internal_flags * gfc, const FLOAT fftenergy[HBLKSIZE], FLOAT eb_l[CBANDS], FLOAT thr[CBANDS], int chn) vbrpsy_compute_masking_l() argument 1337 vbrpsy_compute_MS_thresholds(const FLOAT eb[4][CBANDS], FLOAT thr[4][CBANDS], const FLOAT cb_mld[CBANDS], const FLOAT ath_cb[CBANDS], FLOAT athlower, FLOAT msfix, int n) vbrpsy_compute_MS_thresholds() argument 1430 FLOAT eb[4][CBANDS], thr[4][CBANDS]; L3psycho_anal_vbr() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
H A D | cxa_thread_atexit_test.cpp | 145 pthread_t thr;
in HWTEST_F() local 146 ASSERT_EQ(0, pthread_create(&thr, nullptr, TestForMultipleDtors, nullptr));
in HWTEST_F() 147 ASSERT_EQ(0, pthread_join(thr, nullptr));
in HWTEST_F() 216 pthread_t thr;
in HWTEST_F() local 217 ASSERT_EQ(0, pthread_create(&thr, nullptr, TestDlcloseSoStub, nullptr));
in HWTEST_F() 218 ASSERT_EQ(0, pthread_join(thr, nullptr));
in HWTEST_F()
|
/third_party/mesa3d/src/c11/impl/ |
H A D | threads_win32.c | 311 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument 315 assert(thr != NULL); in thrd_create() 327 *thr = (thrd_t)handle; in thrd_create() 374 thrd_detach(thrd_t thr) in thrd_detach() argument 376 CloseHandle(thr); in thrd_detach() 398 thrd_join(thrd_t thr, int *res) in thrd_join() argument 401 w = WaitForSingleObject(thr, INFINITE); in thrd_join() 405 if (!GetExitCodeThread(thr, &code)) { in thrd_join() 406 CloseHandle(thr); in thrd_join() 411 CloseHandle(thr); in thrd_join() [all...] |
H A D | threads_posix.c | 255 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument 258 assert(thr != NULL); in thrd_create() 263 if (pthread_create(thr, NULL, impl_thrd_routine, pack) != 0) { in thrd_create() 279 thrd_detach(thrd_t thr) in thrd_detach() argument 281 return (pthread_detach(thr) == 0) ? thrd_success : thrd_error; in thrd_detach() 301 thrd_join(thrd_t thr, int *res) in thrd_join() argument 304 if (pthread_join(thr, &code) != 0) in thrd_join()
|
/third_party/ltp/testcases/kernel/crypto/ |
H A D | af_alg02.c | 59 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
H A D | 1-2.c | 171 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()
|
H A D | 3-2.c | 176 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()
|
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
H A D | testpi-3.c | 94 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/glfw/deps/ |
H A D | tinycthread.c | 361 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, in thrd_join() [all...] |
H A D | tinycthread.h | 331 * @param thr Identifier of the newly created thread. 342 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg); 351 int thrd_detach(thrd_t thr); 368 * @param thr The thread to join with. 374 int thrd_join(thrd_t thr, int *res);
|
/third_party/mesa3d/src/egl/main/ |
H A D | eglcurrent.c | 177 _EGLThreadInfo *thr = _eglGetCurrentThread(); in _eglDebugReport() local 182 funcName = thr->CurrentFuncName; in _eglDebugReport() 199 callback(error, funcName, type, thr->Label, thr->CurrentObjectLabel, in _eglDebugReport() 205 /* Note: _eglError() is often called with msg == thr->currentFuncName */ in _eglDebugReport()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | thrd_current.c | 34 static thrd_t thr; variable 67 if (!(thrd_equal(id, thr))) { in threadfuncA() 98 result = thrd_create(&thr, threadfuncA, NULL); in thrd_current_0100() 108 result = thrd_join(thr, NULL); in thrd_current_0100()
|
H A D | thrd_equal.c | 34 static thrd_t thr; variable 69 if (!(thrd_equal(id, thr))) { in threadfuncA() 101 result = thrd_create(&thr, threadfuncA, (void *)&mtx); in thrd_equal_0100() 113 result = thrd_join(thr, NULL); in thrd_equal_0100()
|
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/ |
H A D | pidfd_send_signal01.c | 53 pthread_t thr; in verify_pidfd_send_signal() local 55 SAFE_PTHREAD_CREATE(&thr, NULL, handle_thread, NULL); in verify_pidfd_send_signal() 66 SAFE_PTHREAD_JOIN(thr, NULL); in verify_pidfd_send_signal()
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/ |
H A D | rt_sigqueueinfo01.c | 62 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/userfaultfd/ |
H A D | userfaultfd01.c | 77 pthread_t thr; in run() local 106 SAFE_PTHREAD_CREATE(&thr, NULL, in run() 116 SAFE_PTHREAD_JOIN(thr, NULL); in run()
|
/third_party/musl/src/thread/ |
H A D | thrd_create.c | 4 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
H A D | 3-1.c | 94 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()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuRGBA.hpp | 85 bool isBelowThreshold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); } in isBelowThreshold()
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tring.c | 71 pthread_t thr; in main() local 72 pthread_create(&thr, NULL, thread, NULL); in main()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tring.c | 71 pthread_t thr; in main() local 72 pthread_create(&thr, NULL, thread, NULL); in main()
|