Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ankush_W_
New Contributor I
59 Views

Quarter of a frame is getting decoded

I have come across a problem here. I have two machines a i7 2600k on which the hardware decoding is working fine but the same code on a i7 4770k seems to decode like just a quarter of a frame for each frame. I am using SDK 2013 R2.

Another thing I noticed is that on the i7 2600k machine the DecodeHeader() is returning different values as follows

i7 2600k - mfx.FrameInfo.FrameRateExtN = 240000   mfx.FrameInfo.FrameRateExtD = 9600

i7 4770k - mfx.FrameInfo.FrameRateExtN = 50   mfx.FrameInfo.FrameRateExtD = 2

The one information decoded by 4770k is accurate as the frames are interlaced but it dosent return entire frames on 4770k.

0 Kudos
4 Replies
Ankush_W_
New Contributor I
59 Views

I have figured out that its the VPP thats cutting the frame off and not the decoder. Any help with why it must be hapening so?

Thank you

-Ankush

59 Views

Hey Ankush,

Can you please let us know what tutorial/sample you are using? That will help us help you.

If you are using the simple_6_decode_vpp_postproc, the VPP out params specifies the output should be quarter resolution: 

VPPParams.vpp.Out.CropW = VPPParams.vpp.In.CropW / 2;   // Resize to half size resolution
VPPParams.vpp.Out.CropH = VPPParams.vpp.In.CropH / 2;

Anyway, some more information about your code would be helpful

Ankush_W_
New Contributor I
59 Views

Hi Sravanthi,

Thanks for replying, and I have developed a application of my own for decoding and colourspace conversion using vpp. I am attaching the logs recorded by the very tools provided with the SDK. Hope you find em useful.

Thank you

-Ankush

Ankush_W_
New Contributor I
59 Views

Hi Sravanthi,

The problem I had is been solved. The Problem was in assigning the memory to the VPP surface's components (i.e R, G, B, A). due to which the data was lost and only Quarter of a frame was being displayed. But i still dont understand how could it perfectly run on a i7-2600k. Anyways thank you.

Regards

-Ankush

Reply