apps/camogm/camogm_ogm.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_ogm.h"
#include "camogm.h"

Include dependency graph for camogm_ogm.c:

Go to the source code of this file.

Functions

int camogm_init_ogm (void)
 may add something - called first time format is changed to this one (only once) recording is stopped
void camogm_free_ogm (void)
int camogm_start_ogm (void)
int camogm_frame_ogm (void)
int camogm_end_ogm (void)
 Zero packets are OK, use them to end file with "last" turned on.


Function Documentation

int camogm_end_ogm ( void   ) 

Zero packets are OK, use them to end file with "last" turned on.

put zero-packet it into stream

+++++++++++++++++++++++++++++++++++++++++++++++++++++

Definition at line 217 of file camogm_ogm.c.

Referenced by camogm_stop().

int camogm_frame_ogm ( void   ) 

Definition at line 168 of file camogm_ogm.c.

Referenced by sendImageFrame().

void camogm_free_ogm ( void   ) 

Definition at line 65 of file camogm_ogm.c.

Referenced by camogm_free().

int camogm_init_ogm ( void   ) 

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

*************************************************************************** ! FILE NAME : camogm_ogm.c ! DESCRIPTION: Provides writing to ogm 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_ogm.c,v
! Revision 1.1.1.1 2008/11/27 20:04:01 elphel ! ! ! 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:58 elphel ! Initial release of camogm - program to record video/image to the camera hard drive (or other storage) !

Definition at line 62 of file camogm_ogm.c.

Referenced by camogm_set_format(), and camogm_start().

int camogm_start_ogm ( void   ) 

Definition at line 69 of file camogm_ogm.c.

Referenced by camogm_start().


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