- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, there some limitation in our implementation of JPEG2000 codec. I'll ask expert to provide more infromation on that.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aris,
both JPEG 2000 encoder and decoder components supports ONLY planar raster data on output/input.
E.g. for decoder (\common\src\codestream\tile\dpostprocess.h)
void LevShiftRCTInv(const ImageCoreC
{
unsigned int width = size.Width();
unsigned int height = size.Height();
RowIterator
RowIterator
RowIterator
for(unsigned int y = 0; y < height; y++, ++rowCh0, ++rowCh1, ++rowCh2)
...
or encoder (\common\src\codestream\tile\epreprocess.h)
template
void LevShiftRCTFwd(const ImageCoreC
{
unsigned int width = size.Width();
unsigned int height = size.Height();
RowIterator
RowIterator
RowIterator
for(unsigned int y = 0; y < height; y++, ++rowCh0, ++rowCh1, ++rowCh2)
...
Could you specify a place of code which plunge you into doubts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
case 3:{if (image.ComponentOrder()){if (image.Precision() <= 8){ippiConvert_8u32s_C1R(image.DataPtr(),image.Step()/3,imagePn.Buffer().DataPtr()[0].p32s,dataOrder.LineStep()[0],roi);ippiConvert_8u32s_C1R(image.DataPtr()+(image.Step()/3*roi.height),image.Step()/3,imagePn.Buffer().DataPtr()[1].p32s,dataOrder.LineStep()[1],roi);ippiConvert_8u32s_C1R(image.DataPtr()+(image.Step()/3*2*roi.height),image.Step()/3,imagePn.Buffer().DataPtr()[2].p32s,dataOrder.LineStep()[2],roi);}else{ippiConvert_16u32s_C1R((Ipp16u*)image.DataPtr(),image.Step(),imagePn.Buffer().DataPtr()[0].p32s,dataOrder.LineStep()[0],roi);ippiConvert_16u32s_C1R((Ipp16u*)image.DataPtr()+(image.Step()*roi.height),image.Step(),imagePn.Buffer().DataPtr()[1].p32s,dataOrder.LineStep()[1],roi);ippiConvert_16u32s_C1R((Ipp16u*)image.DataPtr()+(image.Step()*2*roi.height),image.Step(),imagePn.Buffer().DataPtr()[2].p32s,dataOrder.LineStep()[2],roi);}break;}sz.height = 1;sz.width = roi.width;Ipp32s* p[3];
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aris,
UIC JPEG2000 codec works with planar data both externally and internally.
Codeyou are quotedis actually from picnic (and so called "trancoder" sample). Initially it was developed mostly around displaying images in picnic (and previously in JPEGView sample), and just mostly copy/paste to transcoder, that's why its architecture everywhere turn around interleaved data format. It's not UIC component. You are trying to patch this code, butit's just a sample and it might be better to design a generic code for really universal trascoding (as I already mentioned somewhere here). Sorry, we still didn't do it...
Mikhail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It'sreasonable approach: first priority isfixing bugs in UIC (in order: core/components/samples), than new features and new samples.
If you have distinct feature request it's alwaysthe best way tosubmit and trackit through your Intel product support account.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page