OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
HawkeyeDecode.c File Reference
#include "HawkeyeDecode.h"
#include <string.h>
#include <stdio.h>
Include dependency graph for HawkeyeDecode.c:

Go to the source code of this file.

Classes

struct  RowInfo
 

Macros

#define DEBUG_LOG   0
 
#define HEADER_DATA_LEN   7
 

Functions

uint32_t FindHeader (uint8_t *stream, uint32_t streamLength, uint32_t startPos, HeaderInfo *header)
 
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

◆ DEBUG_LOG

#define DEBUG_LOG   0

Definition at line 18 of file HawkeyeDecode.c.

◆ HEADER_DATA_LEN

#define HEADER_DATA_LEN   7

Definition at line 21 of file HawkeyeDecode.c.

Function Documentation

◆ FindHeader()

uint32_t FindHeader ( uint8_t *  stream,
uint32_t  streamLength,
uint32_t  startPos,
HeaderInfo header 
)

Definition at line 87 of file HawkeyeDecode.c.

◆ 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.