Lines Matching refs:str
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
104 if (!strcmp(str, "yuv422p") || in str_to_iep2_swa()
105 !strcmp(str, "yuv420p")) in str_to_iep2_swa()
107 else if (!strcmp(str, "yvu422sp") || in str_to_iep2_swa()
108 !strcmp(str, "yvu420sp")) in str_to_iep2_swa()
110 else if (!strcmp(str, "yuv422sp") || in str_to_iep2_swa()
111 !strcmp(str, "yuv420sp")) in str_to_iep2_swa()
114 mpp_err("invalid format %s\n", str); in str_to_iep2_swa()