Поделиться через


CSPROPERTY_DROPPEDFRAMES_CURRENT_S (Compact 2013)

3/26/2014

This structure describes the dropped frame information from the minidriver. It is used with the CSPROPERTY_DROPPEDFRAMES_CURRENT property (see CSPROPERTY_VIDCAP_DROPPEDFRAMES).

Syntax

typedef struct {
  CSPROPERTY Property;
  LONGLONG   PictureNumber;
  LONGLONG   DropCount;
  ULONG      AverageFrameSize;
} CSPROPERTY_DROPPEDFRAMES_CURRENT_S,
*PCSPROPERTY_DROPPEDFRAMES_CURRENT_S;

Members

  • Property
    A CSPROPERTY structure that describes the property set, property ID, and request type.
  • PictureNumber
    A LONGLONG value that specifies the current picture number provided by the minidriver. This value is the sum of the number of frames captured plus the number of frames dropped. This counter should reset to zero when the stream state transitions from Stop to Run.
  • DropCount
    A LONGLONG value that specifies the count of dropped frames, which is provided by the minidriver. This counter increments whenever the minidriver was scheduled to capture a frame, but failed to do so, for example, because of buffer starvation. This counter should reset to zero when the stream state transitions from Stop to Run.
  • AverageFrameSize
    A ULONG value that specifies the average size of frames captured. This value is provided by the minidriver.

Requirements

Header

csmedia.h

See Also

Reference

Camera Driver Structures
CSPROPERTY_VIDCAP_DROPPEDFRAMES