Go to the source code of this file.
Data Structures | |
class | CkRect |
Functions | |
int | min (int a, int b) |
int | max (int a, int b) |
PUPmarshall (CkRect) class CkImage | |
This class describes an image, represented as a flat byte array. | |
PUPmarshall (CkImage) class CkAllocImage |
Definition at line 15 of file ckimage.h.
Referenced by CkRect::add(), allMeasuresReduction(), AMPI_API_IMPL(), arg_init(), CkReductionMsg::buildNew(), child_start_end(), CkDDT_HIndexed::CkDDT_HIndexed(), CkDDT_HIndexed_Block::CkDDT_HIndexed_Block(), combine(), Bulk_Adapt::controlQualityC(), FEM_Adapt_Algs::controlQualityC(), Amm< AmpiMsg *, AMPI_AMM_COLL_POOL_SIZE >::deleteEntry(), AmpiRequestPool::deleteReq(), EliminateSubDomainEdges(), Bulk_Adapt::ensureQuality(), FEM_Adapt_Algs::ensureQuality(), topo::impl::TreeBoundingBoxOn3dTorus< Iterator >::findMaxSpreadDimension(), Ck::IO::impl::WriteSession::forwardData(), AmpiRequestList::free(), controlPointManager::generatePlan(), CkRect::getIntersect(), faceSet::getLocFace(), faceSet::getLocNode(), getNeighborsTopoTree_R(), CkRect::getUnion(), idaStarWorker::idaStarWorker(), idleTimeReduction(), ST_RecursivePartition< Iterator >::initPhyNodes(), GroupChunkMeshStreamer< dtype, ClientType, RouterType, EntryMethod >::insertData(), lbDataCollection(), MPIOI_Type_block(), MPIOI_Type_cyclic(), Ck::IO::impl::Director::openFile(), printStats(), PUPbytes(), MetaBalancer::ReceiveMinStats(), CkDDT_DataType::serialize(), CkDDT_HIndexed::serialize(), CkDDT_HIndexed_Block::serialize(), CkDDT_Vector::serialize(), ST_RecursivePartition< Iterator >::withinPhyNodeTree(), and Ck::IO::impl::Manager::write().
Definition at line 16 of file ckimage.h.
Referenced by CkRect::add(), AddEdges(), adjustgain(), adjustqueues(), allMeasuresReduction(), TopoCentLB::calculateMST(), child_start_end(), CkArray::CkArray(), CkDDT_HIndexed::CkDDT_HIndexed(), CkDDT_HIndexed_Block::CkDDT_HIndexed_Block(), CmiExtendHandlerTable(), combine(), ComputeLoadImbalance(), ComputeLoadImbalanceDiff(), ComputeLoadImbalanceDiffVec(), RefinerTemp::computeMax(), Refiner::computeMax(), Bulk_Adapt::controlQualityC(), Bulk_Adapt::controlQualityR(), driver(), EliminateSubDomainEdges(), CkLocMgr::emigrate(), Bulk_Adapt::ensureQuality(), TopoCentLB::extractMax(), find_free_region(), find_recover_state(), instrumentedData::findBest(), HeapNode::findMax(), CkNodeReductionMgr::findMaxRedNo(), topo::impl::TreeBoundingBoxOn3dTorus< Iterator >::findMaxSpreadDimension(), KMeansBOC::findRepresentatives(), Ck::IO::impl::WriteSession::forwardData(), controlPointManager::generatePlan(), CkRect::getIntersect(), CkRect::getUnion(), heap_extractMin(), iargmax_nrm(), iargmax_strd(), idleTimeReduction(), lbDataCollection(), makeGatherMsg(), makeGathervMsg(), makeRednMsg(), map_MPIPP(), conv::msgQ< P >::max_size(), rfmodel::DataMatrix::maxIndex(), maxVec(), RefinerTemp::multirefine(), RefinerApprox::multirefine(), Refiner::multirefine(), AmpiMsgPool::newAmpiMsg(), printStats(), PrintSubDomainGraph(), PUPmarshall(), MetaBalancer::ReceiveMinStats(), rvecmaxdiff(), select_max(), SelectQueue(), unpack_coords(), and unpack_index().
PUPmarshall | ( | CkRect | ) |
This class describes an image, represented as a flat byte array.
Pixels are stored first by color (e.g., r,g,b), then by row in the usual raster order.
This is the maximum value of a color channel
This describes the various data layouts used by image pixels:
The default layout: ARGB. With one color, pure luminance. With 3 colors, [0]=R, [1]=G, [2]=B. With 4 colors, [0]=A, [1]=R, [2]=G, [3]=B.
The "reversed" layout: BGRA. With one color, pure luminance. With 3 colors, [0]=B, [1]=G, [2]=R. With 4 colors, [0]=B, [1]=G, [2]=R, [3]=A.
< channel_ts per line, channel_ts per pixel
< Image pixel format.
< Image size: cols and rows
< Image pixel data
< DO NOT USE
Get/set the whole image's data
Return the number of channel_t's per row of the image
Return the number of colors (channel_t's) per pixel
Get/set the pixel format.
Return the number of pixels per row of the image
Return the number of pixels per column of the image
Definition at line 64 of file ckimage.h.
References PUP::a, PUP::d, data, dest, CkRect::ht(), int, CkRect::l, p, PUP::pup(), src, CkRect::t, CkRect::wid(), and x.
PUPmarshall | ( | CkImage | ) |