The video capture API includes definitions for the source buffer properties.
The video capture API uses the
following definitions for destination buffer properties:
- CAPTURE_PROPERTY_DST_FORMAT
- CAPTURE_PROPERTY( 'Q', 'D', 'F', 'F' )
- Read/Writer uint32_t
- Destination buffer format.
- CAPTURE_PROPERTY_DST_WIDTH
- CAPTURE_PROPERTY( 'Q', 'D', 'F', 'W' )
- Read/Writer uint32_t
- Destination frame width, in pixels.
- CAPTURE_PROPERTY_DST_HEIGHT
- CAPTURE_PROPERTY( 'Q', 'D', 'F', 'H' )
- Read/Writer uint32_t
- Destination frame height, in pixels.
- CAPTURE_PROPERTY_DST_STRIDE
- CAPTURE_PROPERTY( 'Q', 'D', 'F', 'S' )
- Read/Writer uint32_t
- Destination frame stride, in bytes.
- CAPTURE_PROPERTY_DST_NBYTES
- CAPTURE_PROPERTY( 'Q', 'D', 'F', 'B' )
- Read/Writer uint32_t
- Size of destination buffer, in bytes.
For information about CAPTURE_PROPERTY, see "Properties".
Note: Each allocated destination buffer (CAPTURE_PROPERTY_DST_NBYTES) must be at least the
product of the destination stride and the destination frame height (CAPTURE_PROPERTY_DST_STRIDE *
CAPTURE_PROPERTY_DST_HEIGHT).