apps/camogm2/camogm_jpeg.c File Reference

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <time.h>
#include <string.h>
#include <netinet/in.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <asm/elphel/c313a.h>
#include <asm/elphel/ext353.h>
#include <asm/byteorder.h>
#include <ogg/ogg.h>
#include "ogmstreams.h"
#include "camogm_jpeg.h"
#include "camogm.h"

Include dependency graph for camogm_jpeg.c:

Go to the source code of this file.

Functions

int camogm_init_jpeg (void)
 may add something - called first time format is changed to this one (only once) recording is stopped
void camogm_free_jpeg (void)
int camogm_start_jpeg (void)
int camogm_frame_jpeg (void)
int camogm_end_jpeg (void)


Function Documentation

int camogm_end_jpeg ( void   ) 

Definition at line 126 of file camogm_jpeg.c.

int camogm_frame_jpeg ( void   ) 

Definition at line 94 of file camogm_jpeg.c.

References CAMOGM_FRAME_FILE_ERR, camogm_state::chunk_index, D0, debug_file, camogm_state::ivf, camogm_state::packetchunks, camogm_state::path, camogm_state::path_prefix, state, camogm_state::this_frame_params, interframe_params_t::timestamp_sec, and interframe_params_t::timestamp_usec.

void camogm_free_jpeg ( void   ) 

Definition at line 71 of file camogm_jpeg.c.

int camogm_init_jpeg ( void   ) 

may add something - called first time format is changed to this one (only once) recording is stopped

*************************************************************************** ! FILE NAME : camogm_jpeg.c ! DESCRIPTION: Provides writing to series of individual JPEG files for camogm ! Copyright (C) 2007 Elphel, Inc. ! -----------------------------------------------------------------------------** ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** ! !

Log
camogm_jpeg.c,v
! Revision 1.1.1.1 2008/11/27 20:04:02 elphel ! ! ! Revision 1.1 2008/05/02 12:45:57 spectr_rain ! initial revision with the sound support ! ! Revision 1.3 2008/04/11 23:09:33 elphel ! modified to handle kml generation ! ! Revision 1.2 2007/11/19 03:23:21 elphel ! 7.1.5.5 Added support for *.mov files in camogm. ! ! Revision 1.1 2007/11/16 08:49:57 elphel ! Initial release of camogm - program to record video/image to the camera hard drive (or other storage) !

Definition at line 68 of file camogm_jpeg.c.

int camogm_start_jpeg ( void   ) 

Definition at line 74 of file camogm_jpeg.c.

References CAMOGM_FRAME_FILE_ERR, D0, D2, D3, debug_file, camogm_state::path, camogm_state::path_prefix, and state.


Generated on Fri Nov 28 00:06:52 2008 for elphel by  doxygen 1.5.1