Lines Matching refs:tmp

103         RK_U8 *tmp = mpp_malloc(RK_U8, h_stride * height * 2);  in dump_mpp_frame_to_file()  local
104 RK_U8 *tmp_u = tmp; in dump_mpp_frame_to_file()
105 RK_U8 *tmp_v = tmp + width * height / 2; in dump_mpp_frame_to_file()
119 fwrite(tmp, 1, width * height, fp); in dump_mpp_frame_to_file()
120 mpp_free(tmp); in dump_mpp_frame_to_file()
180 RK_U8 *tmp = mpp_malloc(RK_U8, h_stride * height * 2); in dump_mpp_frame_to_file() local
181 RK_U8 *tmp_u = tmp; in dump_mpp_frame_to_file()
182 RK_U8 *tmp_v = tmp + width * height; in dump_mpp_frame_to_file()
196 fwrite(tmp, 1, width * height * 2, fp); in dump_mpp_frame_to_file()
197 mpp_free(tmp); in dump_mpp_frame_to_file()
227 RK_U8 *tmp = mpp_malloc(RK_U8, h_stride * height); in dump_mpp_frame_to_file() local
232 mpp_free(tmp); in dump_mpp_frame_to_file()
240 RK_U8 *tmp = mpp_malloc(RK_U8, width * height * 4); in dump_mpp_frame_to_file() local
245 mpp_free(tmp); in dump_mpp_frame_to_file()
259 RK_U8 *tmp = mpp_malloc(RK_U8, width * height * 2); in dump_mpp_frame_to_file() local
264 mpp_free(tmp); in dump_mpp_frame_to_file()
269 RK_U8 *tmp = mpp_malloc(RK_U8, width * height * 3); in dump_mpp_frame_to_file() local
274 mpp_free(tmp); in dump_mpp_frame_to_file()
1582 long tmp = 0; in str_to_frm_fmt() local
1587 tmp = strtol(nptr, &endptr, 0); in str_to_frm_fmt()
1590 mpp_err("format: 0x%lx invalid (no digits found, 0 returned)", tmp); in str_to_frm_fmt()
1591 else if (errno == ERANGE && tmp == LONG_MIN) in str_to_frm_fmt()
1592 mpp_err("format: 0x%lx invalid (underflow occurred)", tmp); in str_to_frm_fmt()
1593 else if (errno == ERANGE && tmp == LONG_MAX) in str_to_frm_fmt()
1594 mpp_err("format: 0x%lx invalid (overflow occurred)", tmp); in str_to_frm_fmt()
1596 mpp_err("format: 0x%lx invalid (base contains unsupported value)", tmp); in str_to_frm_fmt()
1597 else if (errno != 0 && tmp == 0) in str_to_frm_fmt()
1598 mpp_err("format: 0x%lx invalid (unspecified error occurred)", tmp); in str_to_frm_fmt()
1600 mpp_err("format: 0x%lx invalid (additional characters remain)", tmp); in str_to_frm_fmt()
1602 if ((tmp < (MPP_FMT_BUTT | MPP_FRAME_FMT_PROP_MASK)) && tmp >= 0) { in str_to_frm_fmt()
1603 *number = tmp; in str_to_frm_fmt()
1606 mpp_err("format: 0x%lx invalid (not format value)", tmp); in str_to_frm_fmt()