std1.0.0-beta-7 SafeC docs

std :: dsp::imaging_core

Struct std::Conv2dJob

#include <std/dsp/imaging_core.h> source

struct Conv2dJob {
    const IM_R* img;
    const IM_R* kernel;
    IM_R* out;
    unsigned long h;
    unsigned long w;
    unsigned long kh;
    unsigned long kw;
}

Each output row is a sum of shifted input rows times one kernel tap: row-wide multiply-adds over the x range where the tap stays inside the image, which vectorize. Rows run on the thread pool for larger images.

Fields

§const IM_R* imgsource
§const IM_R* kernelsource
§IM_R* outsource
§unsigned long hsource
§unsigned long wsource
§unsigned long khsource
§unsigned long kwsource