interesting question...
theoretically i'd say that motion blur needs to be applied first because the objects are already streaked when the hit the lens, however, the differences seem to be pretty much zero, both in normal gamma corrected space and in linear float:
CODE
RGrad1 = RGrad(720, 576, 2, 361.25, 288, 1, 23, 3, 0.5, 1, 1,
1, 1, 0, 0, 0, 0, 0, 0);
RGrad2 = RGrad(720, 576, 4, 361.25, 288, 1, 23, 3, 0.5, 1, 1,
1, 1, 0, 0, 0, 0, 0, 0);
Defocus1_clone1 = Defocus(RGrad1, Defocus1.xPixels, Defocus1.yPixels,
Defocus1.channels, Defocus1.percent, Defocus1.shape, Defocus1.boostPoint,
Defocus1.superWhite);
Gamma3 = Gamma(RGrad2, 0.5, rGamma, rGamma, 1);
Move2D1 = Move2D(RGrad1, Hermite(0,[-339,98.69,98.69]@1,[339.936,98.69,98.69]@15),
0, Hermite(0,[0,0,0]@1,[0,0,0]@15), 1, Hermite(0,[1,0,0]@1,[1,0,0]@15),
Hermite(0,[1,0,0]@1,[1,0,0]@15), 0, 0, Hermite(0,[360,0,0]@1,[360,0,0]@15),
Hermite(0,[288,0,0]@1,[288,0,0]@15), "default", xFilter,
"trsx", 0, 5, 0.5, 0, 0, time);
Brightness3 = Brightness(Gamma3, 2);
Defocus1 = Defocus(Move2D1, 8, xPixels/GetDefaultAspect(), "rgba",
100, "circle", 0.95, 1);
Move2D1_clone1 = Move2D(Defocus1_clone1, Move2D1.xPan, Move2D1.yPan,
Move2D1.angle, Move2D1.aspectRatio, Move2D1.xScale, Move2D1.yScale,
Move2D1.xShear, Move2D1.yShear, Move2D1.xCenter, Move2D1.yCenter,
Move2D1.xFilter, Move2D1.yFilter, Move2D1.transformationOrder,
Move2D1.inverseTransform, Move2D1.motionBlur, Move2D1.shutterTiming,
Move2D1.shutterOffset, Move2D1.useReference, Move2D1.referenceFrame);
Defocus1_clone2 = Defocus(Brightness3, Defocus2.xPixels, Defocus2.yPixels,
Defocus2.channels, Defocus2.percent, Defocus2.shape, Defocus2.boostPoint,
Defocus2.superWhite);
Move2D2 = Move2D(Brightness3, Hermite(0,[-339,98.3,98.3]@1,[333.936,98.68,98.68]@15),
Hermite(0,[0,0,0]@15), Hermite(0,[0,0,0]@1,[0,0,0]@15), 1,
Hermite(0,[1,0,0]@1,[1,0,0]@15), Hermite(0,[1,0,0]@1,[1,0,0]@15),
0, 0, Hermite(0,[360,0,0]@1,[360,0,0]@15), Hermite(0,[288,0,0]@1,[288,0,0]@15),
"default", xFilter, "trsx", 0, 5, 0.5, 0, 0, time);
Defocus2 = Defocus(Move2D2, 8, xPixels/GetDefaultAspect(), "rgba",
100, "circle", 0.95, 1);
Move2D1_clone2 = Move2D(Defocus1_clone2, Move2D2.xPan, Move2D2.yPan,
Move2D2.angle, Move2D2.aspectRatio, Move2D2.xScale, Move2D2.yScale,
Move2D2.xShear, Move2D2.yShear, Move2D2.xCenter, Move2D2.yCenter,
Move2D2.xFilter, Move2D2.yFilter, Move2D2.transformationOrder,
Move2D2.inverseTransform, Move2D2.motionBlur, Move2D2.shutterTiming,
Move2D2.shutterOffset, Move2D2.useReference, Move2D2.referenceFrame);
Brightness2_clone2 = Brightness(Move2D1_clone2, Brightness4.value);
Brightness4 = Brightness(Defocus2, 0.5);
Gamma2_clone2 = Gamma(Brightness2_clone2, Gamma4.rGamma, Gamma4.gGamma,
Gamma4.bGamma, Gamma4.aGamma);
Gamma4 = Gamma(Brightness4, 2, rGamma, rGamma, 1);