From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 663204DC9C for ; Sun, 2 Mar 2025 12:13:39 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B180768E333; Sun, 2 Mar 2025 14:13:35 +0200 (EET) Received: from sender2-op-o11.zoho.eu (sender2-op-o11.zoho.eu [136.143.171.11]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5260468E2C9 for ; Sun, 2 Mar 2025 14:13:29 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; t=1740917606; cv=none; d=zohomail.eu; s=zohoarc; b=XaM1e31M+6syShyXlxvJViaFWLN2hllwFBgbFSbfOU2o/HWL9pEX6zfa2h56IdKOU4U5EDHSSf/anrCM0Qy0swuTS4SU/T6E2OYMNTD4GMkxHDTaXutHItCRfBPJe2TSP941Eb9HzNUDfgLjkYbYf/kPUeyirLpFiu8XyGQ0UZs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1740917606; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=sM9zesWAW03zCcrOevj+zm9m2uIwuxHhiAcF7/+8zkI=; b=D3ls9Z8zTQ+lQG+55uGPxNxz8ap18hvHrdJgZS3dDuKpA24r/9z1RxWWozrJIWQYbOfIAray6q/inVCE5/+tDXK6yOB6/4iNLGUlYKosKPY/f/nY8RlkELUwArbyWMcc6Y1y4idsS7yhfhjL/68OWWgz1QvBs/nqdlopFO18lWM= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=frankplowman.com; spf=pass smtp.mailfrom=post@frankplowman.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1740917606; s=zmail; d=frankplowman.com; i=post@frankplowman.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=sM9zesWAW03zCcrOevj+zm9m2uIwuxHhiAcF7/+8zkI=; b=DUoyXRHP44r7Cdp+M6YBECToQfM2A22aa9Vk5Q144bOZolR5jJmOFBqltW8hUfh2 WOMVCfi/8/ZWlTM+Od46NUMgO859jGSkRnnNSAPxKlDUSZcNIZI2hNwDtY6PvdzMQ0z CSOOgk0bcvjXnJTsyOT9Zf1SM2lCPfWg6nPd+WFk= Received: by mx.zoho.eu with SMTPS id 1740917604027134.44056972901012; Sun, 2 Mar 2025 13:13:24 +0100 (CET) From: Frank Plowman To: ffmpeg-devel@ffmpeg.org Date: Sun, 2 Mar 2025 12:12:38 +0000 Message-ID: <20250302121321.16723-1-post@frankplowman.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-ZohoMailClient: External Subject: [FFmpeg-devel] [PATCH] lavc/vvc: Stricter bound on pps_exp_slice_height_in_ctus_minus1 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Cc: Frank Plowman , nuomi2021@gmail.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: When pps_num_exp_slices_in_tile[i] is nonzero, the ith tile is made up of pps_num_exp_slices_in_tile[i] slices stacked atop one another, where the height of the jth slice in the ith tile is given by pps_exp_slice_height_in_ctus_minus1[i][j]. The sum of the heights of the slices in the tile should not exceed the height of the tile itself. Signed-off-by: Frank Plowman --- libavcodec/cbs_h266_syntax_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index b84f3e29db..9f3ad0bb67 100644 --- a/libavcodec/cbs_h266_syntax_template.c +++ b/libavcodec/cbs_h266_syntax_template.c @@ -2020,7 +2020,7 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, RWContext *rw, for (j = 0; j < current->pps_num_exp_slices_in_tile[i]; j++) { ues(pps_exp_slice_height_in_ctus_minus1[i][j], 0, - current->row_height_val[tile_y] - 1, 2, + remaining_height_in_ctbs_y - 1, 2, i, j); slice_height_in_ctus = current-> -- 2.47.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".