Changeset 265
- Timestamp:
- 07/09/06 16:34:18 (2 years ago)
- Files:
-
- trunk/lib/cc3_ilp/cc3_color_info.c (modified) (1 diff)
- trunk/lib/cc3_ilp/cc3_color_info.h (modified) (1 diff)
- trunk/lib/cc3_ilp/cc3_color_track.c (modified) (1 diff)
- trunk/lib/cc3_ilp/cc3_color_track.h (modified) (1 diff)
- trunk/lib/cc3_ilp/cc3_ilp.c (modified) (1 diff)
- trunk/lib/cc3_ilp/cc3_ilp.h (modified) (1 diff)
- trunk/lib/cc3_ilp/cc3_jpg.c (modified) (6 diffs)
- trunk/lib/cc3_ilp/cc3_jpg.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/cc3_ilp/cc3_color_info.c
r198 r265 1 /* 2 * Copyright 2006 Anthony Rowe 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #include "cc3.h" 2 23 #include "cc3_ilp.h" trunk/lib/cc3_ilp/cc3_color_info.h
r199 r265 1 /* 2 * Copyright 2006 Anthony Rowe 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #ifndef CC3_COLOR_INFO_H 2 23 #define CC3_COLOR_INFO_H trunk/lib/cc3_ilp/cc3_color_track.c
r210 r265 1 /* 2 * Copyright 2006 Anthony Rowe 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #include "cc3.h" 2 23 #include "cc3_ilp.h" trunk/lib/cc3_ilp/cc3_color_track.h
r199 r265 1 /* 2 * Copyright 2006 Anthony Rowe 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #ifndef CC3_COLOR_TRACK_H 2 23 #define CC3_COLOR_TRACK_H trunk/lib/cc3_ilp/cc3_ilp.c
r232 r265 1 /* 2 * Copyright 2006 Anthony Rowe 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #include "cc3.h" 2 23 #include "cc3_ilp.h" trunk/lib/cc3_ilp/cc3_ilp.h
r199 r265 1 /* 2 * Copyright 2006 Anthony Rowe 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #ifndef CC3_ILP_H 2 23 #define CC3_ILP_H trunk/lib/cc3_ilp/cc3_jpg.c
r264 r265 1 /* 2 * Copyright 2006 Anthony Rowe and Adam Goode 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #include <stdio.h> 2 23 #include <stdlib.h> … … 14 35 15 36 capture_current_jpeg(stdout); 16 17 37 18 38 destroy_jpeg(); … … 22 42 static struct jpeg_compress_struct cinfo; 23 43 static struct jpeg_error_mgr jerr; 44 24 45 //static cc3_pixel_t *row; 25 46 uint8_t *row; 26 47 27 void init_jpeg(void) {48 static void init_jpeg(void) { 28 49 cinfo.err = jpeg_std_error(&jerr); 29 50 jpeg_create_compress(&cinfo); … … 46 67 } 47 68 48 void capture_current_jpeg(FILE *f) {69 static void capture_current_jpeg(FILE *f) { 49 70 JSAMPROW row_pointer[1]; 50 71 row_pointer[0] = row; … … 62 83 jpeg_write_scanlines(&cinfo, row_pointer, 1); 63 84 } 64 85 65 86 // finish 66 87 jpeg_finish_compress(&cinfo); … … 69 90 70 91 71 void destroy_jpeg(void) {92 static void destroy_jpeg(void) { 72 93 jpeg_destroy_compress(&cinfo); 73 94 free(row); trunk/lib/cc3_ilp/cc3_jpg.h
r264 r265 1 /* 2 * Copyright 2006 Anthony Rowe and Adam Goode 3 * 4 * This file is part of cc3. 5 * 6 * cc3 is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * cc3 is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with cc3; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 1 22 #include "jpeglib.h" 2 23 3 4 void capture_current_jpeg(FILE *f);5 void init_jpeg(void);6 void destroy_jpeg(void);7 24 void cc3_jpeg_send_simple(void); 8
