ILMImgCapSrcFrameCallback::OnImageCaptureFrame

Summary

Called when the capture source is ready to output a frame.

Syntax

#include "ilmimgcapsrc.h"
Platform Syntax
C HRESULT ILMImgCapSrcFrameCallback_OnImageCaptureFrame(pImgCapSrcFrameCallback, frame, time, duration)
C++ HRESULT OnImageCaptureFrame(frame, time, duration)

Parameters

ILMImgCapSrcFrameCallback * pImgCapSrcFrameCallback

Pointer to an ILMImgCapSrcFrameCallback interface.

ULONGLONG frame

Value containing the current frame index.

ULONGLONG time

Value containing the current frame time (nanoseconds).

ULONGLONG duration

Value containing the current frame duration (nanoseconds).

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

The user can implement this method to supply synchronous images for frame output.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Help Version 23.0.2025.1.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.