<?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: CSI-2 JPEG Stream in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606129#M91345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This observation was also made by the board vendor while running in Linux,&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;Just FYI. If you remove the parameter “-fg” below, you’ll see the similar distorted display like Android.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;/unit_tests/mxc_v4l2_overlay.out -iw 1360 -ih 768 -it 0 -il 0 -ow 1360 -oh 768 -ot 0 -ol 0 -r 0 -t 50 -d 0 &lt;/SPAN&gt;&lt;SPAN style="color: red; font-size: 11pt;"&gt;-fg&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt; -fr 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;What does using the ipu foreground overlay have to do with whether the display is distorted or not?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 17:21:12 GMT</pubDate>
    <dc:creator>johndusing</dc:creator>
    <dc:date>2016-09-27T17:21:12Z</dc:date>
    <item>
      <title>CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606126#M91342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;The camera HAL appears to be expecting a JPEG stream from the CSI-2 interface on the i.MX6.&amp;nbsp; If the&amp;nbsp;data through the CSI-2 is raw YUV422 pixel format and not run through a converter, how can a raw video stream be specified? I'm not sure how to bypass this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an earlier post the following question was also asked:&lt;/P&gt;&lt;P&gt;Using UV5640_mipi.c with modifications to support video streaming from a test pattern generator into i.MX6 CSI-2 camera input (virtual channel 1, YUV422).&amp;nbsp; When code is set to 1360x768 image 1 is ok.&amp;nbsp; When code is changed to 1366x768 and the input pattern is changed to be 1366x768, picture 2 is incorrect.&amp;nbsp; Does something else need to change in the driver, or does another driver need modified?&amp;nbsp; Scrolling occurs, how is HSYNC determined?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 11:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606126#M91342</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-09-09T11:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606127#M91343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the camera driver (e.g. OV5640), there are different set of parameters (register values) for different capture resolution. if you change the resolution a little bit but not modify the corresponding camera's register values, the scrolling may occurs. You need to read the camera datasheet to modify those register values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 07:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606127#M91343</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2016-09-18T07:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606128#M91344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;Here is an update on the configuration and results.&amp;nbsp; Any additional help is appreciated.&lt;/P&gt;&lt;P&gt;The input into the CSI-2 interface on the i.MX6 is a raw LVDS CSI-2 video stream in a YUV422 format (set for virtual channel 1).&amp;nbsp; There is no camera hardware on the input.&amp;nbsp; The video stream is in 1366x768 format (from a display panel).&amp;nbsp; The driver has been modified to expect 1368x768 due to hardware restrictions inside the CPU.&amp;nbsp; It has been verified by our board manufacturer that under a Linux OS test environment, the video displays as expected.&amp;nbsp; They expect that it is a formatting issue between UYVY and NV12.&amp;nbsp; Using Android and the HAL, the distortion appears.&amp;nbsp; There could be issues inside the CameraHAL, but I'm not sure where to look.&amp;nbsp; Below is the capture they made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;it’s basically a format issue (UYVY vs. NV12). You’ll need find someone to bridge the gap . . .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;Linux preview:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;root@ar6mxq:~# /unit_tests/mxc_v4l2_overlay.out -iw 1368 -ih 768 -it 0 -il 0 -ow 1368 -oh 768 -ot 0 -ol 0 -r 0 -t 50 -d 1 -di /dev/video0 -fg -fr 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;g_display_width = 1368, g_display[261694.464782]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ov5640_init_mode: build date = Sep 16 2016 13:07:36_height = 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;g_display_top = 0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;g_display_left = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.474035]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.474035] &amp;gt;&amp;gt;&amp;gt;&amp;gt; ov5640_init_mode: frame rate=1, mode=255, orig_mode=255[261694.487500] retval 2: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.490477] retval 2: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.493623] retval 2: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.496593] retval 2: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.499563] retval 2: 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.811804] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): Debug ov5640 init mode: Line: -1120240688&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.818078] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 0 try: 1008 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.823807] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:768 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.841798] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:1008 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.861797] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:768 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.881796] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:1008 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.901798] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:768 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.921798] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:768 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.941797] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:1008 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.961797] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:768 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261694.981796] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:1008 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261695.001798] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): 1 try:1008 csi2 dphy status: 0x0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[261695.021796] &amp;gt;&amp;gt;&amp;gt;&amp;gt; (null): mipi csi2 can not receive sensor clk!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor chip is ov5640_mipi_camera&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor supported frame size:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;1368x768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;1368x768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;1368x768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;1368x768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;1368x768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;1368x768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;1368x768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: red;"&gt;sensor frame format: UYVY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor frame format: UYVY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor frame format: UYVY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor frame format: UYVY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor frame format: UYVY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor frame format: UYVY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;sensor frame format: UYVY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;frame_rate is 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;frame buffer width 0, height 0, bytesperline 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;Android logcat:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/CameraManager( 1609): Using legacy camera HAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/Camera2ClientBase(&amp;nbsp; 184): Camer&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;a 1: Opened. Client: com.android.[&amp;nbsp; 155.855011]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[&amp;nbsp; 155.855011] &amp;gt;&amp;gt;&amp;gt;&amp;gt; ov5640_init_mode: build date = Sep 12 2016 08:14:08camera2 (PID 1609, UID 10021)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ov5640_init_mode: frame rate=1, mode=255, orig_mode=255FslCameraHAL(&amp;nbsp; 184): camera_devic&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[&amp;nbsp; 155.877326]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;[&amp;nbsp; 155.877326] &amp;gt;&amp;gt;&amp;gt;&amp;gt; mipi_csi2_set_lanes: lanes=3&amp;nbsp; (0 based)e open: 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): DeviceAdapter: Create ov5640 mipi device&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPictureSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPictureSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPictureSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPictureSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPictureSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPictureSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPictureSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPreviewSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPreviewSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPreviewSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPreviewSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPreviewSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPreviewSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): SupportedPreviewSizes: 1368 x 768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): FrameDuration is 33331760, 30000000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): mMaxWidth:1368, mMaxHeight:768&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): ov5640Mipi, mFocalLength:3.370000, mPhysicalWidth:3.628800, mPhysicalHeight 2.721600&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;E/FslCameraHAL(&amp;nbsp; 184): cpu num 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;W/Camera2-Parameters(&amp;nbsp; 184): buildFastInfo: Camera 1: activeArraySize is missing xmin/ymin!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;W/Camera2-Parameters(&amp;nbsp; 184): Unable to find the size to match the given aspect ratio 1.781250.Fall back to 96 x 96&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/Camera2-Parameters(&amp;nbsp; 184): Camera 1: Disabling ZSL mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/CAM_PhotoModule( 1609): onCameraAvailable&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/CameraDeviceState( 1609): Legacy camera service transitioning to state CONFIGURING&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;D/Camera&amp;nbsp; ( 1609): app passed NULL surface&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): DEBUG(CreateDefaultRequest): making template (1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): DEBUG(CreateDefaultRequest): making template (3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/CameraDeviceState( 1609): Legacy camera service transitioning to state IDLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager allocateStream...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): allocateStream preview stream, w:1368, h:768, fmt:0x22&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): actual format 0x103&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): &amp;gt;&amp;gt;&amp;gt;&amp;gt; Line 114 - StreamAdapter::initialize()&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager allocateStream end...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager registerStreamBuffers stream id:0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): registerBuffers total 5 buffer&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): CameraFrame::initialize, i 0, phyAddr 0x3d1ec000, mBufHandle 0x7372c240&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): CameraFrame::initialize, i 1, phyAddr 0x3e2b9000, mBufHandle 0x74708300&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): CameraFrame::initialize, i 2, phyAddr 0x41974000, mBufHandle 0x74708180&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): CameraFrame::initialize, i 3, phyAddr 0x41af7000, mBufHandle 0x75f73cc0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): CameraFrame::initialize, i 4, phyAddr 0x41c7a000, mBufHandle 0x75f73d80&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager registerStreamBuffers end...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager allocateStream...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): allocateStream jpeg stream, w:1368, h:768, fmt:0x21&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): actual format 0x103&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): &amp;gt;&amp;gt;&amp;gt;&amp;gt; Line 114 - StreamAdapter::initialize()&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager allocateStream end...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager registerStreamBuffers stream id:3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): RequestManager registerStreamBuffers end...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): notify_request_queue_not_empty running&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): dispatchRequest running&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): handleRequest running&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): PreviewStream configure running&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: red;"&gt;I/FslCameraHAL(&amp;nbsp; 184): pixel format: 0x3231564e&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): Width * Height 1368 x 768 format 0x3231564e, fps: 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): PreviewStream start running&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): StreamAdapter start running&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): stream thread received STREAM_START command&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/FslCameraHAL(&amp;nbsp; 184): Created device thread&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;I/CameraDeviceState( 1609): Legacy camera service transitioning to state CAPTURING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;D/CameraPerformanceTracker( 1609): First preview frame received&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 12:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606128#M91344</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-09-27T12:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606129#M91345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This observation was also made by the board vendor while running in Linux,&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;Just FYI. If you remove the parameter “-fg” below, you’ll see the similar distorted display like Android.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;/unit_tests/mxc_v4l2_overlay.out -iw 1360 -ih 768 -it 0 -il 0 -ow 1360 -oh 768 -ot 0 -ol 0 -r 0 -t 50 -d 0 &lt;/SPAN&gt;&lt;SPAN style="color: red; font-size: 11pt;"&gt;-fg&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt; -fr 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;What does using the ipu foreground overlay have to do with whether the display is distorted or not?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 17:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606129#M91345</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-09-27T17:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606130#M91346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If removing the &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-fg&lt;/STRONG&gt;&lt;/SPAN&gt; as indicated above causes the CSI-2 video stream to change from displaying correctly to generating a distorted image&amp;nbsp;under Linux, where in the Android code can I force the use of "fg" or make a similar change to see if this fixes our video problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 13:45:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606130#M91346</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-10-04T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606131#M91347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;Have you forwarded this request to BCM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 15:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606131#M91347</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-10-06T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606132#M91348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;No, this was only sent to PDI. I have posted it back on the private space.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 15:42:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606132#M91348</guid>
      <dc:creator>KevinWong</dc:creator>
      <dc:date>2016-10-06T15:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: CSI-2 JPEG Stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606133#M91349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kevin, I am out of the office today, but I will be back into work tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 16:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CSI-2-JPEG-Stream/m-p/606133#M91349</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-10-06T16:49:31Z</dc:date>
    </item>
  </channel>
</rss>

