frame_params_t Struct Reference

width,height, quality are still needed even with new Exif - it is used to rebuild JPEG header More...

#include <c313a.h>


Data Fields

unsigned long exposure
unsigned short width
unsigned short height
 frame width, pixels
unsigned long colorsat
 frame height, pixels
unsigned char color
unsigned char quality
unsigned char gamma
 compression quality (%)
unsigned char black
unsigned short rscale
unsigned short bscale
unsigned char gain_r
unsigned char gain_g
unsigned char gain_b
unsigned char gain_gb
unsigned short meta_index
 unsigned char bindec_vert; //! ((bv-1) << 4) | (dv-1) & 0xf (binning/decimation vertical , 1..16 for each)
unsigned short signffff
 index of the linked meta page
union {
   unsigned long   timestamp_sec
   unsigned long   frame_length
 number of seconds since 1970 till the start of the frame exposure
}; 
unsigned long timestamp_usec


Detailed Description

width,height, quality are still needed even with new Exif - it is used to rebuild JPEG header

width height quality meta_index signffff timestamp_sec (camogm only, exif is separate) timestamp_usec (camogm only, exif is separate)

Definition at line 880 of file c313a.h.


Field Documentation

unsigned long frame_params_t::exposure

Definition at line 881 of file c313a.h.

Referenced by advance_imageParamsR(), and dumpFrameParams().

unsigned short frame_params_t::width

Definition at line 882 of file c313a.h.

Referenced by dumpFrameParams(), jpeghead_lseek(), and programSensor().

unsigned short frame_params_t::height

frame width, pixels

Definition at line 883 of file c313a.h.

Referenced by dumpFrameParams(), jpeghead_lseek(), and programSensor().

unsigned long frame_params_t::colorsat

frame height, pixels

Definition at line 884 of file c313a.h.

Referenced by dumpFrameParams(), and programSensor().

unsigned char frame_params_t::color

Definition at line 885 of file c313a.h.

Referenced by dumpFrameParams(), and programSensor().

unsigned char frame_params_t::quality

Definition at line 886 of file c313a.h.

Referenced by Video::capture(), dumpFrameParams(), jpeghead_lseek(), and update_JPEG_quality().

unsigned char frame_params_t::gamma

compression quality (%)

Definition at line 887 of file c313a.h.

Referenced by dumpFrameParams(), and programSensor().

unsigned char frame_params_t::black

Definition at line 888 of file c313a.h.

Referenced by dumpFrameParams(), and programSensor().

unsigned short frame_params_t::rscale

Definition at line 889 of file c313a.h.

Referenced by dumpFrameParams(), and programSensor().

unsigned short frame_params_t::bscale

Definition at line 890 of file c313a.h.

Referenced by dumpFrameParams(), and programSensor().

unsigned char frame_params_t::gain_r

Definition at line 892 of file c313a.h.

Referenced by dumpFrameParams(), and program_gains_mt9x001().

unsigned char frame_params_t::gain_g

Definition at line 893 of file c313a.h.

Referenced by dumpFrameParams(), and program_gains_mt9x001().

unsigned char frame_params_t::gain_b

Definition at line 894 of file c313a.h.

Referenced by dumpFrameParams(), and program_gains_mt9x001().

unsigned char frame_params_t::gain_gb

Definition at line 895 of file c313a.h.

Referenced by dumpFrameParams(), and program_gains_mt9x001().

unsigned short frame_params_t::meta_index

unsigned char bindec_vert; //! ((bv-1) << 4) | (dv-1) & 0xf (binning/decimation vertical , 1..16 for each)

Definition at line 898 of file c313a.h.

Referenced by dumpFrameParams(), and sendImage().

unsigned short frame_params_t::signffff

index of the linked meta page

Definition at line 900 of file c313a.h.

Referenced by dumpFrameParams(), jpeghead_lseek(), and sendImage().

unsigned long frame_params_t::timestamp_sec

Definition at line 903 of file c313a.h.

Referenced by circbuf_lseek(), dumpFrameParams(), and jpeghead_lseek().

unsigned long frame_params_t::frame_length

number of seconds since 1970 till the start of the frame exposure

Definition at line 904 of file c313a.h.

Referenced by sendImage().

union { ... }

should be 0xffff - it will be a signature that JPEG data was not overwritten, JPEG bitstream can not have two 0xff after each other

unsigned long frame_params_t::timestamp_usec

Definition at line 906 of file c313a.h.

Referenced by dumpFrameParams().


The documentation for this struct was generated from the following file:
Generated on Thu Aug 7 16:21:06 2008 for elphel by  doxygen 1.5.1