Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 27) sorted by relevance

12

/rockchip-linux_mpp/utils/
H A Dmpi_enc_utils.c105 RK_S32 mpi_enc_opt_i(void *ctx, const char *next) in mpi_enc_opt_i() argument
109 if (next) { in mpi_enc_opt_i()
110 size_t len = strnlen(next, MAX_FILE_NAME_LENGTH); in mpi_enc_opt_i()
113 strcpy(cmd->file_input, next); in mpi_enc_opt_i()
127 RK_S32 mpi_enc_opt_o(void *ctx, const char *next) in mpi_enc_opt_o() argument
131 if (next) { in mpi_enc_opt_o()
132 size_t len = strnlen(next, MAX_FILE_NAME_LENGTH); in mpi_enc_opt_o()
135 strcpy(cmd->file_output, next); in mpi_enc_opt_o()
146 RK_S32 mpi_enc_opt_w(void *ctx, const char *next) in mpi_enc_opt_w() argument
150 if (next) { in mpi_enc_opt_w()
[all …]
H A Dmpi_dec_utils.c431 RK_S32 mpi_dec_opt_i(void *ctx, const char *next) in mpi_dec_opt_i() argument
435 if (next) { in mpi_dec_opt_i()
436 strncpy(cmd->file_input, next, MAX_FILE_NAME_LENGTH - 1); in mpi_dec_opt_i()
447 RK_S32 mpi_dec_opt_o(void *ctx, const char *next) in mpi_dec_opt_o() argument
451 if (next) { in mpi_dec_opt_o()
452 strncpy(cmd->file_output, next, MAX_FILE_NAME_LENGTH - 1); in mpi_dec_opt_o()
461 RK_S32 mpi_dec_opt_w(void *ctx, const char *next) in mpi_dec_opt_w() argument
465 if (next) { in mpi_dec_opt_w()
466 cmd->width = atoi(next); in mpi_dec_opt_w()
474 RK_S32 mpi_dec_opt_h(void *ctx, const char *next) in mpi_dec_opt_h() argument
[all …]
H A Dmpp_opt.c101 char *next = (opt_next >= argc) ? NULL : argv[opt_next]; in mpp_opt_parse() local
118 step = info->proc(impl->ctx, next); in mpp_opt_parse()
H A Dmpp_opt.h26 typedef RK_S32 (*OptParser)(void *ctx, const char *next);
/rockchip-linux_mpp/osal/inc/
H A Dmpp_hash.h31 struct hlist_node *next, **pprev; member
52 h->next = NULL; in INIT_HLIST_NODE()
68 struct hlist_node *next = n->next; in __hlist_del() local
71 WRITE_ONCE(*pprev, next); in __hlist_del()
72 if (next) in __hlist_del()
73 next->pprev = pprev; in __hlist_del()
79 n->next = (struct hlist_node*)LIST_POISON1; in hlist_del()
94 n->next = first; in hlist_add_head()
96 first->pprev = &n->next; in hlist_add_head()
101 static inline void hlist_add_before(struct hlist_node *n, struct hlist_node *next) in hlist_add_before() argument
[all …]
H A Dmpp_list.h30 MppListNode *next; member
75 struct list_head *next, *prev; member
84 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
88 for (pos = (head)->next, n = pos->next; pos != (head); \
89 pos = n, n = pos->next)
95 list_entry((ptr)->next, type, member)
102 struct list_head *pos__ = head__->next; \
107 list_entry((pos)->member.next, type, member)
113 for (pos = list_entry((head)->next, type, member); \
136 struct list_head * next) in __list_add() argument
[all …]
/rockchip-linux_mpp/osal/
H A Dmpp_list.c23 node->prev = node->next = node; in list_node_init()
47 static inline void _mpp_list_add(MppListNode * _new, MppListNode * prev, MppListNode * next) in _mpp_list_add() argument
49 next->prev = _new; in _mpp_list_add()
50 _new->next = next; in _mpp_list_add()
52 prev->next = _new; in _mpp_list_add()
57 _mpp_list_add(_new, head, head->next); in mpp_list_add()
116 static inline void _mpp_list_del(MppListNode *prev, MppListNode *next) in _mpp_list_del() argument
118 next->prev = prev; in _mpp_list_del()
119 prev->next = next; in _mpp_list_del()
124 _mpp_list_del(node->prev, node->next); in mpp_list_del_init()
[all …]
H A Dmpp_compat.c99 compat = compat->next; in mpp_compat_show()
H A Dmpp_thread.c699 MppSThdStatus next = func ? MPP_STHD_READY : MPP_STHD_UNINITED; in mpp_sthd_grp_setup() local
707 thd->status = next; in mpp_sthd_grp_setup()
709 impl->status = next; in mpp_sthd_grp_setup()
/rockchip-linux_mpp/mpp/vproc/rga/test/
H A Drga_test.c41 const char *next; in rga_test_parse_options() local
53 next = (const char *) argv[optindex]; in rga_test_parse_options()
69 if (next) { in rga_test_parse_options()
70 strncpy(cmd->input_file, next, MAX_NAME_LENGTH - 1); in rga_test_parse_options()
71 cmd->input_file[strlen(next)] = '\0'; in rga_test_parse_options()
79 if (next) { in rga_test_parse_options()
80 strncpy(cmd->output_file, next, MAX_NAME_LENGTH - 1); in rga_test_parse_options()
81 cmd->output_file[strlen(next)] = '\0'; in rga_test_parse_options()
89 if (next) { in rga_test_parse_options()
90 cmd->src_w = atoi(next); in rga_test_parse_options()
[all …]
/rockchip-linux_mpp/mpp/base/
H A Dmpp_trie.c47 rk_s16 next[MPP_TRIE_KEY_MAX]; member
170 rk_s32 next = 0; in trie_pave_node() local
182 next = node->next[key0]; in trie_pave_node()
185 p, name, i, key, key, key0, key1, idx, next); in trie_pave_node()
187 if (!next) { in trie_pave_node()
188 next = trie_get_node(p, idx, key0); in trie_pave_node()
189 if (next < 0) in trie_pave_node()
190 return next; in trie_pave_node()
194 node->next[key0] = next; in trie_pave_node()
197 p, name, i, key, key, node->idx, next); in trie_pave_node()
[all …]
H A Dmpp_task_impl.c202 MppTaskStatusInfo *next = NULL; in _mpp_port_move() local
220 next = &queue->info[status]; in _mpp_port_move()
224 list_add_tail(&task_impl->list, &next->list); in _mpp_port_move()
225 next->count++; in _mpp_port_move()
234 mpp_cond_signal(&next->cond); in _mpp_port_move()
235 mpp_task_dbg_func("signal port %p\n", next); in _mpp_port_move()
249 MppTaskStatusInfo *next = NULL; in _mpp_port_dequeue() local
265 next = &queue->info[port_impl->next_on_dequeue]; in _mpp_port_dequeue()
279 task_impl = list_entry(curr->list.next, MppTaskImpl, list); in _mpp_port_dequeue()
286 list_add_tail(&task_impl->list, &next->list); in _mpp_port_dequeue()
[all …]
H A Dmpp_packet.c545 segs[i].next = &segs[i + 1]; in mpp_packet_set_segment_nb()
547 segs[segment_nb - 1].next = NULL; in mpp_packet_set_segment_nb()
577 seg_buf[i].next = &seg_buf[i + 1]; in mpp_packet_add_segment_info()
595 seg_buf->next = NULL; in mpp_packet_add_segment_info()
598 seg_buf[-1].next = seg_buf; in mpp_packet_add_segment_info()
635 dst_segs[i].next = &dst_segs[i + 1]; in mpp_packet_copy_segment_info()
/rockchip-linux_mpp/mpp/legacy/
H A Drk_list.cpp27 rk_list_node* next; member
34 node->prev = node->next = node; in list_node_init()
57 static inline void _rk_list_add(rk_list_node * _new, rk_list_node * prev, rk_list_node * next) in _rk_list_add() argument
59 next->prev = _new; in _rk_list_add()
60 _new->next = next; in _rk_list_add()
62 prev->next = _new; in _rk_list_add()
67 _rk_list_add(_new, head, head->next); in rk_list_add()
124 static inline void _rk_list_del(rk_list_node *prev, rk_list_node *next) in _rk_list_del() argument
126 next->prev = prev; in _rk_list_del()
127 prev->next = next; in _rk_list_del()
[all …]
/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_parser.c100 static RK_S32 mpp_combine_frame(SplitContext_t *sc, RK_S32 next, const RK_U8 **buf, RK_S32 *buf_siz… in mpp_combine_frame() argument
104 sc->overread, sc->state, next, sc->index, sc->overread_index); in mpp_combine_frame()
114 if (!*buf_size && next == END_NOT_FOUND) { in mpp_combine_frame()
115 next = 0; in mpp_combine_frame()
121 if (next == END_NOT_FOUND) { in mpp_combine_frame()
142 sc->overread_index = sc->index + next; in mpp_combine_frame()
146 RK_U32 min_size = next + sc->index + MPP_INPUT_BUFFER_PADDING_SIZE; in mpp_combine_frame()
159 if (next > -MPP_INPUT_BUFFER_PADDING_SIZE) in mpp_combine_frame()
161 next + MPP_INPUT_BUFFER_PADDING_SIZE); in mpp_combine_frame()
167 for (; next < 0; next++) { in mpp_combine_frame()
[all …]
/rockchip-linux_mpp/mpp/vproc/iep2/test/
H A Diep2_test.c207 int prev, curr, next; in iep2_test() local
302 next = (curr + 1) % 3; in iep2_test()
304 if (srcfrmsize > fread(psrc[next], 1, srcfrmsize, cfg->fp_src)) { in iep2_test()
313 &imgsrc[next], fdsrc[next], IEP_CMD_SET_DEI_SRC1); in iep2_test()
/rockchip-linux_mpp/inc/
H A Dmpp_compat.h45 MppCompat * const next; member
H A Dmpp_packet.h96 const MppPktSeg *next; member
/rockchip-linux_mpp/test/
H A Dmpi_rc.cfg7 # next event will occur after (200 + 1 - 171) times notify. if loop < 0, it
/rockchip-linux_mpp/mpp/hal/common/h264/
H A Dhal_h264e_stream_amend.c169 seg = seg->next; in h264e_vepu_stream_amend_proc()
213 seg = seg->next; in h264e_vepu_stream_amend_proc()
/rockchip-linux_mpp/mpp/hal/
H A Dhal_task.c126 HalTaskImpl *task = list_entry(list->next, HalTaskImpl, list); in hal_task_get_hnd()
/rockchip-linux_mpp/doc/design/
H A D1.mpp_design.txt35 running sofware will prepare next hardware task at the same time.
H A D4.mpp_task.txt52 status to next status. The status transform flow is unidirectional from input
/rockchip-linux_mpp/kmpp/base/
H A Dkmpp_obj.c1810 MppTrieInfo *next = NULL; in kmpp_obj_udump_f() local
1828 next = mpp_trie_get_info_first(trie); in kmpp_obj_udump_f()
1829 while (next) { in kmpp_obj_udump_f()
1833 info = next; in kmpp_obj_udump_f()
1834 next = mpp_trie_get_info_next(trie, info); in kmpp_obj_udump_f()
/rockchip-linux_mpp/osal/linux/
H A Ddrm.h117 unsigned char next; member

12