camogm_state Struct Reference

Exif data used for KML. More...

#include <camogm.h>

Collaboration diagram for camogm_state:

Collaboration graph
[legend]

Data Fields

int segment_duration
int segment_length
int save_gp
char path_prefix [256]
char path [300]
int cirbuf_rp
int fd_circ
 -1 - invalid
int fd_head
 file descriptor for circbuf
int fd_fparmsall
 file descriptor for JPEG header
int fd_exif
 file descriptor for sensor/compressor parameters
int head_size
 file descriptor for Exif data
char jpegHeader [JPEG_HEADER_MAXSIZE]
 JPEG header size.
int metadata_start
interframe_params_t frame_params
interframe_params_t this_frame_params
int jpeg_len
int frame_period
int width
 in microseconds (1/10 of what is needed for the Ogm header)
int height
int starting
int running
ogg_stream_state os
ogg_page og
ogg_packet op
elph_ogg_packet eop
int serialno
ogg_int64_t packetno
ogg_int64_t granulepos
FILE * vf
int ivf
 video file (ogm, fopen)
int last
 video file (jpeg, mov - open)
int exif
int exifSize
unsigned char ed [MAX_EXIF_SIZE]
int circ_buff_size
int senspars_size
char debug_name [256]
int set_samples_per_unit
double timescale
double set_timescale
 current timescale, default 1.0
int max_frames
int set_max_frames
int frames_per_chunk
int set_frames_per_chunk
int frameno
int * frame_lengths
off_t frame_data_start
ogg_int64_t time_unit
 Quicktime (and else?) - frame data start (0xff 0xd8...).
int formats
int format
 bitmask of used (initialized) formats
int set_format
 output file format
elph_packet_chunk packetchunks [7]
 output format to set (will be updated after stop)
int chunk_index
int buf_overruns
int buf_min
int set_frames_skip
int frames_skip
 will be copied to frames_skip if stopped or at start
int frames_skip_left
int kml_enable
int kml_used
 enable KML file generation
char kml_path [300]
 KML file generation used (change only when stopped).
FILE * kml_file
 full path for KML file (if any)
double kml_horHalfFov
 stream to write kml file
double kml_vertHalfFov
 half horizontal Fov (degrees)
double kml_near
 half vertical Fov (degrees)
