TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::BitrateDifferenceDVBT Class Reference

#include <tsBitrateDifferenceDVBT.h>

Collaboration diagram for ts::BitrateDifferenceDVBT:

Public Member Functions

 BitrateDifferenceDVBT ()
bool operator< (const BitrateDifferenceDVBT &other) const

Static Public Member Functions

static void EvaluateToBitrate (BitrateDifferenceDVBTList &params, const BitRate &bitrate)

Public Attributes

BitRate bitrate_diff = 0
 Difference between a target bitrate and the theoretial bitrate for these tuner parameters.
ModulationArgs tune {}
 Modulation parameters.

Detailed Description

A variant of DVB-T tuners parameters with an offset between a target bitrate and their theoretical bitrate.

Constructor & Destructor Documentation

◆ BitrateDifferenceDVBT()

ts::BitrateDifferenceDVBT::BitrateDifferenceDVBT ( )

Default constructor.

Member Function Documentation

◆ operator<()

bool ts::BitrateDifferenceDVBT::operator< ( const BitrateDifferenceDVBT & other) const

Comparison operator for list sort. Sort criterion: increasing order of absolute value of bitrate_diff. This allow the creation of a list of parameters, from the closest to a target bitrate.

Parameters
[in]otherOther instance to compare.
Returns
True if this object is logically less than other.

◆ EvaluateToBitrate()

void ts::BitrateDifferenceDVBT::EvaluateToBitrate ( BitrateDifferenceDVBTList & params,
const BitRate & bitrate )
static

Build a list of all possible combinations of DVB-T parameters for a target bitrate.

Parameters
[out]paramsList of all possible combinations of bandwidth, constellation, guard interval and high-priority FEC, sorted in increasing order of bitrate difference from a bitrate.
[in]bitrateTarget bitrate in bits/second.

The documentation for this class was generated from the following file: