<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic UMC::H264VideoDecoder problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868276#M8547</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;
&lt;P&gt;I'mworking for H264 coompression project.I'm testing IPP and I UMC :: H264VideoEncoder and UMC::H264VideoDecoder. I got a problem when decode h264 image using UMC::H264VideoDecoder.&lt;/P&gt;
&lt;P&gt;First, I encode imageusingH264VideoEncoder.And I save to disk H264 images.And then I read datafrom disk and Idecode it by UMC::H264VideoDecoder but I got UMC_ERR_NOT_ENOUGH_DATA errorfor first image.Can youhelp me?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Daniel &lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2008 21:25:37 GMT</pubDate>
    <dc:creator>danielwang1971</dc:creator>
    <dc:date>2008-01-10T21:25:37Z</dc:date>
    <item>
      <title>UMC::H264VideoDecoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868276#M8547</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;
&lt;P&gt;I'mworking for H264 coompression project.I'm testing IPP and I UMC :: H264VideoEncoder and UMC::H264VideoDecoder. I got a problem when decode h264 image using UMC::H264VideoDecoder.&lt;/P&gt;
&lt;P&gt;First, I encode imageusingH264VideoEncoder.And I save to disk H264 images.And then I read datafrom disk and Idecode it by UMC::H264VideoDecoder but I got UMC_ERR_NOT_ENOUGH_DATA errorfor first image.Can youhelp me?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Daniel &lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2008 21:25:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868276#M8547</guid>
      <dc:creator>danielwang1971</dc:creator>
      <dc:date>2008-01-10T21:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: UMC::H264VideoDecoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868277#M8548</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My decodefunction like:&lt;/P&gt;
&lt;P&gt;BOOL Decode(&lt;FONT color="#0000ff"&gt;void&lt;/FONT&gt;* destImage,int destBuffersize,&lt;FONT color="#0000ff"&gt;void&lt;/FONT&gt;* srcImage,int srcBufferSize,FrameType type)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;(!Decoder) &lt;FONT color="#0000ff"&gt;return&lt;/FONT&gt; FALSE;&lt;/P&gt;
&lt;P&gt;DecodeIn-&amp;gt;SetBufferPointersr(srcImage,srcBufferSize); &lt;/P&gt;
&lt;P&gt;DecodeIn-&amp;gt;SetFrameType(type); &lt;/P&gt;
&lt;P&gt;DecodeOut-&amp;gt;SetBufferPointer(destImage,destBuffersize);&lt;/P&gt;
&lt;P&gt;DecodeIn-&amp;gt;SetDataSize(len); &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;(First)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;DecoderParams-&amp;gt;info.stream_type = H264_VIDEO;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;//DecoderParams-&amp;gt;numThreads = num_threads;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;DecoderParams-&amp;gt;lFlags = 0;&lt;/P&gt;
&lt;P&gt;DecoderParams-&amp;gt;m_pData = DecodeIn;&lt;/P&gt;
&lt;P&gt; Decoder-&amp;gt;Init(DecoderParams);&lt;/P&gt;
&lt;P&gt; DecodeOut-&amp;gt;SetAlignment(16);&lt;/P&gt;
&lt;P&gt; DecodeOut-&amp;gt;Init(ImageWidth, ImageHeight, UMC::GRAY, 8);&lt;/P&gt;
&lt;P&gt; First = &lt;FONT color="#0000ff"&gt;false&lt;/FONT&gt;;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Error = Decoder-&amp;gt;GetFrame(DecodeIn, DecodeOut);&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;(UMC_ERR_NOT_ENOUGH_DATA == Error)&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;return&lt;/FONT&gt; FALSE;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;else&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;return&lt;/FONT&gt; TRUE;&lt;/P&gt;&lt;FONT size="2"&gt;
&lt;P&gt;&lt;FONT size="3"&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;I got UMC_ERR_NOT_ENOUGH_DATA error.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Thank you so much.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;daniel wang&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 10 Jan 2008 22:01:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868277#M8548</guid>
      <dc:creator>danielwang1971</dc:creator>
      <dc:date>2008-01-10T22:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: UMC::H264VideoDecoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868278#M8549</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;
