| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_buf_slot.c | 579 MppBufSlotEntry *slot = impl->slots; in _dump_slots() local 588 for (i = 0; i < impl->buf_count; i++, slot++) { in _dump_slots() 589 SlotStatus status = slot->status; in _dump_slots() 604 static void slot_ops_with_log(MppBufSlotsImpl *impl, MppBufSlotEntry *slot, MppBufSlotOps op, void … in slot_ops_with_log() argument 607 RK_S32 index = slot->index; in slot_ops_with_log() 608 SlotStatus status = slot->status; in slot_ops_with_log() 645 mpp_err("can not clr hal_input on slot %d\n", slot->index); in slot_ops_with_log() 657 mpp_err("can not clr hal_output on slot %d\n", slot->index); in slot_ops_with_log() 678 mpp_err("can not clr queue_use on slot %d\n", slot->index); in slot_ops_with_log() 687 slot->eos = 0; in slot_ops_with_log() [all …]
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpi_dec_utils.c | 84 static MPP_RET add_new_slot(FileReaderImpl* impl, FileBufSlot *slot) in add_new_slot() argument 88 slot->index = impl->slot_cnt; in add_new_slot() 89 impl->slots[impl->slot_cnt] = slot; in add_new_slot() 112 FileBufSlot *slot = NULL; in read_ivf_file() local 119 slot = mpp_calloc(FileBufSlot, 1); in read_ivf_file() 120 slot->eos = 1; in read_ivf_file() 122 return slot; in read_ivf_file() 127 slot = mpp_malloc_size(FileBufSlot, MPP_ALIGN(sizeof(FileBufSlot) + data_size, SZ_4K)); in read_ivf_file() 128 slot->data = (char *)(slot + 1); in read_ivf_file() 129 read_size = fread(slot->data, 1, data_size, fp); in read_ivf_file() [all …]
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_dec_multi_test.c | 76 FileBufSlot *slot = NULL; in multi_dec_simple() local 78 MPP_RET ret = reader_index_read(reader, data->packet_count++, &slot); in multi_dec_simple() 81 mpp_assert(slot); in multi_dec_simple() 83 pkt_eos = slot->eos; in multi_dec_simple() 96 mpp_packet_set_data(packet, slot->data); in multi_dec_simple() 97 mpp_packet_set_size(packet, slot->size); in multi_dec_simple() 98 mpp_packet_set_pos(packet, slot->data); in multi_dec_simple() 99 mpp_packet_set_length(packet, slot->size); in multi_dec_simple() 259 FileBufSlot *slot = NULL; in multi_dec_advanced() local 261 ret = reader_index_read(cmd->reader, 0, &slot); in multi_dec_advanced() [all …]
|
| H A D | mpi_dec_nt_test.c | 60 FileBufSlot *slot = NULL; in dec_loop() local 65 ret = reader_read(cmd->reader, &slot); in dec_loop() 68 mpp_assert(slot); in dec_loop() 70 pkt_eos = slot->eos; in dec_loop() 83 if (!slot->buf) { in dec_loop() 85 mpp_packet_set_data(packet, slot->data); in dec_loop() 86 mpp_packet_set_size(packet, slot->size); in dec_loop() 87 mpp_packet_set_pos(packet, slot->data); in dec_loop() 88 mpp_packet_set_length(packet, slot->size); in dec_loop() 91 void *buf = mpp_buffer_get_ptr(slot->buf); in dec_loop() [all …]
|
| H A D | mpi_dec_test.c | 60 FileBufSlot *slot = NULL; in dec_simple() local 65 ret = reader_read(cmd->reader, &slot); in dec_simple() 68 mpp_assert(slot); in dec_simple() 70 pkt_eos = slot->eos; in dec_simple() 83 mpp_packet_set_data(packet, slot->data); in dec_simple() 84 mpp_packet_set_size(packet, slot->size); in dec_simple() 85 mpp_packet_set_pos(packet, slot->data); in dec_simple() 86 mpp_packet_set_length(packet, slot->size); in dec_simple() 279 FileBufSlot *slot = NULL; in dec_advanced() local 282 ret = reader_index_read(cmd->reader, 0, &slot); in dec_advanced() [all …]
|
| H A D | mpi_dec_mt_test.c | 63 FileBufSlot *slot = NULL; in thread_input() local 64 MPP_RET ret = reader_read(reader, &slot); in thread_input() 68 mpp_packet_set_data(packet, slot->data); in thread_input() 69 mpp_packet_set_size(packet, slot->size); in thread_input() 70 mpp_packet_set_pos(packet, slot->data); in thread_input() 71 mpp_packet_set_length(packet, slot->size); in thread_input() 73 pkt_eos = slot->eos; in thread_input()
|
| H A D | mpi_rc2_test.c | 957 FileBufSlot *slot = NULL; in rc2_pre_dec_thread() local 967 ret = reader_index_read(reader, ctx->pre_pkt_idx++, &slot); in rc2_pre_dec_thread() 968 pkt_eos = slot->eos; in rc2_pre_dec_thread() 986 mpp_packet_set_data(packet, slot->data); in rc2_pre_dec_thread() 987 mpp_packet_set_size(packet, slot->size); in rc2_pre_dec_thread() 988 mpp_packet_set_pos(packet, slot->data); in rc2_pre_dec_thread() 989 mpp_packet_set_length(packet, slot->size); in rc2_pre_dec_thread()
|
| /rockchip-linux_mpp/osal/driver/ |
| H A D | vcodec_service.c | 441 VcodecExtraSlot *slot = &info->slots[i]; in update_extra_info() local 443 reg[slot->reg_idx] |= (slot->offset << 10); in update_extra_info() 617 VcodecExtraSlot *slot; in vcodec_service_reg_offset() local 621 slot = &extra->slots[i]; in vcodec_service_reg_offset() 623 if (slot->reg_idx == cfg->reg_idx) { in vcodec_service_reg_offset() 625 slot->reg_idx, slot->offset, cfg->offset); in vcodec_service_reg_offset() 626 slot->offset = cfg->offset; in vcodec_service_reg_offset() 631 slot = &extra->slots[extra->count]; in vcodec_service_reg_offset() 632 slot->reg_idx = cfg->reg_idx; in vcodec_service_reg_offset() 633 slot->offset = cfg->offset; in vcodec_service_reg_offset()
|
| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_obj_macro.h | 79 rk_u32 slot : 4; member 159 __flag_record[__flag.slot] = __offset; \ 162 __offset = __flag_record[__flag.slot]; \
|
| /rockchip-linux_mpp/ |
| H A D | CHANGELOG.md | 404 - [hal_h265d]: fix error slot index marking 583 - [avs2d]: Fix get ref_frm slot idx error 594 - [avsd]: Fix the ref_frm slot idx erro in fast mode.
|