)]}' { "commit": "9923f03e29937ab22877455c799d0a8b33bd6d6b", "tree": "28fc923e33ed60d30dca8be48fe1ba615fcb97a8", "parents": [ "0264390eaabf936c3b94ced2ebc876985a7e6388" ], "author": { "name": "Yang Liang", "email": "liang.l.yang@intel.com", "time": "Wed Sep 19 16:48:09 2018" }, "committer": { "name": "ChromeOS Commit Bot", "email": "chromeos-commit-bot@chromium.org", "time": "Fri Sep 28 01:37:27 2018" }, "message": "intel: ipu3: Fix 1080p still capture distorted issue\n\nThe configuration from the app is as below:\none 3264x2448 YUV output stream,\none 1080p BLOB output stream,\none 1080p IMPL output stream.\n\nThe IMPL output stream runs in video pipe.\nThe YUV output stream and BLOB output stream\nall run in still pipe. Because the YUV steam is the bigger,\nthe still pipe will out 3264x2448. And the BLOB\u0027s\nsource buffer is the 3264x2448, but the width:height ratio\nis not the same as the out resolution 1080p.\nThe crop function is not implemented, so the issue happens.\n\nCrop the 3264x2448 to 3264x1836, then let it to be the source\nbuffer of the JPEG encoder. The JPEG encoder will do the\ndownscaling and JPEG encoding to 1080p.\n\nBUG\u003db:116070581\nTEST\u003dBuild and deploy package to platform and camera works\n\nChange-Id: I4df4dc9b11a5b674c15fcb0ae34553f4a0fb7741\nSigned-off-by: Yang Liang \u003cliang.l.yang@intel.com\u003e\nReviewed-on: https://chromium-review.googlesource.com/1234714\nCommit-Ready: Wei Meng \u003cwei.meng@intel.corp-partner.google.com\u003e\nTested-by: Wei Meng \u003cwei.meng@intel.corp-partner.google.com\u003e\nReviewed-by: Ricky Liang \u003cjcliang@chromium.org\u003e\nReviewed-by: Hung-yu Wu \u003chywu@chromium.org\u003e\nReviewed-by: Liang L Yang \u003cliang.l.yang@intel.com\u003e\n(cherry picked from commit 04e2262bd767af4ba813cd039a4fe56e06bc6790)\nReviewed-on: https://chromium-review.googlesource.com/1248402\nTested-by: Ricky Liang \u003cjcliang@chromium.org\u003e\nCommit-Queue: Ricky Liang \u003cjcliang@chromium.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "d9a07b08db94b4e910beb7836042a178fb0baa30", "old_mode": 33188, "old_path": "hal/intel/common/imageProcess/ImageScalerCore.h", "new_id": "0a4948b73a75b1b053c689ad45c6a3c7bebe7888", "new_mode": 33188, "new_path": "hal/intel/common/imageProcess/ImageScalerCore.h" }, { "type": "modify", "old_id": "fe17ae3f3b49022d3d83b911b5592b7055b8887b", "old_mode": 33188, "old_path": "hal/intel/psl/ipu3/workers/OutputFrameWorker.cpp", "new_id": "1b18004987d9b20080555ecb87bc0ac2d0bb95d7", "new_mode": 33188, "new_path": "hal/intel/psl/ipu3/workers/OutputFrameWorker.cpp" }, { "type": "modify", "old_id": "27979b9e5d84862c4d5f7cc150457ae72f387727", "old_mode": 33188, "old_path": "hal/intel/psl/ipu3/workers/OutputFrameWorker.h", "new_id": "4911d7facef8fa1521cf977022a413f0367295ca", "new_mode": 33188, "new_path": "hal/intel/psl/ipu3/workers/OutputFrameWorker.h" } ] }