&lt;P&gt;did you try to decode your data with simple_player application from IPP audio-video-codecs sample?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2008 07:28:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868278#M8549</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-01-11T07:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: UMC::H264VideoDecoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868279#M8550</link>
      <description>&lt;P&gt;&lt;BR /&gt;Thank you your response so quickly,I tested with simple_play.Exe,didn't work,neither.&lt;/P&gt;
&lt;P&gt;Here's my Encode function&lt;/P&gt;
&lt;P&gt;....&lt;BR /&gt;EncoderParams = new H264EncoderParams();&lt;BR /&gt;EncoderParams-&amp;gt;info.clip_info.width = ImageWidth;&lt;BR /&gt;EncoderParams-&amp;gt;info.clip_info.height = ImageHeight;&lt;BR /&gt;EncoderParams-&amp;gt;info.framerate = 30;&lt;BR /&gt;EncoderParams-&amp;gt;numEncodedFrames = 0x7fffffff; &lt;/P&gt;
&lt;P&gt;EncoderParams-&amp;gt;chroma_format_idc = 0;&lt;BR /&gt;EncoderParams-&amp;gt;profile_idc = H264_HIGH_PROFILE;&lt;BR /&gt;EncoderParams-&amp;gt;info.bitrate = 5000000;&lt;BR /&gt;.....&lt;BR /&gt;bool EncodeImage(void* destImage,void* srcImage)&lt;BR /&gt;{&lt;BR /&gt; if(!Encoder)return false;&lt;/P&gt;
&lt;P&gt; if(First)&lt;BR /&gt; {&lt;BR /&gt; Error = Encoder-&amp;gt;Init(EncoderParams);&lt;BR /&gt; Error = Encoder-&amp;gt;GetInfo(EncoderParams);&lt;BR /&gt; &lt;BR /&gt; if(Error != UMC_OK)&lt;BR /&gt; {&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;BR /&gt; EncodeIn-&amp;gt;Init(ImageWidth, ImageHeight,GRAY,8);&lt;BR /&gt; &lt;BR /&gt; //Create the sequence on disk&lt;BR /&gt; StreamFile = CreateFile(_T("c:test.dat"), GENERIC_WRITE | GENERIC_READ, &lt;BR /&gt; FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, &lt;BR /&gt; FILE_ATTRIBUTE_NORMAL, NULL);&lt;BR /&gt; if(StreamFile == INVALID_HANDLE_VALUE)&lt;BR /&gt; {&lt;BR /&gt; StreamFile = NULL;&lt;BR /&gt; }&lt;BR /&gt;First = false;&lt;BR /&gt; }&lt;BR /&gt; EncodeInData-&amp;gt;SetPlanePointer(srcImage,0);&lt;BR /&gt; EncodeOutData-&amp;gt;SetBufferPointer(destImage,ImageWidth* ImageHeight); &lt;/P&gt;
&lt;P&gt; Error = Encoder-&amp;gt;GetFrame(EncodeInData,EncodeOutData); &lt;BR /&gt; &lt;BR /&gt; if(Error != UMC_OK)&lt;BR /&gt; {&lt;BR /&gt;return false;&lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt; unsigned long len = EncodeOut-&amp;gt;GetDataSize(); &lt;BR /&gt; &lt;BR /&gt; if(StreamFile)&lt;BR /&gt; {&lt;BR /&gt; DWORD written;&lt;BR /&gt;if(!WriteFile(StreamFile, destImage, len, &amp;amp;written, NULL))&lt;BR /&gt;return false;&lt;BR /&gt; }&lt;BR /&gt; return true;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;After that,I run simple_player and my decode function, both of them didn't work.&lt;/P&gt;
&lt;P&gt;Can your tellme what wrong in my code?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Daniel wang&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2008 17:06:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868279#M8550</guid>
      <dc:creator>danielwang1971</dc:creator>
      <dc:date>2008-01-11T17:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: UMC::H264VideoDecoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868280#M8551</link>
      <description>&lt;P&gt;If you are able to compress your input stream with umc_video_enc_con application (and decode then back with simple_player) you may check encoder application sources to see what is wrong&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2008 17:53:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-problem/m-p/868280#M8551</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-01-11T17:53:55Z</dc:date>
    </item>
  </channel>
</rss>

