Blender  V3.3
Functions
render_scheduler.cpp File Reference
#include "integrator/render_scheduler.h"
#include "session/session.h"
#include "session/tile.h"
#include "util/log.h"
#include "util/math.h"
#include "util/time.h"

Go to the source code of this file.

Functions

static double approximate_final_time (const RenderWork &render_work, double time)
 
static uint round_num_samples_to_power_of_2 (const uint num_samples)
 
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

◆ approximate_final_time()

static double approximate_final_time ( const RenderWork render_work,
double  time 
)
static

◆ 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().

◆ round_num_samples_to_power_of_2()

static uint round_num_samples_to_power_of_2 ( const uint  num_samples)
inlinestatic