Home
last modified time | relevance | path

Searched refs:THREAD_WORK (Results 1 – 8 of 8) sorted by relevance

/rockchip-linux_mpp/mpp/codec/
H A Dmpp_dec_normal.c139 mpp_thread_lock(hal, THREAD_WORK); in reset_parser_thread()
141 mpp_thread_signal(hal, THREAD_WORK); in reset_parser_thread()
142 mpp_thread_unlock(hal, THREAD_WORK); in reset_parser_thread()
236 mpp_thread_lock(dec->thread_hal, THREAD_WORK); in mpp_dec_put_task()
239 mpp_thread_signal(dec->thread_hal, THREAD_WORK); in mpp_dec_put_task()
240 mpp_thread_unlock(dec->thread_hal, THREAD_WORK); in mpp_dec_put_task()
702 mpp_thread_lock(parser, THREAD_WORK); in mpp_dec_parser_thread()
703 if (MPP_THREAD_RUNNING != mpp_thread_get_status(parser, THREAD_WORK)) { in mpp_dec_parser_thread()
704 mpp_thread_unlock(parser, THREAD_WORK); in mpp_dec_parser_thread()
717 mpp_thread_wait(parser, THREAD_WORK); in mpp_dec_parser_thread()
[all …]
H A Dmpp_enc_v2.c338 mpp_thread_lock(thd, THREAD_WORK); in mpp_enc_notify_v2()
343 mpp_thread_signal(thd, THREAD_WORK); in mpp_enc_notify_v2()
352 mpp_thread_signal(thd, THREAD_WORK); in mpp_enc_notify_v2()
355 mpp_thread_unlock(thd, THREAD_WORK); in mpp_enc_notify_v2()
H A Dmpp_enc_impl.c2865 mpp_thread_lock(thd_enc, THREAD_WORK); in mpp_enc_thread()
2867 if (MPP_THREAD_RUNNING != mpp_thread_get_status(thd_enc, THREAD_WORK)) { in mpp_enc_thread()
2868 mpp_thread_unlock(thd_enc, THREAD_WORK); in mpp_enc_thread()
2873 mpp_thread_wait(thd_enc, THREAD_WORK); in mpp_enc_thread()
2875 mpp_thread_unlock(thd_enc, THREAD_WORK); in mpp_enc_thread()
2908 mpp_thread_lock(thd_enc, THREAD_WORK); in mpp_enc_thread()
2910 mpp_thread_unlock(thd_enc, THREAD_WORK); in mpp_enc_thread()
3598 mpp_thread_lock(thd_enc, THREAD_WORK); in mpp_enc_async_thread()
3599 if (MPP_THREAD_RUNNING != mpp_thread_get_status(thd_enc, THREAD_WORK)) { in mpp_enc_async_thread()
3600 mpp_thread_unlock(thd_enc, THREAD_WORK); in mpp_enc_async_thread()
[all …]
/rockchip-linux_mpp/osal/
H A Dmpp_thread.c31 thread->thd_status[THREAD_WORK] = MPP_THREAD_UNINITED; in mpp_thread_create()
53 thread->thd_status[THREAD_WORK], thread->thd_status[THREAD_INPUT], in mpp_thread_dump_status()
64 if (mpp_thread_get_status(thread, THREAD_WORK) == MPP_THREAD_UNINITED) { in mpp_thread_start()
65 mpp_thread_set_status(thread, MPP_THREAD_RUNNING, THREAD_WORK); in mpp_thread_start()
74 mpp_thread_set_status(thread, MPP_THREAD_UNINITED, THREAD_WORK); in mpp_thread_start()
83 if (mpp_thread_get_status(thread, THREAD_WORK) != MPP_THREAD_UNINITED) { in mpp_thread_stop()
86 mpp_thread_lock(thread, THREAD_WORK); in mpp_thread_stop()
87 mpp_thread_set_status(thread, MPP_THREAD_STOPPING, THREAD_WORK); in mpp_thread_stop()
90 mpp_thread_signal(thread, THREAD_WORK); in mpp_thread_stop()
91 mpp_thread_unlock(thread, THREAD_WORK); in mpp_thread_stop()
[all …]
H A Dmpp_time.c240 if (MPP_THREAD_RUNNING != mpp_thread_get_status(thd, THREAD_WORK)) in mpp_timer_thread()
/rockchip-linux_mpp/mpp/base/
H A Dmpp_cluster.c563 mpp_thread_lock(thd, THREAD_WORK); in cluster_worker()
566 if (MPP_THREAD_RUNNING != mpp_thread_get_status(thd, THREAD_WORK)) { in cluster_worker()
567 mpp_thread_unlock(thd, THREAD_WORK); in cluster_worker()
574 mpp_thread_wait(thd, THREAD_WORK); in cluster_worker()
577 mpp_thread_unlock(thd, THREAD_WORK); in cluster_worker()
596 mpp_thread_lock(thd, THREAD_WORK); in cluster_signal_f()
599 mpp_thread_signal(thd, THREAD_WORK); in cluster_signal_f()
601 mpp_thread_unlock(thd, THREAD_WORK); in cluster_signal_f()
605 mpp_thread_unlock(thd, THREAD_WORK); in cluster_signal_f()
/rockchip-linux_mpp/mpp/vproc/
H A Dmpp_dec_vproc.c854 mpp_thread_lock(thd, THREAD_WORK); in dec_vproc_thread()
855 if (MPP_THREAD_RUNNING != mpp_thread_get_status(thd, THREAD_WORK)) { in dec_vproc_thread()
856 mpp_thread_unlock(thd, THREAD_WORK); in dec_vproc_thread()
862 mpp_thread_wait(thd, THREAD_WORK); in dec_vproc_thread()
864 mpp_thread_unlock(thd, THREAD_WORK); in dec_vproc_thread()
1189 mpp_thread_lock(p->thd, THREAD_WORK); in dec_vproc_signal()
1190 mpp_thread_signal(p->thd, THREAD_WORK); in dec_vproc_signal()
1191 mpp_thread_unlock(p->thd, THREAD_WORK); in dec_vproc_signal()
1212 mpp_thread_lock(thd, THREAD_WORK); in dec_vproc_reset()
1215 mpp_thread_signal(thd, THREAD_WORK); in dec_vproc_reset()
[all …]
/rockchip-linux_mpp/osal/inc/
H A Dmpp_thread.h58 THREAD_WORK, enumerator