'Declaration
Public Delegate Function CodecsTransformMarkerCallback( _
ByVal As Integer, _
ByVal As RasterNativeBuffer, _
ByVal As CodecsTransformFlags _
) As CodecsTransformMarkerAction
'Usage
Dim instance As New CodecsTransformMarkerCallback(AddressOf HandlerMethod)
typedef LTCodecsTransformMarkerAction (^LTCodecsTransformMarkerCallback)(NSInteger markerId, unsigned char *buffer, NSUInteger length, LTCodecsTransformFlags transform)
public CodecsTransformMarkerAction OnCodecsTransformMarkerCallback(int id, RasterNativeBuffer buffer, CodecsTransformFlags transform)
CodecsTransformMarkerCallback(
id ,
buffer ,
transform
)
Parameters
- id
- ID of the JPEG marker. The JPEG markers are uniquely identified by a byte value. Possible values are 1 to 254. (0 and 255 are not allowed.)
- buffer
- A pointer to the memory buffer containing the marker data. RasterNativeBuffer.Length contains the size in bytes of the JPEG marker. The size will be less than 65535. If this value is 0, then the marker does not have any extra data and should be ignored.
- transform
- Flags that indicate the transform to be performed. These are the same flags passed to the RasterCodecs.Transform method.
Return Value
A CodecsTransformMarkerAction enumeration member that determines the action taken by the RasterCodecs after the callback is called. Possible values are: