steghide 0.5.1
|
a CvrStgFile in Sun .au format
#include <AuFile.h>
Classes | |
class | AuHeader |
Public Member Functions | |
AuFile (BinaryIO *io) | |
~AuFile (void) | |
void | read (BinaryIO *io) |
void | write (void) |
std::list< CvrStgFile::Property > | getProperties (void) const |
std::vector< MatchingAlgorithm * > | getMatchingAlgorithms (Graph *g, Matching *m) const |
unsigned long | getNumSamples (void) const |
void | replaceSample (const SamplePos pos, const SampleValue *s) |
SampleValue * | getSampleValue (SamplePos pos) const |
![]() | |
CvrStgFile (void) | |
virtual | ~CvrStgFile (void) |
virtual void | read (BinaryIO *io) |
virtual void | write (void) |
void | transform (const std::string &fn) |
virtual std::list< Property > | getProperties (void) const =0 |
virtual std::vector< SampleValueAdjacencyList * > | calcSVAdjacencyLists (const std::vector< SampleValue * > &svs) const |
virtual std::vector< MatchingAlgorithm * > | getMatchingAlgorithms (Graph *g, Matching *m) const |
const std::string & | getName (void) const |
bool | is_std (void) const |
unsigned long | getCapacity (void) const |
std::string | getHRCapacity (void) const |
unsigned short | getSamplesPerVertex (void) const |
UWORD32 | getRadius (void) const |
EmbValue | getEmbValueModulus (void) const |
virtual EmbValue | getEmbeddedValue (const SamplePos pos) const |
virtual unsigned long | getNumSamples (void) const =0 |
virtual SampleValue * | getSampleValue (const SamplePos pos) const =0 |
virtual void | replaceSample (const SamplePos pos, const SampleValue *s)=0 |
Private Types | |
enum | ENCODING { MULAW8 = 1 , PCM8 = 2 , PCM16 = 3 } |
Private Attributes | |
AuHeader | Header |
std::vector< BYTE > | Infofield |
AudioData * | Data |
Static Private Attributes | |
static const UWORD32 | Radius_MuLaw8 = 1 |
static const UWORD32 | Radius_PCM8 = 1 |
static const UWORD32 | Radius_PCM16 = 20 |
static const unsigned short | SamplesPerVertex = 2 |
static const EmbValue | EmbValueModulus = 2 |
Additional Inherited Members | |
![]() | |
static CvrStgFile * | readFile (const std::string &fn) |
![]() | |
void | setSamplesPerVertex (unsigned short spv) |
void | setRadius (UWORD32 r) |
void | setEmbValueModulus (EmbValue m) |
void | setBinIO (BinaryIO *io) |
BinaryIO * | getBinIO (void) const |
|
private |
AuFile::AuFile | ( | BinaryIO * | io | ) |
AuFile::~AuFile | ( | void | ) |
|
virtual |
get recommended list of matching algorithms
m | an empty matching - will be used in construction of MatchingAlgorithm objects |
The MatchingAlgorithm objects returned by this function should be deleted by the caller if they are no longer needed.
Reimplemented from CvrStgFile.
|
inlinevirtual |
get the number of samples in this CvrStgObject
Implements CvrStgObject.
|
virtual |
Implements CvrStgFile.
|
inlinevirtual |
get the sample at position pos
pos | the position of a sample (must be in 0...getNumSamples()-1) |
The sample object is created in this function and should be deleted by the caller. The derived class should check the condition(s) given above in its Implementation of this function.
Implements CvrStgObject.
|
virtual |
Reimplemented from CvrStgFile.
|
inlinevirtual |
replace a sample thus (possibly) altering the value of the bit returned by SampleValue->getBit()
pos | the position of the sample (must be in 0...getNumSamples()-1) |
s | the sample value that should replace the current sample value (must be of correct type for this CvrStgObject) |
The derived class should check the condition(s) given above in its Implementation of this function.
Implements CvrStgObject.
|
virtual |
Reimplemented from CvrStgFile.
|
private |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |