Parsec

ParsecHookVideoCallback

typedef void(* ParsecHookVideoCallback) (ParsecRenderer type, ParsecOpaqueWindow *window, ParsecOpaqueDevice *device, ParsecOpaqueContext *context, ParsecOpaqueTexture *texture, void *opaque )

Fired on each frame from a hooked renderer.

Passed to ParsecHostHookStart to override the default behavior.

Parameters

NameDescription
typeRenderer in use see ParsecRenderer.
windowThe window handle containing the video frame.
deviceThe renderer device, depends on the type of renderer.
contextThe renderer device context, depends on the type of renderer.
textureThe frame texture, depends on the type of renderer.
opaqueUser supplied context passed in ParsecHostHookStart.