apps/astreamer/video.cpp File Reference

#include "video.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <unistd.h>
#include <asm/elphel/c313a.h>
#include <asm/elphel/hist.h>
#include <asm/elphel/ext353.h>
#include <iostream>
#include "streamer.h"

Include dependency graph for video.cpp:

Go to the source code of this file.

Defines

#define D(a)
#define QTABLES_INCLUDE
#define TURN_COMPRESSOR_ON   0
 Compressor should be turned on outside of the streamer.
#define FRAMEPARS_BEFORE   0
#define USE_REAL_OLD_TIMESTAMP   0

Variables

int fd_stream = 0
int fd_circbuf = 0
int fd_jpeghead = 0
int fd_fparmsall = 0
 Global variables.
int lastDaemonBit = DAEMON_BIT_STREAMER
framepars_all_tframeParsAll
framepars_tframePars
unsigned long * globalPars


Define Documentation

#define D ( a   ) 

Definition at line 25 of file video.cpp.

#define FRAMEPARS_BEFORE   0

In the next functions I assume that the frame pointed by current file pointer in circbuf is ready. Otherwise (if it points at next frame to be acquired) we need to increase argument of getValidFrame(long before) by 1

Definition at line 256 of file video.cpp.

Referenced by Video::fps(), Video::height(), and Video::quality().

#define QTABLES_INCLUDE

Definition at line 30 of file video.cpp.

#define TURN_COMPRESSOR_ON   0

Compressor should be turned on outside of the streamer.

Definition at line 118 of file video.cpp.

#define USE_REAL_OLD_TIMESTAMP   0

Definition at line 312 of file video.cpp.

Referenced by Video::capture().


Variable Documentation

int fd_circbuf = 0

Definition at line 33 of file video.cpp.

Referenced by Video::capture(), Video::getFramePars(), Video::Video(), Video::waitDaemonEnabled(), and Video::~Video().

int fd_fparmsall = 0

Global variables.

*************************************************************************** ! FILE NAME : globalsinit.h ! DESCRIPTION: Daemon to adjust camera exposure and white balance ! Copyright (C) 2008 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
globalsinit.h,v
! Revision 1.1.1.1 2008/11/27 20:04:01 elphel ! ! ! Revision 1.1 2008/11/15 23:08:24 elphel ! 8.0.alpha17 - split autoexposure source file ! !

Definition at line 35 of file video.cpp.

Referenced by aexpCorr(), elphel_set_P_value_common(), exposureHDR(), framePointersXML(), initFilesMmap(), main(), PHP_FUNCTION(), PHP_MSHUTDOWN_FUNCTION(), recalibrateDim(), Video::Video(), waitRequstPrevHist(), and whiteBalanceCorr().

int fd_jpeghead = 0

Definition at line 34 of file video.cpp.

Referenced by Video::capture(), Video::Video(), and Video::~Video().

int fd_stream = 0

Definition at line 32 of file video.cpp.

Referenced by Audio::Start(), Video::Video(), and Video::~Video().

struct framepars_t* framePars

Definition at line 40 of file video.cpp.

Referenced by aexpCorr(), Video::capture(), exposureHDR(), framePointersXML(), get_imageParamsThat(), get_imageParamsThatValid(), getGPValue(), Video::getGPValue(), initFilesMmap(), isDaemonEnabled(), Video::isDaemonEnabled(), main(), PHP_FUNCTION(), recalibrateDim(), Video::Video(), and whiteBalanceCorr().

struct framepars_all_t* frameParsAll

Definition at line 39 of file video.cpp.

Referenced by framePointersXML(), initFilesMmap(), main(), and Video::Video().

unsigned long* globalPars

Definition at line 41 of file video.cpp.

Referenced by framePointersXML(), init_framepars_ptr(), initFilesMmap(), initGlobalPars(), main(), PHP_FUNCTION(), and Video::Video().

int lastDaemonBit = DAEMON_BIT_STREAMER

Definition at line 36 of file video.cpp.

Referenced by Video::capture(), isDaemonEnabled(), Video::isDaemonEnabled(), waitDaemonEnabled(), and Video::waitDaemonEnabled().


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