OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
HawkeyeDecode.h File Reference
#include "Hawkeye.h"
Include dependency graph for HawkeyeDecode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HeaderInfo
 
struct  HawkeyeBandInfo
 
struct  HawkeyeTelemetryInfo
 
struct  HawkeyeImageInfo
 
struct  HawkeyeStreamInfo
 

Macros

#define MAX_FINDERSCOPE_IMAGES   25
 
#define MAX_TELEMETRY_RECORDS   12
 
#define INCLUDE_GPS   0
 

Enumerations

enum  HAWKEYE_STREAM_ERROR { HSE_NO_ERROR, HSE_NO_IMAGE_PARAMETERS, HSE_NO_HEADER_FOUND }
 
enum  ENCODED_BLOCK_TYPE {
  EBT_NULL, EBT_UNCOMPRESSED, EBT_COMPRESSED, EBT_IMAGE_PARAMS,
  EBT_TELEMETRY, EBT_EOF, EBT_MISSION_LOG
}
 

Functions

HAWKEYE_STREAM_ERROR HawkeyeScanStream (uint8_t *stream, uint32_t streamLength, HawkeyeStreamInfo *streamInfo)
 
HAWKEYE_STREAM_ERROR HawkeyeDecodeSpectralImage (uint16_t bandNo, uint16_t *pixels, uint32_t pixelLength, uint16_t *averageDarkPixels, uint16_t averageDarkPixelLength)
 
HAWKEYE_STREAM_ERROR HawkeyeDecodeFinderscopeImage (uint16_t imageNo, uint16_t *pixels, uint32_t pixelLength)
 

Macro Definition Documentation

◆ INCLUDE_GPS

#define INCLUDE_GPS   0

Definition at line 20 of file HawkeyeDecode.h.

◆ MAX_FINDERSCOPE_IMAGES

#define MAX_FINDERSCOPE_IMAGES   25

Definition at line 18 of file HawkeyeDecode.h.

◆ MAX_TELEMETRY_RECORDS

#define MAX_TELEMETRY_RECORDS   12

Definition at line 19 of file HawkeyeDecode.h.

Enumeration Type Documentation

◆ ENCODED_BLOCK_TYPE

Enumerator
EBT_NULL 
EBT_UNCOMPRESSED 
EBT_COMPRESSED 
EBT_IMAGE_PARAMS 
EBT_TELEMETRY 
EBT_EOF 
EBT_MISSION_LOG 

Definition at line 24 of file HawkeyeDecode.h.

◆ HAWKEYE_STREAM_ERROR

Enumerator
HSE_NO_ERROR 
HSE_NO_IMAGE_PARAMETERS 
HSE_NO_HEADER_FOUND 

Definition at line 22 of file HawkeyeDecode.h.

Function Documentation

◆ HawkeyeDecodeFinderscopeImage()

HAWKEYE_STREAM_ERROR HawkeyeDecodeFinderscopeImage ( uint16_t  imageNo,
uint16_t *  pixels,
uint32_t  pixelLength 
)

Definition at line 801 of file HawkeyeDecode.c.

◆ HawkeyeDecodeSpectralImage()

HAWKEYE_STREAM_ERROR HawkeyeDecodeSpectralImage ( uint16_t  bandNo,
uint16_t *  pixels,
uint32_t  pixelLength,
uint16_t *  averageDarkPixels,
uint16_t  averageDarkPixelLength 
)

Definition at line 698 of file HawkeyeDecode.c.

◆ HawkeyeScanStream()

HAWKEYE_STREAM_ERROR HawkeyeScanStream ( uint8_t *  stream,
uint32_t  streamLength,
HawkeyeStreamInfo streamInfo 
)

Definition at line 401 of file HawkeyeDecode.c.