Cuda kernel function naming in /nvdspreprocess_lib/nvdspreprocess_impl.cpp

Hi,

I’m implementing a custom tensor preprocess function. Starting from the sample preprocess provided, I find it a bit hard to interpret the function names used in /nvdspreprocess_lib/nvdspreprocess_impl.cpp.

These functions mainly do some color conversion and image ordering, how would I guess what the function does given it name? (e.g.: NvDsPreProcessConvert_C3ToP3Float)

In other words, what do abbreviations like C3 and P3 refer to?

Thanks!

please refer to function comments. Converts an input packed 3 channel buffer of width x height resolution into an

  • planar 3-channel float buffer of width x height resolution.

Ah, now I see, thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.