Skip to content

Commit a6c5845

Browse files
committed
all: Fix doxy comments wrongly designated as trailing ///<
The ///< or /**< form of doxygen comments are only to be used when the documentation follows the member and the comment block starts on the same line as the member. This commit fixes wrong uses of them; in particular, this fixes the comment for mb_height in H.264 SPS's structure which was wrongly added to mb_width. Signed-off-by: Andreas Rheinhardt <[email protected]>
1 parent e99faf2 commit a6c5845

File tree

15 files changed

+29
-32
lines changed

15 files changed

+29
-32
lines changed

fftools/cmdutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ typedef struct Option {
319319
} Option;
320320

321321
typedef struct OptionGroupDef {
322-
/**< group name */
322+
/** group name */
323323
const char *name;
324324
/**
325325
* Option to be used as group separator. Can be NULL for groups which

fftools/ffmpeg_demux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ typedef struct DemuxStream {
7171

7272
int wrap_correction_done;
7373
int saw_first_ts;
74-
///< dts of the first packet read for this stream (in AV_TIME_BASE units)
74+
/// dts of the first packet read for this stream (in AV_TIME_BASE units)
7575
int64_t first_dts;
7676

7777
/* predicted dts of the next packet read for this stream or (when there are
7878
* several frames in a packet) of the next frame in current packet (in AV_TIME_BASE units) */
7979
int64_t next_dts;
80-
///< dts of the last packet read for this stream (in AV_TIME_BASE units)
80+
/// dts of the last packet read for this stream (in AV_TIME_BASE units)
8181
int64_t dts;
8282

8383
const AVCodecDescriptor *codec_desc;

fftools/ffmpeg_filter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ typedef struct InputFilterPriv {
160160
int64_t last_pts;
161161
int64_t end_pts;
162162

163-
///< marks if sub2video_update should force an initialization
163+
/// marks if sub2video_update should force an initialization
164164
unsigned int initialize;
165165
} sub2video;
166166
} InputFilterPriv;

libavcodec/aacsbrdata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static const int8_t sbr_offset[6][16] = {
4141
{-2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 13, 16, 20, 24}, // 64000 Hz < fs_sbr
4242
};
4343

