Final Cut Pro, Apple's Non Linear Editing application includes FXScript, a built in scripting language for writing image processing and generating plug ins.

FXScript is based on a limited version of the C computer language.

For people wishing to learn the basics of FXScript, Joe Maller has created a very useful reference page at www.fxscriptreference.com