CopyToPlane#
Fully qualified name: cupva_utils::CopyToPlane
Defined in cupva_host_utils.hpp
- void cupva_utils::CopyToPlane(
- void *dstPlaneBase,
- const void *src,
- const int32_t imageWidth,
- const int32_t imageHeight,
copy a pitch linear buffer to a surface plane.
Usage considerations
Allowed context for the API call
Interrupt handler: No
Signal handler: No
Thread-safe: No
Re-entrant: No
Async/Sync: Sync
Required privileges: None
Allowed execution state
Initialization: Yes
Operational: Yes
Reinit/Deinit Preparation: Yes
Maturity: GA
- Parameters:
dstPlaneBase – [in] The device pointer to plane base of destination surface.
src – [in] The host pointer to source buffer.
imageWidth – [in] The width of source buffer in bytes.
imageHeight – [in] The height of source buffer in lines.
- Throws:
- Pre:
None