- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
Ineed to use function ippiResize_8u_P3R(const Ipp* const pSrc[3],IppiSize srcSize, int srcStep, ...
Can anybody explaine me what is -srcStep?
Because I expect to see something like - int srcStep[3]
I have color model planar YUV422, so it should be:
int nSteps[3] = {nWidth, nWidth/nCdx, nWidth/nCdx};
Thanks,
Adi
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adi,
ippiResize_8u_P3R do resize for 3 channels images with the same dimensions for all three planes. So, it does not work with sampled down images. But you can to use ippiResize_8u_C1R to do resize for each plane separately.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
srcStep is the size in byte of one line of the image data. Normally, it is equal to width*(byte depth of each pixel) and it is important for locating the pixel by their coordinate.
pixel vaule = imagedata [lines*step + cols] ;
srcStep is the size in byte of one line of the image data. Normally, it is equal to width*(byte depth of each pixel) and it is important for locating the pixel by their coordinate.
pixel vaule = imagedata [lines*step + cols] ;
![](/skins/images/B7BA37F9CE4B52FF7CAE1FB0388839C8/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page