From patchwork Wed Jul 1 13:16:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 11636347 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E249D14B7 for ; Wed, 1 Jul 2020 13:17:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D432A207F5 for ; Wed, 1 Jul 2020 13:17:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730388AbgGANQV (ORCPT ); Wed, 1 Jul 2020 09:16:21 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:45788 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728392AbgGANQU (ORCPT ); Wed, 1 Jul 2020 09:16:20 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 58DE42A56A6 From: Ezequiel Garcia To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@collabora.com, Hans Verkuil , Philipp Zabel , Ezequiel Garcia Subject: [PATCH v2 0/6] Hantro low-hanging cleanups Date: Wed, 1 Jul 2020 10:16:01 -0300 Message-Id: <20200701131607.121988-1-ezequiel@collabora.com> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Second iteration, just addressing Philipp's and Robin's feedback on patch 3. Thanks, Ezequiel Ezequiel Garcia (6): hantro: h264: Remove unused macro definition hantro: h264: Rename scaling list handling function hantro: Rework how encoder and decoder are identified hantro: Move hantro_enc_buf_finish to JPEG codec_ops.done hantro: Remove unused bytesused argument hantro: Make sure we don't use post-processor on an encoder drivers/staging/media/hantro/hantro.h | 13 +--- drivers/staging/media/hantro/hantro_drv.c | 65 +++++-------------- .../staging/media/hantro/hantro_h1_jpeg_enc.c | 17 +++++ drivers/staging/media/hantro/hantro_h264.c | 6 +- drivers/staging/media/hantro/hantro_hw.h | 5 +- drivers/staging/media/hantro/hantro_v4l2.c | 28 ++++---- drivers/staging/media/hantro/imx8m_vpu_hw.c | 2 +- drivers/staging/media/hantro/rk3288_vpu_hw.c | 8 +-- drivers/staging/media/hantro/rk3399_vpu_hw.c | 7 +- 9 files changed, 64 insertions(+), 87 deletions(-) Reviewed-by: Philipp Zabel