libsstvenc
Asynchronous Analogue SSTV encoder
Loading...
Searching...
No Matches
Collaboration diagram for Colour-space modes supported:

Macros

#define SSTVENC_CSO_MODE_MONO   (0 << SSTVENC_CSO_BIT_MODE)
 
#define SSTVENC_CSO_MODE_RGB   (1 << SSTVENC_CSO_BIT_MODE)
 
#define SSTVENC_CSO_MODE_YUV   (2 << SSTVENC_CSO_BIT_MODE)
 
#define SSTVENC_CSO_MODE_YUV2   (3 << SSTVENC_CSO_BIT_MODE)
 

Detailed Description

Macro Definition Documentation

◆ SSTVENC_CSO_MODE_MONO

#define SSTVENC_CSO_MODE_MONO   (0 << SSTVENC_CSO_BIT_MODE)

SSTV mode is monochrome (1 channel, no colour)

Definition at line 60 of file sstvmode.h.

Referenced by main(), show_modes(), sstvenc_get_pixel_posn(), and sstvenc_mode_get_fb_sz().

◆ SSTVENC_CSO_MODE_RGB

#define SSTVENC_CSO_MODE_RGB   (1 << SSTVENC_CSO_BIT_MODE)

SSTV mode is colour using the RGB colourspace

Definition at line 63 of file sstvmode.h.

Referenced by main(), and show_modes().

◆ SSTVENC_CSO_MODE_YUV

#define SSTVENC_CSO_MODE_YUV   (2 << SSTVENC_CSO_BIT_MODE)

SSTV mode is colour using the YUV (aka YCrCb) colourspace

Definition at line 66 of file sstvmode.h.

Referenced by main(), and show_modes().

◆ SSTVENC_CSO_MODE_YUV2

#define SSTVENC_CSO_MODE_YUV2   (3 << SSTVENC_CSO_BIT_MODE)

YUV colour space averaged over two rows. Used in PD modes:

  • Y is the lumance on the even row
  • U and V are averaged over both rows
  • Y2 is the luminance of the odd row.

Definition at line 75 of file sstvmode.h.

Referenced by main(), show_modes(), sstvenc_encoder_next_channel_pulse(), sstvenc_encoder_next_image_pulse(), and sstvenc_mode_get_txtime().