Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1253483ybi; Thu, 30 May 2019 14:16:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxItbyo8LWk3YlU1pxHmGhvRmaakEm2HDj+f9wG6XBtapJayF17nEvrLjFkyBeeMDw87wy+ X-Received: by 2002:a17:902:347:: with SMTP id 65mr5724095pld.232.1559251013472; Thu, 30 May 2019 14:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559251013; cv=none; d=google.com; s=arc-20160816; b=nd4VXEhW+J3aKcllgzGlxARxd2UDqhPOz/QbpuoAgsw7DqsBpqtHdd9zU6JQgo3K8L b2ucM8uqFmIpop/U94wgk63XQEO4NKZIXxdSLdJsszZiBNFJA8VsiPlBPgxY6RrVP4aX dzIG9Kv6MNhSsoNeG+vnYkJ4QtKzVJRN/E8FMy6933hlwFlow8S1ioGFROY7Tg987H15 eD63nfelndS1Ybb2ehFhYDeYCszY0Iqt+o+lBVIQzuN/Tafezq0v++Y5fHDZgMHKZbqH V+tc+/33okyVf5avmSxUd6OPJCdUoKi7ZSglkNNTITgfBtdWCEcs+o5qnXEU/zePY208 kwvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Xrfb0gQCZ7rSmDz7hbCTjNZLedY8kp8iDaROXRImXsY=; b=NvXCKFnDgMsOpkJsmWnV394ZzdirPmhjK/+iiBUa2bV+WsFdLI36InTfU2ei3+f7aj KmM8dbkaQH3RB6pV20VMyqOGJCqZ5gZzhrFuPz3tkli3XLYJVgxEX4CgboCEE8Y7ax4r zIg+Pjt/VaCVNPzy7c48uJYuAKNoFjdHFCPnL2SG57AzaUCQqii9KdBjwTlAxJF20gSV LGOJqWswNr6V8BBPwXmOF2Xbkk5kBpWFdGTe/r004rfD6WSlHcswJvD9DgLg3wfsPYij 0dtPq+5ksGGorHJluOmhDhy7TR4lV9DuGQPVu6YDoJo4bk8GuMJ6K4OYAnNWG1+PXjqL +T+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c16si3819396plo.87.2019.05.30.14.16.38; Thu, 30 May 2019 14:16:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726587AbfE3VPe (ORCPT + 99 others); Thu, 30 May 2019 17:15:34 -0400 Received: from mailoutvs35.siol.net ([185.57.226.226]:55309 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726100AbfE3VPd (ORCPT ); Thu, 30 May 2019 17:15:33 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 77B93522867; Thu, 30 May 2019 23:15:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta11.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta11.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Q4d6PDinGsox; Thu, 30 May 2019 23:15:30 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 23ACA522869; Thu, 30 May 2019 23:15:30 +0200 (CEST) Received: from localhost.localdomain (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id 41B70522867; Thu, 30 May 2019 23:15:28 +0200 (CEST) From: Jernej Skrabec To: paul.kocialkowski@bootlin.com, maxime.ripard@bootlin.com Cc: wens@csie.org, mchehab@kernel.org, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] media: cedrus: Improvements/cleanup Date: Thu, 30 May 2019 23:15:09 +0200 Message-Id: <20190530211516.1891-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here is first batch of random Cedrus improvements/cleanups. Only patch 2 has a change which raises a question about H264 controls. Changes were tested on H3 SoC using modified ffmpeg and Kodi. Please take a look. Best regards, Jernej Jernej Skrabec (7): media: cedrus: Disable engine after each slice decoding media: cedrus: Fix H264 default reference index count media: cedrus: Fix decoding for some H264 videos media: cedrus: Remove dst_bufs from context media: cedrus: Don't set chroma size for scale & rotation media: cedrus: Add infra for extra buffers connected to capture buffers media: cedrus: Improve H264 memory efficiency drivers/staging/media/sunxi/cedrus/cedrus.h | 12 +- .../staging/media/sunxi/cedrus/cedrus_h264.c | 115 ++++++++---------- .../staging/media/sunxi/cedrus/cedrus_hw.c | 4 +- .../staging/media/sunxi/cedrus/cedrus_video.c | 25 ++-- 4 files changed, 68 insertions(+), 88 deletions(-) --=20 2.21.0