Lines Matching refs:tmp_line
47 static void rearrange_pix(RK_U8 *tmp_line, RK_U8 *base, RK_U32 n) in rearrange_pix() argument
49 RK_U16 * pix = (RK_U16 *)(tmp_line + n * 16); in rearrange_pix()
154 RK_U8 *tmp_line = (RK_U8 *)mpp_malloc(RK_U16, width); in dump_mpp_frame_to_file() local
156 if (!tmp_line) { in dump_mpp_frame_to_file()
163 rearrange_pix(tmp_line, base_y, k); in dump_mpp_frame_to_file()
164 fwrite(tmp_line, width * sizeof(RK_U16), 1, fp); in dump_mpp_frame_to_file()
169 rearrange_pix(tmp_line, base_c, k); in dump_mpp_frame_to_file()
170 fwrite(tmp_line, width * sizeof(RK_U16), 1, fp); in dump_mpp_frame_to_file()
173 MPP_FREE(tmp_line); in dump_mpp_frame_to_file()
203 RK_U8 *tmp_line = (RK_U8 *)mpp_malloc(RK_U16, width); in dump_mpp_frame_to_file() local
205 if (!tmp_line) { in dump_mpp_frame_to_file()
212 rearrange_pix(tmp_line, base_y, k); in dump_mpp_frame_to_file()
213 fwrite(tmp_line, width * sizeof(RK_U16), 1, fp); in dump_mpp_frame_to_file()
218 rearrange_pix(tmp_line, base_c, k); in dump_mpp_frame_to_file()
219 fwrite(tmp_line, width * sizeof(RK_U16), 1, fp); in dump_mpp_frame_to_file()
222 MPP_FREE(tmp_line); in dump_mpp_frame_to_file()