Lines Matching refs:next

431 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
478 if (next) { in mpi_dec_opt_h()
479 cmd->height = atoi(next); in mpi_dec_opt_h()
487 RK_S32 mpi_dec_opt_t(void *ctx, const char *next) in mpi_dec_opt_t() argument
491 if (next) { in mpi_dec_opt_t()
494 cmd->type = (MppCodingType)atoi(next); in mpi_dec_opt_t()
504 RK_S32 mpi_dec_opt_f(void *ctx, const char *next) in mpi_dec_opt_f() argument
508 if (next) { in mpi_dec_opt_f()
512 if (MPP_OK == str_to_frm_fmt(next, &number)) { in mpi_dec_opt_f()
528 RK_S32 mpi_dec_opt_n(void *ctx, const char *next) in mpi_dec_opt_n() argument
532 if (next) { in mpi_dec_opt_n()
533 cmd->frame_num = atoi(next); in mpi_dec_opt_n()
545 RK_S32 mpi_dec_opt_s(void *ctx, const char *next) in mpi_dec_opt_s() argument
550 if (next) { in mpi_dec_opt_s()
551 cmd->nthreads = atoi(next); in mpi_dec_opt_s()
561 RK_S32 mpi_dec_opt_v(void *ctx, const char *next) in mpi_dec_opt_v() argument
565 if (next) { in mpi_dec_opt_v()
566 if (strstr(next, "q")) in mpi_dec_opt_v()
568 if (strstr(next, "f")) in mpi_dec_opt_v()
577 RK_S32 mpi_dec_opt_slt(void *ctx, const char *next) in mpi_dec_opt_slt() argument
581 if (next) { in mpi_dec_opt_slt()
582 size_t len = strnlen(next, MAX_FILE_NAME_LENGTH); in mpi_dec_opt_slt()
585 strncpy(cmd->file_slt, next, len); in mpi_dec_opt_slt()
595 RK_S32 mpi_dec_opt_bufmode(void *ctx, const char *next) in mpi_dec_opt_bufmode() argument
599 if (next) { in mpi_dec_opt_bufmode()
600 if (strstr(next, "hi")) { in mpi_dec_opt_bufmode()
602 } else if (strstr(next, "i")) { in mpi_dec_opt_bufmode()
604 } else if (strstr(next, "e")) { in mpi_dec_opt_bufmode()
618 RK_S32 mpi_dec_opt_help(void *ctx, const char *next) in mpi_dec_opt_help() argument
621 (void)next; in mpi_dec_opt_help()