From patchwork Tue Feb 15 21:52:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 34326 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6838:90eb:0:0:0:0 with SMTP id a11csp685516nkf; Tue, 15 Feb 2022 13:53:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWenCq1pl9LscJdk+Eai5Xh9TSQakdzTCaxug66D80aVaNgEBCY0PxYeUL9nXMfuEad9XN X-Received: by 2002:a17:906:9c02:b0:6cf:93f:f781 with SMTP id ff2-20020a1709069c0200b006cf093ff781mr38589ejc.312.1644962021652; Tue, 15 Feb 2022 13:53:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644962021; cv=none; d=google.com; s=arc-20160816; b=IMjfSc7qKM9famA/diBW5/aanYwEuVtNc7KqnVEL+h/8Ae/sf0i/R34fHgUSmb7zys MrepsuAHekxOd9HSlcfhpppUpJ5O/TSjKjug2wnxrZjwz1Er4X92rmahEoR2L1NxHza4 9ab59Al96DdEEMrZoqVEmbTJUCuAIJfE/rgyWbkLU4RpLoh191+dsGyYb3X8y3SqfDwG YjXrmyAzSg2EgGBVSiI4s9/BywaM1cvbDF43rz/RG7IBBxiYgc1pGgagK6/fkx1OIyR2 upz6n9L5xpp+cQfnZQUFeShM2j2XwBYGlpUzlZ+8jInmKzSUBwkcG4GtNB1b3WDH26CB Xw2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to; bh=7OSQxGsUhvMOGTzTNDgoLFVusV3+LMs0qxr1PLluGJM=; b=G/enSkyGItRgBj5IY5lR+2NHmsoMitF/cNjKWde23QlslPiFFTkSTFAp7v9isrCvKG rbw8Y4akUotVJ71gOHGwDlFln3QVA0eeZHdQkZO4hfWx3mI+swqZ7mwoh6j4hIRNGuDo CVKB4gZAUT85TkQ83C3JsMOgkZjCZCevG4LN4XwbY/wcTiXx+8vv/7RTCEzJC3nlt+fZ RuoPwnKkVttgmi7g78RwVEIigzj/yF+cwp34E8KBGrRhSnJthUtFSPCAJKpUdTLgmOWu UraOLDiJmUkOTsGYW+QGK7ZgEtE1DvmH9+c5KWeXNOnyVcM2eV73+j1lmgvssuWltGJy Fxuw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id v8si22763074ejv.536.2022.02.15.13.53.40; Tue, 15 Feb 2022 13:53:41 -0800 (PST) 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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0F31A68B245; Tue, 15 Feb 2022 23:53:37 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe03-1.mx.upcmail.net (vie01a-dmta-pe03-1.mx.upcmail.net [62.179.121.160]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DFE2268A7DE for ; Tue, 15 Feb 2022 23:53:29 +0200 (EET) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe03.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1nK5lJ-002hv8-09 for ffmpeg-devel@ffmpeg.org; Tue, 15 Feb 2022 22:53:29 +0100 Received: from localhost ([213.47.68.29]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id K5kLn0XTVSgGFK5kLnEsm0; Tue, 15 Feb 2022 22:52:29 +0100 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 213.47.68.29 X-CNFS-Analysis: v=2.3 cv=f8Q2+96M c=1 sm=1 tr=0 a=2hcxjKEKjp0CzLx6oWAm4g==:117 a=2hcxjKEKjp0CzLx6oWAm4g==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=ZZnuYtJkoWoA:10 a=uZJQMks5DjpTCzZsAR8A:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Tue, 15 Feb 2022 22:52:27 +0100 Message-Id: <20220215215228.12252-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220215215228.12252-1-michael@niedermayer.cc> References: <20220215215228.12252-1-michael@niedermayer.cc> X-CMAE-Envelope: MS4wfKcH/wUZGMpTgxWPUJ5xNfh51EYM/RXMiMl1emvAfgLOL7R6/rxXCxEmlMKzYrxa4n4a3iH8hODNjUshZsPhkI5Ftls2bSpjVCowI45EJdAu5yzTYLOn BAhzJMc9LnjYbms6AwC27wps7yyIfQIjwx35frQnzGmd02pJTpAQ3iU2 Subject: [FFmpeg-devel] [PATCH 2/3] avcodec/speexdec: Use correct doxygen comments 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Bt0hr+kUbOzv Signed-off-by: Michael Niedermayer --- libavcodec/speexdec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c index dcbdf5e010..7c61c9b0e0 100644 --- a/libavcodec/speexdec.c +++ b/libavcodec/speexdec.c @@ -164,7 +164,7 @@ typedef struct SpeexSubmode { } SpeexSubmode; typedef struct SpeexMode { - int modeID; /** ID of the mode */ + int modeID; /**< ID of the mode */ int (*decode)(AVCodecContext *avctx, void *dec, GetBitContext *gb, float *out); int frame_size; /**< Size of frames used for decoding */ int subframe_size; /**< Size of sub-frames used for decoding */ @@ -176,8 +176,8 @@ typedef struct SpeexMode { typedef struct DecoderState { const SpeexMode *mode; - int modeID; /** ID of the decoder mode */ - int first; /** Is first frame */ + int modeID; /**< ID of the decoder mode */ + int first; /**< Is first frame */ int full_frame_size; /**< Length of full-band frames */ int is_wideband; /**< If wideband is present */ int count_lost; /**< Was the last frame lost? */ @@ -186,12 +186,12 @@ typedef struct DecoderState { int nb_subframes; /**< Number of high-band sub-frames */ int lpc_size; /**< Order of high-band LPC analysis */ float last_ol_gain; /**< Open-loop gain for previous frame */ - float *innov_save; /** If non-NULL, innovation is copied here */ + float *innov_save; /**< If non-NULL, innovation is copied here */ /* This is used in packet loss concealment */ int last_pitch; /**< Pitch of last correctly decoded frame */ float last_pitch_gain; /**< Pitch gain of last correctly decoded frame */ - uint32_t seed; /** Seed used for random number generation */ + uint32_t seed; /**< Seed used for random number generation */ int encode_submode; const SpeexSubmode *const *submodes; /**< Sub-mode data */