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 B66EB48E63 for ; Wed, 28 Feb 2024 17:10:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6079A68CE03; Wed, 28 Feb 2024 19:10:32 +0200 (EET) Received: from alt2.a-painless.mh.aa.net.uk (alt2.a-painless.mh.aa.net.uk [81.187.30.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A584668AA84 for ; Wed, 28 Feb 2024 19:10:23 +0200 (EET) Received: from e.f.4.d.3.6.c.2.8.5.f.0.e.8.a.1.0.5.8.0.9.1.8.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:819:850:1a8e:f58:2c63:d4fe] helo=andrews-2024-laptop.lan) by painless-a.thn.aa.net.uk with esmtp (Exim 4.96) (envelope-from ) id 1rfNRn-00C68W-0R; Wed, 28 Feb 2024 17:10:23 +0000 From: Andrew Sayers To: ffmpeg-devel@ffmpeg.org Date: Wed, 28 Feb 2024 17:09:39 +0000 Message-ID: <20240228171014.816489-2-ffmpeg-devel@pileofstuff.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240228171014.816489-1-ffmpeg-devel@pileofstuff.org> References: <20240228171014.816489-1-ffmpeg-devel@pileofstuff.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/3] all: Fix /// comments that should be ///< 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: Andrew Sayers 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: Actual command: sed -i -e "s/\([;,] *\)<* *\/\/\/ *<* */\1\/\/\/< /" $( git grep -l "[;,] */// " ) Signed-off-by: Andrew Sayers --- libavcodec/avcodec.h | 8 ++++---- libavcodec/bsf/noise.c | 24 ++++++++++++------------ libavcodec/ivi.h | 10 +++++----- libavfilter/vf_deshake.c | 2 +- libavformat/rmdec.c | 4 ++-- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 43859251cc..58c581a5c0 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1832,10 +1832,10 @@ typedef struct AVCodecContext { * - decoding: maintained and used by libavcodec, not intended to be used by user apps * - encoding: unused */ - int64_t pts_correction_num_faulty_pts; /// Number of incorrect PTS values so far - int64_t pts_correction_num_faulty_dts; /// Number of incorrect DTS values so far - int64_t pts_correction_last_pts; /// PTS of the last frame - int64_t pts_correction_last_dts; /// DTS of the last frame + int64_t pts_correction_num_faulty_pts; ///< Number of incorrect PTS values so far + int64_t pts_correction_num_faulty_dts; ///< Number of incorrect DTS values so far + int64_t pts_correction_last_pts; ///< PTS of the last frame + int64_t pts_correction_last_dts; ///< DTS of the last frame /** * Character encoding of the input subtitles file. diff --git a/libavcodec/bsf/noise.c b/libavcodec/bsf/noise.c index 7bdaa3c1db..3a0f388dd6 100644 --- a/libavcodec/bsf/noise.c +++ b/libavcodec/bsf/noise.c @@ -28,18 +28,18 @@ #include "libavutil/eval.h" static const char *const var_names[] = { - "n", /// packet index, starting from zero - "tb", /// timebase - "pts", /// packet presentation timestamp - "dts", /// packet decoding timestamp - "nopts", /// AV_NOPTS_VALUE - "startpts", /// first seen non-AV_NOPTS_VALUE packet timestamp - "startdts", /// first seen non-AV_NOPTS_VALUE packet timestamp - "duration", "d", /// packet duration - "pos", /// original position of packet in its source - "size", /// packet size - "key" , /// packet keyframe flag - "state", /// random-ish state + "n", ///< packet index, starting from zero + "tb", ///< timebase + "pts", ///< packet presentation timestamp + "dts", ///< packet decoding timestamp + "nopts", ///< AV_NOPTS_VALUE + "startpts", ///< first seen non-AV_NOPTS_VALUE packet timestamp + "startdts", ///< first seen non-AV_NOPTS_VALUE packet timestamp + "duration", "d", ///< packet duration + "pos", ///< original position of packet in its source + "size", ///< packet size + "key" , ///< packet keyframe flag + "state", ///< random-ish state NULL }; diff --git a/libavcodec/ivi.h b/libavcodec/ivi.h index 06cd4d95ff..ec54f65f30 100644 --- a/libavcodec/ivi.h +++ b/libavcodec/ivi.h @@ -61,17 +61,17 @@ typedef struct IVIHuffDesc { * macroblock/block huffman table descriptor */ typedef struct IVIHuffTab { - int32_t tab_sel; /// index of one of the predefined tables + int32_t tab_sel; ///< index of one of the predefined tables /// or "7" for custom one - VLC *tab; /// pointer to the table associated with tab_sel + VLC *tab; ///< pointer to the table associated with tab_sel /// the following are used only when tab_sel == 7 - IVIHuffDesc cust_desc; /// custom Huffman codebook descriptor - VLC cust_tab; /// vlc table for custom codebook + IVIHuffDesc cust_desc; ///< custom Huffman codebook descriptor + VLC cust_tab; ///< vlc table for custom codebook } IVIHuffTab; enum { - IVI_MB_HUFF = 0, /// Huffman table is used for coding macroblocks + IVI_MB_HUFF = 0, ///< Huffman table is used for coding macroblocks IVI_BLK_HUFF = 1 /// Huffman table is used for coding blocks }; diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index 00e7472f67..107b78a7d1 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -88,7 +88,7 @@ typedef struct Transform { typedef struct DeshakeContext { const AVClass *class; - int counts[2*MAX_R+1][2*MAX_R+1]; /// < Scratch buffer for motion search + int counts[2*MAX_R+1][2*MAX_R+1]; ///< Scratch buffer for motion search double *angles; ///< Scratch buffer for block angles unsigned angles_size; AVFrame *ref; ///< Previous frame diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 0f1534b582..d0062c47bb 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -51,8 +51,8 @@ struct RMStream { int64_t audiotimestamp; ///< Audio packet timestamp int sub_packet_cnt; // Subpacket counter, used while reading int sub_packet_size, sub_packet_h, coded_framesize; ///< Descrambling parameters from container - int audio_framesize; /// Audio frame size from container - int sub_packet_lengths[16]; /// Length of each subpacket + int audio_framesize; ///< Audio frame size from container + int sub_packet_lengths[16]; ///< Length of each subpacket int32_t deint_id; ///< deinterleaver used in audio stream }; -- 2.43.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".