From patchwork Wed Jan 27 04:44:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 11029 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 693FBC0F2B for ; Wed, 27 Jan 2021 04:44:36 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DEF9B6833C; Wed, 27 Jan 2021 05:44:35 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="PrvVBPOh"; dkim-atps=neutral Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D2FB760309 for ; Wed, 27 Jan 2021 05:44:33 +0100 (CET) Received: by mail-pf1-x435.google.com with SMTP id j12so380721pfj.12 for ; Tue, 26 Jan 2021 20:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8R05ITHoOejeuEUmvzBknlYxaSYvMqBCIfFPWAq3B8A=; b=PrvVBPOhpFD536AesC9gB1ZFjpn4WwFObAFxgyRevvdmjsvyX3R/nPV1+OF+Hu9kBc KDnFl+O0LFqRB/DkFUNFDo/6KUaG/N3PxVtkVH+ITvpAcsNDAAoUUx0RICHSqb7wPi7z qxpoElLH2LMERt1JqftmQeRw3j3ylujkuaVBM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8R05ITHoOejeuEUmvzBknlYxaSYvMqBCIfFPWAq3B8A=; b=mRd/XFQndmN4FulKTPoyVFummjfE5uoOGGkgVOlAq+B6cCERvWo1Akyn3r5+WGQuym AE2aw54IYL6ynxA3OoYRX19WG20Ay7ox4siP/v7/mKDWGOAm3c7Uta5GB3tlb8oF9DJe xnW9KOJxQjCtSXhStusz1lfSKvpZGOs620hW1kytbwP0EHcgyxCuz0FFswW0Tnj2Q8P2 TF4Mz+8CjaXm9wo1r4XZ6jzkUci4iDvrcmfggaYRvY0C78aV1vPvzpMUrb9QZu9GLicn ZI0j8/dfbrbYJ3kywWsxsDRtQJa6+Od0WHBckkBB3tR2bpnylQABZcjxaxTfdpE5O1ed D4uQ== X-Gm-Message-State: AOAM530IG/6Lir1hum0+D8t/i+QKryqcxFfMDbEu0ELFXX4n13yZgzUB dYrFERuoglfDax/0RG0/Gt7JHt+PAtWl5G03 X-Google-Smtp-Source: ABdhPJznnhTRXwxPkDHJxVP1X+m6gNtACoOZdjMGnj3sRksUkpSRNbqZOzzvlhJsaqyhd053+KP9iA== X-Received: by 2002:a63:1602:: with SMTP id w2mr9528783pgl.128.1611722671402; Tue, 26 Jan 2021 20:44:31 -0800 (PST) Received: from hiroh.c.googlers.com.com (128.141.236.35.bc.googleusercontent.com. [35.236.141.128]) by smtp.gmail.com with ESMTPSA id z3sm645920pfb.157.2021.01.26.20.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 20:44:30 -0800 (PST) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Wed, 27 Jan 2021 04:44:23 +0000 Message-Id: <20210127044425.2193480-1-hiroh@chromium.org> X-Mailer: git-send-email 2.30.0.280.ga3ce27912f-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] Introduce Post processor using libyuv X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This series introduces post processor using libyuv. libyuv [1] is a a software library of various YUV processing (e.g. pixel format conversion and scaling). It will be required in Android HAL adaptation layer. I confirm the new code can be compiled but haven't tested the new post processor. Hirokazu Honda (2): android: post_processor: Change the type destination in process() android: libyuv: Introduce PostProcessorLibyuv src/android/camera_stream.cpp | 4 +- src/android/camera_stream.h | 6 +- src/android/jpeg/post_processor_jpeg.cpp | 6 +- src/android/jpeg/post_processor_jpeg.h | 2 +- src/android/libyuv/post_processor_libyuv.cpp | 126 +++++++++++++++++++ src/android/libyuv/post_processor_libyuv.h | 38 ++++++ src/android/meson.build | 1 + src/android/post_processor.h | 7 +- 8 files changed, 179 insertions(+), 11 deletions(-) create mode 100644 src/android/libyuv/post_processor_libyuv.cpp create mode 100644 src/android/libyuv/post_processor_libyuv.h --- 2.30.0.280.ga3ce27912f-goog