quality.rd_plot

get_all_metrics(configuration)[source]
Parameters:

configuration (ConfigurationReader)

Return type:

Dict

class RDCurveFromVMAFLikeReports(path, tool_short_name, configuration, encoded_path, encoded_extension, lightfield, target_rates, distortion_name, distortion_unit, title, codec_name, encoded_lightfield=None)[source]

Bases: RDCurve

Parameters:

tool_short_name (str)

static read_reports(path, tool_short_name, configuration, codec_name, encoded_path, encoded_extension, lightfield, encoded_lightfield, target_rates, distortion_name)[source]
Parameters:

tool_short_name (str)

class RDCurveMatplotlibView(configuration, rd_curve, color, marker)[source]

Bases: object

property marker
property color
property rd_curve
property db_title
show(interpolation=100, interpolation_method='akima')[source]
class RDPlotMatplotlib(configuration, rd_plot_config, lightfield)[source]

Bases: object

Parameters:
  • configuration (ConfigurationReader)

  • rd_plot_config (List[Dict[str, Any]])

  • lightfield (LightField)

plot(rd_curves, title, anchor=None, bpp_logscale=True, target_bpps=None, interpolation=100, interpolation_method='akima', filename=None, generate_bd_report=True)[source]
process_sample_file(target_rates, distortion_name, file_path)[source]
Parameters:
  • target_rates (List)

  • distortion_name (str)

  • file_path (Path)

Return type:

Tuple[List, List]

process_target_rate(bpp, path, tool_short_name, configuration, encoded_path, encoded_extension, lightfield, encoded_lightfield, distortion_name, ctc_enc)[source]
Parameters:
  • bpp (float)

  • path (str)

  • tool_short_name (str)

  • configuration (ConfigurationReader)

  • encoded_path (str)

  • encoded_extension (str)

  • lightfield (LightField)

  • encoded_lightfield (LightField)

  • distortion_name (str)

  • ctc_enc (CodecWrapper)

Return type:

RDResult | None