<?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 Re: USING SAME UIMAGE FOR DIFFERENT RESOLUTION in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238880#M19516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;hi kirill,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using the Gstreamer application we capturing only the video that is no probem it's absolutely fine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is in Image capturing, we are using a Generic capture C application for capturing the images of various resolution, for that we pass the&amp;nbsp; v4l2 format parameters such as width, height, buf type, image format whether it is YUYV or RGB etc from the&amp;nbsp; application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when we execute the application it communicates with &lt;STRONG&gt;mxc_v4l2_capture.c&lt;/STRONG&gt; file and set the parameters, the particular parameters will be set in the driver and sensor starts to capture the appropriate resolution image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, In the &lt;STRONG&gt;ov5640.c&lt;/STRONG&gt; under the Register structure 640_480 we replace the RAW settings with the JPEG settings&lt;/P&gt;&lt;P&gt;of 720p or 1080p resolution image and we make a seperate uImage for two resolution, we load this in the board and execute the corresponding User application it ll capture the images of 720p or 1080p with capturemode=0&amp;nbsp; and image is fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i need to capture all the resolution images in single uImage file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When i gothrough the freescale mmcodecs source, They are passing the capturemode and v4l2_format in the mfw_v4l2_gst_src file for capturing the video, if we pass the capturemode , width and height in the gst command line it writes the apropriate register settings in the sensor and captures the video&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me, if i pass the capturemode in the user application it takes the picture in raw mode only, when i enable the jpeg settings in the register the image is not coming, but it takes corresponding register settings under the structure in &lt;STRONG&gt;ov5640.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hi kirill, if you cant able to understand the problem in text, you can contact me at this skype id &lt;STRONG&gt;shanmugam.891&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Sorry, for confusing you and Thanks for your reply,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;shan&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 08:00:51 GMT</pubDate>
    <dc:creator>shanmugamsundar</dc:creator>
    <dc:date>2013-05-17T08:00:51Z</dc:date>
    <item>
      <title>USING SAME UIMAGE FOR DIFFERENT RESOLUTION</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238878#M19514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using i.mx535 board in that we interface a camera application and we done the capturing of all resolution videos and images for that we are using seperate uImage for capturing the different resolution&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CAMERA SENSOR:&lt;/STRONG&gt; ov5640&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For Eg:-&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for 640x480 jpeg image we are using a seperate uImage1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for 720p&amp;nbsp; jpeg image&amp;nbsp; Uimage 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for 1080p uImage 3 like these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me how to capture&amp;nbsp; all the resolution &lt;STRONG&gt;jpeg Images&lt;/STRONG&gt; in a single &lt;STRONG&gt;uImage&lt;/STRONG&gt;&amp;nbsp; how can i change the &lt;STRONG&gt;ioctl functions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; There is a seperate jpeg register settings for seperate resolutions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;shan&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 07:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238878#M19514</guid>
      <dc:creator>shanmugamsundar</dc:creator>
      <dc:date>2013-05-15T07:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: USING SAME UIMAGE FOR DIFFERENT RESOLUTION</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238879#M19515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, shan!&lt;/P&gt;&lt;P&gt;What different in configuration for your uImage?&lt;BR /&gt;As example you can configure CMOS on maximum resolution and modify video buffer after, e.g. in ColorSpaceConverter or use GStreamer videoscale.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 12:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238879#M19515</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2013-05-15T12:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: USING SAME UIMAGE FOR DIFFERENT RESOLUTION</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238880#M19516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;hi kirill,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using the Gstreamer application we capturing only the video that is no probem it's absolutely fine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is in Image capturing, we are using a Generic capture C application for capturing the images of various resolution, for that we pass the&amp;nbsp; v4l2 format parameters such as width, height, buf type, image format whether it is YUYV or RGB etc from the&amp;nbsp; application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when we execute the application it communicates with &lt;STRONG&gt;mxc_v4l2_capture.c&lt;/STRONG&gt; file and set the parameters, the particular parameters will be set in the driver and sensor starts to capture the appropriate resolution image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, In the &lt;STRONG&gt;ov5640.c&lt;/STRONG&gt; under the Register structure 640_480 we replace the RAW settings with the JPEG settings&lt;/P&gt;&lt;P&gt;of 720p or 1080p resolution image and we make a seperate uImage for two resolution, we load this in the board and execute the corresponding User application it ll capture the images of 720p or 1080p with capturemode=0&amp;nbsp; and image is fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i need to capture all the resolution images in single uImage file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When i gothrough the freescale mmcodecs source, They are passing the capturemode and v4l2_format in the mfw_v4l2_gst_src file for capturing the video, if we pass the capturemode , width and height in the gst command line it writes the apropriate register settings in the sensor and captures the video&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me, if i pass the capturemode in the user application it takes the picture in raw mode only, when i enable the jpeg settings in the register the image is not coming, but it takes corresponding register settings under the structure in &lt;STRONG&gt;ov5640.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hi kirill, if you cant able to understand the problem in text, you can contact me at this skype id &lt;STRONG&gt;shanmugam.891&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Sorry, for confusing you and Thanks for your reply,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;shan&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 08:00:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238880#M19516</guid>
      <dc:creator>shanmugamsundar</dc:creator>
      <dc:date>2013-05-17T08:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: USING SAME UIMAGE FOR DIFFERENT RESOLUTION</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238881#M19517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but I not understand why you use different uImage if you can configure CMOS from user-space.&lt;/P&gt;&lt;P&gt;And you can modify drivers if it work not correct for your.&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 09:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238881#M19517</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2013-05-17T09:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: USING SAME UIMAGE FOR DIFFERENT RESOLUTION</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238882#M19518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The unit test code allows capturing from the camera by passing the width and height as parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 22:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USING-SAME-UIMAGE-FOR-DIFFERENT-RESOLUTION/m-p/238882#M19518</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2013-05-17T22:41:19Z</dc:date>
    </item>
  </channel>
</rss>

