You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @brief Returns the spatial region of definition of the clip at the given time
1587
1586
1588
-
\arg \c clipHandle clip to extract the image from
1589
-
\arg \c time time to fetch the image at
1590
-
\arg \c region region to fetch the image from (optional, set to NULL to get a 'default' region)
1591
-
this is in the \ref CanonicalCoordinates.
1592
-
\arg \c imageHandle handle where the image is returned
1593
-
1594
-
An image is fetched from a clip at the indicated time for the given region and returned in the imageHandle.
1595
-
1596
-
If the \e region parameter is not set to NULL, then it will be clipped to the clip's Region of Definition for the given time. The returned image will be \em at \em least as big as this region. If the region parameter is not set, then the region fetched will be at least the Region of Interest the effect has previously specified, clipped the clip's Region of Definition.
1587
+
\arg \c clipHandle return this clip's region of definition
1588
+
\arg \c time time to use when determining clip's region of definition
1589
+
\arg \c bounds (out) bounds are returned here -- in \ref CanonicalCoordinates
1597
1590
1598
1591
\pre
1599
1592
- clipHandle was returned by clipGetHandle
@@ -1602,13 +1595,10 @@ If clipGetImage is called twice with the same parameters, then two separate imag
1602
1595
- bounds will be filled the RoD of the clip at the indicated time
1603
1596
1604
1597
@returns
1605
-
- ::kOfxStatOK - the image was successfully fetched and returned in the handle,
1606
-
- ::kOfxStatFailed - the image could not be fetched because it does not exist in the clip at the indicated time, the plugin
1607
-
should continue operation, but assume the image was black and transparent.
1598
+
- ::kOfxStatOK - the region was successfully found and returned in the handle,
1599
+
- ::kOfxStatFailed - the region could not be determined,
1608
1600
- ::kOfxStatErrBadHandle - the clip handle was invalid,
1609
1601
- ::kOfxStatErrMemory - the host had not enough memory to complete the operation, plugin should abort whatever it was doing.
0 commit comments