Loading camogm.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -814,9 +814,6 @@ void camogm_set_prefix(camogm_state *state, const char * p, path_type type) } else { } else { D0(fprintf(debug_file, "WARNING: raw device write initiated\n")); D0(fprintf(debug_file, "WARNING: raw device write initiated\n")); state->rawdev_op = 1; state->rawdev_op = 1; /* debug code follows */ state->rawdev.end_pos = (uint64_t)128 * (uint64_t)1048576; /* end of debug code */ } } } } } } Loading camogm_jpeg.c +0 −9 Original line number Original line Diff line number Diff line Loading @@ -161,15 +161,6 @@ int camogm_frame_jpeg(camogm_state *state) } } } } /* debug code follows */ fprintf(debug_file, "\n=== raw device write, iovec dump ===\n"); fprintf(debug_file, "split_cntr = %ld; split_ptr = %p; split_index = %d\n", split_cntr, split_ptr, split_index); for (int i = 0; i < chunks_used; i++) { fprintf(debug_file, "i = %d; iov_base = %p; iov_len = %u\n", i, chunks_iovec[i].iov_base, chunks_iovec[i].iov_len); } fprintf(debug_file, "total len = %d\n======\n", l); /* end of debug code */ if (split_index < 0) { if (split_index < 0) { iovlen = writev(state->rawdev.rawdev_fd, chunks_iovec, chunks_used); iovlen = writev(state->rawdev.rawdev_fd, chunks_iovec, chunks_used); } else { } else { Loading Loading
camogm.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -814,9 +814,6 @@ void camogm_set_prefix(camogm_state *state, const char * p, path_type type) } else { } else { D0(fprintf(debug_file, "WARNING: raw device write initiated\n")); D0(fprintf(debug_file, "WARNING: raw device write initiated\n")); state->rawdev_op = 1; state->rawdev_op = 1; /* debug code follows */ state->rawdev.end_pos = (uint64_t)128 * (uint64_t)1048576; /* end of debug code */ } } } } } } Loading
camogm_jpeg.c +0 −9 Original line number Original line Diff line number Diff line Loading @@ -161,15 +161,6 @@ int camogm_frame_jpeg(camogm_state *state) } } } } /* debug code follows */ fprintf(debug_file, "\n=== raw device write, iovec dump ===\n"); fprintf(debug_file, "split_cntr = %ld; split_ptr = %p; split_index = %d\n", split_cntr, split_ptr, split_index); for (int i = 0; i < chunks_used; i++) { fprintf(debug_file, "i = %d; iov_base = %p; iov_len = %u\n", i, chunks_iovec[i].iov_base, chunks_iovec[i].iov_len); } fprintf(debug_file, "total len = %d\n======\n", l); /* end of debug code */ if (split_index < 0) { if (split_index < 0) { iovlen = writev(state->rawdev.rawdev_fd, chunks_iovec, chunks_used); iovlen = writev(state->rawdev.rawdev_fd, chunks_iovec, chunks_used); } else { } else { Loading