Windows > Software Development for Windows Client Forums > Windows Imaging Component (WIC) > WIC JPEG Decoder Fails in CopyPixels() with H_RESULT = 0x88982F60 ON HIGH CPU UTILIZATION!!!!
Ask a questionAsk a question
 

QuestionWIC JPEG Decoder Fails in CopyPixels() with H_RESULT = 0x88982F60 ON HIGH CPU UTILIZATION!!!!

  • Wednesday, September 09, 2009 11:46 AMsathaadj Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

       I am using WIC Jpeg Decoder for real time streaming. I am facing this strange problem where in my CopyPixels() function will
    fail with HR - 0x88982F60 which means WINCODEC_ERR_BADIMAGE. But i tried storing this in to a seperate .jpg file and able to
    see it in the "Windows  Picture and Fax Viewer" properly. I have designed a direct show filter to handle this decoding.

       Most interestingly this issue happens only when the CPU utilization is above 90 - 100%. I am using  Visual Studio 2005 and
    XP SP 3 with .Net Framework 3.5 SP1. Now whenever i face this problem WIC Jpeg Decoder is not able to decode any image
    after this failure, every CopyPixels() operation fails with the same HR.

      Can some one help me in resolving this problem?

    sathaadj