<?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: How to test pass CTSV for camera in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-pass-CTSV-for-camera/m-p/624514#M94774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Terry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;On my Android 6.0.1, the cts code and verifier is&amp;nbsp;android:versionName="6.0_r14". Is it the same as yours?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I don't see the issue on our QA report, can the issue be reproduced in MX6QP Sabre board?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Mar 2017 18:17:37 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2017-03-02T18:17:37Z</dc:date>
    <item>
      <title>How to test pass CTSV for camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-pass-CTSV-for-camera/m-p/624513#M94773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi freescale,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;using platform I.MX6QP and Android 6.0.1, test camera format is failed in CTSV R13.&lt;/P&gt;&lt;P&gt;CTSV need to test format N21, YV12, YUY2,(160x120, 176x144, 320x180, 320x240, ...,640x480).&lt;/P&gt;&lt;P&gt;Question list :&lt;/P&gt;&lt;P&gt;(1.) It test YUY2 format is failed for handing preview screen was show green screen.&lt;/P&gt;&lt;P&gt;For logcat issue log:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;01-18 03:10:50.856 221 1252 E imx6.gralloc: int GPUBufferManager::lockYUVHandle(private_handle_t*, android_ycbcr*) not support format:0x14&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;01-18 03:10:50.856 221 1252 W GraphicBufferMapper: lock(...) failed -22 (Invalid argument)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;01-18 03:10:50.892 221 311 E FslCameraHAL: processBufferWithIPU:320, IPU_CHECK_TASK ret=12&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;01-18 03:10:50.892 221 1252 E imx6.gralloc: int GPUBufferManager::lockYUVHandle(private_handle_t*, android_ycbcr*) not support format:0x14&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;01-18 03:10:50.892 221 1252 W GraphicBufferMapper: lock(...) failed -22 (Invalid argument)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;01-18 03:10:50.924 221 311 E FslCameraHAL: processBufferWithIPU:320, IPU_CHECK_TASK ret=12&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;01-18 03:10:50.924 221 1252 E imx6.gralloc: int GPUBufferManager::lockYUVHandle(private_handle_t*, android_ycbcr*)&amp;nbsp;&lt;/P&gt;&lt;P&gt;For failed status:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20170118_111236.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12131i931FC36A7B064FA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="20170118_111236.jpg" alt="20170118_111236.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(2.) For test YV12 , 424X240, the result is failed.&lt;/P&gt;&lt;P&gt;Logcat failed log:&lt;/P&gt;&lt;P&gt;01-18 03:29:51.547 1213 1229 D OpenGLRenderer: endAllStagingAnimators on 0x917f0700 (ListPopupWindow$DropDownListView) with handle 0x92564f30&lt;BR /&gt;01-18 03:29:51.637 221 1259 I FslCameraHAL: Stream::Stream(int, camera3_stream_t*, Camera*) create preview stream&lt;BR /&gt;01-18 03:29:51.637 221 1259 I FslCameraHAL: stream: w:424, h:240, format:0x103, usage:0x8000302, buffers:3&lt;BR /&gt;01-18 03:29:51.637 221 1259 I FslCameraHAL: create callback stream&lt;BR /&gt;01-18 03:29:51.637 221 1259 I FslCameraHAL: stream: w:424, h:240, format:0x101, usage:0x8000303, buffers:3&lt;BR /&gt;01-18 03:29:51.650 221 1325 I FslCameraHAL: int32_t VideoStream::configure(android::sp&amp;lt;Stream&amp;gt;): w:160, h:120, sensor format:0x14, stream format:0x103, fps:15, num:3&lt;BR /&gt;01-18 03:29:51.651 221 311 I FslCameraHAL: virtual int32_t UvcDevice::UvcStream::onDeviceStopLocked()&lt;BR /&gt;01-18 03:29:51.664 221 311 I FslCameraHAL: virtual int32_t DMAStream::freeBuffersLocked()&lt;BR /&gt;01-18 03:29:51.664 221 311 I FslCameraHAL: freeBufferToIon buffer num:3&lt;BR /&gt;01-18 03:29:51.664 221 311 I FslCameraHAL: virtual int32_t UvcDevice::UvcStream::onDeviceConfigureLocked()&lt;BR /&gt;01-18 03:29:51.664 221 311 I FslCameraHAL: virtual int32_t DMAStream::onDeviceConfigureLocked()&lt;BR /&gt;01-18 03:29:51.664 221 311 I FslCameraHAL: virtual int32_t USPStream::onDeviceConfigureLocked()&lt;BR /&gt;01-18 03:29:51.664 221 311 I FslCameraHAL: virtual int32_t MMAPStream::onDeviceConfigureLocked()&lt;BR /&gt;01-18 03:29:51.664 221 311 I FslCameraHAL: Width * Height 424 x 240 format YUYV, fps: 15&lt;BR /&gt;01-18 03:29:51.664 221 311 E FslCameraHAL: width:424 height:240 is not supported.&lt;BR /&gt;01-18 03:29:51.694 221 311 I FslCameraHAL: virtual int32_t DMAStream::allocateBuffersLocked()&lt;BR /&gt;01-18 03:29:51.694 221 311 I FslCameraHAL: allocateBufferFromIon buffer num:3&lt;BR /&gt;01-18 03:29:51.696 221 311 I FslCameraHAL: phyalloc ptr:0xa9b8d000, phy:0x26180000, ionSize:208896&lt;BR /&gt;01-18 03:29:51.698 221 311 I FslCameraHAL: phyalloc ptr:0xa9b21000, phy:0x261c0000, ionSize:208896&lt;BR /&gt;01-18 03:29:51.701 221 311 I FslCameraHAL: phyalloc ptr:0xa9aee000, phy:0x26200000, ionSize:208896&lt;BR /&gt;01-18 03:29:51.701 221 311 I FslCameraHAL: virtual int32_t UvcDevice::UvcStream::onDeviceStartLocked()&lt;BR /&gt;01-18 03:29:51.701 221 311 I FslCameraHAL: buf[0] length:203520&lt;BR /&gt;01-18 03:29:51.701 221 311 I FslCameraHAL: buf[1] length:203520&lt;BR /&gt;01-18 03:29:51.701 221 311 I FslCameraHAL: buf[2] length:203520&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fail Piture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20170118_113022.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12263iCD7DCE8859612E63/image-size/large?v=v2&amp;amp;px=999" role="button" title="20170118_113022.jpg" alt="20170118_113022.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For freescale camera HAL description ./hardware/imx/mx6/libcamera3/CameraHAL.cpp&lt;/P&gt;&lt;P&gt;/* Hardware limitation on I.MX6DQ platform&lt;BR /&gt; * VPU only support NV12&amp;amp;I420 format.&lt;BR /&gt; * IPU doesn't support NV21 format.&lt;BR /&gt; * But android framework requires NV21&amp;amp;YV12 format support.&lt;BR /&gt; * YV12&amp;amp;I420 Y/UV stride doesn't match between android framework and IPU/GPU.&lt;BR /&gt; ** Android YV12&amp;amp;I420 define:&lt;BR /&gt; * - a horizontal stride multiple of 16 pixels&lt;BR /&gt; * - a vertical stride equal to the height&lt;BR /&gt; * - y_size = stride * height&lt;BR /&gt; * - c_stride = ALIGN(stride/2, 16)&lt;BR /&gt; *&lt;BR /&gt; ** GPU YV12&amp;amp;I420 limitation:&lt;BR /&gt; * - GPU limit Y stride to be 32 alignment, and UV stride 16 alignment.&lt;BR /&gt; *&lt;BR /&gt; ** IPU hardware YV12&amp;amp;I420 limitation:&lt;BR /&gt; * - IPU limit the Y stride to be 2x of the UV stride alignment.&lt;BR /&gt; ** IPU driver YV12&amp;amp;I420 define:&lt;BR /&gt; * - y_stride = width&lt;BR /&gt; * - uv_stride = y_stride / 2;&lt;BR /&gt; * So there is work around to treat the format on I.MX6DQ platform:&lt;BR /&gt; * Change format NV21&amp;amp;YV12 to NV12&amp;amp;I420 in Camera framework.&lt;BR /&gt; * The NV21 format required by CTS is treated as NV12.&lt;BR /&gt; * YUV alignment required by CTS doesn't match on I.MX6DQ platform.&lt;BR /&gt; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fix the issue in IMX6qp for CTSV?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 03:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-test-pass-CTSV-for-camera/m-p/624513#M94773</guid>
      <dc:creator>tzengterry</dc:creator>
      <dc:date>2017-01-18T03:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to test pass CTSV for camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-pass-CTSV-for-camera/m-p/624514#M94774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Terry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;On my Android 6.0.1, the cts code and verifier is&amp;nbsp;android:versionName="6.0_r14". Is it the same as yours?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I don't see the issue on our QA report, can the issue be reproduced in MX6QP Sabre board?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 18:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-test-pass-CTSV-for-camera/m-p/624514#M94774</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2017-03-02T18:17:37Z</dc:date>
    </item>
  </channel>
</rss>

