Created by the British Broadcasting Corporation.
A class for calculating the difference between a block and its DC value (average)
#include <me_utils.h>
Public Member Functions | |
| IntraBlockDiff (const PicArray &pic) | |
| Constructor, initialising the picture data. More... | |
| float | Diff (const BlockDiffParams &dparams, ValueType &dc_val) |
| Do the difference, calculating the DC value and returning SAD. More... | |
| ValueType | CalcDC (const BlockDiffParams &dparams) |
| Calculate a DC value. More... | |
Private Member Functions | |
| IntraBlockDiff (const IntraBlockDiff &cpy) | |
| Private, bodyless copy-constructor: class should not be copied. More... | |
| IntraBlockDiff & | operator= (const IntraBlockDiff &rhs) |
| Private, bodyless assignment=: class should not be assigned. More... | |
Private Attributes | |
| const PicArray & | m_pic_data |
| dirac::IntraBlockDiff::IntraBlockDiff | ( | const PicArray & | pic | ) |
|
private |
| ValueType dirac::IntraBlockDiff::CalcDC | ( | const BlockDiffParams & | dparams | ) |
| float dirac::IntraBlockDiff::Diff | ( | const BlockDiffParams & | dparams, |
| ValueType & | dc_val | ||
| ) |
Do the difference, calculating the DC value and returning SAD
| dparams | block parameters |
| dc_val | DC value |
|
private |
|
private |
© 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.