/third_party/ffmpeg/libavfilter/ |
H A D | vf_limitdiff.c | 42 int thr1, thr2; member 52 int thr1, int thr2, int w, int depth); 91 int thr1, int thr2, int w, int depth) in limitdiff8() 97 if (diff_ref <= thr1) in limitdiff8() 102 dst[x] = av_clip_uint8(source[x] + diff * (thr2 - diff_ref) / (thr2 - thr1)); in limitdiff8() 108 int thr1, int thr2, int w, int depth) in limitdiff16() 119 if (diff_ref <= thr1) in limitdiff16() 124 dst[x] = av_clip_uintp2_c(source[x] + diff * (thr2 - diff_ref) / (thr2 - thr1), depth); in limitdiff16() 148 s->thr1 = s->threshold * ((1 << s->depth) - 1); in config_input() 149 s->thr2 = s->thr1 * in config_input() 89 limitdiff8(const uint8_t *filtered, uint8_t *dst, const uint8_t *source, const uint8_t *reference, int thr1, int thr2, int w, int depth) limitdiff8() argument 106 limitdiff16(const uint8_t *ffiltered, uint8_t *ddst, const uint8_t *ssource, const uint8_t *rreference, int thr1, int thr2, int w, int depth) limitdiff16() argument 170 const int thr1 = s->thr1; limitdiff_slice() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | thrd_current.c | 126 thrd_t thr1, thr2; in thrd_current_0200() local 129 result = thrd_create(&thr1, threadfuncB, NULL); in thrd_current_0200() 144 if (thrd_equal(thr1, thr2)) { in thrd_current_0200() 148 if (thrd_equal(thr1, thrd_current())) { in thrd_current_0200() 156 result = thrd_join(thr1, NULL); in thrd_current_0200()
|
H A D | thrd_equal.c | 131 thrd_t thr1, thr2; in thrd_equal_0200() local 134 result = thrd_create(&thr1, threadfuncB, NULL); in thrd_equal_0200() 149 if (thrd_equal(thr1, thr2)) { in thrd_equal_0200() 150 t_error("%s failed, thr1 and thr2 equal", __func__); in thrd_equal_0200() 153 if (thrd_equal(thr1, thrd_current())) { in thrd_equal_0200() 154 t_error("%s failed, thr1 and current thread equal", __func__); in thrd_equal_0200() 161 result = thrd_join(thr1, NULL); in thrd_equal_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
H A D | cxa_thread_atexit_test.cpp | 70 pthread_t thr1, thr2;
in HWTEST_F() local 71 ASSERT_EQ(0, pthread_create(&thr1, nullptr, ChildThreadFunc, nullptr));
in HWTEST_F() 72 ASSERT_EQ(0, pthread_join(thr1, nullptr));
in HWTEST_F()
|
/third_party/mesa3d/src/c11/impl/ |
H A D | threads_posix.c | 286 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument 288 return pthread_equal(thr0, thr1); in thrd_equal()
|
H A D | threads_win32.c | 382 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument 384 return GetThreadId(thr0) == GetThreadId(thr1); in thrd_equal()
|
/third_party/glfw/deps/ |
H A D | tinycthread.c | 409 int thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument 412 return thr0 == thr1; in thrd_equal() 414 return pthread_equal(thr0, thr1); in thrd_equal()
|
H A D | tinycthread.h | 358 int thrd_equal(thrd_t thr0, thrd_t thr1);
|
/third_party/libsnd/src/G72x/ |
H A D | g72x.c | 425 short ylfrac, thr1 ; in update() local 434 thr1 = (32 + ylfrac) << ylint ; /* threshold */ in update() 435 thr2 = (ylint > 9) ? 31 << 10 : thr1 ; /* limit thr2 to 31 << 10 */ in update()
|