COP2_CookScheduler Class Reference

#include <COP2_CookScheduler.h>

List of all members.

Public Member Functions

 COP2_CookScheduler ()
void cookNodeToRaster (COP2_Node &node, UT_PtrArray< OP_Context * > &contexts, UT_PtrArray< const TIL_Plane * > &ref_planes, UT_PtrArray< const int * > &compmap, UT_RefArray< UT_InclusiveRect > &bounds, UT_PtrArray< TIL_Raster * > &rasters, UT_PtrArray< TIL_Raster * > *tile_rasters, int tile_index, TIL_TileMPlay *output_device, UT_IntArray &array_indices, int compindex, float black, float white, int ignore_bwpoints, float gamma, bool clean_up_regions, int &num_threads, bool &completed)
COP2_ThreadCookParmsgetThreadCookParms (int thread_index, bool &blocked)
void doneWithThreadCookParms (COP2_ThreadCookParms &thread_parms)
float getPercentageComplete (int num_extra_tiles_cooked) const
bool isUsingCheckpointing () const
bool isCookingSomething () const
void getResScaleFactor (float &xres_scale_factor, float &yres_scale_factor) const
void getScaledRes (const TIL_Sequence &sequence, int &scaled_xres, int &scaled_yres)
int getNumThreadsToUse () const
bool canUseGPU () const
bool canUseCellSPU () const
int getNumThreadsUsedInCook () const
const COP2_CookAreaInfogetAreaInfo (COP2_Context &context, const COP2_Node *node) const
bool getDependentsFor (COP2_Context &context, COP2_Node *cooknode, COP2_Node *ancestor, UT_PtrArray< COP2_Context * > &dependencies)
void debugDumpPlaneOrder ()
void getPlanesForNode (COP2_Node *node, UT_PtrArray< const TIL_Plane * > &planes, UT_IntArray &array_index) const
void blockUntilReady ()

Static Public Member Functions

static void * threadStartCallback (void *data)
static bool isPlaneStillCheckpointedCallback (void *opaque_cop_node, const char *plane_name, float cook_time)


Detailed Description

Definition at line 48 of file COP2_CookScheduler.h.


Constructor & Destructor Documentation

COP2_CookScheduler::COP2_CookScheduler (  ) 


Member Function Documentation

void COP2_CookScheduler::blockUntilReady (  ) 

bool COP2_CookScheduler::canUseCellSPU (  )  const

bool COP2_CookScheduler::canUseGPU (  )  const

void COP2_CookScheduler::cookNodeToRaster ( COP2_Node node,
UT_PtrArray< OP_Context * > &  contexts,
UT_PtrArray< const TIL_Plane * > &  ref_planes,
UT_PtrArray< const int * > &  compmap,
UT_RefArray< UT_InclusiveRect > &  bounds,
UT_PtrArray< TIL_Raster * > &  rasters,
UT_PtrArray< TIL_Raster * > *  tile_rasters,
int  tile_index,
TIL_TileMPlay output_device,
UT_IntArray array_indices,
int  compindex,
float  black,
float  white,
int  ignore_bwpoints,
float  gamma,
bool  clean_up_regions,
int &  num_threads,
bool &  completed 
)

void COP2_CookScheduler::debugDumpPlaneOrder (  ) 

void COP2_CookScheduler::doneWithThreadCookParms ( COP2_ThreadCookParms thread_parms  ) 

const COP2_CookAreaInfo* COP2_CookScheduler::getAreaInfo ( COP2_Context context,
const COP2_Node node 
) const

bool COP2_CookScheduler::getDependentsFor ( COP2_Context context,
COP2_Node cooknode,
COP2_Node ancestor,
UT_PtrArray< COP2_Context * > &  dependencies 
)

int COP2_CookScheduler::getNumThreadsToUse (  )  const

int COP2_CookScheduler::getNumThreadsUsedInCook (  )  const

float COP2_CookScheduler::getPercentageComplete ( int  num_extra_tiles_cooked  )  const

void COP2_CookScheduler::getPlanesForNode ( COP2_Node node,
UT_PtrArray< const TIL_Plane * > &  planes,
UT_IntArray array_index 
) const

void COP2_CookScheduler::getResScaleFactor ( float &  xres_scale_factor,
float &  yres_scale_factor 
) const

void COP2_CookScheduler::getScaledRes ( const TIL_Sequence sequence,
int &  scaled_xres,
int &  scaled_yres 
)

COP2_ThreadCookParms* COP2_CookScheduler::getThreadCookParms ( int  thread_index,
bool &  blocked 
)

bool COP2_CookScheduler::isCookingSomething (  )  const [inline]

Definition at line 104 of file COP2_CookScheduler.h.

static bool COP2_CookScheduler::isPlaneStillCheckpointedCallback ( void *  opaque_cop_node,
const char *  plane_name,
float  cook_time 
) [static]

bool COP2_CookScheduler::isUsingCheckpointing (  )  const [inline]

Definition at line 100 of file COP2_CookScheduler.h.

static void* COP2_CookScheduler::threadStartCallback ( void *  data  )  [static]


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:21 2012 for HDK by  doxygen 1.5.9