From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E8103F1AD9 for ; Wed, 20 May 2026 15:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779291874; cv=none; b=IRWl+GVElrUmn3uNP7PzcrFku9c76jI2YslM9p+pMiTQFLc5OgUV1Sf2DvwvXqZDkWoX7R+DMmySQ2cOhIecrnWDfpPJeN4pwXRXrPYvqR+mL7mA2ujR/3dfq0I5mkOEheQkXbmBa73xQQEIUY+qempw0rSKRzU4lQdHkRuRV2Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779291874; c=relaxed/simple; bh=hXYOo2KOdZ2RezxUpX+nYE6lfyapAWeCnwTUrPTZ4cE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FwLybfKXiijAS6m1sPgd/mzPCPfHYA7ejiwU5tytu4TBFxiaGmnwCv7eR9RsUB1aBBNGqJbi1ZcnXBBzleyGe6znamf/La/k56JWL5LYbPstsagJvTDXzY5nlpzTfmf8uu0/HrHBsWZltszEMUrUmQPfh+C1EJkGxlgcR9Wh9RE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=FWkZaH8Q; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Fo/NUyyh; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="FWkZaH8Q"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Fo/NUyyh" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64KBZRQh3084898 for ; Wed, 20 May 2026 15:44:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 9qZiw3Q1UdCzGrvVsZnH0m9WuZPRbHSQ0ex7xVdJkCA=; b=FWkZaH8Q3eGw3zBs a9WY6NuemhnNDNJbTacpwXkQi5l47YYuFph2bmONnX2LFikLp9+cDJxn+GckTYSb om0ZEDcuR/ypP+B2balufsPL/l0/xMUbbVYrg3bSFdCemINHkalSqIMEf/dck3W3 jl1BzevyVRHhL5om42xucssWD8o3EbL4oAfZ28srTiJRF9CPFShZZjARd0twIAm0 RH9V5SDwL/ydAeDeLysZL0KyQHh77AJibVa0GM7fXOw16XSyFqsf0oNNut5TsDE1 GRbgSw4utvNc7Oq/KuzvEnHMMzNmxdaZKudXRQmvxD7N2+XyBGz9o8figfjUugYi pTKasw== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e9c7f0y3g-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 20 May 2026 15:44:31 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-c828acf7c1dso8224897a12.3 for ; Wed, 20 May 2026 08:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779291870; x=1779896670; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9qZiw3Q1UdCzGrvVsZnH0m9WuZPRbHSQ0ex7xVdJkCA=; b=Fo/NUyyh0W5oOPGSbXPb0s9pltxpeggxI8UMPQAU5ki4DUZQalCYqq3xBG45panaQk uQO1wgXkkJTj1+TKZpVh6ZKQMM7VBxFBcGgknBGxK3tJvyfRck/Q/KoQICkyR/0WG6EG jTaqtT2p3i5LTx9VmypVIlrO+X0/Sk/HvAIBU/xKNAhFwiBDaB1E0vrj6u/IpiJ3jrXb rJXJdi9NFuKDsyt6oKDwT7UdfK6wrp/fyn5CovRlLpQPLkD982bXMPZ73rgl1LPpTsdE ky87MTtedHRzojs5PV+UH2LY+jxJRnFzc96yjlf7oXXjsnFD8MRFEPPlNNQKoFTdPNJ+ 3I+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779291870; x=1779896670; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9qZiw3Q1UdCzGrvVsZnH0m9WuZPRbHSQ0ex7xVdJkCA=; b=d1lqUP0bz1ofyK3/H1Wx12e4XTSNSaxe7iijMT2rsvMuuoQBtbwrzcec4tPq4JtXYO Qpnqw90WJXOmDHESmeIM9knrb8F6iCYlgpzwtQZ+IUDPXaJozcC0K1LKYre0ZihhIa78 rZTTAscs/hz5fRWQEdrsk3tPy2FftyDEdfvMz0inbENXdisCHoyZchUQDbJj7VLGhFov Wx8MeyNqAb5Bc420ZQTzY6oshXpzVDQNAt7MeaCx7CE+Aw/b4BI17MUwdXU7H6W6HsrB cmAOFO2ErM3wZoC1Pji3096D38QmkMfW0tRxWnDanwAKPWGlu3NOYWGaAUX0TMZVkax6 lz7A== X-Forwarded-Encrypted: i=1; AFNElJ9mPq7WEfgBH8h/f1EoITWkEgrla2aHdiB0LsH9yJ6aaTfMvc3dw6fnhylypHOqzuh9TbMy2PLXi22HkWI=@vger.kernel.org X-Gm-Message-State: AOJu0YwGlGj3uEAQQzJsp0N3f8V9kl111lCknTfOwp/rm9W+xjHkqveY Jc2OhFetqxSaVFPPBIx1SXUCJQWmGjPDVn4iXBRI1sNATvPWEFHtS/jHIBTPHzb/+cOc5sNvJ7S 9xXYNhncrm24qLQsjH8Qvdqxh64osE3rPDcUv0zA35jJaxzv55VktPNi1PmrrVOC4Hrw= X-Gm-Gg: Acq92OGSZmfQvLzI64V3265YRlMnWLH2C97942luJSuw1bJkCIzKf0zpAwRwMOWME0c viF3LoJvpAm1NOvaG7r7bo5cK2+SkkYGr56eTHnYt77rk1v196NTrLx2uQWZrsbzFkBCoSpWX8e CF9ob3qMbd18CqkNFm1l/gY93iPZ+NSVkNaMT3amUSiQFCZR2kSyiwanJKaSpfaa6vPk1+uCMiG 0dnhZML5Xa+cACnetPqTk2B6hQD+LMgyh58gLuG1BmmkPmY2cof+VoUoyu8QYD6d+prRdT5jI11 xGnTay36dRR9NGN7AVxxnZIfwqIRy7gd5HTb8zsjPaKExQIR7qqjplapRqVzhrzk8aL/09waLUb 1zhobMfBTYr1noS9/41RyDwdgOd9syATLF9Gl7BJtxDlvg0svRzyC9JY= X-Received: by 2002:a05:6a20:3d8f:b0:3a2:dabf:fef9 with SMTP id adf61e73a8af0-3b22ec9b3d7mr27913073637.27.1779291870033; Wed, 20 May 2026 08:44:30 -0700 (PDT) X-Received: by 2002:a05:6a20:3d8f:b0:3a2:dabf:fef9 with SMTP id adf61e73a8af0-3b22ec9b3d7mr27913034637.27.1779291869552; Wed, 20 May 2026 08:44:29 -0700 (PDT) Received: from [10.204.101.125] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c82bb062695sm19731416a12.4.2026.05.20.08.44.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 May 2026 08:44:29 -0700 (PDT) Message-ID: <16581410-45e9-4311-a0e5-435dc5314ae6@oss.qualcomm.com> Date: Wed, 20 May 2026 21:14:24 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/6] media: qcom: iris: add support for decoding 10bit formats To: Neil Armstrong , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260511-topic-sm8x50-iris-10bit-decoding-v3-0-7fc049b93042@linaro.org> <3b3fbaab-1463-4593-beeb-40168658de7c@linaro.org> Content-Language: en-US From: Vikash Garodia In-Reply-To: <3b3fbaab-1463-4593-beeb-40168658de7c@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=c/ibhx9l c=1 sm=1 tr=0 ts=6a0dd6df cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=poQuPI4Y3rRwBnmNrTsA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-GUID: 8wq_ZpLwl6tZr4YKdZaLj-gGxKmvcARp X-Proofpoint-ORIG-GUID: 8wq_ZpLwl6tZr4YKdZaLj-gGxKmvcARp X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIwMDE1MiBTYWx0ZWRfX6FHwOzLUj+o9 XVT24kqcYwwAI6nJP8Iv1tgXDUchYuyCROqPQ3e/y1k+jh39viK6t7UBRkJ3+pGJDh1PtrPpbER YKAENPBVAbprSerQ6vyEkuwqTPg8XGYPoDbzcZUwytn9xCQocT7ThGSnU8qZqghQ74CtPQw03bk wPSM2WdQlCQ+AJJYh8eRF6d6SFV6FE5BdFsTHeJHpzjY23K61k98WuHQ+9ycN3iYIItjW3k1BHH 9R1NsSKQJ/wRRPyS9hjfUp49yNMt2Bs4ksQ0e7O2JZWVYf6F5wD1ulp4a22FG2xov3Ha6vjktJc dRF2lfv7bxMyYL3hsfliO6skJ7QAsds57ELHyHcNAMYtWKUzMpXKZYxYse2u3cSPuFQmgqWMe1F YIbI/Iu8M68A0o97TNvr00eCNWeIW1bbihJ852osEnnN8PIfJoVHuSX/6OjUCn/fkeWR50Q7s4t lLeIGNEzkAbe93WH1Qg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-20_03,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 priorityscore=1501 phishscore=0 bulkscore=0 clxscore=1015 malwarescore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605200152 On 5/18/2026 1:12 PM, Neil Armstrong wrote: > On 5/13/26 19:33, Vikash Garodia wrote: >> >> On 5/11/2026 2:50 PM, Neil Armstrong wrote: >>> This adds the plumbing to support decoding HEVC, VP9 and AV1 >>> streams into 10bit pixel formats, linear and compressed. >>> >>> This has only been tested on SM8550 & SM8650 with HEVC, and was >>> inspired by Venus, DRM MSM and the downstream vidc driver for the >>> buffer calculations and HFI messages. >>> >>> I was unable to get 10bit decoding working with ffmpeg since P010 >>> support for v4l2 decoding is missing, but v4l2-ctl works with: >>> v4l2-ctl --verbose --set-fmt-video-out=pixelformat=HEVC --set-fmt- >>> video=pixelformat=P010 --stream-mmap --stream-out-mmap --stream-from- >>> hdr Big_Buck_Bunny_1080_10s_30MB_main10.h265.hdr --stream-to out.P010 >>> v4l2-ctl --verbose --set-fmt-video-out=pixelformat=HEVC --set-fmt- >>> video=pixelformat=Q10C --stream-mmap --stream-out-mmap --stream-from- >>> hdr Big_Buck_Bunny_1080_10s_30MB_main10.h265.hdr --stream-to out.QC10 >>> >>> The non-10bit decoding still works as before. >>> >>> With Big_Buck_Bunny_1080_10s_30MB reencoded in 10-bit profile >>> and tranformed in v4l2 header format with [1]: >>> ffmpeg -i Big_Buck_Bunny_1080_10s_30MB.h264 -pix_fmt yuv420p10le -c:v >>> libx265 -crf 28 -x265-params profile=main10 >>> Big_Buck_Bunny_1080_10s_30MB_main10.h265 >>> /path/to/mkhdr.sh Big_Buck_Bunny_1080_10s_30MB_main10.h265 raw >>> Big_Buck_Bunny_1080_10s_30MB_main10.h265.hdr >>> >>> Fluster HEVC results on SM8650: >>> >>> ./fluster.py run -ts JCT-VC-HEVC_V1 -d GStreamer-H.265-V4L2-Gst1.0 - >>> 131/147 >>> The failing test case: >>> - Pixel Format mismatch >>>   - TSUNEQBD_A_MAIN10_Technicolor_2 - Gstreamer waits NV12 but >>> decoder returns P010 >>> - Unsupported resolution >>>   - PICSIZE_A_Bossen_1 - resolution is higher than max supported >>>   - PICSIZE_B_Bossen_1 - resolution is higher than max supported >>>   - WPP_D_ericsson_MAIN_2 - resolution is lower than min supported >>>   - WPP_D_ericsson_MAIN10_2 - resolution is lower than min supported >>> - CRC mismatch >>>   - RAP_A_docomo_6 >>> - CRC mismatch - bitstream issue - fails with ffmpeg sw decoder as well >>>   - VPSSPSPPS_A_MainConcept_1 >> >>  From earlier SOC reports, 10bit tests which were failing were >> - DBLK_A_MAIN10_VIXS_4 >> - INITQP_B_Main10_Sony_1 >> - TSUNEQBD_A_MAIN10_Technicolor_2 >> - WP_A_MAIN10_Toshiba_3 >> - WP_MAIN10_B_Toshiba_3 >> - WPP_A_ericsson_MAIN10_2 >> - WPP_B_ericsson_MAIN10_2 >> - WPP_C_ericsson_MAIN10_2 >> - WPP_E_ericsson_MAIN10_2 >> - WPP_F_ericsson_MAIN10_2 >> >> I was in the opinion that once we enable 10bit, these tests would >> pass. Though i do not see these in your failing tests, but the count >> of 131/147 have not improved. Could you check if these tests are >> passing and count is better than 131 pass ? > > Sorry there's a copy paste error I'll fix on v4, here's the fluster log: > > > |Test|GStreamer-H.265-V4L2| > |-|-| > |TOTAL|141/147| > |TOTAL TIME|8.600s| > |-|-| > ... > |PICSIZE_A_Bossen_1|☠| > |PICSIZE_B_Bossen_1|☠| > ... > |RAP_A_docomo_6|❌| > ... > |TSUNEQBD_A_MAIN10_Technicolor_2|☠| > ... > |WPP_D_ericsson_MAIN10_2|☠| > |WPP_D_ericsson_MAIN_2|☠| > ... > |-|-| > |Test|GStreamer-H.265-V4L2| > |TOTAL|140/147| > |TOTAL TIME|8.600s| > > |-|-| > |Profile|GStreamer-H.265-V4L2| > |MAIN|131/135| > |MAIN_10|9/11| > |MAIN_STILL_PICTURE|1/1| > > So the failing cases: > - Pixel Format mismatch >  - TSUNEQBD_A_MAIN10_Technicolor_2 - Gstreamer waits NV12 but decoder > returns P010 Why would gstreamer expect NV12 for MAIN10 usecase ? Is this something to do with format negotiation ? > - Unsupported resolution >  - PICSIZE_A_Bossen_1 - resolution is higher than max supported >  - PICSIZE_B_Bossen_1 - resolution is higher than max supported >  - WPP_D_ericsson_MAIN_2 - resolution is lower than min supported >  - WPP_D_ericsson_MAIN10_2 - resolution is lower than min supported > - CRC mismatch >  - RAP_A_docomo_6 > >> >> Regards, >> Vikash >