Does orin nx use nvbufsurftransform to support yuv422 to yuv420?

Does orin nx use nvbufsurftransform to support yuv422 to yuv420?
thankyou

hello tmsh,

regarding to YUV422 to YUV420 conversion.
you may call NvBufferTransform() for the conversion, which is perform on the hardware converter VIC.
please see-also MMAPI for reference,
for instance, /usr/src/jetson_multimedia_api/samples/unittest_samples/transform_unit_sample/

please see-also forum thread, such as Topic 291509 as see-also.

Thank you for your answer. I watched this demo and would like to ask another question. On Orin nx, using vic or gpu to do this conversion, which one is faster in principle?

hello tmsh,

I don’t know, I don’t have number for comparison.
since both of them were hardware engine, it should depends-on your use-case to process with VIC or GPU.

Thank you for your answer