Blender  V3.3
Classes | Functions
render_scheduler.h File Reference
#include "integrator/adaptive_sampling.h"
#include "integrator/denoiser.h"
#include "session/buffers.h"
#include "util/string.h"

Go to the source code of this file.

Classes

class  RenderWork
 
class  RenderScheduler
 
class  RenderScheduler::TimeWithAverage
 

Functions

int calculate_resolution_divider_for_resolution (int width, int height, int resolution)
 
int calculate_resolution_for_divider (int width, int height, int resolution_divider)
 

Function Documentation

◆ calculate_resolution_divider_for_resolution()

int calculate_resolution_divider_for_resolution ( int  width,
int  height,
int  resolution 
)

Definition at line 1199 of file render_scheduler.cpp.

References height, max, and width.

Referenced by TEST().

◆ calculate_resolution_for_divider()

int calculate_resolution_for_divider ( int  width,
int  height,
int  resolution_divider 
)

Definition at line 1216 of file render_scheduler.cpp.

References height, sqrt(), and width.

Referenced by TEST().