HEVC Test Model (HM)  HM-16.3
Classes
TAppDecoder - Decoder application

Classes

class  TAppDecCfg
 Decoder configuration class. More...
 
class  TAppDecTop
 decoder application class More...
 
Bool g_md5_mismatch = false
 top level flag that indicates if there has been a decoding mismatch More...
 
int main (int argc, char *argv[])
 
Bool TAppDecCfg::parseCfg (Int argc, Char *argv[])
 initialize option class from configuration More...
 
 TAppDecTop::TAppDecTop ()
 
Void TAppDecTop::create ()
 create internal members More...
 
Void TAppDecTop::destroy ()
 destroy internal members More...
 
Void TAppDecTop::decode ()
 main decoding function More...
 
Void TAppDecTop::xCreateDecLib ()
 create internal classes More...
 
Void TAppDecTop::xDestroyDecLib ()
 destroy internal classes More...
 
Void TAppDecTop::xInitDecLib ()
 initialize decoder class More...
 
Void TAppDecTop::xWriteOutput (TComList< TComPic * > *pcListPic, UInt tId)
 write YUV to file More...
 
Void TAppDecTop::xFlushOutput (TComList< TComPic * > *pcListPic)
 flush all remaining decoded pictures to file More...
 
Bool TAppDecTop::isNaluWithinTargetDecLayerIdSet (InputNALUnit *nalu)
 check whether given Nalu is within targetDecLayerIdSet More...
 

Detailed Description

Function Documentation

Void TAppDecTop::create ( )

create internal members

Definition at line 63 of file TAppDecTop.cpp.

Void TAppDecTop::decode ( )

main decoding function

  • create internal class
  • initialize internal class
  • until the end of the bitstream, call decoding function in TDecTop class
  • delete allocated buffers
  • destroy internal class

Definition at line 93 of file TAppDecTop.cpp.

Void TAppDecTop::destroy ( )

destroy internal members

Definition at line 67 of file TAppDecTop.cpp.

Bool TAppDecTop::isNaluWithinTargetDecLayerIdSet ( InputNALUnit nalu)
protected

check whether given Nalu is within targetDecLayerIdSet

Parameters
naluInput nalu to check whether its LayerId is within targetDecLayerIdSet

Definition at line 645 of file TAppDecTop.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 52 of file decmain.cpp.

Bool TAppDecCfg::parseCfg ( Int  argc,
Char argv[] 
)

initialize option class from configuration

Parameters
argcnumber of arguments
argvarray of arguments

Definition at line 61 of file TAppDecCfg.cpp.

TAppDecTop::TAppDecTop ( )

Definition at line 58 of file TAppDecTop.cpp.

Void TAppDecTop::xCreateDecLib ( )
protected

create internal classes

Definition at line 262 of file TAppDecTop.cpp.

Void TAppDecTop::xDestroyDecLib ( )
protected

destroy internal classes

Definition at line 268 of file TAppDecTop.cpp.

Void TAppDecTop::xFlushOutput ( TComList< TComPic * > *  pcListPic)
protected

flush all remaining decoded pictures to file

Parameters
pcListPiclist of pictures to be written to file
Todo:
DYN_REF_FREE should be revised

Definition at line 493 of file TAppDecTop.cpp.

Void TAppDecTop::xInitDecLib ( )
protected

initialize decoder class

Definition at line 279 of file TAppDecTop.cpp.

Void TAppDecTop::xWriteOutput ( TComList< TComPic * > *  pcListPic,
UInt  tId 
)
protected

write YUV to file

Parameters
pcListPiclist of pictures to be written to file
tIdtemporal sub-layer ID
Todo:
DYN_REF_FREE should be revised

Definition at line 298 of file TAppDecTop.cpp.

Variable Documentation

Bool g_md5_mismatch = false

top level flag that indicates if there has been a decoding mismatch

top level flag to signal when there is a decode problem

Definition at line 46 of file decmain.cpp.