UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:usbcamdi.PCAM_PROCESS_PACKET_ROUTINE |
PCAM_PROCESS_PACKET_ROUTINE (usbcamdi.h) |
A camera minidriver's CamProcessUSBPacket callback function processes a USB packet. |
stream\camprocessusbpacket.htm |
stream |
04/23/2018 |
|
CamProcessUSBPacket, CamProcessUSBPacket callback function [Streaming Media Devices], PCAM_PROCESS_PACKET_ROUTINE, PCAM_PROCESS_PACKET_ROUTINE callback, stream.camprocessusbpacket, usbcamdi/CamProcessUSBPacket, usbcmdpr_7eeca66e-b106-4cb0-b0c3-d7d07d82d841.xml |
usbcamdi.h |
Usbcamdi.h |
Desktop |
DISPATCH_LEVEL |
Windows |
|
|
|
|
|
[CamProcessUSBPacket is not supported and may be altered or unavailable in the future. Instead, use CamProcessUSBPacketEx. ]
A camera minidriver's CamProcessUSBPacket callback function processes a USB packet.
Pointer to the camera minidriver's device object created by the USB hub.
Pointer to the camera minidriver's device context.
Pointer to the minidriver's frame context.
Pointer to a USBD_ISO_PACKET_DESCRIPTOR structure from the sync pipe. This value is NULL if the interface has only one pipe.
Pointer to the data for the SyncPacket.
Pointer to a USBD_ISO_PACKET_DESCRIPTOR structure from the data pipe.
Pointer to DataPacket.
Pointer to a BOOLEAN value that the camera minidriver sets to indicate whether this is the first data packet for a new video frame. Set to TRUE if this is the first data packet for a new video frame.
Pointer to a BOOLEAN value that the camera minidriver sets to indicate whether the next frame is a still frame or not. This value should be set to FALSE if the video stream is providing a live image or TRUE if the next frame is a still image or an image capture stream.
This callback function returns a ULONG that indicates the number of bytes that should be copied into the buffer (RawFrameBuffer or FrameBuffer).
Camera minidrivers that must maintain backward compatibility with the original USBCAMD must use the USBCAMD_DEVICE_DATA structure and its associated callback functions (that is, callback functions that do not contain the "Ex" suffix).
The minidriver should complete this function as quickly as possible. Image processing should be deferred to the CamProcessRawVideoFrame function.
This function is optional.