From: Michael Niedermayer <michael@niedermayer.cc> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: [FFmpeg-devel] [PATCH 3/3] avcodec/speexdec: Align some comments Date: Tue, 15 Feb 2022 22:52:28 +0100 Message-ID: <20220215215228.12252-3-michael@niedermayer.cc> (raw) In-Reply-To: <20220215215228.12252-1-michael@niedermayer.cc> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/speexdec.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c index 7c61c9b0e0..ee95417deb 100644 --- a/libavcodec/speexdec.c +++ b/libavcodec/speexdec.c @@ -166,37 +166,37 @@ typedef struct SpeexSubmode { typedef struct SpeexMode { 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 */ - int lpc_size; /**< Order of LPC filter */ - float folding_gain; /**< Folding gain */ + int frame_size; /**< Size of frames used for decoding */ + int subframe_size; /**< Size of sub-frames used for decoding */ + int lpc_size; /**< Order of LPC filter */ + float folding_gain; /**< Folding gain */ const SpeexSubmode *submodes[NB_SUBMODES]; /**< Sub-mode data for the mode */ - int default_submode; /**< Default sub-mode to use when decoding */ + int default_submode; /**< Default sub-mode to use when decoding */ } SpeexMode; typedef struct DecoderState { const SpeexMode *mode; 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? */ - int frame_size; /**< Length of high-band frames */ - int subframe_size; /**< Length of high-band sub-frames */ - 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 */ + int full_frame_size; /**< Length of full-band frames */ + int is_wideband; /**< If wideband is present */ + int count_lost; /**< Was the last frame lost? */ + int frame_size; /**< Length of high-band frames */ + int subframe_size; /**< Length of high-band sub-frames */ + 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 */ /* 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 */ + 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 */ int encode_submode; const SpeexSubmode *const *submodes; /**< Sub-mode data */ - int submodeID; /**< Activated sub-mode */ - int lpc_enh_enabled; /**< 1 when LPC enhancer is on, 0 otherwise */ + int submodeID; /**< Activated sub-mode */ + int lpc_enh_enabled; /**< 1 when LPC enhancer is on, 0 otherwise */ /* Vocoder data */ float voc_m1; @@ -205,10 +205,10 @@ typedef struct DecoderState { int voc_offset; int dtx_enabled; - int highpass_enabled; /**< Is the input filter enabled */ + int highpass_enabled; /**< Is the input filter enabled */ - float *exc; /**< Start of excitation frame */ - float mem_hp[2]; /**< High-pass filter memory */ + float *exc; /**< Start of excitation frame */ + float mem_hp[2]; /**< High-pass filter memory */ float exc_buf[NB_DEC_BUFFER]; /**< Excitation buffer */ float old_qlsp[NB_ORDER]; /**< Quantized LSPs for previous frame */ float interp_qlpc[NB_ORDER]; /**< Interpolated quantized LPCs */ -- 2.17.1 _______________________________________________ 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".
next prev parent reply other threads:[~2022-02-15 21:53 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-15 21:52 [FFmpeg-devel] [PATCH 1/3] avfilter: Rename blend_modes.c -> blend_modes_template.c Michael Niedermayer 2022-02-15 21:52 ` [FFmpeg-devel] [PATCH 2/3] avcodec/speexdec: Use correct doxygen comments Michael Niedermayer 2022-03-17 19:25 ` Michael Niedermayer 2022-02-15 21:52 ` Michael Niedermayer [this message] 2022-03-17 19:25 ` [FFmpeg-devel] [PATCH 3/3] avcodec/speexdec: Align some comments Michael Niedermayer 2022-02-16 4:38 ` [FFmpeg-devel] [PATCH 1/3] avfilter: Rename blend_modes.c -> blend_modes_template.c Andreas Rheinhardt 2022-02-16 19:02 ` Michael Niedermayer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220215215228.12252-3-michael@niedermayer.cc \ --to=michael@niedermayer.cc \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git