Handle Keyword dict keys in fused-pipeline primitive
This commit is contained in:
@@ -15,12 +15,13 @@
|
||||
(require-primitives "math")
|
||||
|
||||
;; Define the effects pipeline (compiled to single CUDA kernel)
|
||||
;; Each effect is a map with :op and effect-specific parameters
|
||||
(def effects-pipeline
|
||||
[{"op" "rotate" "angle" 0}
|
||||
{"op" "zoom" "amount" 1.0}
|
||||
{"op" "hue_shift" "degrees" 30}
|
||||
{"op" "ripple" "amplitude" 15 "frequency" 10 "decay" 2 "phase" 0 "center_x" 960 "center_y" 540}
|
||||
{"op" "brightness" "factor" 1.0}])
|
||||
[{:op "rotate" :angle 0}
|
||||
{:op "zoom" :amount 1.0}
|
||||
{:op "hue_shift" :degrees 30}
|
||||
{:op "ripple" :amplitude 15 :frequency 10 :decay 2 :phase 0 :center_x 960 :center_y 540}
|
||||
{:op "brightness" :factor 1.0}])
|
||||
|
||||
;; Frame pipeline
|
||||
(frame
|
||||
|
||||
Reference in New Issue
Block a user