- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# dirac::QualityMonitor Class Reference

Class to monitor the quality of pictures and adjust coding parameters appropriately. More...

`#include <quality_monitor.h>`

List of all members.

## Public Member Functions
| QualityMonitor (EncoderParams &ep, const SeqParams &sparams)
| Constructor. Sets up initial Lagrangian values.
bool | UpdateModel (const Frame &ld_frame, const Frame &orig_frame, const int count)
| Update the quality factors, returning true if we need to recode.
void | ResetAll ()
| Reset the quality factors (say if there's been a cut).

## Detailed Description

Class to monitor the quality of pictures and adjust coding parameters appropriately.

Definition at line 48 of file quality_monitor.h.

## Member Function Documentation

bool QualityMonitor::UpdateModel | ( | const Frame & | ld_frame,
|  | const Frame & | orig_frame,
|  | const int | count
| ) |

  | Update the quality factors, returning true if we need to recode. Update the quality factors, returning true if we need to recode Parameters:
  | ld_frame | the locally-decoded frame
  | orig_frame | the original frame
  | count | the number of times we've tried to code this frame before
Definition at line 100 of file quality_monitor.cpp. References dirac::FrameParams::FSort(), dirac::Frame::GetFparams(), dirac::EncoderParams::Lambda(), and dirac::Frame::Ydata(). Referenced by dirac::SequenceCompressor::CompressNextFrame().

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

- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_encoder/quality_monitor.h
- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_encoder/quality_monitor.cpp