Lines Matching defs:thd
305 pthread_t thd; member
333 static rk_s32 check_sthd(const char *name, MppSThdImpl *thd) in check_sthd()
348 #define CHECK_STHD(thd) check_sthd(__FUNCTION__, (MppSThdImpl *)(thd)) argument
350 static void mpp_sthd_init(MppSThdImpl *thd, rk_s32 idx) in mpp_sthd_init()
364 static void mpp_sthd_deinit(MppSThdImpl *thd) in mpp_sthd_deinit()
378 static MPP_RET mpp_sthd_create(MppSThdImpl *thd) in mpp_sthd_create()
411 MppSThdImpl *thd = mpp_calloc_size(MppSThdImpl, size); in mpp_sthd_get() local
429 void mpp_sthd_put(MppSThd thd) in mpp_sthd_put()
442 MppSThdStatus mpp_sthd_get_status(MppSThd thd) in mpp_sthd_get_status()
451 const char* mpp_sthd_get_name(MppSThd thd) in mpp_sthd_get_name()
460 rk_s32 mpp_sthd_get_idx(MppSThd thd) in mpp_sthd_get_idx()
469 rk_s32 mpp_sthd_check(MppSThd thd) in mpp_sthd_check()
474 void mpp_sthd_setup(MppSThd thd, MppSThdFunc func, void *ctx) in mpp_sthd_setup()
499 void mpp_sthd_start(MppSThd thd) in mpp_sthd_start()
522 void mpp_sthd_stop(MppSThd thd) in mpp_sthd_stop()
546 void mpp_sthd_stop_sync(MppSThd thd) in mpp_sthd_stop_sync()
571 void mpp_sthd_lock(MppSThd thd) in mpp_sthd_lock()
580 void mpp_sthd_unlock(MppSThd thd) in mpp_sthd_unlock()
589 int mpp_sthd_trylock(MppSThd thd) in mpp_sthd_trylock()
598 void mpp_sthd_wait(MppSThd thd) in mpp_sthd_wait()
613 void mpp_sthd_signal(MppSThd thd) in mpp_sthd_signal()
622 void mpp_sthd_broadcast(MppSThd thd) in mpp_sthd_broadcast()
651 MppSThdImpl *thd = &grp->thds[i]; in mpp_sthd_grp_get() local
679 MppSThdImpl *thd = &impl->thds[i]; in mpp_sthd_grp_put() local
703 MppSThdImpl *thd = &impl->thds[i]; in mpp_sthd_grp_setup() local
762 MppSThdImpl *thd = &impl->thds[i]; in mpp_sthd_grp_stop() local
794 MppSThdImpl *thd = &impl->thds[i]; in mpp_sthd_grp_stop_sync() local