| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_cfg_io.c | 110 static const char *str[MPP_CFG_TYPE_BUTT + 1] = { in strof_type() local 130 return str[type]; in strof_type() 133 static char *dup_str(const char *str, rk_s32 len) in dup_str() argument 137 if (str && len > 0) { in dup_str() 140 memcpy(ret, str, len); in dup_str() 232 if (type == MPP_CFG_TYPE_STRING && val && val->str) in mpp_cfg_get_object() 233 str_len = MPP_ALIGN(strlen(val->str) + 1, 4); in mpp_cfg_get_object() 256 strncpy(impl->string, val->str, str_len); in mpp_cfg_get_object() 268 impl->val.str = impl->string; in mpp_cfg_get_object() 656 #define test_byte_f(str, len) test_byte(str, len, __FUNCTION__) argument [all …]
|
| H A D | mpp_meta.c | 89 char *str = (char *)&key_val; \ 91 i++, #key, str[0], str[1], str[2], str[3], #type); \
|
| /rockchip-linux_mpp/mpp/vproc/iep2/test/ |
| H A D | iep2_test.c | 80 static RK_S32 str_to_iep2_fmt(const char *str) in str_to_iep2_fmt() argument 84 mpp_log("format %s\n", str); in str_to_iep2_fmt() 86 if (!strcmp(str, "yuv422sp") || in str_to_iep2_fmt() 87 !strcmp(str, "yuv422p") || in str_to_iep2_fmt() 88 !strcmp(str, "yvu422sp")) in str_to_iep2_fmt() 90 else if (!strcmp(str, "yuv420p") || in str_to_iep2_fmt() 91 !strcmp(str, "yuv420sp") || in str_to_iep2_fmt() 92 !strcmp(str, "yvu420sp")) in str_to_iep2_fmt() 95 mpp_err("invalid format %s\n", str); in str_to_iep2_fmt() 100 static RK_S32 str_to_iep2_swa(const char *str) in str_to_iep2_swa() argument [all …]
|
| /rockchip-linux_mpp/mpp/vproc/iep/test/ |
| H A D | iep_test.c | 304 static RK_S32 str_to_iep_fmt(const char *str) in str_to_iep_fmt() argument 308 if (!strcmp(str, "argb8888")) in str_to_iep_fmt() 310 else if (!strcmp(str, "abgr8888")) in str_to_iep_fmt() 312 else if (!strcmp(str, "rgba8888")) in str_to_iep_fmt() 314 else if (!strcmp(str, "bgra8888")) in str_to_iep_fmt() 316 else if (!strcmp(str, "rgb565")) in str_to_iep_fmt() 318 else if (!strcmp(str, "bgr565")) in str_to_iep_fmt() 320 else if (!strcmp(str, "yuv422sp")) in str_to_iep_fmt() 322 else if (!strcmp(str, "yuv422p")) in str_to_iep_fmt() 324 else if (!strcmp(str, "yuv420sp")) in str_to_iep_fmt() [all …]
|
| /rockchip-linux_mpp/mpp/base/test/ |
| H A D | mpp_trie_test.c | 43 RK_U8 **str = (RK_U8 **)ctx; in print_opt() local 45 if (str && *str) in print_opt() 46 mpp_log("get option %-16s time %lld us\n", *str, time); in print_opt()
|
| H A D | mpp_cfg_test.c | 30 char *str = NULL; in test_to_from() local 45 ret = mpp_cfg_to_string(out, fmt, &str); in test_to_from() 51 if (strcmp(std, str)) { in test_to_from() 62 MPP_FREE(str); in test_to_from() 227 val.str = "hello world"; in main()
|
| /rockchip-linux_mpp/mpp/hal/common/ |
| H A D | hal_info.c | 188 const char *str = NULL; in hal_info_to_string() local 197 str = strof_coding_type(coding); in hal_info_to_string() 209 str = strof_coding_type(coding); in hal_info_to_string() 214 str = strof_rc_mode(rc_mode); in hal_info_to_string() 219 str = strof_profle(info->coding, profile); in hal_info_to_string() 231 if (str) in hal_info_to_string() 232 snprintf((void *)&ret, sizeof(ret) - 1, "%s", str); in hal_info_to_string()
|
| /rockchip-linux_mpp/utils/ |
| H A D | iniparser.c | 456 const char * str ; in iniparser_getlongint() local 458 str = iniparser_getstring(d, key, INI_INVALID_KEY); in iniparser_getlongint() 459 if (str == INI_INVALID_KEY) return notfound ; in iniparser_getlongint() 460 return strtol(str, NULL, 0); in iniparser_getlongint() 511 const char * str ; in iniparser_getdouble() local 513 str = iniparser_getstring(d, key, INI_INVALID_KEY); in iniparser_getdouble() 514 if (str == INI_INVALID_KEY) return notfound ; in iniparser_getdouble() 515 return atof(str); in iniparser_getdouble()
|
| H A D | utils.h | 82 RK_S32 parse_config_line(const char *str, OpsLine *info);
|
| H A D | utils.c | 1363 RK_S32 parse_config_line(const char *str, OpsLine *info) in parse_config_line() argument 1365 RK_S32 cnt = sscanf(str, "%*[^,],%d,%[^,],%llu,%llu\n", in parse_config_line()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/ |
| H A D | vdpu383_com.c | 305 MPP_RET flip_string(char *str) in flip_string() argument 307 RK_U32 len = strlen(str); in flip_string() 312 char c = str[i]; in flip_string() 313 str[i] = str[j]; in flip_string() 314 str[j] = c; in flip_string()
|
| H A D | vdpu384a_com.c | 317 MPP_RET flip_string(char *str) in flip_string() argument 319 RK_U32 len = strlen(str); in flip_string() 324 char c = str[i]; in flip_string() 325 str[i] = str[j]; in flip_string() 326 str[j] = c; in flip_string()
|
| /rockchip-linux_mpp/mpp/hal/rkenc/h265e/ |
| H A D | hal_h265e_vepu511.c | 1435 RK_U32 str = 0; in vepu511_h265_set_atr_regs() local 1438 if (str == 0) { in vepu511_h265_set_atr_regs() 1458 if (str == 3) { in vepu511_h265_set_atr_regs() 1489 } else if (str == 2) { in vepu511_h265_set_atr_regs() 1562 RK_S32 str = ctx->cfg->tune.deblur_str; in vepu511_h265_set_smear_regs() local 1585 flag_cover = (cover_num * 1000 < flag_cover_thd0[str] * st_ctu_num) ? 0 : in vepu511_h265_set_smear_regs() 1586 (cover_num * 1000 < flag_cover_thd1[str] * st_ctu_num) ? 1 : 2; in vepu511_h265_set_smear_regs() 1588 flag_bndry = (bndry_num * 1000 < flag_bndry_thd0[str] * st_ctu_num) ? 0 : in vepu511_h265_set_smear_regs() 1589 (bndry_num * 1000 < flag_bndry_thd1[str] * st_ctu_num) ? 1 : 2; in vepu511_h265_set_smear_regs() 1593 s->smear_opt_cfg0.smear_strength = (smear_strength[str] > 2) ? in vepu511_h265_set_smear_regs() [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkenc/h264e/ |
| H A D | hal_h264e_vepu510.c | 1851 RK_S32 str = ctx->cfg->tune.atl_str; in setup_vepu510_anti_stripe() local 1869 s->iprd_tthd_ul.iprd_tthd_ul = str ? 4 : 255; in setup_vepu510_anti_stripe() 1871 s->iprd_wgty8.iprd_wgty8_0 = str ? 22 : 16; in setup_vepu510_anti_stripe() 1872 s->iprd_wgty8.iprd_wgty8_1 = str ? 23 : 16; in setup_vepu510_anti_stripe() 1873 s->iprd_wgty8.iprd_wgty8_2 = str ? 20 : 16; in setup_vepu510_anti_stripe() 1874 s->iprd_wgty8.iprd_wgty8_3 = str ? 22 : 16; in setup_vepu510_anti_stripe() 1875 s->iprd_wgty4.iprd_wgty4_0 = str ? 22 : 16; in setup_vepu510_anti_stripe() 1876 s->iprd_wgty4.iprd_wgty4_1 = str ? 26 : 16; in setup_vepu510_anti_stripe() 1877 s->iprd_wgty4.iprd_wgty4_2 = str ? 20 : 16; in setup_vepu510_anti_stripe() 1878 s->iprd_wgty4.iprd_wgty4_3 = str ? 22 : 16; in setup_vepu510_anti_stripe() [all …]
|
| H A D | hal_h264e_vepu511.c | 1813 RK_S32 str = ctx->cfg->tune.atl_str; in setup_vepu511_anti_stripe() local 1831 s->iprd_tthd_ul.iprd_tthd_ul = str ? 4 : 255; in setup_vepu511_anti_stripe() 1833 s->iprd_wgty8.iprd_wgty8_0 = str ? 22 : 16; in setup_vepu511_anti_stripe() 1834 s->iprd_wgty8.iprd_wgty8_1 = str ? 23 : 16; in setup_vepu511_anti_stripe() 1835 s->iprd_wgty8.iprd_wgty8_2 = str ? 20 : 16; in setup_vepu511_anti_stripe() 1836 s->iprd_wgty8.iprd_wgty8_3 = str ? 22 : 16; in setup_vepu511_anti_stripe() 1837 s->iprd_wgty4.iprd_wgty4_0 = str ? 22 : 16; in setup_vepu511_anti_stripe() 1838 s->iprd_wgty4.iprd_wgty4_1 = str ? 26 : 16; in setup_vepu511_anti_stripe() 1839 s->iprd_wgty4.iprd_wgty4_2 = str ? 20 : 16; in setup_vepu511_anti_stripe() 1840 s->iprd_wgty4.iprd_wgty4_3 = str ? 22 : 16; in setup_vepu511_anti_stripe() [all …]
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_enc_impl.c | 427 char str[256]; in show_prep_update() local 431 len = snprintf(str, sizeof(str) - 1, "set prep cfg "); in show_prep_update() 435 len += snprintf(str + len, sizeof(str) - len - 1, in show_prep_update() 441 len += snprintf(str + len, sizeof(str) - len - 1, in show_prep_update() 448 len += snprintf(str + len, sizeof(str) - len - 1, in show_prep_update() 453 len += snprintf(str + len, sizeof(str) - len - 1, in show_prep_update() 458 len += snprintf(str + len, sizeof(str) - len - 1, in show_prep_update() 463 enc_dbg_cfg("%s\n", str); in show_prep_update() 618 char str[256]; in show_rc_update() local 622 len = snprintf(str, sizeof(str) - 1, "set rc cfg "); in show_rc_update() [all …]
|
| /rockchip-linux_mpp/mpp/vproc/vdpp/test/ |
| H A D | vdpp_test.c | 122 static RK_S32 str_to_vdpp_fmt(const char *str) in str_to_vdpp_fmt() argument 126 mpp_log("format %s\n", str); in str_to_vdpp_fmt() 128 if (!strcmp(str, "yuv420")) in str_to_vdpp_fmt() 130 else if (!strcmp(str, "yuv444")) in str_to_vdpp_fmt() 133 mpp_err("invalid format %s\n", str); in str_to_vdpp_fmt()
|
| /rockchip-linux_mpp/mpp/inc/ |
| H A D | mpp_internal.h | 169 } str; member
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_cfg_io.h | 45 void *str; member
|
| /rockchip-linux_mpp/mpp/hal/rkdec/av1d/ |
| H A D | hal_av1d_vdpu383.c | 220 static MPP_RET flip_string(char *str) in flip_string() argument 222 RK_U32 len = strlen(str); in flip_string() 227 char c = str[i]; in flip_string() 228 str[i] = str[j]; in flip_string() 229 str[j] = c; in flip_string()
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_enc_mt_test.c | 763 const char *str = "this is user data\n"; in enc_test_input() local 766 user_data.pdata = (void *)str; in enc_test_input() 767 user_data.len = strlen(str) + 1; in enc_test_input()
|
| H A D | mpi_enc_test.c | 870 char *str = "this is user data\n"; in test_mpp_run() local 873 user_data.pdata = str; in test_mpp_run() 874 user_data.len = strlen(str) + 1; in test_mpp_run()
|
| /rockchip-linux_mpp/kmpp/base/ |
| H A D | kmpp_obj.c | 1081 char *str; in kmpp_obj_get_by_sptr() local 1088 str = (char *)p->obj.root + val; in kmpp_obj_get_by_sptr() 1089 if (kmpp_objdef_find((KmppObjDef *)&def, str)) { in kmpp_obj_get_by_sptr() 1090 mpp_loge_f("failed to get objdef %p - %s at %s\n", str, str, caller); in kmpp_obj_get_by_sptr()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/inc/ |
| H A D | vdpu383_com.h | 659 MPP_RET flip_string(char *str);
|
| H A D | vdpu384a_com.h | 686 MPP_RET flip_string(char *str);
|