int kml_height_mode
 Use in KML "near" parameter (<=0 - don't use it).
double kml_height
 1 - actual, 0 - ground
int kml_period
 extra height to add
int kml_last_ts
 generate PhotoOverlay for each kml_period seconds;
int kml_last_uts
 last generated kml file timestamp
exif_dir_table_t kml_exif [ExifKmlNumber]
 last generated kml file timestamp, microseconds
int fd_sens
 file descriptor for JPEG header
interframe_params_t frame_params
interframe_params_t this_frame_params
FILE * vf
int * frame_lengths
FILE * kml_file
 full path for KML file (if any)
exif_dir_table_t kml_exif [ExifKmlNumber]
 last generated kml file timestamp, microseconds
int audio_enable
 store locations of the fields needed for KML generations in the Exif block
int audio_rate
int audio_channels
int audio_format
int allow_sync

Detailed Description

Exif data used for KML.

Definition at line 71 of file camogm.h.


Field Documentation

int camogm_state::segment_duration

Definition at line 72 of file camogm.h.

Referenced by camogm_set_segment_duration(), camogm_status(), and sendImageFrame().

int camogm_state::segment_length

Definition at line 73 of file camogm.h.

Referenced by camogm_set_segment_length(), camogm_status(), and sendImageFrame().

int camogm_state::save_gp

Definition at line 74 of file camogm.h.

Referenced by camogm_set_save_gp(), camogm_status(), and sendImageFrame().

char camogm_state::path_prefix

Definition at line 75 of file camogm.h.

Referenced by audio_start(), camogm_frame_jpeg(), camogm_frame_kml(), camogm_set_prefix(), camogm_start_jpeg(), camogm_start_mov(), camogm_start_ogm(), and camogm_status().

char camogm_state::path

Definition at line 76 of file camogm.h.

Referenced by camogm_frame_jpeg(), camogm_frame_kml(), camogm_start_jpeg(), camogm_start_mov(), camogm_start_ogm(), and camogm_status().

int camogm_state::cirbuf_rp

Definition at line 77 of file camogm.h.

Referenced by camogm_reset(), camogm_start(), camogm_status(), and sendImageFrame().

int camogm_state::fd_circ

-1 - invalid

Definition at line 78 of file camogm.h.

Referenced by camogm_start(), main(), sendImageFrame(), and waitDaemonEnabled().

int camogm_state::fd_head

file descriptor for circbuf

Definition at line 79 of file camogm.h.

Referenced by camogm_start(), and main().

int camogm_state::fd_fparmsall

file descriptor for JPEG header

Definition at line 81 of file camogm.h.

Referenced by main().

int camogm_state::fd_exif

file descriptor for sensor/compressor parameters

Definition at line 82 of file camogm.h.

Referenced by main(), and sendImageFrame().

int camogm_state::head_size

file descriptor for Exif data

Definition at line 83 of file camogm.h.

Referenced by camogm_start(), main(), and sendImageFrame().

char camogm_state::jpegHeader

JPEG header size.

Definition at line 84 of file camogm.h.

Referenced by camogm_start(), and sendImageFrame().

int camogm_state::metadata_start

Definition at line 85 of file camogm.h.

Referenced by camogm_start(), and sendImageFrame().

struct interframe_params_t camogm_state::frame_params

Definition at line 86 of file camogm.h.

Referenced by camogm_start(), camogm_start_mov(), camogm_start_ogm(), camogm_status(), and sendImageFrame().

struct interframe_params_t camogm_state::this_frame_params

Definition at line 87 of file camogm.h.

Referenced by camogm_frame_jpeg(), camogm_frame_kml(), camogm_start(), camogm_status(), and sendImageFrame().

int camogm_state::jpeg_len

Definition at line 88 of file camogm.h.

Referenced by camogm_start(), and sendImageFrame().

int camogm_state::frame_period

Definition at line 89 of file camogm.h.

Referenced by camogm_end_mov(), camogm_start(), and camogm_status().

int camogm_state::width

in microseconds (1/10 of what is needed for the Ogm header)

Definition at line 90 of file camogm.h.

Referenced by camogm_end_mov(), camogm_start(), camogm_start_ogm(), and camogm_status().

int camogm_state::height

Definition at line 91 of file camogm.h.

Referenced by camogm_end_mov(), camogm_start(), camogm_start_ogm(), and camogm_status().

int camogm_state::starting

Definition at line 92 of file camogm.h.

Referenced by camogm_init(), camogm_set_format(), camogm_set_frames_per_chunk(), camogm_set_frames_skip(), camogm_set_max_frames(), camogm_set_timescale(), camogm_start(), camogm_status(), camogm_stop(), and main().

int camogm_state::running

Definition at line 93 of file camogm.h.

Referenced by camogm_init(), camogm_set_format(), camogm_set_frames_per_chunk(), camogm_set_frames_skip(), camogm_set_max_frames(), camogm_set_timescale(), camogm_start(), camogm_status(), camogm_stop(), and main().

ogg_stream_state camogm_state::os

Definition at line 94 of file camogm.h.

Referenced by camogm_end_ogm(), camogm_frame_ogm(), and camogm_start_ogm().

ogg_page camogm_state::og

Definition at line 95 of file camogm.h.

Referenced by camogm_end_ogm(), camogm_frame_ogm(), and camogm_start_ogm().

ogg_packet camogm_state::op

Definition at line 96 of file camogm.h.

elph_ogg_packet camogm_state::eop

Definition at line 97 of file camogm.h.

int camogm_state::serialno

Definition at line 98 of file camogm.h.

Referenced by camogm_init(), and camogm_start_ogm().

ogg_int64_t camogm_state::packetno

Definition at line 99 of file camogm.h.

Referenced by camogm_end_ogm(), camogm_frame_ogm(), and camogm_start_ogm().

ogg_int64_t camogm_state::granulepos

Definition at line 100 of file camogm.h.

Referenced by camogm_end_ogm(), camogm_frame_ogm(), and camogm_start_ogm().

FILE* camogm_state::vf

Definition at line 101 of file camogm.h.

Referenced by camogm_end_ogm(), camogm_frame_ogm(), camogm_init(), camogm_start_ogm(), camogm_status(), camogm_stop(), ogm_flush_to_file(), and sendImageFrame().

int camogm_state::ivf

video file (ogm, fopen)

Definition at line 102 of file camogm.h.

Referenced by camogm_end_mov(), camogm_frame_jpeg(), camogm_frame_mov(), camogm_start_mov(), camogm_status(), parse(), and sendImageFrame().

int camogm_state::last

video file (jpeg, mov - open)

Definition at line 103 of file camogm.h.

Referenced by camogm_init(), and camogm_stop().

int camogm_state::exif

Definition at line 105 of file camogm.h.

Referenced by camogm_init(), camogm_set_exif(), camogm_status(), and sendImageFrame().

int camogm_state::exifSize

Definition at line 108 of file camogm.h.

Referenced by camogm_init(), and sendImageFrame().

unsigned char camogm_state::ed

Definition at line 109 of file camogm.h.

Referenced by camogm_frame_kml(), and sendImageFrame().

int camogm_state::circ_buff_size

Definition at line 111 of file camogm.h.

Referenced by camogm_start(), main(), and sendImageFrame().

int camogm_state::senspars_size

Definition at line 112 of file camogm.h.

Referenced by main().

char camogm_state::debug_name

Definition at line 113 of file camogm.h.

Referenced by camogm_debug(), camogm_init(), and camogm_status().

int camogm_state::set_samples_per_unit

Definition at line 115 of file camogm.h.

double camogm_state::timescale

Definition at line 116 of file camogm.h.

Referenced by camogm_end_mov(), camogm_frame_ogm(), camogm_set_timescale(), camogm_start(), camogm_start_ogm(), and camogm_status().

double camogm_state::set_timescale

current timescale, default 1.0

Definition at line 117 of file camogm.h.

Referenced by camogm_set_timescale(), and camogm_start().

int camogm_state::max_frames

Definition at line 118 of file camogm.h.

Referenced by camogm_set_max_frames(), camogm_start(), camogm_start_mov(), camogm_status(), and sendImageFrame().

int camogm_state::set_max_frames

Definition at line 119 of file camogm.h.

Referenced by camogm_set_max_frames(), and camogm_start().

int camogm_state::frames_per_chunk

Definition at line 120 of file camogm.h.

Referenced by camogm_end_mov(), camogm_set_frames_per_chunk(), camogm_start(), camogm_start_mov(), and camogm_status().

int camogm_state::set_frames_per_chunk

Definition at line 121 of file camogm.h.

Referenced by camogm_set_frames_per_chunk().

int camogm_state::frameno

Definition at line 122 of file camogm.h.

Referenced by camogm_end_mov(), camogm_frame_mov(), camogm_init(), camogm_start(), camogm_status(), and sendImageFrame().

int* camogm_state::frame_lengths

Definition at line 123 of file camogm.h.

Referenced by camogm_end_mov(), camogm_frame_mov(), camogm_init(), and camogm_start_mov().

off_t camogm_state::frame_data_start

Definition at line 124 of file camogm.h.

Referenced by camogm_end_mov(), and camogm_start_mov().

ogg_int64_t camogm_state::time_unit

Quicktime (and else?) - frame data start (0xff 0xd8...).

Definition at line 125 of file camogm.h.

Referenced by camogm_start(), and camogm_start_ogm().

int camogm_state::formats

Definition at line 126 of file camogm.h.

Referenced by camogm_free(), camogm_init(), camogm_set_format(), and camogm_start().

int camogm_state::format

bitmask of used (initialized) formats

Definition at line 127 of file camogm.h.

Referenced by audio_end(), audio_process(), audio_start(), camogm_frame_kml(), camogm_free(), camogm_set_format(), camogm_start(), camogm_status(), camogm_stop(), and sendImageFrame().

int camogm_state::set_format

output file format

Definition at line 128 of file camogm.h.

Referenced by camogm_set_format(), camogm_start(), and sendImageFrame().

elph_packet_chunk camogm_state::packetchunks

output format to set (will be updated after stop)

Definition at line 129 of file camogm.h.

Referenced by camogm_frame_jpeg(), camogm_frame_kml(), camogm_frame_mov(), camogm_frame_ogm(), and sendImageFrame().

int camogm_state::chunk_index

Definition at line 130 of file camogm.h.

Referenced by camogm_frame_jpeg(), camogm_frame_kml(), camogm_frame_mov(), camogm_frame_ogm(), and sendImageFrame().

int camogm_state::buf_overruns

Definition at line 131 of file camogm.h.

Referenced by camogm_reset(), camogm_start(), and camogm_status().

int camogm_state::buf_min

Definition at line 132 of file camogm.h.

Referenced by camogm_start(), and camogm_status().

int camogm_state::set_frames_skip

Definition at line 133 of file camogm.h.

Referenced by camogm_set_frames_skip(), and camogm_start().

int camogm_state::frames_skip

will be copied to frames_skip if stopped or at start

Definition at line 134 of file camogm.h.

Referenced by camogm_set_frames_skip(), camogm_start(), camogm_status(), and sendImageFrame().

int camogm_state::frames_skip_left

number of frames to skip after the one recorded (for time lapse) if negetive - -(interval between frames in seconds)

Definition at line 136 of file camogm.h.

Referenced by camogm_set_frames_skip(), camogm_start(), camogm_status(), and sendImageFrame().

int camogm_state::kml_enable

number of frames left to skip before the next one to be processed if (frames_skip <0) - next timestamp to save an image

Definition at line 139 of file camogm.h.

Referenced by camogm_kml_set_enable(), camogm_start(), and camogm_status().

int camogm_state::kml_used

enable KML file generation

Definition at line 140 of file camogm.h.

Referenced by camogm_status(), camogm_stop(), and sendImageFrame().

char camogm_state::kml_path

KML file generation used (change only when stopped).

Definition at line 141 of file camogm.h.

Referenced by camogm_init(), and camogm_status().

FILE* camogm_state::kml_file

full path for KML file (if any)

Definition at line 142 of file camogm.h.

Referenced by camogm_end_kml(), camogm_frame_kml(), and camogm_init().

double camogm_state::kml_horHalfFov

stream to write kml file

Definition at line 143 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_horHalfFov(), and camogm_status().

double camogm_state::kml_vertHalfFov

half horizontal Fov (degrees)

Definition at line 144 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_vertHalfFov(), and camogm_status().

double camogm_state::kml_near

half vertical Fov (degrees)

Definition at line 145 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_near(), and camogm_status().

int camogm_state::kml_height_mode

Use in KML "near" parameter (<=0 - don't use it).

Definition at line 146 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_height_mode(), and camogm_status().

double camogm_state::kml_height

1 - actual, 0 - ground

Definition at line 147 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_height(), and camogm_status().

int camogm_state::kml_period

extra height to add

Definition at line 148 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_period(), and camogm_status().

int camogm_state::kml_last_ts

generate PhotoOverlay for each kml_period seconds;

Definition at line 149 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_period(), and camogm_status().

int camogm_state::kml_last_uts

last generated kml file timestamp

Definition at line 150 of file camogm.h.

Referenced by camogm_frame_kml(), camogm_kml_set_period(), and camogm_status().

struct exif_dir_table_t camogm_state::kml_exif[ExifKmlNumber]

last generated kml file timestamp, microseconds

Definition at line 151 of file camogm.h.

Referenced by camogm_frame_kml(), and camogm_start_kml().

int camogm_state::fd_sens

file descriptor for JPEG header

Definition at line 87 of file camogm.h.

Referenced by main().

struct interframe_params_t camogm_state::frame_params

Definition at line 92 of file camogm.h.

struct interframe_params_t camogm_state::this_frame_params

Definition at line 93 of file camogm.h.

FILE* camogm_state::vf

Definition at line 101 of file camogm.h.

int* camogm_state::frame_lengths

Definition at line 123 of file camogm.h.

FILE* camogm_state::kml_file

full path for KML file (if any)

Definition at line 142 of file camogm.h.

struct exif_dir_table_t camogm_state::kml_exif[ExifKmlNumber]

last generated kml file timestamp, microseconds

Definition at line 151 of file camogm.h.

int camogm_state::audio_enable

store locations of the fields needed for KML generations in the Exif block

Definition at line 153 of file camogm.h.

Referenced by audio_init(), camogm_end_ogm(), camogm_set_audio_state(), and camogm_start_ogm().

int camogm_state::audio_rate

Definition at line 154 of file camogm.h.

Referenced by audio_init(), begin_wave(), camogm_audio_init(), and camogm_set_audio_format().

int camogm_state::audio_channels

Definition at line 155 of file camogm.h.

Referenced by audio_init(), audio_process(), begin_wave(), camogm_audio_init(), and camogm_set_audio_format().

int camogm_state::audio_format

Definition at line 156 of file camogm.h.

Referenced by audio_init(), and begin_wave().

int camogm_state::allow_sync

Definition at line 157 of file camogm.h.

Referenced by camogm_frame_ogm(), and camogm_set_sync_state().


The documentation for this struct was generated from the following files:
Generated on Fri Nov 28 00:08:43 2008 for elphel by  doxygen 1.5.1