44-
///< window coefficients for analysis/synthesis QMF banks
44+
/// window coefficients for analysis/synthesis QMF banks
4545
static const DECLARE_ALIGNED(32, INTFLOAT, sbr_qmf_window_ds)[320] = {
4646
Q31( 0.0000000000f), Q31(-0.0005617692f),
4747
Q31(-0.0004875227f), Q31(-0.0005040714f),

libavcodec/av1dec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include "progressframe.h"
4242
#include "libavutil/refstruct.h"
4343

44-
/**< same with Div_Lut defined in spec 7.11.3.7 */
44+
/** same with Div_Lut defined in spec 7.11.3.7 */
4545
static const uint16_t div_lut[AV1_DIV_LUT_NUM] = {
4646
16384, 16320, 16257, 16194, 16132, 16070, 16009, 15948, 15888, 15828, 15768,
4747
15709, 15650, 15592, 15534, 15477, 15420, 15364, 15308, 15252, 15197, 15142,

libavcodec/error_resilience.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "avcodec.h"
2626
#include "me_cmp.h"
2727

28-
///< current MB is the first after a resync marker
28+
/// current MB is the first after a resync marker
2929
#define VP_START 1
3030
#define ER_AC_ERROR 2
3131
#define ER_DC_ERROR 4

libavcodec/h264_ps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ typedef struct SPS {
5757
int ref_frame_count; ///< num_ref_frames
5858
int gaps_in_frame_num_allowed_flag;
5959
int mb_width; ///< pic_width_in_mbs_minus1 + 1
60-
///< (pic_height_in_map_units_minus1 + 1) * (2 - frame_mbs_only_flag)
60+
/// (pic_height_in_map_units_minus1 + 1) * (2 - frame_mbs_only_flag)
6161
int mb_height;
6262
int frame_mbs_only_flag;
6363
int mb_aff; ///< mb_adaptive_frame_field_flag

libavcodec/h264dec.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,11 @@ typedef struct H264SliceContext {
305305

306306
DECLARE_ALIGNED(8, uint16_t, sub_mb_type)[4];
307307

308-
///< as a DCT coefficient is int32_t in high depth, we need to reserve twice the space.
308+
/// as a DCT coefficient is int32_t in high depth, we need to reserve twice the space.
309309
DECLARE_ALIGNED(16, int16_t, mb)[16 * 48 * 2];
310310
DECLARE_ALIGNED(16, int16_t, mb_luma_dc)[3][16 * 2];
311-
///< as mb is addressed by scantable[i] and scantable is uint8_t we can either
312-
///< check that i is not too large or ensure that there is some unused stuff after mb
311+
/// as mb is addressed by scantable[i] and scantable is uint8_t we can either
312+
/// check that i is not too large or ensure that there is some unused stuff after mb
313313
int16_t mb_padding[256 * 2];
314314

315315
uint8_t (*mvd_table[2])[2];

libavcodec/hevc/hevcdec.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ typedef struct RefPicListTab {
207207
typedef struct SliceHeader {
208208
unsigned int pps_id;
209209

210-
///< address (in raster order) of the first block in the current slice segment
210+
/// address (in raster order) of the first block in the current slice segment
211211
unsigned int slice_segment_addr;
212-
///< address (in raster order) of the first block in the current slice
212+
/// address (in raster order) of the first block in the current slice
213213
unsigned int slice_addr;
214214

215215
enum HEVCSliceType slice_type;
@@ -223,7 +223,7 @@ typedef struct SliceHeader {
223223
uint8_t colour_plane_id;
224224
uint8_t inter_layer_pred;
225225

226-
///< RPS coded in the slice header itself is stored here
226+
/// RPS coded in the slice header itself is stored here
227227
int short_term_ref_pic_set_sps_flag;
228228
int short_term_ref_pic_set_size;
229229
ShortTermRPS slice_rps;
@@ -513,7 +513,7 @@ typedef struct HEVCContext {
513513
HEVCSEI sei;
514514
struct AVMD5 *md5_ctx;
515515

516-
///< candidate references for the current frame
516+
/// candidate references for the current frame
517517
RefPicList rps[NB_RPS_TYPE];
518518

519519
const HEVCVPS *vps; ///< RefStruct reference

libavcodec/hevc/ps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ typedef struct HEVCSPS {
346346
int sps_palette_predictor_initializer[3][HEVC_MAX_PALETTE_PREDICTOR_SIZE];
347347
int motion_vector_resolution_control_idc;
348348

349-
///< coded frame dimension in various units
349+
/// coded frame dimension in various units
350350
int width;
351351
int height;
352352
int ctb_width;

libavcodec/mpegvideo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ typedef struct MpegEncContext {
372372
/* MPEG-4 specific */
373373
int studio_profile;
374374
int dct_precision;
375-
///< number of bits to represent the fractional part of time (encoder only)
375+
/// number of bits to represent the fractional part of time (encoder only)
376376
int time_increment_bits;
377377
int last_time_base;
378378
int time_base; ///< time in seconds of last I,P,S Frame

libavcodec/wmavoice.c

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ typedef struct WMAVoiceContext {
199199
///< to #wmavoice_decode_packet() (since
200200
///< they're part of the previous superframe)
201201

202-
uint8_t sframe_cache[SFRAME_CACHE_MAXSIZE + AV_INPUT_BUFFER_PADDING_SIZE];
202+
uint8_t sframe_cache[SFRAME_CACHE_MAXSIZE + AV_INPUT_BUFFER_PADDING_SIZE]; ///<
203203
///< cache for superframe data split over
204204
///< multiple packets
205205
int sframe_cache_size; ///< set to >0 if we have data from an
@@ -249,10 +249,9 @@ typedef struct WMAVoiceContext {
249249
///< only used for comfort noise in #pRNG()
250250
int nb_superframes; ///< number of superframes in current packet
251251
float gain_pred_err[6]; ///< cache for gain prediction
252-
float excitation_history[MAX_SIGNAL_HISTORY];
253-
///< cache of the signal of previous
254-
///< superframes, used as a history for
255-
///< signal generation
252+
float excitation_history[MAX_SIGNAL_HISTORY]; ///< cache of the signal of
253+
///< previous superframes, used as a history
254+
///< for signal generation
256255
float synth_history[MAX_LSPS]; ///< see #excitation_history
257256
/**
258257
* @}
@@ -272,18 +271,16 @@ typedef struct WMAVoiceContext {
272271
float postfilter_agc; ///< gain control memory, used in
273272
///< #adaptive_gain_control()
274273
float dcf_mem[2]; ///< DC filter history
274+
/// zero filter output (i.e. excitation) by postfilter
275275
float zero_exc_pf[MAX_SIGNAL_HISTORY + MAX_SFRAMESIZE];
276-
///< zero filter output (i.e. excitation)
277-
///< by postfilter
278276
float denoise_filter_cache[MAX_FRAMESIZE];
279277
int denoise_filter_cache_size; ///< samples in #denoise_filter_cache
278+
/// aligned buffer for LPC tilting
280279
DECLARE_ALIGNED(32, float, tilted_lpcs_pf)[0x82];
281-
///< aligned buffer for LPC tilting
280+
/// aligned buffer for denoise coefficients
282281
DECLARE_ALIGNED(32, float, denoise_coeffs_pf)[0x82];
283-
///< aligned buffer for denoise coefficients
282+
/// aligned buffer for postfilter speech synthesis
284283
DECLARE_ALIGNED(32, float, synth_filter_out_buf)[0x80 + MAX_LSPS_ALIGN16];
285-
///< aligned buffer for postfilter speech
286-
///< synthesis
287284
/**
288285
* @}
289286
*/

libavfilter/avfilter_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ typedef struct FFFilterContext {
110110
*/
111111
unsigned ready;
112112

113-
///< parsed expression
113+
/// parsed expression
114114
struct AVExpr *enable;
115-
///< variable values for the enable expression
115+
/// variable values for the enable expression
116116
double *var_values;
117117

118118
struct AVFilterCommand *command_queue;

libavformat/rdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ ff_rdt_parse_header(const uint8_t *buf, int len,
293293
return consumed + (get_bits_count(&gb) >> 3);
294294
}
295295

296-
/**< return 0 on packet, no more left, 1 on packet, 1 on partial packet... */
296+
/** return 0 on packet, no more left, 1 on packet, 1 on partial packet... */
297297
static int
298298
rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st,
299299
AVPacket *pkt, uint32_t *timestamp,

libavutil/channel_layout.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*/
4646

4747
enum AVChannel {
48-
///< Invalid channel index
48+
/// Invalid channel index
4949
AV_CHAN_NONE = -1,
5050
AV_CHAN_FRONT_LEFT,
5151
AV_CHAN_FRONT_RIGHT,

0 commit comments

Comments
 (0)