| /rockchip-linux_mpp/osal/ |
| H A D | mpp_thread.c | 259 void mpp_thread_set_status(MppThread *thread, MppThreadStatus status, MppThreadSignalId id) in mpp_thread_set_status() argument 262 thread->thd_status[id] = status; in mpp_thread_set_status() 286 MppThreadStatus status = thread->thd_status[id]; in mpp_thread_wait() local 291 thread->thd_status[id] = status; in mpp_thread_wait() 303 MppSThdStatus status; member 314 MppSThdStatus status; member 367 mpp_assert(thd->status < MPP_STHD_RUNNING); in mpp_sthd_deinit() 370 thd->status = MPP_STHD_UNINITED; in mpp_sthd_deinit() 384 mpp_assert(thd->status < MPP_STHD_RUNNING); in mpp_sthd_create() 390 thd->status = MPP_STHD_RUNNING; in mpp_sthd_create() [all …]
|
| /rockchip-linux_mpp/mpp/codec/enc/h264/ |
| H A D | h264e_dpb.c | 56 EncFrmStatus *status = &frm->status; in h264e_dpb_dump_frm() local 59 i, frm->on_used, status->seq_idx, in h264e_dpb_dump_frm() 60 (status->is_intra) ? (status->is_idr ? "I" : "i" ) : in h264e_dpb_dump_frm() 61 status->is_non_ref ? "p" : "P", in h264e_dpb_dump_frm() 62 status->temporal_id, in h264e_dpb_dump_frm() 63 status->is_non_ref ? "non" : status->is_lt_ref ? "lt" : "st", in h264e_dpb_dump_frm() 64 status->lt_idx, in h264e_dpb_dump_frm() 65 status->ref_mode, in h264e_dpb_dump_frm() 66 status->ref_arg); in h264e_dpb_dump_frm() 76 EncFrmStatus *status = &frm->status; in h264e_dpb_dump_listX() local [all …]
|
| H A D | h264e_api_v2.c | 419 if (curr->status.force_pskip_is_ref) { in h264e_pskip_ref_check() 431 if (!refr->status.force_pskip_is_ref && !curr->status.force_pskip_is_ref) { in h264e_pskip_ref_check() 471 if (refr->status.force_pskip_is_ref) in h264e_proc_dpb() 488 frm->val = curr->status.val; in h264e_proc_dpb()
|
| /rockchip-linux_mpp/mpp/hal/ |
| H A D | hal_task.c | 25 RK_S32 status; member 88 task->status = TASK_IDLE; in hal_task_group_init() 109 MPP_RET hal_task_get_hnd(HalTaskGroup group, RK_S32 status, HalTaskHnd *hnd) in hal_task_get_hnd() argument 111 if (NULL == group || status >= TASK_BUTT || NULL == hnd) { in hal_task_get_hnd() 112 mpp_err_f("found invaid input group %p status %d hnd %p\n", group, status, hnd); in hal_task_get_hnd() 118 struct list_head *list = &p->list[status]; in hal_task_get_hnd() 127 mpp_assert(task->status == status); in hal_task_get_hnd() 133 MPP_RET hal_task_check_empty(HalTaskGroup group, RK_S32 status) in hal_task_check_empty() argument 135 if (NULL == group || status >= TASK_BUTT) { in hal_task_check_empty() 136 mpp_err_f("found invaid input group %p status %d \n", group, status); in hal_task_check_empty() [all …]
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_dec_no_thread.c | 22 DecTaskStatus *status = &task->status; in mpp_dec_decode() local 37 if (input == NULL && !status->curr_task_rdy) { in mpp_dec_decode() 48 input, mpp_packet_get_length(input), status->curr_task_rdy); in mpp_dec_decode() 51 input, status->curr_task_rdy); in mpp_dec_decode() 56 if (!status->curr_task_rdy) { in mpp_dec_decode() 64 status->curr_task_rdy = 1; in mpp_dec_decode() 75 if (!status->curr_task_rdy) { in mpp_dec_decode() 142 if (!status->dec_pkt_copy_rdy) { in mpp_dec_decode() 159 status->dec_pkt_copy_rdy = 1; in mpp_dec_decode() 165 if (!status->task_parsed_rdy) { in mpp_dec_decode() [all …]
|
| H A D | mpp_dec_normal.c | 62 dec->parser_status_flag = task->status.val; in check_task_wait() 161 task->status.curr_task_rdy = 0; in reset_parser_thread() 162 task->status.prev_task_rdy = 1; in reset_parser_thread() 172 if (task->status.task_parsed_rdy) { in reset_parser_thread() 182 task->status.task_parsed_rdy = 0; in reset_parser_thread() 208 if (task->status.dec_pkt_copy_rdy) { in reset_parser_thread() 210 task->status.dec_pkt_copy_rdy = 0; in reset_parser_thread() 218 task->status.task_parsed_rdy = 0; in reset_parser_thread() 301 task->status.mpp_pkt_in_rdy = 1; in try_get_input_packet() 335 if (!dec->mpp_pkt_in && !task->status.curr_task_rdy) { in try_proc_dec_task() [all …]
|
| H A D | mpp_enc_impl.c | 331 impl->status.val = 0; in mpp_enc_callback() 332 impl->status.partition = 1; in mpp_enc_callback() 333 impl->status.soi = part_first; in mpp_enc_callback() 334 impl->status.eoi = 1; in mpp_enc_callback() 352 impl->status.val = 0; in mpp_enc_callback() 353 impl->status.partition = 1; in mpp_enc_callback() 354 impl->status.soi = part_first; in mpp_enc_callback() 355 impl->status.eoi = 0; in mpp_enc_callback() 2088 EncAsyncStatus *status = &task->status; in mpp_enc_normal() local 2097 if (!status->check_frm_pskip) { in mpp_enc_normal() [all …]
|
| H A D | mpp_dec.c | 43 task->status.val = 0; in dec_task_init() 45 task->status.prev_task_rdy = 1; in dec_task_init() 55 MppDecStatusCfg *status = &cfg->status; in mpp_dec_update_cfg() local 57 if (status->hal_task_count && !status->hal_support_fast_mode) { in mpp_dec_update_cfg() 588 hal_task_count = dec_cfg->status.hal_task_count ? in mpp_dec_init() 589 dec_cfg->status.hal_task_count : 3; in mpp_dec_init() 594 dec_cfg->status.hal_support_fast_mode = support_fast_mode; in mpp_dec_init() 595 dec_cfg->status.hal_task_count = hal_task_count; in mpp_dec_init()
|
| /rockchip-linux_mpp/doc/design/ |
| H A D | 4.mpp_task.txt | 23 and task status to control the transaction. 33 3. Mpp task status 34 There are four status for one task. Mpp use list_head to represent the status. 36 INPUT_PORT : Initial status for input port user to dequeue. Or when output port 37 successfully enqueue a task then the task is on this status. 40 on this status. 43 on OUTPUT_PORT status. And this task is ready for dequeue from 47 on this status. 52 status to next status. The status transform flow is unidirectional from input 55 The overall relationship graph of task / port / status is shown below. [all …]
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_buf_slot.c | 184 SlotStatus status; member 589 SlotStatus status = slot->status; in _dump_slots() local 591 i, status.on_used, status.codec_use, status.hal_use, status.queue_use, status.val); in _dump_slots() 608 SlotStatus status = slot->status; in slot_ops_with_log() local 609 SlotStatus before = status; in slot_ops_with_log() 612 status.val = 0; in slot_ops_with_log() 615 status.on_used = 1; in slot_ops_with_log() 618 status.on_used = 0; in slot_ops_with_log() 621 status.not_ready = 1; in slot_ops_with_log() 624 status.not_ready = 0; in slot_ops_with_log() [all …]
|
| H A D | mpp_task_impl.c | 31 MppTaskStatus status; member 196 MppTaskStatus status) in _mpp_port_move() argument 219 curr = &queue->info[task_impl->status]; in _mpp_port_move() 220 next = &queue->info[status]; in _mpp_port_move() 230 task_status_str[task_impl->status], in _mpp_port_move() 231 task_status_str[status]); in _mpp_port_move() 232 task_impl->status = status; in _mpp_port_move() 288 task_impl->status = next->status; in _mpp_port_dequeue() 328 mpp_assert(task_impl->status == port_impl->next_on_dequeue); in _mpp_port_enqueue() 330 curr = &queue->info[task_impl->status]; in _mpp_port_enqueue() [all …]
|
| H A D | mpp_enc_refs.c | 776 MPP_RET mpp_enc_refs_get_cpb(MppEncRefs refs, EncCpbStatus *status) in mpp_enc_refs_get_cpb() argument 790 EncFrmStatus *frm = &status->curr; in mpp_enc_refs_get_cpb() 791 EncFrmStatus *ref = &status->refr; in mpp_enc_refs_get_cpb() 942 memset(status->init, 0, sizeof(status->init)); in mpp_enc_refs_get_cpb() 943 save_cpb_status(&p->cpb, status->init); in mpp_enc_refs_get_cpb() 950 memset(status->final, 0, sizeof(status->final)); in mpp_enc_refs_get_cpb() 951 save_cpb_status(&p->cpb, status->final); in mpp_enc_refs_get_cpb() 988 MPP_RET mpp_enc_refs_get_cpb_pass1(MppEncRefs refs, EncCpbStatus *status) in mpp_enc_refs_get_cpb_pass1() argument 999 EncFrmStatus *frm = &status->curr; in mpp_enc_refs_get_cpb_pass1() 1000 EncFrmStatus *ref = &status->refr; in mpp_enc_refs_get_cpb_pass1() [all …]
|
| H A D | mpp_packet.c | 369 MPP_RET mpp_packet_set_status(MppPacket packet, MppPacketStatus status) in mpp_packet_set_status() argument 376 p->status.val = status.val; in mpp_packet_set_status() 380 MPP_RET mpp_packet_get_status(MppPacket packet, MppPacketStatus *status) in mpp_packet_get_status() argument 385 status->val = 0; in mpp_packet_get_status() 389 status->val = p->status.val; in mpp_packet_get_status() 400 return (p->status.partition) || (p->flag & MPP_PACKET_FLAG_PARTITION); in mpp_packet_is_partition() 410 return p->status.soi; in mpp_packet_is_soi() 420 return (p->status.eoi) || (p->flag & MPP_PACKET_FLAG_EOI); in mpp_packet_is_eoi()
|
| /rockchip-linux_mpp/mpp/hal/inc/ |
| H A D | hal_task.h | 69 MPP_RET hal_task_get_hnd(HalTaskGroup group, RK_S32 status, HalTaskHnd *hnd); 70 RK_S32 hal_task_get_count(HalTaskGroup group, RK_S32 status); 71 MPP_RET hal_task_hnd_set_status(HalTaskHnd hnd, RK_S32 status); 75 MPP_RET hal_task_check_empty(HalTaskGroup group, RK_S32 status);
|
| H A D | hal_enc_task.h | 148 EncAsyncStatus status; member
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_task_impl.h | 70 MppTaskStatus status; member 115 #define mpp_port_move(port, task, status) _mpp_port_move(__FUNCTION__, port, task, status) argument 121 MPP_RET _mpp_port_move(const char *caller, MppPort port, MppTask task, MppTaskStatus status);
|
| H A D | mpp_packet_impl.h | 70 MppPacketStatus status; member 99 MPP_RET mpp_packet_set_status(MppPacket packet, MppPacketStatus status); 100 MPP_RET mpp_packet_get_status(MppPacket packet, MppPacketStatus *status);
|
| H A D | mpp_enc_refs.h | 73 MPP_RET mpp_enc_refs_get_cpb(MppEncRefs refs, EncCpbStatus *status); 83 MPP_RET mpp_enc_refs_get_cpb_pass1(MppEncRefs refs, EncCpbStatus *status);
|
| /rockchip-linux_mpp/tools/hooks/ |
| H A D | pre-commit | 14 git status -s | grep "^MM " > $out_file 21 git status
|
| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_packet.h | 16 ENTRY(prefix, u32, rk_u32, status, FLAG_NONE, status) \
|
| H A D | kmpp_packet_impl.h | 50 rk_u32 status; member
|
| /rockchip-linux_mpp/mpp/codec/enc/h265/ |
| H A D | h265e_dpb.c | 366 frame->status.val = 0; in h265e_dpb_dec_refresh_marking() 509 EncFrmStatus *p = &frms[i].status; in h265e_find_cpb_in_dpb() 535 EncFrmStatus *p = &frms[i].status; in h265e_find_cpb_frame() 557 EncFrmStatus *p = &frm->status; in h265e_check_frame_cpb() 625 p->status.val = frm->val; in h265e_dpb_cpb2rps() 637 p->status.val = frm->val; in h265e_dpb_cpb2rps() 768 frame->status.val = 0; in h265e_dpb_proc_cpb() 788 p->status.val = frm->val; in h265e_dpb_proc_cpb() 816 frame->status.val = 0; in h265e_dpb_proc_cpb() 828 frame->status.val = 0; in h265e_dpb_proc_cpb()
|
| /rockchip-linux_mpp/mpp/common/ |
| H A D | h265e_syntax.h | 33 RK_U32 status; member
|
| /rockchip-linux_mpp/ |
| H A D | .gitignore | 26 config.status
|
| /rockchip-linux_mpp/mpp/inc/ |
| H A D | mpp_dec_cfg.h | 131 MppDecStatusCfg status; member
|