Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_InpaintOperation.h
| Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | public: | ||||
| { | { | ||||
| this->m_iterations = iterations; | this->m_iterations = iterations; | ||||
| } | } | ||||
| bool determineDependingAreaOfInterest(rcti *input, | bool determineDependingAreaOfInterest(rcti *input, | ||||
| ReadBufferOperation *readOperation, | ReadBufferOperation *readOperation, | ||||
| rcti *output) override; | rcti *output) override; | ||||
| void get_area_of_interest(const int input_idx, | |||||
| const rcti &output_area, | |||||
| rcti &r_input_area) override; | |||||
| void update_memory_buffer(MemoryBuffer *output, | |||||
| const rcti &area, | |||||
| Span<MemoryBuffer *> inputs) override; | |||||
| private: | private: | ||||
| void calc_manhattan_distance(); | void calc_manhattan_distance(); | ||||
| void clamp_xy(int &x, int &y); | void clamp_xy(int &x, int &y); | ||||
| float *get_pixel(int x, int y); | float *get_pixel(int x, int y); | ||||
| int mdist(int x, int y); | int mdist(int x, int y); | ||||
| bool next_pixel(int &x, int &y, int &curr, int iters); | bool next_pixel(int &x, int &y, int &curr, int iters); | ||||
| void pix_step(int x, int y); | void pix_step(int x, int y); | ||||
| }; | }; | ||||
| } // namespace blender::compositor | } // namespace blender::compositor | ||||