Lines Matching refs:type
23 MppCtxType type; member
269 static MPP_RET mpi_poll(MppCtx ctx, MppPortType type, MppPollType timeout) in mpi_poll() argument
274 mpi_dbg_func("enter ctx %p type %d timeout %d\n", ctx, type, timeout); in mpi_poll()
280 if (type >= MPP_PORT_BUTT || in mpi_poll()
283 mpp_err_f("invalid input type %d timeout %d\n", type, timeout); in mpi_poll()
288 ret = mpp_poll(p->ctx, type, timeout); in mpi_poll()
297 static MPP_RET mpi_dequeue(MppCtx ctx, MppPortType type, MppTask *task) in mpi_dequeue() argument
302 mpi_dbg_func("enter ctx %p type %d task %p\n", ctx, type, task); in mpi_dequeue()
308 if (type >= MPP_PORT_BUTT || NULL == task) { in mpi_dequeue()
309 mpp_err_f("invalid input type %d task %p\n", type, task); in mpi_dequeue()
314 ret = mpp_dequeue(p->ctx, type, task); in mpi_dequeue()
321 static MPP_RET mpi_enqueue(MppCtx ctx, MppPortType type, MppTask task) in mpi_enqueue() argument
326 mpi_dbg_func("enter ctx %p type %d task %p\n", ctx, type, task); in mpi_enqueue()
332 if (type >= MPP_PORT_BUTT || NULL == task) { in mpi_enqueue()
333 mpp_err_f("invalid input type %d task %p\n", type, task); in mpi_enqueue()
338 ret = mpp_enqueue(p->ctx, type, task); in mpi_enqueue()
446 MPP_RET mpp_init(MppCtx ctx, MppCtxType type, MppCodingType coding) in mpp_init() argument
451 mpi_dbg_func("enter ctx %p type %d coding %d\n", ctx, type, coding); in mpp_init()
457 if (type >= MPP_CTX_BUTT || in mpp_init()
459 mpp_err_f("invalid input type %d coding %d\n", type, coding); in mpp_init()
464 ret = mpp_ctx_init(p->ctx, type, coding); in mpp_init()
465 p->type = type; in mpp_init()
495 MPP_RET mpp_check_support_format(MppCtxType type, MppCodingType coding) in mpp_check_support_format() argument
502 if (type == info->type && in mpp_check_support_format()
520 info->type_name, info->type, in mpp_show_support_format()