Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 10 of 10) sorted by relevance

/rockchip-linux_mpp/osal/
H A Dmpp_thread.c24 MppThread *thread = mpp_malloc(MppThread, 1); in mpp_thread_create() local
27 if (thread) { in mpp_thread_create()
28 thread->func = func; in mpp_thread_create()
29 thread->ctx = ctx; in mpp_thread_create()
31 thread->thd_status[THREAD_WORK] = MPP_THREAD_UNINITED; in mpp_thread_create()
32 thread->thd_status[THREAD_INPUT] = MPP_THREAD_RUNNING; in mpp_thread_create()
33 thread->thd_status[THREAD_OUTPUT] = MPP_THREAD_RUNNING; in mpp_thread_create()
34 thread->thd_status[THREAD_CONTROL] = MPP_THREAD_RUNNING; in mpp_thread_create()
37 strncpy(thread->name, name, THREAD_NAME_LEN - 1); in mpp_thread_create()
38 thread->name[THREAD_NAME_LEN - 1] = '\0'; in mpp_thread_create()
[all …]
/rockchip-linux_mpp/osal/inc/
H A Dmpp_thread.h101 void mpp_thread_init(MppThread *thread, MppThreadFunc func, void *ctx, const char *name);
102 void mpp_thread_set_status(MppThread *thread, MppThreadStatus status, MppThreadSignalId id);
103 MppThreadStatus mpp_thread_get_status(MppThread *thread, MppThreadSignalId id);
104 void mpp_thread_lock(MppThread *thread, MppThreadSignalId id);
105 void mpp_thread_unlock(MppThread *thread, MppThreadSignalId id);
106 void mpp_thread_wait(MppThread *thread, MppThreadSignalId id);
107 void mpp_thread_signal(MppThread *thread, MppThreadSignalId id);
110 void mpp_thread_destroy(MppThread *thread);
111 void mpp_thread_start(MppThread *thread);
112 void mpp_thread_stop(MppThread *thread);
/rockchip-linux_mpp/osal/test/
H A Dmpp_runtime_test.c185 pthread_t thread; in check_pthread_clock() local
196 pthread_create(&thread, NULL, wait_thread, NULL); in check_pthread_clock()
197 pthread_join(thread, NULL); in check_pthread_clock()
H A DCMakeLists.txt49 # thread implement unit test
/rockchip-linux_mpp/test/
H A DCMakeLists.txt30 # mpi decoder multi-thread input / output unit test
33 # mpi decoder no-thread input / output unit test
39 # mpi encoder multi-thread input / output unit test
/rockchip-linux_mpp/doc/design/
H A D4.mpp_task.txt27 worker thread will use mpp_port_poll / mpp_port_dequeue / mpp_port_enqueue
30 thread. Each task queue has two port: input port and output port. And from a
85 Input task queue connects input side external user to internal worker thread.
86 Output task queue connects internal worker thread to output side external user.
113 | | internal work thread | |
H A D1.mpp_design.txt88 provide basic components including memory, time, thread, log and hardware memory
/rockchip-linux_mpp/debian/
H A Dchangelog120 * [mpp]: wake up the parser thread in the correct place
191 * [mpp_list]: release the blocked thread at reset
239 * osal: build: use system default thread library
/rockchip-linux_mpp/
H A DCHANGELOG.md29 - [mpp_thread]: Fix thread name is not set
460 - [mpp_enc_async]: fix mpp packet leak when thread quit
618 - [vproc]: Fix deadlock in vproc thread
682 - [mpp_thread]: Add simple thread
694 - [mpp_enc]: Fix async multi-thread case error
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_EN.md431 The MPI interface of MPP decoder is thread-safe and can be used in multi-thread environment. The si…
683 …. When the control interface returns, the data copy is completed and the thread is safe. The calli…
685 …may be modified by other controls during reading, so this command is not thread-safe and is only u…