<?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>i.MX ProcessorsのトピックHow to use glTexDirectVIVMap in Qt APP?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-glTexDirectVIVMap-in-Qt-APP/m-p/850652#M130198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My board is I.Mx6Q sabread. Find this&amp;nbsp;&lt;A href="https://elinux.org/images/1/13/Gabrielhuau.pdf"&gt;document&lt;/A&gt; that introduce a tool that can handle fullHD (1080p) at 60FPS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to use glTexDirectVIVMap function in QT app like this:&lt;BR /&gt;...&lt;BR /&gt;glBindTexture (GL_TEXTURE_2D, textures[0]);&lt;BR /&gt;/* Physical and Virtual addresses */&lt;BR /&gt;glTexDirectVIVMap(GL_TEXTURE_2D, width, height, GL_VIV_NV12,&lt;BR /&gt;&amp;amp;buffers[buf.index].start, &amp;amp;(buffers[buf.index].offset));&lt;BR /&gt;glTexDirectInvalidateVIV(GL_TEXTURE_2D);&lt;BR /&gt;...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What I have already done:&lt;BR /&gt;&lt;SPAN&gt;build meta-freescale and it succeeded &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ffreescale.github.io%2F%23download" rel="nofollow" target="_blank"&gt;http://freescale.github.io/#download&lt;/A&gt;&lt;BR /&gt;PATH=${PATH}:~/bin&lt;BR /&gt;mkdir fsl-community-bsp&lt;BR /&gt;cd fsl-community-bsp&lt;BR /&gt;&lt;SPAN&gt;repo init -u &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FFreescale%2Ffsl-community-bsp-platform" rel="nofollow" target="_blank"&gt;https://github.com/Freescale/fsl-community-bsp-platform&lt;/A&gt;&lt;SPAN&gt; -b rocko&lt;/SPAN&gt;&lt;BR /&gt;repo sync&lt;/LI&gt;&lt;LI&gt;Use these command to start QtCreator&lt;BR /&gt;cd /home/fsl-release-bsp/build/tmp/deploy/sdk/&lt;BR /&gt;source /opt/fsl-imx-fb/3.14.52-1.1.1/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;BR /&gt;cd /opt/Qt5.7.0/Tools/QtCreator/&lt;BR /&gt;bin/qtcreator&lt;/LI&gt;&lt;LI&gt;Add these in .pro (using qmake)&lt;BR /&gt;INCLUDEPATH += /home/fsl-release-bsp/build_qt5/tmp/sysroots/imx6qsabresd/usr/include \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gettext/0.19.8.1-r0/build/gettext-tools/gnulib-lib \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gettext/0.19.8.1-r0/gettext-0.19.8.1/gnulib-local/lib \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/build/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/glib \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/gstreamer-1.12.2/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/gstreamer-1.12.2/libs/gst/base \&lt;BR /&gt; /home//fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/gstreamer-1.12.2/libs/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gstreamer1.0-plugins-base/1.12.2-r0/gst-plugins-base-1.12.2/gst-libs/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gstreamer1.0-plugins-base/1.12.2-r0/gst-plugins-base-1.12.2/gst-libs/gst/video \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gstreamer1.0-plugins-base/1.12.2-r0/build/gst-libs/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/imx6qdlsabresd-fslc-linux-gnueabi/gstreamer1.0-plugins-imx/0.13.0-r0/git/src/eglvivsink&lt;BR /&gt; &lt;BR /&gt;LIBS += /home/fsl-gstreamer-imx/build/tmp/work/imx6qdlsabresd-fslc-linux-gnueabi/gstreamer1.0-plugins-imx/0.13.0-r0/git/build/src/eglvivsink/libgstimxeglvivsink.so&lt;BR /&gt;QMAKE_LIBS += -lgstbase-1.0 -lgstvideo-1.0&lt;/LI&gt;&lt;LI&gt;Create a kit&lt;BR /&gt;Device type: Generic Linux Device&lt;BR /&gt;Sysroot: /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;BR /&gt;Compiler: /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++&lt;BR /&gt;Debugger: /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb&lt;BR /&gt;Qt version: Qt 5.5.1 /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake&lt;/LI&gt;&lt;LI&gt;Including header&lt;BR /&gt;#include "gst/video/gstvideometa.h"&lt;BR /&gt;#include "gst/gst.h"&lt;BR /&gt;#include "gl_headers.h"&lt;BR /&gt;#include "gst/video/video.h"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I build the project it show a lots of error, these are part of it:&lt;/P&gt;&lt;P&gt;/home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:685: error: 'GLIB_DEPRECATED_IN_2_36' does not name a type&lt;BR /&gt; GLIB_DEPRECATED_IN_2_36&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:687: error: 'GLIB_DEPRECATED_IN_2_36' does not name a type&lt;BR /&gt; GLIB_DEPRECATED_IN_2_36&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:689: error: 'GLIB_AVAILABLE_IN_ALL' does not name a type&lt;BR /&gt; GLIB_AVAILABLE_IN_ALL&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:691: error: 'GLIB_AVAILABLE_IN_ALL' does not name a type&lt;BR /&gt; GLIB_AVAILABLE_IN_ALL&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:693: error: 'GLIB_AVAILABLE_IN_ALL' does not name a type&lt;BR /&gt; GLIB_AVAILABLE_IN_ALL&lt;BR /&gt; ^&lt;BR /&gt;How to fix these error? Or what did I do wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2018 08:28:54 GMT</pubDate>
    <dc:creator>kenjigan</dc:creator>
    <dc:date>2018-11-20T08:28:54Z</dc:date>
    <item>
      <title>How to use glTexDirectVIVMap in Qt APP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-glTexDirectVIVMap-in-Qt-APP/m-p/850652#M130198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My board is I.Mx6Q sabread. Find this&amp;nbsp;&lt;A href="https://elinux.org/images/1/13/Gabrielhuau.pdf"&gt;document&lt;/A&gt; that introduce a tool that can handle fullHD (1080p) at 60FPS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to use glTexDirectVIVMap function in QT app like this:&lt;BR /&gt;...&lt;BR /&gt;glBindTexture (GL_TEXTURE_2D, textures[0]);&lt;BR /&gt;/* Physical and Virtual addresses */&lt;BR /&gt;glTexDirectVIVMap(GL_TEXTURE_2D, width, height, GL_VIV_NV12,&lt;BR /&gt;&amp;amp;buffers[buf.index].start, &amp;amp;(buffers[buf.index].offset));&lt;BR /&gt;glTexDirectInvalidateVIV(GL_TEXTURE_2D);&lt;BR /&gt;...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What I have already done:&lt;BR /&gt;&lt;SPAN&gt;build meta-freescale and it succeeded &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ffreescale.github.io%2F%23download" rel="nofollow" target="_blank"&gt;http://freescale.github.io/#download&lt;/A&gt;&lt;BR /&gt;PATH=${PATH}:~/bin&lt;BR /&gt;mkdir fsl-community-bsp&lt;BR /&gt;cd fsl-community-bsp&lt;BR /&gt;&lt;SPAN&gt;repo init -u &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FFreescale%2Ffsl-community-bsp-platform" rel="nofollow" target="_blank"&gt;https://github.com/Freescale/fsl-community-bsp-platform&lt;/A&gt;&lt;SPAN&gt; -b rocko&lt;/SPAN&gt;&lt;BR /&gt;repo sync&lt;/LI&gt;&lt;LI&gt;Use these command to start QtCreator&lt;BR /&gt;cd /home/fsl-release-bsp/build/tmp/deploy/sdk/&lt;BR /&gt;source /opt/fsl-imx-fb/3.14.52-1.1.1/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;BR /&gt;cd /opt/Qt5.7.0/Tools/QtCreator/&lt;BR /&gt;bin/qtcreator&lt;/LI&gt;&lt;LI&gt;Add these in .pro (using qmake)&lt;BR /&gt;INCLUDEPATH += /home/fsl-release-bsp/build_qt5/tmp/sysroots/imx6qsabresd/usr/include \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gettext/0.19.8.1-r0/build/gettext-tools/gnulib-lib \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gettext/0.19.8.1-r0/gettext-0.19.8.1/gnulib-local/lib \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/build/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/glib \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/gstreamer-1.12.2/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/gstreamer-1.12.2/libs/gst/base \&lt;BR /&gt; /home//fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/gstreamer1.0/1.12.2-r0/gstreamer-1.12.2/libs/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gstreamer1.0-plugins-base/1.12.2-r0/gst-plugins-base-1.12.2/gst-libs/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gstreamer1.0-plugins-base/1.12.2-r0/gst-plugins-base-1.12.2/gst-libs/gst/video \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gstreamer1.0-plugins-base/1.12.2-r0/build/gst-libs/ \&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/imx6qdlsabresd-fslc-linux-gnueabi/gstreamer1.0-plugins-imx/0.13.0-r0/git/src/eglvivsink&lt;BR /&gt; &lt;BR /&gt;LIBS += /home/fsl-gstreamer-imx/build/tmp/work/imx6qdlsabresd-fslc-linux-gnueabi/gstreamer1.0-plugins-imx/0.13.0-r0/git/build/src/eglvivsink/libgstimxeglvivsink.so&lt;BR /&gt;QMAKE_LIBS += -lgstbase-1.0 -lgstvideo-1.0&lt;/LI&gt;&lt;LI&gt;Create a kit&lt;BR /&gt;Device type: Generic Linux Device&lt;BR /&gt;Sysroot: /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;BR /&gt;Compiler: /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++&lt;BR /&gt;Debugger: /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb&lt;BR /&gt;Qt version: Qt 5.5.1 /opt/fsl-imx-fb/3.14.52-1.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake&lt;/LI&gt;&lt;LI&gt;Including header&lt;BR /&gt;#include "gst/video/gstvideometa.h"&lt;BR /&gt;#include "gst/gst.h"&lt;BR /&gt;#include "gl_headers.h"&lt;BR /&gt;#include "gst/video/video.h"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I build the project it show a lots of error, these are part of it:&lt;/P&gt;&lt;P&gt;/home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:685: error: 'GLIB_DEPRECATED_IN_2_36' does not name a type&lt;BR /&gt; GLIB_DEPRECATED_IN_2_36&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:687: error: 'GLIB_DEPRECATED_IN_2_36' does not name a type&lt;BR /&gt; GLIB_DEPRECATED_IN_2_36&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:689: error: 'GLIB_AVAILABLE_IN_ALL' does not name a type&lt;BR /&gt; GLIB_AVAILABLE_IN_ALL&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:691: error: 'GLIB_AVAILABLE_IN_ALL' does not name a type&lt;BR /&gt; GLIB_AVAILABLE_IN_ALL&lt;BR /&gt; ^&lt;BR /&gt; /home/fsl-gstreamer-imx/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glib-2.0/1_2.52.3-r0/glib-2.52.3/gobject/gtype.h:693: error: 'GLIB_AVAILABLE_IN_ALL' does not name a type&lt;BR /&gt; GLIB_AVAILABLE_IN_ALL&lt;BR /&gt; ^&lt;BR /&gt;How to fix these error? Or what did I do wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 08:28:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-glTexDirectVIVMap-in-Qt-APP/m-p/850652#M130198</guid>
      <dc:creator>kenjigan</dc:creator>
      <dc:date>2018-11-20T08:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use glTexDirectVIVMap in Qt APP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-glTexDirectVIVMap-in-Qt-APP/m-p/850653#M130199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try with nxp official bsps from &lt;A class="link-titled" href="https://source.codeaurora.org" title="https://source.codeaurora.org"&gt;Code Aurora git repositories&lt;/A&gt;&amp;nbsp; repository,&lt;/P&gt;&lt;P&gt;for example please check i.MX_Graphics_User's_Guide.pdf, i.MX_Yocto_Project_User's_Guide.pdf&lt;/P&gt;&lt;P&gt;included in linux documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageTyp…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 09:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-glTexDirectVIVMap-in-Qt-APP/m-p/850653#M130199</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-11-26T09:39:43Z</dc:date>
    </item>
  </channel>
</rss>

