From patchwork Thu Sep 28 17:29:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 5324 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.36.26 with SMTP id f26csp1066570jaa; Thu, 28 Sep 2017 10:29:40 -0700 (PDT) X-Received: by 10.28.65.213 with SMTP id o204mr1844252wma.139.1506619780687; Thu, 28 Sep 2017 10:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506619780; cv=none; d=google.com; s=arc-20160816; b=evCp4AZSXL3D7O5hhIAoeNBRP+Kimq32jxFQtV5BjMnig6oLmhf/UEFXqYZZV82r4R A2CmQ/e4yRc4mGzFRlznYIs1XY/kY40O9udi+R3+tvCq0XzFrsZ5Niv6rm6txn2phyuU AOZLEhSTXSDBFYkUK0nL0NjZY3cuKwnNYvAksuI8EeJmyBJSLyoaoikbfPkvQQD2wvWz smIZar/Hhh0f6qUlrDXH7mnrJqnTDL5jYovFeVtgE7B2mI8MqhHG43K85nuQvrYEgfVe ihuOfbRniozDsEGYkgvk6OVq/kLzk9YJvmec9sxD/mod6P9Vp91lIuowXnr6BRnijK06 5pRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:dkim-signature :delivered-to:arc-authentication-results; bh=HWGTiffBBkjM3VTwsC/iB8iyCxvyhON3p4bgcABMv78=; b=fwTgzV0eAssK/y69vgT/ptDr9YRNw9ArZHgqwVYzszRnCvi1+jsUPsuESIZv3hc+T/ 3kysy6eY8ffkooXQypWNVkyrkQ6MDrEJjf5q5hGj1M8tBzXAAMCb2aXIbQePy45ey6QW JLH/xDF9GbUKTW0PRaSQP/pKN23AdmzUr0DnAgq2qBXRsKbETmTxTxfPSvus6QwdckIn MSl07/Q7ElQDsHtN02w0xz9LNVn+fqgdSM9U/6JZT24KIdA5U5yo9vwtP8WitDdMqDRY h8786mida9h7RNJz9wBqSKZ0kwtRh1Iptptm12Vl14NPWjYLOQMmdFEQiNwpQuR+jTYJ CaTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SUUpAB4m; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id b126si1117821wmb.219.2017.09.28.10.29.39; Thu, 28 Sep 2017 10:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SUUpAB4m; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 194DB689221; Thu, 28 Sep 2017 20:29:26 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg0-f51.google.com (mail-pg0-f51.google.com [74.125.83.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 71F7968825F for ; Thu, 28 Sep 2017 20:29:19 +0300 (EEST) Received: by mail-pg0-f51.google.com with SMTP id u18so1313356pgo.0 for ; Thu, 28 Sep 2017 10:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=bJSIexCGum7MwxyfyZHZ0j6RYe/+wmzh/Lqvv7TA/RA=; b=SUUpAB4m6h9VeIGlmkNqMcxDfnwrl5rKzQLA68CwpEFA7T88jdGelsrtbsJSoduCdI gKIGF6vrMyfugLTXsmTBVH98jB+97NCUTGf+h4jEvcXvJOi/AYJRXCzhuSmWLKH1NdIu oPYYu0sTk6413JJpqk0uj6hKthtRRjhpS4PpA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=bJSIexCGum7MwxyfyZHZ0j6RYe/+wmzh/Lqvv7TA/RA=; b=Lu1BvBfMOnJPqpqBH6B7Yrrzi1sWyXishe10w4rmaUWkLN/6FSoN3/wV5cshCClVgc 54mIy+2xqsCmSovSIKF/y7s87FbdPj5NUmDIfz1gF/Qdeb1VNXFEnKYdQeLRLD0MWuvb upcS1M7irsVRXo2aDcSykEHlaL8SQp/hq+xM/FLwXuQnYrwBc1liogG96w84Fi9Q3a5m fVuMMS12IuVyih3bBvmbSXiGn2305MEjdymbRLllaw6e8Or+UOVGvrOKQ4QcF5/fW/5B bvgPhjy2eGSZ3DHdWz2orO69smphWkTqzZ7uEJggk9GOb6VmT6E68E+nRUfiVrBf85Au EfSQ== X-Gm-Message-State: AHPjjUhh4jkFROQChAuXjLv5Ev6cQMZkFZIM0ubTTEr3I6lk7BJCUWc3 cMzu4T2La3vFToMjyOqbdcfyMg== X-Google-Smtp-Source: AOwi7QBxuQT/qJGUG+mZFdGgqhKm6lWx1HyYMkMNf6cSUKhCyYyzBKJQ5yyZKGv8IBUcWWH3vOMdWQ== X-Received: by 10.98.63.197 with SMTP id z66mr4860136pfj.10.1506619770303; Thu, 28 Sep 2017 10:29:30 -0700 (PDT) Received: from [172.16.4.112] (h3.248.139.40.ip.windstream.net. [40.139.248.3]) by smtp.googlemail.com with ESMTPSA id x13sm3612950pgt.16.2017.09.28.10.29.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Sep 2017 10:29:29 -0700 (PDT) To: FFmpeg development discussions and patches , Thilo Borgmann References: <1505958940-11325-1-git-send-email-jorge.ramirez-ortiz@linaro.org> <1505958940-11325-2-git-send-email-jorge.ramirez-ortiz@linaro.org> <20170923084936.3a467c64@debian> <94ad381b-5b92-81a2-ec5e-9c480e8cacce@linaro.org> <20170923144825.GE7094@nb4> From: Jorge Ramirez-Ortiz Message-ID: Date: Thu, 28 Sep 2017 10:29:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Subject: Re: [FFmpeg-devel] [PATCHv13] libavcodec: v4l2: add support for v4l2 mem2mem codecs X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On 09/28/2017 09:48 AM, Thilo Borgmann wrote: > Am 23.09.17 um 16:48 schrieb Michael Niedermayer: >> On Sat, Sep 23, 2017 at 12:28:01AM -0700, Jorge Ramirez-Ortiz wrote: >>> On 09/22/2017 11:49 PM, wm4 wrote: >>>> On Wed, 20 Sep 2017 18:55:40 -0700 >>>> Jorge Ramirez-Ortiz wrote: >>>> >>>>> This patchset enhances Alexis Ballier's original patch and validates >>>>> it using Qualcomm's Venus hardware (driver recently landed upstream >>>>> [1]). >>>> Pushed to master. >>> thanks! >>> will add DRM support over the coming weeks. >>> >>> btw would you know the process to add a new board to the fate farm? >> If you wish to run the fate tests regularly and submit results to the >> server see: https://ffmpeg.org/fate.html > Someone donated a dragonboard-410c for that purpose during ELCE 2016. > I plan to set it up as a FATE client during the next weeks. > > When creating test cases, please consider to reuse files already in the fate-suite. sounds great. I was just re-testing on 410c and there are a couple of issues in the kernel that will need address I will post this one to ffmpeg once I know the fix has been merged in kernel.org: https://github.com/ldts/FFmpeg/commit/7189e0fd03634a4322ac024fb047c9ec9550e668 For the time being, this kernel patch is required needed for ffmpeg to work with the latest 410c release: } @@ -489,7 +491,6 @@ vdec_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *cmd) inst->cmd_stop = true; mutex_unlock(&inst->lock); - hfi_session_flush(inst); return 0; } > > -Thilo > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel diff --git a/drivers/media/platform/qcom/venus/vdec.c b/drivers/media/platform/qcom/venus/vdec.c index 82b4d32..d4badf0 100644 --- a/drivers/media/platform/qcom/venus/vdec.c +++ b/drivers/media/platform/qcom/venus/vdec.c @@ -145,9 +145,11 @@ find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) if (i == size) return NULL; +#if 0 if (type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE && !venus_helper_check_codec(inst, fmt->pixfmt)) return NULL; +#endif return &fmt[i];