Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 13 of 13) sorted by relevance

/rockchip-linux_mpp/mpp/legacy/
H A DppOp.cpp32 status_t ppOpSet(PP_OP_HANDLE hnd, PP_SET_OPT opt, RK_U32 val) in ppOpSet() argument
35 (void)opt; in ppOpSet()
143 android::PP_OPERATION opt; in main() local
144 memset(&opt, 0, sizeof(opt)); in main()
145 opt.srcAddr = src.phy_addr; in main()
146 opt.srcFormat = PP_IN_FORMAT_YUV420SEMI; in main()
147 opt.srcWidth = SRC_WIDTH; in main()
148 opt.srcHeight = SRC_HEIGHT; in main()
149 opt.srcHStride = src_vir_width; in main()
150 opt.srcVStride = src_vir_height; in main()
[all …]
H A DppOp.h107 status_t ppOpSet(PP_OP_HANDLE hnd, PP_SET_OPT opt, RK_U32 val);
/rockchip-linux_mpp/utils/
H A Dmpp_opt.c33 MPP_RET mpp_opt_init(MppOpt *opt) in mpp_opt_init() argument
37 *opt = impl; in mpp_opt_init()
42 MPP_RET mpp_opt_deinit(MppOpt opt) in mpp_opt_deinit() argument
44 MppOptImpl *impl = (MppOptImpl *)opt; in mpp_opt_deinit()
58 MPP_RET mpp_opt_setup(MppOpt opt, void *ctx) in mpp_opt_setup() argument
60 MppOptImpl *impl = (MppOptImpl *)opt; in mpp_opt_setup()
74 MPP_RET mpp_opt_add(MppOpt opt, MppOptInfo *info) in mpp_opt_add() argument
76 MppOptImpl *impl = (MppOptImpl *)opt; in mpp_opt_add()
87 MPP_RET mpp_opt_parse(MppOpt opt, int argc, char **argv) in mpp_opt_parse() argument
89 MppOptImpl *impl = (MppOptImpl *)opt; in mpp_opt_parse()
H A Dmpp_opt.h41 MPP_RET mpp_opt_init(MppOpt *opt);
42 MPP_RET mpp_opt_deinit(MppOpt opt);
44 MPP_RET mpp_opt_setup(MppOpt opt, void *ctx);
46 MPP_RET mpp_opt_add(MppOpt opt, MppOptInfo *info);
48 MPP_RET mpp_opt_parse(MppOpt opt, int argc, char **argv);
H A Dutils.h43 #define show_options(opt) \ argument
45 _show_options(sizeof(opt)/sizeof(OptionInfo), opt); \
H A Dmpi_dec_utils.c655 MppOptInfo *opt = &dec_opts[i]; in mpi_dec_show_help() local
657 if (opt->name) { in mpi_dec_show_help()
658 len = strlen(opt->name); in mpi_dec_show_help()
663 if (opt->full_name) { in mpi_dec_show_help()
664 len = strlen(opt->full_name); in mpi_dec_show_help()
669 if (opt->help) { in mpi_dec_show_help()
670 len = strlen(opt->help); in mpi_dec_show_help()
679 MppOptInfo *opt = &dec_opts[i]; in mpi_dec_show_help() local
681 mpp_log(logs, opt->name, opt->full_name, opt->help); in mpi_dec_show_help()
H A Dmpi_enc_utils.c797 MppOptInfo *opt = &enc_opts[i]; in mpi_enc_show_help() local
799 if (opt->name) { in mpi_enc_show_help()
800 len = strlen(opt->name); in mpi_enc_show_help()
805 if (opt->full_name) { in mpi_enc_show_help()
806 len = strlen(opt->full_name); in mpi_enc_show_help()
811 if (opt->help) { in mpi_enc_show_help()
812 len = strlen(opt->help); in mpi_enc_show_help()
821 MppOptInfo *opt = &enc_opts[i]; in mpi_enc_show_help() local
823 mpp_log(logs, opt->name, opt->full_name, opt->help); in mpi_enc_show_help()
/rockchip-linux_mpp/mpp/vproc/rga/test/
H A Drga_test.c40 const char *opt; in rga_test_parse_options() local
52 opt = (const char *) argv[optindex++]; in rga_test_parse_options()
55 if (handleoptions && opt[0] == '-' && opt[1] != '\0') { in rga_test_parse_options()
56 if (opt[1] == '-') { in rga_test_parse_options()
57 if (opt[2] != '\0') { in rga_test_parse_options()
58 opt++; in rga_test_parse_options()
65 opt++; in rga_test_parse_options()
67 switch (*opt) { in rga_test_parse_options()
115 if ((*(opt + 1) != '\0') && !strncmp(opt, "dst_w", 5)) { in rga_test_parse_options()
117 } else if ((*(opt + 1) != '\0') && !strncmp(opt, "dst_h", 5)) { in rga_test_parse_options()
[all …]
/rockchip-linux_mpp/test/
H A Dmpp_parse_cfg.c166 char *opt; in parse_options() local
170 opt = read_cfg_line(cfg); in parse_options()
172 if (opt && opt[0] != '\n' && opt[0] != '[') { in parse_options()
173 type = lookup_opt_type(opt); in parse_options()
177 ea->idx_type = lookup_opt_type(get_opt_value(opt)); in parse_options()
180 sscanf(get_opt_value(opt), "%d", &ea->loop); in parse_options()
H A Dvpu_api_test.c92 VpuApiOptionInfo *opt = vpuApiCmd; in show_help() local
96 printf("-%s %-16s\t%s\n", opt[i].name, opt[i].argname, opt[i].help); in show_help()
103 char *opt; in parse_options() local
115 opt = argv[optindex++]; in parse_options()
117 if (handleoptions && opt[0] == '-' && opt[1] != '\0') { in parse_options()
118 if (opt[1] == '-') { in parse_options()
119 if (opt[2] != '\0') { in parse_options()
120 opt++; in parse_options()
127 opt++; in parse_options()
129 switch (*opt) { in parse_options()
[all …]
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_slice.c428 H264eMmco opt; in h264e_slice_read() local
434 opt.mmco = mmco; in h264e_slice_read()
446 opt.difference_of_pic_nums_minus1 = difference_of_pic_nums_minus1; in h264e_slice_read()
455 opt.long_term_pic_num = long_term_pic_num; in h264e_slice_read()
464 opt.long_term_frame_idx = long_term_frame_idx; in h264e_slice_read()
473 opt.max_long_term_frame_idx_plus1 = max_long_term_frame_idx_plus1; in h264e_slice_read()
478 h264e_marking_wr_op(slice->marking, &opt); in h264e_slice_read()
479 memset(&opt, 0, sizeof(opt)); in h264e_slice_read()
/rockchip-linux_mpp/build/android/
H A Dandroid.toolchain.cmake57 # ANDROID_NDK=/opt/android-ndk - path to the NDK root.
229 set( ANDROID_NDK_SEARCH_PATHS /opt "${ANDROID_NDK_SEARCH_PATHS}/NVPACK" )
233 set( ANDROID_STANDALONE_TOOLCHAIN_SEARCH_PATH /opt/android-toolchain )
/rockchip-linux_mpp/tools/
H A Dmpp_doxyfile934 # can opt to disable this feature.