GNU Radio's DVBS2RX Package
|
PLSC Encoder. More...
#include <pl_signaling.h>
Public Member Functions | |
void | encode (gr_complex *bpsk_out, const uint8_t plsc) |
Encode the PLSC info into the corresponding pi/2 BPSK symbols. | |
void | encode (gr_complex *bpsk_out, const uint8_t modcod, bool short_fecframe, bool has_pilots) |
Encode the PLSC info into the corresponding pi/2 BPSK symbols. | |
PLSC Encoder.
Encodes a 7-bit physical layer signalling (PLS) code into a sequence of 64 pi/2 BPSK symbols. Implements the PLSC scrambling and pi/2 BPSK mapping.
void gr::dvbs2rx::plsc_encoder::encode | ( | gr_complex * | bpsk_out, |
const uint8_t | modcod, | ||
bool | short_fecframe, | ||
bool | has_pilots | ||
) |
Encode the PLSC info into the corresponding pi/2 BPSK symbols.
bpsk_out | (gr_complex *) Pointer to output pi/2 BPSK symbols. |
modcod | 5-bit modulation and coding scheme. |
short_fecframe | False for normal FECFRAME (64800 bits), true for short FECFRAME (16200 bits). |
has_pilots | Whether the FECFRAME has pilots. |
void gr::dvbs2rx::plsc_encoder::encode | ( | gr_complex * | bpsk_out, |
const uint8_t | plsc | ||
) |
Encode the PLSC info into the corresponding pi/2 BPSK symbols.
bpsk_out | (gr_complex *) Pointer to output pi/2 BPSK symbols. |
plsc | 7-bit PLSC to be mapped into pi/2 BPSK symbols. |