<?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 MPEG2 Encoder question (UMC::MPEG2VideoEncoder) in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG2-Encoder-question-UMC-MPEG2VideoEncoder/m-p/915728#M15103</link>
    <description>I'm using w_ipp_ia32_p_5.2.057.exe and w_ipp-samples_p_5.2.049.zip.&lt;BR /&gt;I'm playing with the class UMC::MPEG2VideoEncoder. I tested it with various widths and heights of the encoded MPEG2 stream and looks like it works fine only if the width is multiple of 16, (width % 16) == 0.&lt;BR /&gt;&lt;BR /&gt;For example if I try to encode a movie with width = 60, height = 60 then code crashes in file umc_mpeg2_enc_me.h line:41&lt;BR /&gt;----------&lt;BR /&gt;mpeg2_assert(limit_right &amp;gt;= 0);&lt;BR /&gt;----------&lt;BR /&gt;&lt;BR /&gt;because the limit_right value is -4.&lt;BR /&gt;&lt;BR /&gt;My question is: &lt;BR /&gt;What are the restrictions on the width and height in UMC::MPEG2VideoEncoder?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Jul 2007 14:09:53 GMT</pubDate>
    <dc:creator>agent_smith</dc:creator>
    <dc:date>2007-07-19T14:09:53Z</dc:date>
    <item>
      <title>MPEG2 Encoder question (UMC::MPEG2VideoEncoder)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG2-Encoder-question-UMC-MPEG2VideoEncoder/m-p/915728#M15103</link>
      <description>I'm using w_ipp_ia32_p_5.2.057.exe and w_ipp-samples_p_5.2.049.zip.&lt;BR /&gt;I'm playing with the class UMC::MPEG2VideoEncoder. I tested it with various widths and heights of the encoded MPEG2 stream and looks like it works fine only if the width is multiple of 16, (width % 16) == 0.&lt;BR /&gt;&lt;BR /&gt;For example if I try to encode a movie with width = 60, height = 60 then code crashes in file umc_mpeg2_enc_me.h line:41&lt;BR /&gt;----------&lt;BR /&gt;mpeg2_assert(limit_right &amp;gt;= 0);&lt;BR /&gt;----------&lt;BR /&gt;&lt;BR /&gt;because the limit_right value is -4.&lt;BR /&gt;&lt;BR /&gt;My question is: &lt;BR /&gt;What are the restrictions on the width and height in UMC::MPEG2VideoEncoder?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jul 2007 14:09:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG2-Encoder-question-UMC-MPEG2VideoEncoder/m-p/915728#M15103</guid>
      <dc:creator>agent_smith</dc:creator>
      <dc:date>2007-07-19T14:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: MPEG2 Encoder question (UMC::MPEG2VideoEncoder)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG2-Encoder-question-UMC-MPEG2VideoEncoder/m-p/915729#M15104</link>
      <description>&lt;P&gt;Hi, thanks for pointing this out.&lt;/P&gt;
&lt;P&gt;In current version only width has to be a multiple of 16. If there is a need to avoid this limitation please change in umc_mpeg2_enc_defs.h in BOUNDS_H macro srcYFrameHSize to &lt;FONT size="2"&gt;MBcountH*16 &lt;/FONT&gt;in both places.&lt;/P&gt;
&lt;P&gt;Really it is not good to work with frame dimensions not multiple of 16 (of 32 for height with interlaced content). MPEG2 standard doesn't define how to fill extended area and such boundary macroblocks are poorly compressed. Also, some players do display aligned area and noisy or color stripes appear on the right or bottom border.&lt;/P&gt;
&lt;P&gt;Regards!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2007 11:22:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG2-Encoder-question-UMC-MPEG2VideoEncoder/m-p/915729#M15104</guid>
      <dc:creator>Leonid_K_Intel</dc:creator>
      <dc:date>2007-08-08T11:22:47Z</dc:date>
    </item>
  </channel>
</rss>

