ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/RayTracer/include/G4RTJpegCoder.hh>
Public Member Functions | |
G4JpegCoder (u_char *colorR, u_char *colorG, u_char *colorB) | |
~G4JpegCoder (void) | |
void | GetJpegData (char **aJpegData, int &size) |
void | SetJpegProperty (const G4JpegProperty &aProperty) |
int | DoCoding (void) |
Protected Member Functions | |
void | CodeMCU () |
void | makeYCC (int ux, int uy) |
void | CodeHuffman (int cs) |
void | ForwardDCT (int *picData) |
void | Quantization (int cs) |
void | WriteHeader (void) |
void | WriteEOI (void) |
Protected Attributes | |
u_char * | mRgb [3] |
int | mYBlock [4][64] |
int | mCbBlock [64] |
int | mCrBlock [64] |
double | mCosT [8][8] |
int | mDCTData [64] |
int | mPreDC [3] |
G4JpegProperty | mProperty |
int | mNumVUnits |
int | mNumHUnits |
G4OutBitStream * | mOBSP |
Definition at line 50 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 50 of file G4RTJpegCoder.hh
Definition at line 42 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 42 of file G4RTJpegCoder.cc
G4JpegCoder::~G4JpegCoder | ( | void | ) |
Definition at line 56 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 56 of file G4RTJpegCoder.cc
Definition at line 186 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 186 of file G4RTJpegCoder.cc
References kdfinder::abs(), CAcHuffmanT, CDcHuffmanT, CEOBidx, G4HuffmanCodeTable::CodeT, CZRLidx, mDCTData, mOBSP, mPreDC, n, G4HuffmanCodeTable::numOfElement, G4OutBitStream::SetBits(), G4HuffmanCodeTable::SizeT, v, YAcHuffmanT, YDcHuffmanT, YEOBidx, YZRLidx, and Zigzag.
Referenced by CodeMCU().
Definition at line 115 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 115 of file G4RTJpegCoder.cc
References CodeHuffman(), ForwardDCT(), mCbBlock, mCrBlock, mYBlock, n, and Quantization().
Referenced by DoCoding().
Definition at line 74 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 74 of file G4RTJpegCoder.cc
References CodeMCU(), M_NoError, M_RuntimeError, makeYCC(), mCbBlock, mCrBlock, mNumHUnits, mNumVUnits, mOBSP, mProperty, G4JpegProperty::nColumn, G4JpegProperty::nRow, WriteEOI(), and WriteHeader().
Referenced by G4RTJpegMaker::CreateFigureFile().
Definition at line 257 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 257 of file G4RTJpegCoder.cc
References DisSqrt2, int(), mCosT, mDCTData, sum, Acts::UnitConstants::u, v, x, and y.
Referenced by CodeMCU().
Definition at line 60 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 60 of file G4RTJpegCoder.cc
References G4OutBitStream::GetStreamAddress(), G4OutBitStream::GetStreamSize(), and mOBSP.
Referenced by G4RTJpegMaker::CreateFigureFile().
Definition at line 132 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 132 of file G4RTJpegCoder.cc
References b, incremental_prev_tag::idx, int(), mCbBlock, mCrBlock, mProperty, mRgb, mYBlock, n, G4JpegProperty::nColumn, G4JpegProperty::nRow, Acts::UnitConstants::u, x, and y.
Referenced by DoCoding().
Definition at line 247 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 247 of file G4RTJpegCoder.cc
References CQuantumT, mDCTData, and YQuantumT.
Referenced by CodeMCU().
void G4JpegCoder::SetJpegProperty | ( | const G4JpegProperty & | aProperty | ) |
Definition at line 366 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 366 of file G4RTJpegCoder.cc
References G4JpegProperty::Dimension, G4JpegProperty::Format, G4JpegProperty::HThumbnail, G4JpegProperty::MajorRevisions, G4JpegProperty::MinorRevisions, mProperty, G4JpegProperty::SamplePrecision, and G4JpegProperty::VThumbnail.
Referenced by G4RTJpegMaker::CreateFigureFile().
Definition at line 358 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 358 of file G4RTJpegCoder.cc
References M_EOI, M_Marker, mOBSP, and G4OutBitStream::SetByte().
Referenced by DoCoding().
Definition at line 274 of file G4RTJpegCoder.cc.
View newest version in sPHENIX GitHub at line 274 of file G4RTJpegCoder.cc
References AcDhtLength, CAcDht, CDcDht, G4JpegProperty::Comment, G4OutBitStream::CopyByte(), CQuantumT, CSampleF, DcDhtLength, G4JpegProperty::Dimension, G4JpegProperty::HDensity, JFIF, JFIFLength, JFIFVersion, BTOF::length, M_APP0, M_COM, M_DQT, M_Marker, M_SOF0, M_SOI, M_SOS, mOBSP, mProperty, G4JpegProperty::nColumn, G4JpegProperty::nRow, G4JpegProperty::SamplePrecision, G4OutBitStream::SetByte(), G4OutBitStream::SetWord(), G4JpegProperty::Units, G4JpegProperty::VDensity, YAcDht, YDcDht, YQuantumT, YSampleF, and Zigzag.
Referenced by DoCoding().
|
protected |
Definition at line 66 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 66 of file G4RTJpegCoder.hh
Referenced by CodeMCU(), DoCoding(), and makeYCC().
|
protected |
Definition at line 68 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 68 of file G4RTJpegCoder.hh
Referenced by ForwardDCT(), and G4JpegCoder().
|
protected |
Definition at line 67 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 67 of file G4RTJpegCoder.hh
Referenced by CodeMCU(), DoCoding(), and makeYCC().
|
protected |
Definition at line 69 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 69 of file G4RTJpegCoder.hh
Referenced by CodeHuffman(), ForwardDCT(), and Quantization().
|
protected |
Definition at line 74 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 74 of file G4RTJpegCoder.hh
Referenced by DoCoding().
|
protected |
Definition at line 73 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 73 of file G4RTJpegCoder.hh
Referenced by DoCoding().
|
protected |
Definition at line 76 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 76 of file G4RTJpegCoder.hh
Referenced by CodeHuffman(), DoCoding(), G4JpegCoder(), GetJpegData(), WriteEOI(), and WriteHeader().
|
protected |
Definition at line 70 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 70 of file G4RTJpegCoder.hh
Referenced by CodeHuffman(), and G4JpegCoder().
|
protected |
Definition at line 72 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 72 of file G4RTJpegCoder.hh
Referenced by DoCoding(), makeYCC(), SetJpegProperty(), and WriteHeader().
|
protected |
Definition at line 64 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 64 of file G4RTJpegCoder.hh
Referenced by G4JpegCoder(), and makeYCC().
|
protected |
Definition at line 65 of file G4RTJpegCoder.hh.
View newest version in sPHENIX GitHub at line 65 of file G4RTJpegCoder.hh