Hi,
Since I need add three images togather on Orin AGX 64G, just like cv:add did. But I hope it don’t use GPU or CPU. If it possible use VIC or any other core to realize it ?
Thanks!
BR/Tim
Hi,
Please check the below sample or the nvcompositor component in Gstreamer:
https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_13_multi_camera.html
You can set alpha to all 1 for adding:
https://docs.nvidia.com/jetson/archives/r35.4.1/ApiReference/struct__NvBufSurfTransformCompositeBlendParamsEx.html
typedef struct _NvBufSurfTransformCompositeBlendParamsEx
{
/** Holds legacy composite blend parameters */
NvBufSurfTransformCompositeBlendParams params;
/** Holds source rectangle coordinates of input buffers for compositing. */
NvBufSurfTransformRect *src_comp_rect;
/** Holds destination rectangle coordinates of input buffers for compositing. */
NvBufSurfTransformRect *dst_comp_rect;
/** Holds composite filters to use for composition/blending. */
NvBufSurfTransform_Inter *composite_blend_filter;
/** Holds alpha values of input buffers for the blending. */
float *alpha;
/** reserved fields. */
void *reserved[STRUCTURE_PADDING];
}NvBufSurfTransformCompositeBlendParamsEx;
Thanks.
Hi AastaLLL,
Thanks for your reply.
Let me comfirm:
/** Specifies GPU-Lanzos, VIC-Smart interpolation. */
NvBufSurfTransformInter_Algo3,
NvBufSurfTransformInter_Algo3 means it only use VIC core realy?
Thanks!
Hi,
It shoud be controled by the NvBufSurfTransformCompute_VIC
parameter.
https://docs.nvidia.com/metropolis/deepstream/sdk-api/group__ds__bbb.html
enum NvBufSurfTransform_Compute {
NvBufSurfTransformCompute_Default,
NvBufSurfTransformCompute_GPU,
NvBufSurfTransformCompute_VIC
}
Thanks.
OK, Thanks!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.