HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
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.

Classes

class  TComPicYuv
 picture YUV buffer class More...
 

Functions

UInt calcChecksum (const TComPicYuv &pic, TComPictureHash &digest, const BitDepths &bitDepths)
 
UInt calcCRC (const TComPicYuv &pic, TComPictureHash &digest, const BitDepths &bitDepths)
 
UInt calcMD5 (const TComPicYuv &pic, TComPictureHash &digest, const BitDepths &bitDepths)
 
std::string hashToString (const TComPictureHash &digest, Int numChar)
 

Detailed Description

picture YUV buffer class (header)

Definition in file TComPicYuv.h.

Function Documentation

UInt calcChecksum ( const TComPicYuv pic,
TComPictureHash digest,
const BitDepths bitDepths 
)

Definition at line 167 of file TComPicYuvMD5.cpp.

UInt calcCRC ( const TComPicYuv pic,
TComPictureHash digest,
const BitDepths bitDepths 
)

Definition at line 129 of file TComPicYuvMD5.cpp.

UInt calcMD5 ( const TComPicYuv pic,
TComPictureHash digest,
const BitDepths bitDepths 
)

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 hashToString ( const TComPictureHash digest,
Int  numChar 
)

Definition at line 209 of file TComPicYuvMD5.cpp.