- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to access DCT coefficients before inverse quantization. I tried the following:
my_ReconstructCoeffsInter_MPEG4_1u16s(
ipp8u** ppBitStream,
int* pBitOffset,
Ipp16s* pCoeffs,
int* pIndxLastNonZero,
int rvlcFlag,
int scan,
const IppiQuantInvInterSpec_MPEG4 *pQuantInvInterSpec,
int QP )
{
ippiDecodeCoeffsInter_MPEG4_1u16s(
ppBitStream,
pBitOffset,
pCoeffs,
pIndxLastNonZero,
rvlcFlag,
scan );
ippiQuantInvInter_MPEG4_16sC1I(
pCoeffs,
*pIndxLastNonZero,
pQuantInvInterSpec,
QP );
}
But apparently it is not the same - the picture is disstorted ( I replaced default call in mp4_DecodeInterMB() in mpeg4 decoder ). Am I missing something ? I use IPP ver5.1 on WinXP.
Thanks in advance,
Kamil
my_ReconstructCoeffsInter_MPEG4_1u16s(
ipp8u** ppBitStream,
int* pBitOffset,
Ipp16s* pCoeffs,
int* pIndxLastNonZero,
int rvlcFlag,
int scan,
const IppiQuantInvInterSpec_MPEG4 *pQuantInvInterSpec,
int QP )
{
ippiDecodeCoeffsInter_MPEG4_1u16s(
ppBitStream,
pBitOffset,
pCoeffs,
pIndxLastNonZero,
rvlcFlag,
scan );
ippiQuantInvInter_MPEG4_16sC1I(
pCoeffs,
*pIndxLastNonZero,
pQuantInvInterSpec,
QP );
}
But apparently it is not the same - the picture is disstorted ( I replaced default call in mp4_DecodeInterMB() in mpeg4 decoder ). Am I missing something ? I use IPP ver5.1 on WinXP.
Thanks in advance,
Kamil
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now works ok,
Thank you very much,
Kamil
Thank you very much,
Kamil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you are welcome, Kamil
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