Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 17 of 17) sorted by relevance

/rockchip-linux_mpp/mpp/base/
H A Dmpp_task_impl.c46 MppTaskImpl *tasks; member
442 MppTaskImpl *tasks; in mpp_task_queue_setup() local
448 mpp_assert(impl->tasks == NULL); in mpp_task_queue_setup()
450 tasks = mpp_calloc(MppTaskImpl, task_count); in mpp_task_queue_setup()
451 if (!tasks) { in mpp_task_queue_setup()
457 impl->tasks = tasks; in mpp_task_queue_setup()
463 setup_mpp_task_name(&tasks[i]); in mpp_task_queue_setup()
464 INIT_LIST_HEAD(&tasks[i].list); in mpp_task_queue_setup()
465 tasks[i].index = i; in mpp_task_queue_setup()
466 tasks[i].queue = queue; in mpp_task_queue_setup()
[all …]
/rockchip-linux_mpp/mpp/hal/
H A Dmpp_enc_hal.c42 HalTaskGroup tasks; member
72 ret = hal_task_group_init(&p->tasks, TASK_BUTT, cfg->task_cnt, in mpp_enc_hal_init()
79 cfg->tasks = p->tasks; in mpp_enc_hal_init()
102 if (p->tasks) in mpp_enc_hal_deinit()
103 hal_task_group_deinit(p->tasks); in mpp_enc_hal_deinit()
H A Dhal_task.c40 HalTaskImpl *tasks; member
73 p->tasks = (HalTaskImpl *)(p->count + stage_cnt); in hal_task_group_init()
80 buf = (RK_U8 *)(p->tasks + task_cnt); in hal_task_group_init()
83 HalTaskImpl *task = &p->tasks[i]; in hal_task_group_init()
H A Dmpp_hal.c78 HalTaskGroup tasks; member
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_dec_normal.c127 HalTaskGroup tasks = dec->tasks; in reset_parser_thread() local
148 if (hal_task_check_empty(tasks, TASK_PROCESSING)) { in reset_parser_thread()
247 HalTaskGroup tasks = dec->tasks; in reset_hal_thread() local
264 while (MPP_OK == hal_task_get_hnd(tasks, TASK_PROC_DONE, &task)) { in reset_hal_thread()
310 HalTaskGroup tasks = dec->tasks; in try_proc_dec_task() local
323 hal_task_get_hnd(tasks, TASK_IDLE, &task->hnd); in try_proc_dec_task()
451 hal_task_get_hnd(tasks, TASK_PROC_DONE, &task_prev); in try_proc_dec_task()
466 if (!hal_task_check_empty(dec->tasks, TASK_PROCESSING)) in try_proc_dec_task()
774 HalTaskGroup tasks = dec->tasks; in mpp_dec_hal_thread() local
793 if (hal_task_get_hnd(tasks, TASK_PROCESSING, &task)) { in mpp_dec_hal_thread()
H A Dmpp_dec.c499 HalTaskGroup tasks = NULL; in mpp_dec_init() local
597 ret = hal_task_group_init(&tasks, TASK_BUTT, hal_task_count, sizeof(HalDecTask)); in mpp_dec_init()
635 p->tasks = tasks; in mpp_dec_init()
729 if (dec->tasks) { in mpp_dec_deinit()
730 hal_task_group_deinit(dec->tasks); in mpp_dec_deinit()
731 dec->tasks = NULL; in mpp_dec_deinit()
H A Dmpp_enc_v2.c129 p->tasks = enc_hal_cfg.tasks; in mpp_enc_init_v2()
H A Dmpp_enc_impl.c3153 hal_task_get_hnd(enc->tasks, TASK_IDLE, &enc->hnd); in try_get_async_task()
3365 ret = hal_task_get_hnd(enc->tasks, TASK_PROCESSING, &hnd); in try_proc_processing_task()
/rockchip-linux_mpp/doc/design/
H A D2.kernel_driver.txt61 will have a kernel session. Client will commit tasks to session. Then hardware
63 ability to process tasks in sessions.
H A D4.mpp_task.txt20 Mpp task queue is the manager of tasks. Due to user may incorrectly use the task
/rockchip-linux_mpp/mpp/hal/inc/
H A Dmpp_enc_hal.h35 HalTaskGroup tasks; member
/rockchip-linux_mpp/mpp/codec/inc/
H A Dmpp_enc_impl.h94 HalTaskGroup tasks; member
H A Dmpp_dec_impl.h89 HalTaskGroup tasks; member
/rockchip-linux_mpp/osal/driver/
H A Dmpp_server.c139 MppDevTask tasks[MAX_SESSION_TASK]; member
713 for (i = 0; i < MPP_ARRAY_ELEMS(session->tasks); i++) { in server_attach()
714 MppDevTask *task = &session->tasks[i]; in server_attach()
/rockchip-linux_mpp/mpp/vproc/
H A Dmpp_dec_vproc.c839 HalTaskGroup tasks = ctx->task_group; in dec_vproc_thread() local
867 if (hal_task_get_hnd(tasks, TASK_PROCESSING, &task)) { in dec_vproc_thread()
/rockchip-linux_mpp/
H A DCHANGELOG.md649 - [jpege]: Allow rk3588 jpege 4 tasks async
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_EN.md119 MppMeta and MPTask are advanced combination interfaces for input and output tasks which can support…