Dirac - A Video Codec
Created by the British Broadcasting Corporation.
dirac::QualityMonitor Class Reference
Class to monitor the quality of pictures and adjust coding parameters appropriately.
#include <quality_monitor.h>
Collaboration diagram for dirac::QualityMonitor:
[legend]List of all members.Public Member Functions
Private Member Functions
- double QualityVal (const PicArray &coded_data, const PicArray &orig_data, const int xlen, const int ylen, const CompSort cs)
- Calculate the quality of coded wrt original picture.
Private Attributes
Constructor & Destructor Documentation
Member Function Documentation
double dirac::QualityMonitor::QualityVal |
( |
const PicArray & |
coded_data, |
|
|
const PicArray & |
orig_data, |
|
|
const int |
xlen, |
|
|
const int |
ylen, |
|
|
const CompSort |
cs |
|
) |
[private] |
|
void dirac::QualityMonitor::ResetAll |
( |
|
) |
|
|
void dirac::QualityMonitor::UpdateModel |
( |
const Frame & |
ld_frame, |
|
|
const Frame & |
orig_frame |
|
) |
|
|
|
Update the quality factors, returning true if we need to recode - Parameters:
-
| ld_frame | the locally-decoded frame |
| orig_frame | the original frame |
|
void dirac::QualityMonitor::WriteLog |
( |
|
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following file:
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.