Hi all ,
I tried to use example in Native CPP , which contains NV21Load.cpp.
But when i tried using the same with an input NV21 image i get the follwoing error while building:
/home/ubuntu/android/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: ./obj/local/armeabi-v7a/objs/somc_snpe_common/src/NV21Load.o: multiple definition of 'loadNV21Tensor(std::unique_ptr<:snpe::snpe zdl::snpe::snpe=""> >&, std::string&)' /home/ubuntu/android/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi-v7a/objs/somc_snpe_common/src/NV21Load.o: previous definition here clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Also how to implement for a NV12 image, as in the example it merely calculates the new image dimensions.
Thanks and Regards
Vishal