Differential D11791 Diff 40163 source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.h
- This file was copied to source/blender/editors/asset/intern/asset_library_reference.hh.
| Show All 34 Lines | |||||
| public: | public: | ||||
| /** | /** | ||||
| * The inner loop of this operation. | * The inner loop of this operation. | ||||
| */ | */ | ||||
| void executePixel(float output[4], int x, int y, void *data) override; | void executePixel(float output[4], int x, int y, void *data) override; | ||||
| void *initializeTileData(rcti *rect) override; | void *initializeTileData(rcti *rect) override; | ||||
| void update_memory_buffer_started(MemoryBuffer *output, | |||||
| const rcti &area, | |||||
| Span<MemoryBuffer *> inputs) override; | |||||
| void update_memory_buffer_partial(MemoryBuffer *output, | |||||
| const rcti &area, | |||||
| Span<MemoryBuffer *> inputs) override; | |||||
| private: | |||||
| PixelsSum calc_area_sum(const MemoryBuffer *input, const rcti &area, float mean); | |||||
| }; | }; | ||||
| } // namespace blender::compositor | } // namespace blender::compositor | ||||