Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac_assertions.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dirac
 Definition of class SequenceHeaderByteIO.

Macros

#define cmpCOND(exp, trueRes, falseRes)
#define ERREXP(exp, errfn, text)
#define ASSERT(exp)
#define ASSERTM(exp, text)
#define TEST(exp)
#define TESTM(exp, text)
#define REPORT(exp)
#define REPORTM(exp, text)

Functions

void dirac::dirac_assert (const char *p_fname, int line_number, const char *p_mess)
void dirac::dirac_report (const char *p_fname, int line_number, const char *p_mess)

Macro Definition Documentation

◆ ASSERT

#define ASSERT ( exp)
Value:
ERREXP(exp,dirac_assert,NULL)
#define ERREXP(exp, errfn, text)
Definition dirac_assertions.h:46

◆ ASSERTM

#define ASSERTM ( exp,
text )
Value:
ERREXP(exp,dirac_assert,text)

◆ cmpCOND

#define cmpCOND ( exp,
trueRes,
falseRes )
Value:
( (exp) ? (trueRes) : (falseRes) )

◆ ERREXP

#define ERREXP ( exp,
errfn,
text )
Value:
cmpCOND((exp), ((void)0), errfn(__FILE__,__LINE__,text))
#define cmpCOND(exp, trueRes, falseRes)
Definition dirac_assertions.h:43

◆ REPORT

#define REPORT ( exp)
Value:
ERREXP(exp,dirac_report,NULL)

◆ REPORTM

#define REPORTM ( exp,
text )
Value:
ERREXP(exp,dirac_report,text)

◆ TEST

#define TEST ( exp)

◆ TESTM


© 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.