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 ESMTP id 390B946899 for ; Thu, 22 Jun 2023 22:48:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0263868C217; Fri, 23 Jun 2023 01:48:45 +0300 (EEST) Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7154468BF9B for ; Fri, 23 Jun 2023 01:48:38 +0300 (EEST) Received: by mail-oi1-f180.google.com with SMTP id 5614622812f47-39ec45b22f6so7102b6e.0 for ; Thu, 22 Jun 2023 15:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687474116; x=1690066116; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=pt0Na4L/4c9clTv0rTqhT88fVXaTGGoQ+h8Wqbny58A=; b=XEUz3nNl3lLfb88R3h9nfuBC18sdO3vR+tMrwr/WgkGdWL7Ia5YJFRK90uAyhG1+KN D8N9O2AkXleoaishZ/K4KX3XvrHmeq3xG+Aos4eTDFacGWLYGbPODK1TvS/6lGQntDF6 uPpgmMHFapaTR/AR75abl65xs4fSjEYAR1cIbEEIOzV8a1rtyvj5H//IVgycd7dtfqa9 vCfcRs2PvIKqbtTJibQMoO4R5WqF1yBIeGl0jC63YS3hHkz5Hij+3WgY0sz2CNKEmEe2 Qp6tUhFhwdENST0ORhM8nZNunBQUaceENwLlY+hPZeKQaFDZPPcm4XlkX6rS/km05tgK l0fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687474116; x=1690066116; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pt0Na4L/4c9clTv0rTqhT88fVXaTGGoQ+h8Wqbny58A=; b=fPLvOr6dyN8SnpLGFgWI0aMUPnpR0AhKT7T0vJ5Uii/qdbnorx/4k5Pt+1YLbfJgQG V01pgrKoOWwO+K84D0+ucDa/FqxVlNsWYAdxvE5SOoFxt90gfl9ab2gdOdtWCk+ml5R0 lYoepqcMRuOrGRA6dNwVMDgZmSUYqKbStzwpj/E2h2bOGUsjlBf2xxiilcApVksDFKeU puxuKRNBhgOPXC3psmeBV5d8ytiTf31EEWoJUn1yWZfrxoZjEI6fir6IRa4GPyjM6+wG 5nW9obX/eqPTL4/USMPC5nopA4/CibfH3jur43+QazWWMoY/YKIRbveCTHfBdmGypl6M i5+w== X-Gm-Message-State: AC+VfDwhCkyDPaHUw2z2TH8ButK3MLgUGQelpRvTKmi3a5VhJ9IFUt0R J+CBs/Eqe207EP2VqDdjVIIQs+exFAs= X-Google-Smtp-Source: ACHHUZ5RUlVJdEEf8QTIotEPzsTpY9sCLwased+28LAO+DNKP+JuH6agnG4+OmS7CCMm+aE8sv5NjQ== X-Received: by 2002:a05:6808:209a:b0:3a0:5612:fb3a with SMTP id s26-20020a056808209a00b003a05612fb3amr5930020oiw.49.1687474116354; Thu, 22 Jun 2023 15:48:36 -0700 (PDT) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id m132-20020acabc8a000000b00397be3b2e3asm3872496oif.0.2023.06.22.15.48.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 15:48:35 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Thu, 22 Jun 2023 19:48:15 -0300 Message-ID: <20230622224816.3960-1-jamrial@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230622192918.3638-1-jamrial@gmail.com> References: <20230622192918.3638-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 6/7] avcodec/evc_parse: use unsigned types in structs where corresponds 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 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: Signed-off-by: James Almer --- libavcodec/evc_parse.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/libavcodec/evc_parse.h b/libavcodec/evc_parse.h index 0f142976f5..9554622fee 100644 --- a/libavcodec/evc_parse.h +++ b/libavcodec/evc_parse.h @@ -41,27 +41,27 @@ // u(n) - unsigned integer using n bits. // When n is "v" in the syntax table, the number of bits varies in a manner dependent on the value of other syntax elements. typedef struct EVCParserSliceHeader { - int slice_pic_parameter_set_id; // ue(v) - int single_tile_in_slice_flag; // u(1) - int first_tile_id; // u(v) - int arbitrary_slice_flag; // u(1) - int last_tile_id; // u(v) - int num_remaining_tiles_in_slice_minus1; // ue(v) - int delta_tile_id_minus1[EVC_MAX_TILE_ROWS * EVC_MAX_TILE_COLUMNS]; // ue(v) - - int slice_type; // ue(v) - int no_output_of_prior_pics_flag; // u(1) - int mmvd_group_enable_flag; // u(1) - int slice_alf_enabled_flag; // u(1) - - int slice_alf_luma_aps_id; // u(5) - int slice_alf_map_flag; // u(1) - int slice_alf_chroma_idc; // u(2) - int slice_alf_chroma_aps_id; // u(5) - int slice_alf_chroma_map_flag; // u(1) - int slice_alf_chroma2_aps_id; // u(5) - int slice_alf_chroma2_map_flag; // u(1) - int slice_pic_order_cnt_lsb; // u(v) + unsigned slice_pic_parameter_set_id; // ue(v) + uint8_t single_tile_in_slice_flag; // u(1) + uint8_t first_tile_id; // u(v) + uint8_t arbitrary_slice_flag; // u(1) + unsigned last_tile_id; // u(v) + unsigned num_remaining_tiles_in_slice_minus1; // ue(v) + unsigned delta_tile_id_minus1[EVC_MAX_TILE_ROWS * EVC_MAX_TILE_COLUMNS]; // ue(v) + + unsigned slice_type; // ue(v) + uint8_t no_output_of_prior_pics_flag; // u(1) + uint8_t mmvd_group_enable_flag; // u(1) + uint8_t slice_alf_enabled_flag; // u(1) + + uint8_t slice_alf_luma_aps_id; // u(5) + uint8_t slice_alf_map_flag; // u(1) + uint8_t slice_alf_chroma_idc; // u(2) + uint8_t slice_alf_chroma_aps_id; // u(5) + uint8_t slice_alf_chroma_map_flag; // u(1) + uint8_t slice_alf_chroma2_aps_id; // u(5) + uint8_t slice_alf_chroma2_map_flag; // u(1) + uint16_t slice_pic_order_cnt_lsb; // u(v) // @note // Currently the structure does not reflect the entire Slice Header RBSP layout. -- 2.41.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".