nngn
|
Functions | |
local function | filter_size_round (s) |
Variables | |
local | camera< const > = require "nngn.lib.camera" |
local | input< const > = require("nngn.lib.input") |
local | common< const > = require "demos.cl.common" |
local | img_common< const > = require "demos.cl.img_common" |
local | N< const > = 4 |
local | LIMITS< const > = nngn:compute():get_limits() |
local | MAX_SIZE< const > = LIMITS[Compute.WORK_GROUP_SIZE + 1] |
local | MAX_SIZE2< const > = math.sqrt(MAX_SIZE) |
local | LOCAL_SIZE< const > = common.local_size(img_common.IMG_SIZE, MAX_SIZE2) |
local | PIXEL_SIZE< const > = 4 |
local | MIN_STD_DEV< const > = 0.6 |
local | MAX_STD_DEV< const > = 8 |
local | MIN_FILTER_WIDTH< const > = 3 |
local | FILTER_MUL_FOR_STD_DEV< const > = 6 |
local | MAX_LOCAL< const > = LIMITS[Compute.LOCAL_MEMORY + 1] |
local | MAX_FILTER_WIDTH_LOCAL< const > = |
local | MAX_STD_DEV_LOCAL< const > = |
local | FILTER_VEC_SIZE< const > = |
local | FILTER_VEC_SIZE2< const > = |
local | img_raw |
local | img_buf |
local | img |
local | read_v< const > = img_common.init() |
local function filter_size_round | ( | s | ) |
local FILTER_MUL_FOR_STD_DEV< const > = 6 |
local FILTER_VEC_SIZE2< const > = |
local FILTER_VEC_SIZE< const > = |
local img |
local img_buf |
local img_common< const > = require "demos.cl.img_common" |
local img_raw |
local LIMITS< const > = nngn:compute():get_limits() |
local LOCAL_SIZE< const > = common.local_size(img_common.IMG_SIZE, MAX_SIZE2) |
local MAX_FILTER_WIDTH_LOCAL< const > = |
local MAX_LOCAL< const > = LIMITS[Compute.LOCAL_MEMORY + 1] |
local MAX_SIZE< const > = LIMITS[Compute.WORK_GROUP_SIZE + 1] |
local MAX_STD_DEV< const > = 8 |
local MAX_STD_DEV_LOCAL< const > = |
local MIN_FILTER_WIDTH< const > = 3 |
local MIN_STD_DEV< const > = 0.6 |
local PIXEL_SIZE< const > = 4 |
local read_v< const > = img_common.init() |