I need convert yuv12 to jpeg2000. I want change ipp sample program j2kit.exe (bmp->jpeg2000 and jpeg2000->bmp)to some lib, and do all operations in memory instead on files. j2kit.exe->j2kit.lib I have done, but no idea what next.
You might be interested to take a look on JPEGView sample (in IPP 5.2), where we already did something similar (I mean memory to memory interface).
Than, you will need to upsample you YUV12 image as we do not support yet encodingfrom down-sampled data in JPEG2000. As your data were already in YUV, you need not in MCT stage (multi-component transform), so you need to set appropriate parameters for JPEG2000 encoder.