HEVC Test Model (HM)  HM-16.3
TComPicYuv.h File Reference

picture YUV buffer class (header) More...

#include <stdio.h>
#include "CommonDef.h"
#include "TComRom.h"
#include "TComChromaFormat.h"
#include "SEI.h"
Include dependency graph for TComPicYuv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  TComPicYuv
 picture YUV buffer class More...


UInt calcChecksum (const TComPicYuv &pic, TComDigest &digest)
UInt calcCRC (const TComPicYuv &pic, TComDigest &digest)
UInt calcMD5 (const TComPicYuv &pic, TComDigest &digest)
std::string digestToString (const TComDigest &digest, Int numChar)

Detailed Description

picture YUV buffer class (header)

Definition in file TComPicYuv.h.

Function Documentation

UInt calcChecksum ( const TComPicYuv pic,
TComDigest digest 

Definition at line 167 of file TComPicYuvMD5.cpp.

UInt calcCRC ( const TComPicYuv pic,
TComDigest digest 

Definition at line 129 of file TComPicYuvMD5.cpp.

UInt calcMD5 ( const TComPicYuv pic,
TComDigest digest 

Calculate the MD5sum of pic, storing the result in digest. MD5 calculation is performed on Y' then Cb, then Cr; each in raster order. Pel data is inserted into the MD5 function in little-endian byte order, using sufficient bytes to represent the picture bitdepth. Eg, 10bit data uses little-endian two byte words; 8bit data uses single byte words.

Definition at line 185 of file TComPicYuvMD5.cpp.

std::string digestToString ( const TComDigest digest,
Int  numChar 

Definition at line 209 of file TComPicYuvMD5.cpp.