bplist00^portAttributes_editorViewerWindow_inputParameters_frameworkVersionYrootPatch W_enableZinputImage Tname[descriptionVEnable_ Controls execution of the patch. UInput_The input port._919 448 512 430 0 0 1440 878 UGreenTBlueSRed#?U106.5UstateUclass vUnodes[connectionsXuserInfo_publishedInputPorts!:[bo"#89Skey$%&'()*(5_clearDepthBuffer_ivarInputPortStates_clearColorBuffer_systemInputPortStates O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}w:+,ZinputColor-.Uvalue/0123333UgreenTblueSredUalpha" 6-( WQCClearWClear_1";YZ<=>?%@'ABBBEFUV\pixelAligned[CIRendering_optimizedRenderingWversionXsizeModeO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}xjGHIJ+KLMNOQS]inputRotationVinputXVinputY]inputBlending_inputPixelAligned-3-3-3-P-R/012-BZautoHeightW-( [QCBillboard[Billboard_1"\`a](_]cleanAperture O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}\QCScreenInfo\ScreenInfo_1"cmndefg?hijkPiil\advancedModeTmain_showSamplerOptions\automaticDODZsourceCode_ /* DYNAMIC VARIABLES 1 - Vec (vector) Creation: "new Vec(number_0, number_1, ...)", take 2 to 4 numerical arguments, or "new Vec(vec)" (does a copy) Properties: x = r = 0, y = g = 1, z = b = 2 = width, w = a = 3 = height 2 - Shape (wrapper over CIFilterShape) Creation: "new Shape(number_0, number_1, number_2, number_3)" or "new Shape(shape)" (does a copy) Properties (all functions return a new Shape) - function intersect(shape) - function union(shape) - function inset(number_x, number_y) - function translate(number_0, number_1) - function scale(number_0, number_1) - function rotate(number_angle) 3 - AffineTransform (wrapper over NSAffineTransform) Creation: "new AffineTransform()" or "new AffineTransform(transform)" (does a copy) Properties returning a new transform: - function scale(scaleXY) or scale(scaleX, scaleY) - function translate(tX, tY) - function invert() - function rotateByDegrees(angle) - function rotateByRadians(angle) - function appendTransform(transform) - function prependTransform(transform) - function setTransformStruct(object) - object has properties m11, m12, ... of NSAffineTransformStruct Properties returning a vector of size 2: - function transformPoint(vector_size_2) - function transformSize(vector_size_2) Property returning an JavaScript object: - property transformStruct - an object with properties m11, m12, ... of NSAffineTransformStruct Settable property: - property transformStruct - takes an object with properties m11, m12, ... of NSAffineTransformStruct 4 - Image Creation: Not allowed. Properties: extent (a Vec of dimension 4), definition (a Shape) 5 - Kernel Creation: Not allowed. The kernels defined in the kernel window are automatically set in the JavaScript context as variables in the kernel name. Properties: - function apply(DOD, ROI_userInfo, arg_1, arg_2, ...) * DOD: A Vec of dimension 4, a Shape or "null" for infinite image * ROI_userInfo: An object that will be passed to the ROI function * arg_x: Arguments given to the kernel - ROIHandler * To set the ROI function * The ROI function, when called, will receive 3 arguments: samplerIndex (an int), dstRect (a Vec of dim 4), and info (passed to the apply function) Example: function myROIFunction(samplerIndex, dstRect, info) { return dstRect; } myKernel.ROIHandler = myROIFunction; STATIC VARIABLES Filter Properties: All Core Image filter under a real (e.g. CISepiaTone) or simplied name (e.g. sepiaTone) Returns a function to apply that filter. The arguments are taken in the order defined at: http://developer.apple.com/documentation/GraphicsImaging/Reference/CoreImageFilterReference Example: var sepiaImage = Filter.sepiaTone(image, 1.0); FUNCTION TO IMPLEMENT function [return_type] main([arg_type_0] arg_0, [arg_type_1] arg_1, ...) [arg_type_x] can be: __image, __vec2, __vec3, __vec4, __color, __number, __index [return_type] must be: __image Must return an image. Example of the "main" function associated to the first kernel in the kernel window and current parameters has been generated below: */ function __image main(__image Image, __number Red, __number Green, __number Blue) { return tb_removeChannels.apply(Image.definition, null, Image, Red, Green, Blue); }O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name Disable RGBpositionNSValue* {_NSPoint=ff}_/* Enable/Disable RGB channels */ kernel vec4 tb_removeChannels(sampler Image, float Red, float Green, float Blue) { vec4 pix = sample(Image, samplerCoord(Image)); pix.r = pix.r * Red; pix.g = pix.g * Green; pix.b = pix.b * Blue; return pix; } ]QCImageKernel]ImageKernel_1"ptu?qirsYportClass]QCGLImagePortO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name VDMX Video InpositionNSValue* {_NSPoint=ff} ZQCSplitterZSplitter_4wxyz\connection_1\connection_2\connection_3{|}~aZ_destinationPortZsourceNodeZsourcePort_destinationNodeZinputScale[outputWidth{|}~nZ[outputImage{|}~unUImageVoutputO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+ scrollingNSValue* {_NSPoint=ff}@C zoomFactorNSNumberfԉ"nTnodeTportOn streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameRedԉ"nOp streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameGreenԉ"nOo streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameBlueԉ"uUinputOu streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name inputImageWQCPatch"7I\fks~  %+1:@LUkqx|or}  $'*+7CJO]^ !.3HU`bO !(2@)6?Q\gyz