#include <JpegSampleValue.h>
Inheritance diagram for JpegSampleValue:
Public Member Functions | |
JpegSampleValue (int c) | |
SampleValue * | getNearestTargetSampleValue (EmbValue t) const |
UWORD32 | calcDistance (const SampleValue *s) const |
std::string | getName (void) const |
SWORD16 | getDctCoeff (void) const |
Static Public Member Functions | |
EmbValue | calcEValue (SWORD16 dctc) |
Private Attributes | |
SWORD16 | DctCoeff |
|
|
|
calculate the distance between the sample value s and this sample value
Implements SampleValue. |
|
|
|
|
|
return a short name uniquely identifying this sample value Implements SampleValue. |
|
get the nearest (with the least distance to this sample value) sample value whose embedded value equals the specified target
The returned SampleValue object should be deleted by the callser. Implements SampleValue. |
|
|