<?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 H.264 samples and building on Linux in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927610#M16320</link>
    <description>Hellom&lt;BR /&gt;&lt;BR /&gt;1) Unfortunately,there are only H.264 samples for windows and &lt;BR /&gt;not for Linux (Encoder/Decoder) in IPP site.&lt;BR /&gt;&lt;A href="http://www.intel.com/software/products/ipp/video.htm" target="_blank"&gt;http://www.intel.com/software/products/ipp/video.htm&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Did anyone tried to build and run h.264 samples on Linux ?&lt;BR /&gt;&lt;BR /&gt;Or is trying to build thesw sources is bound to fail ? &lt;BR /&gt;&lt;BR /&gt;2) Facing the growing popularity of Linux,does Intel intend to release soon such samples fpr Linux ? &lt;BR /&gt;&lt;BR /&gt;(for MPEG-2 , for example, there are samples for Linux).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards, &lt;BR /&gt;Rami Rosen</description>
    <pubDate>Mon, 15 Nov 2004 23:19:56 GMT</pubDate>
    <dc:creator>ramirosen</dc:creator>
    <dc:date>2004-11-15T23:19:56Z</dc:date>
    <item>
      <title>H.264 samples and building on Linux</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927610#M16320</link>
      <description>Hellom&lt;BR /&gt;&lt;BR /&gt;1) Unfortunately,there are only H.264 samples for windows and &lt;BR /&gt;not for Linux (Encoder/Decoder) in IPP site.&lt;BR /&gt;&lt;A href="http://www.intel.com/software/products/ipp/video.htm" target="_blank"&gt;http://www.intel.com/software/products/ipp/video.htm&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Did anyone tried to build and run h.264 samples on Linux ?&lt;BR /&gt;&lt;BR /&gt;Or is trying to build thesw sources is bound to fail ? &lt;BR /&gt;&lt;BR /&gt;2) Facing the growing popularity of Linux,does Intel intend to release soon such samples fpr Linux ? &lt;BR /&gt;&lt;BR /&gt;(for MPEG-2 , for example, there are samples for Linux).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards, &lt;BR /&gt;Rami Rosen</description>
      <pubDate>Mon, 15 Nov 2004 23:19:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927610#M16320</guid>
      <dc:creator>ramirosen</dc:creator>
      <dc:date>2004-11-15T23:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 samples and building on Linux</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927611#M16321</link>
      <description>&lt;DIV&gt;Dear Customer,&lt;BR /&gt;Thanks for your interest in Intel IPP samples. We will take your inputs into our consideration for future possible feature enhancements.&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;As you may know, allIntel IPP samples build bythe latest version of IPP 4.1 can be easily ported from Windows* to Linux*, simply you can modify the path for complier and IPP library path in Makefile and build.sh file.&lt;BR /&gt;&lt;BR /&gt;You may refer the environment setting from samplesMPEG-2 codec for Linux* to see how it can help you on H.264 codec samples.&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hope it helps.&lt;BR /&gt;Thanks,&lt;BR /&gt;Ying &lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Nov 2004 07:56:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927611#M16321</guid>
      <dc:creator>Ying_S_Intel</dc:creator>
      <dc:date>2004-11-17T07:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 samples and building on Linux</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927612#M16322</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;FIrst I downloaded the Linux video samples; I did not see there&lt;BR /&gt;H.263 sample.&lt;BR /&gt;Second,&lt;BR /&gt;I looked at MPEG2 examples;&lt;BR /&gt;This is the 10 changes I did so that it will build:&lt;BR /&gt;&lt;BR /&gt;1) copied the Makefile from MPEG2 , and adjusted it for&lt;BR /&gt;H264 (The Makefile is at the end of this posting).&lt;BR /&gt;&lt;BR /&gt;2) when running ./build.sh the compiler gave error&lt;BR /&gt;about vm_var64 undefined.&lt;BR /&gt;SO:&lt;BR /&gt;&lt;BR /&gt;in cpl/include/sys:&lt;BR /&gt;&lt;BR /&gt;I had copied vm_types_linux32.h to cpl/include/sys&lt;BR /&gt;(I took it from Intel g729 evaluation sample I had.)&lt;BR /&gt;&lt;BR /&gt;3) in vm_types.h:&lt;BR /&gt;instead:&lt;BR /&gt;#include "sys/vm_types_win32.h"&lt;BR /&gt;comes:&lt;BR /&gt;#include sys/vm_types_linux32.h&lt;BR /&gt;&lt;BR /&gt;4)&lt;BR /&gt;added:&lt;BR /&gt;#include "stdlib.h"&lt;BR /&gt;&lt;BR /&gt;in h264_enc_con.cpp&lt;BR /&gt;for enabling exit() call (see man 3 exit).&lt;BR /&gt;&lt;BR /&gt;5) marked QueryPerformanceFrequency in h264_enc_con.cpp&lt;BR /&gt;&lt;BR /&gt;(It is a windows method)&lt;BR /&gt;&lt;BR /&gt;6) marked typedef char vm_char; in vm_types_linux32.h&lt;BR /&gt;(beacuse we have a double definition of it; it is also&lt;BR /&gt;in vm_strings.h).&lt;BR /&gt;&lt;BR /&gt;7) in crc264.cpp&lt;BR /&gt;method: Ipp32u CConstRateControl::UpdateMBComplexity(Ipp32u number)&lt;BR /&gt;I had changed&lt;BR /&gt;for (int h=0;h16;h++)&lt;BR /&gt;to :&lt;BR /&gt;int h&lt;BR /&gt;for (int h=0;h16;h++)&lt;BR /&gt;&lt;BR /&gt;because in linux it causes an error (scoping).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;8) marked __asm emms in 2 methods (crc264.cpp)&lt;BR /&gt;(Is it correct ?? ?? : I would appreciate getting a response regarding this)&lt;BR /&gt;&lt;BR /&gt;9) added #include &lt;BR /&gt;in e3queue.cpp (beacuse of NULL undeclared error).&lt;BR /&gt;&lt;BR /&gt;10)&lt;BR /&gt;in ecsad.cpp :&lt;BR /&gt;instead&lt;BR /&gt;static const Ipp8u block_subblock_mapping[16] =&lt;BR /&gt;{0,1,4,5,2,3,6,7,8,9,12,13,10,11,14,15};&lt;BR /&gt;&lt;BR /&gt;comes:&lt;BR /&gt;const Ipp8u block_subblock_mapping[16] =&lt;BR /&gt;{0,1,4,5,2,3,6,7,8,9,12,13,10,11,14,15};&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;because of follwoing error:&lt;BR /&gt;`block_subblock_mapping' was declared `extern' and&lt;BR /&gt;later `static'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now build passes and it creates an executable; I did not tested&lt;BR /&gt;running an checking the result.&lt;BR /&gt;&lt;BR /&gt;again , I would appreciate&lt;BR /&gt;getting a response to step no 8:&lt;BR /&gt;marked __asm emms in 2 methods (crc264.cpp)&lt;BR /&gt;Is it OK to do this ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;here is the Makefile:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#############################################################################&lt;BR /&gt;# Makefile for building: player&lt;BR /&gt;#############################################################################&lt;BR /&gt;.SUFFIXES: .cpp .c .o .h&lt;BR /&gt;&lt;BR /&gt;ifndef IPPROOT&lt;BR /&gt;IPPROOT=/opt/intel/ipp41/ia32_itanium&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;####### Compiler, tools and options&lt;BR /&gt;CXXFLAGS= -g -O -w&lt;BR /&gt;INCLUDE = -I$(IPPROOT)/include&lt;BR /&gt;INCLUDE+= -Icpl/include&lt;BR /&gt;INCLUDE+= -Ih264_enc/header&lt;BR /&gt;&lt;BR /&gt;LIBDIR = $(IPPROOT)/lib&lt;BR /&gt;DEFINES = -DNDEBUG -DLINUX32&lt;BR /&gt;&lt;BR /&gt;LIBS = -L$(LIBDIR) -L/usr/X11R6/lib --start-group -lSDL -lSDLmain -lX11 -lXext -lpthread -lippvc -lipps -lippi -lippcore -lm -ldl --end-group&lt;BR /&gt;MOC = moc&lt;BR /&gt;&lt;BR /&gt;####### Implicit rules&lt;BR /&gt;&lt;BR /&gt;.cpp.o:&lt;BR /&gt;$(CXX) -c $(CXXFLAGS) $(INCLUDE) $(DEFINES) -o$@ $&lt;BR /&gt;&lt;BR /&gt;.c.o:&lt;BR /&gt;$(CC) -c $(CXXFLAGS) $(INCLUDE) $(DEFINES) -o$@ $&lt;BR /&gt;&lt;BR /&gt;all: h264Encoder&lt;BR /&gt;&lt;BR /&gt;####### Build rules for h264Encoder&lt;BR /&gt;INCLUDE+=-Iinclude&lt;BR /&gt;SOURCES+=$(wildcard coder/*.cpp)&lt;BR /&gt;SOURCES+=$(wildcard cpl/src/*.c)&lt;BR /&gt;SOURCES+=$(wildcard h264_enc/src/*.cpp)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OBJECTS=$(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SOURCES)))&lt;BR /&gt;&lt;BR /&gt;h264Encoder: $(OBJECTS)&lt;BR /&gt;$(CXX) $(CXXFLAGS) -o$@ $^ $(LIBS)&lt;BR /&gt;&lt;BR /&gt;clean:&lt;BR /&gt;-rm -f $(OBJECTS) h264Encoder&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rami</description>
      <pubDate>Wed, 17 Nov 2004 20:37:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927612#M16322</guid>
      <dc:creator>ramirose1</dc:creator>
      <dc:date>2004-11-17T20:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 samples and building on Linux</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927613#M16323</link>
      <description>&lt;DIV&gt;Hi Rami,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;yes, you can safely comment this line, it was part of old code and do not used now.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Nov 2004 12:50:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-samples-and-building-on-Linux/m-p/927613#M16323</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-11-18T12:50:53Z</dc:date>
    </item>
  </channel>
</rss>

