Lines Matching refs:ctx
86 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
93 MPP_RET (*decode)(MppCtx ctx, MppPacket packet, MppFrame *frame);
96 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
102 MPP_RET (*decode_put_packet)(MppCtx ctx, MppPacket packet);
105 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
111 MPP_RET (*decode_get_frame)(MppCtx ctx, MppFrame *frame);
115 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
122 MPP_RET (*encode)(MppCtx ctx, MppFrame frame, MppPacket *packet);
125 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
131 MPP_RET (*encode_put_frame)(MppCtx ctx, MppFrame frame);
134 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
140 MPP_RET (*encode_get_packet)(MppCtx ctx, MppPacket *packet);
145 MPP_RET (*isp)(MppCtx ctx, MppFrame dst, MppFrame src);
149 MPP_RET (*isp_put_frame)(MppCtx ctx, MppFrame frame);
153 MPP_RET (*isp_get_frame)(MppCtx ctx, MppFrame *frame);
158 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
165 MPP_RET (*poll)(MppCtx ctx, MppPortType type, MppPollType timeout);
168 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
175 MPP_RET (*dequeue)(MppCtx ctx, MppPortType type, MppTask *task);
178 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
185 MPP_RET (*enqueue)(MppCtx ctx, MppPortType type, MppTask task);
191 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
196 MPP_RET (*reset)(MppCtx ctx);
199 * @param[in] ctx The context of mpp, created by mpp_create() and initiated
206 MPP_RET (*control)(MppCtx ctx, MpiCmd cmd, MppParam param);
222 * @param[in,out] ctx pointer of the mpp context, refer to MpiImpl_t.
229 MPP_RET mpp_create(MppCtx *ctx, MppApi **mpi);
234 * @param[in] ctx The context of mpp, created by mpp_create().
240 MPP_RET mpp_init(MppCtx ctx, MppCtxType type, MppCodingType coding);
250 * @param[in] ctx The context of mpp, created by mpp_create().
254 MPP_RET mpp_start(MppCtx ctx);
263 * @param[in] ctx The context of mpp, created by mpp_create().
267 MPP_RET mpp_stop(MppCtx ctx);
272 * @param[in] ctx The context of mpp, created by mpp_create().
276 MPP_RET mpp_destroy(MppCtx ctx);