Marvin Scholz and Andreas Rheinhardt
81747b5259
avutil: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-07 10:22:02 +01:00
Marvin Scholz and Andreas Rheinhardt
45ab5307a6
avformat/fifo: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:15 +01:00
Marvin Scholz and Andreas Rheinhardt
d75d8370bd
avformat/matroskaenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:15 +01:00
Marvin Scholz and Andreas Rheinhardt
643c2b4722
avformat/http: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:15 +01:00
Marvin Scholz and Andreas Rheinhardt
fb93d3d043
avformat/asfenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:15 +01:00
Marvin Scholz and Andreas Rheinhardt
521d8dcf88
avformat/apetag: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:15 +01:00
Marvin Scholz and Andreas Rheinhardt
4bf8c9c2d8
avformat/nutenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
0464aa484e
avformat/id3v2enc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
995616b752
avformat/ffmetaenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
b31c16d625
avformat/wtvenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
2b5391b88f
avformat/dump: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
8298f20c59
avformat/lrcenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
6c4f23cc20
avformat/hls: use av_dict_iterate
...
And constify oldentry too while at it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
b463ef0339
avformat/flvenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
b7c577cec7
avformat/metadata: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
562d19b503
avformat/movenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
4d1c9fa871
doc/examples/metadata: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
401508b24b
avformat/cafenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
fcbdd145cd
avfilter/f_metadata: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
492b45cb19
avfilter/vf_libvmaf: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
734acfde4c
avformat/vorbiscomment: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
aa4edbb633
avcodec/avpacket: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
0b3092aed3
avcodec/libxavs2: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
d5d6e5ccec
avfilter/vf_coreimage: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
1cf526c37a
avfilter/vf_scale: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
f8584c13f0
avformat/smjpegenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
3000cf7a57
avcodec/libvpxenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
5b13238ce0
avcodec/librav1e: remove unnecessary variable
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
e048d06621
avcodec/librav1e: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
ece29ad0dc
fftools: use av_dict_get_string
...
Instead of manually assembling the string, use av_dict_get_string
which handles things like proper escaping too (even though it is
not yet needed here).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Andreas Rheinhardt
f1907faab4
fftools: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
Marvin Scholz and Anton Khirnov
2508e846a8
avutil/dict: Improve documentation
...
Mostly consistent formatting and consistently ordering of
warnings/notes to be next to the description.
Additionally group the AV_DICT_* macros.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-11-06 08:26:50 +01:00
Marvin Scholz and Anton Khirnov
3101b8afb3
avutil/dict: Use av_dict_iterate in av_dict_get_string
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-11-06 08:26:50 +01:00
Marvin Scholz and Anton Khirnov
3c2050b749
avutil/dict: Use av_dict_iterate in av_dict_copy
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-11-06 08:26:50 +01:00
Marvin Scholz and Anton Khirnov
5f7c5a0bd7
avutil/dict: Use av_dict_iterate in av_dict_get
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-11-06 08:26:50 +01:00
Marvin Scholz and Anton Khirnov
9dad237928
avutil/dict: Add av_dict_iterate
...
This is a more explicit iteration API rather than using the "magic"
av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX) which is not really
trivial to grasp what it does when casually reading through code.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-11-06 08:26:48 +01:00
Marvin Scholz and Anton Khirnov
3bd0bf76fb
avutil/samplefmt: document missing argument
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
3973d4fbc7
avutil/aes_ctr: document some missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
0baa6871ac
avutil/aes: document some missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
0d34137925
avcodec/bsf: document missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
4aa04c255d
swscale: document some missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
a76d5fecf3
avutil/imgutils: document some missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
ed2aa4e692
avutil/crc: Add doxy for missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
96f89cdc87
avutil/des: Add doxy for missing arguments
...
Additionally reorder so that the arguments list matches the
order of the arguments in the function declaration.
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
023966d2f8
avutil/avstring: Add doxy for missing argument
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
20a947f479
avutil/frame: Add doxy for missing argument
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
3dea9adc67
avutil/rc4: Add doxy for missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
0e7ce0d5e7
avutil/uuid: Remove bogus doxy return doc
...
The function returns void and no error code.
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
c4ff708c81
avutil/parseutils: Use inline code and properly escape
...
For some reason doxygen needs the % to be escaped here, except for the
%% in the inline code…
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
990340377b
avutil/parseutils: Add doxy for missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
8521a691b9
avutil/hwcontext: Add doxy for missing argument
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
8bac3902b0
avutil/lfg: Minor doxy improvements
...
Use inline code for sizeof and use proper @return directive.
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
6a1ad7a752
avutil/lfg: Add doxy for missing argument
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
a679b87570
avutil/file: Add doxy for missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
b850347a89
avutil/eval: Add doxy for missing arguments
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
27dbc9e724
avutil/detection_bbox: Add doxy for missing argument
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
226dde687f
avformat/avio: Add doxy for missing argument
2022-10-17 09:56:47 +02:00
Marvin Scholz and Anton Khirnov
60224f203f
avfilter: Fix doxy references
...
Doxygen does not properly form references that span multiple levels,
so instead reword it a bit and manually add the references to what
they should point to.
2022-10-17 09:56:44 +02:00
Marvin Scholz and Anton Khirnov
436879a203
avutil/channel_layout: Document missing arguments
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
f824388c33
avutil/channel_layout: Use inline code for Doxy
...
This avoids Doxygen to interpret <i> and others that look like XML tags
as those, fixing a warning about unknown tags.
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
e3c5b8c610
avutil/camellia: Fix doxy @param typo
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
1f59e71478
swresample: Fix Doxy reference to AVOptions
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
58b86d8b68
avutil/bprint: Improve doxy documentation
...
Declare proper group, add the file to that group,
group the defines and document them.
Use lists to represents lists of cases.
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
fe9381ede6
doc/Doxyfile: Add FF_PAD_STRUCTURE to PREDEFINED
...
The FF_PAD_STRUCTURE is too complex for doxygen to be able to
properly handle, resulting in completely broken AVBPrint documentation.
To fix that, tell Doxygen what to expand that macro to.
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
80c8b988fb
avcodec/mediacodec: link to related documentation
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
56bbfe1136
avcodec/mediacodec: use inline code for coderefs
...
Avoids doxy to interpret these as internal references forced by the #
character, fixing the warnings:
warning: explicit link request to 'nanoTime()' could not be resolved
warning: explicit link request to 'releaseOutputBuffer(int,long)'
could not be resolved
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
aba8cf654f
swscale: Fix bogus doxy comment #ifdefs
...
The intention here was probably to document this as use of
conditionals does not make sense in a comment.
Fixes doxy warning:
warning: explicit link request to 'if' could not be resolved
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
88e78ec6a8
avutil/csp: Fix bogus doxy filename
...
Separate the blocks to make the grouping easier to grasp,
add the file properly to the group and fix the file description
incorrectly used as filename, fixing the following doxy warning:
warning: the name 'Colorspace' supplied as the argument in
the \file statement is not an input file
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
6938ddb167
avutil/stereo3d: Add file to doxy group
...
This way the related file will be properly grouped with its
corresponding group like it's done in other places in the doxy.
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
06bcbe1477
avutil/stereo3d: consolidate group doxy
...
Make it a bit easier to grasp the grouping when not
unnecessarily splitting comment blocks.
Additionally do not try to add lavu_video_stereo3d to itself, resolving
the following doxy warning:
warning: Refusing to add group lavu_video_stereo3d to itself
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
7e8d974487
avutil/spherical: Add file to doxy group
...
This way the related file will be properly grouped with its
corresponding group like it's done in other places in the doxy.
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
24b610e366
avutil/spherical: consolidate group doxy
...
Make it a bit easier to grasp the grouping when not
unnecessarily splitting comment blocks.
Additionally do not try to add lavu_video_spherical to itself, resolving
the following doxy warning:
warning: Refusing to add group lavu_video_spherical to itself
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
71c45b8a44
avutil/display: Add file to doxy group
...
This way the related file will be properly grouped with its
corresponding group like it's done in other places in the doxy.
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
9570a833a0
avutil/display: consolidate group doxy
...
Make it a bit easier to grasp the grouping when not
unnecessarily splitting comment blocks.
Additionally do not try to add lavu_video_display to itself, resolving
the following doxy warning:
warning: Refusing to add group lavu_video_display to itself
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
c2c4ef6ae4
avutil/aes_ctr: Add proper doxy group
...
So it will be properly listed along the other crypto modules
in the documentation.
2022-10-17 09:55:19 +02:00
Marvin Scholz and Anton Khirnov
67298d8ea1
avcodec/videotoolbox: Add proper doxy group
...
Same as done for other HW decoders, that way it will be
properly listed on the relevant module page.
2022-10-17 09:55:16 +02:00
Marvin Scholz and Anton Khirnov
4be6d065d4
avcodec/codec_par: Add missing doxy group opening
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
295d217117
avcodec/vdpau: Fix doxy comment typo
...
This is clearly supposed to be a doxy comment and needed to properly
close the group.
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
c468a8c04f
avutil/twofish: Fix doxy @param typo
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
f29dde49d2
avutil/channel_layout: Group pre-defined channel layouts
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
6c2ae2e994
avutil/channel_layout: Group deprecated functions
...
Makes it a bit easier to spot the deprecated ones when
looking at the overview.
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
57c8722a47
avutil/channel_layout: Move to its own group
...
Before it was cluttering the general avutil Audio group page.
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
2b51b1829d
avutil/channel_layout: Remove bogus closing group
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
2c59038208
avcodec/avcodec: Escape Doxygen reference
...
The # is interpreted as explicit reference request by Doxygen
which is not desired here, use markdown inline code to avoid
that.
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
99f6d0bdde
avformat/avformat: Improve doxy style
...
Mostly re-indenting and adding some missing references.
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
eb60ffb144
swresample/swresample: Fix mismatching argument names
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
3fbf8d6e1d
avutil: Fix mismatching argument names
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
1f0529ec5f
avformat/avformat: Fix mismatching argument names
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
7cf22df14e
avdevice/avdevice: Fix mismatching argument name
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
ea5884e2e3
avcodec: Fix Doxygen trailing brief comments
...
The //< comment is not any magic comment supported by Doxygen,
instead use ///< to mark them as doc for the members.
2022-10-17 09:51:47 +02:00
Marvin Scholz and Anton Khirnov
fed841f6f9
fftools/ffmpeg_opt: Use av_err2str
...
This simplifies the code as there is no other place the error buffer
is needed, so the av_err2str helper macro can be used.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-14 12:19:13 +02:00
Marvin Scholz and Anton Khirnov
88635c7f95
fftools/ffprobe: Use av_err2str
...
av_err2str which is a wrapper for av_strerror already calls
strerror_r if available and if not has a fallback for the other
error codes that would be handled by that, so manually calling
strerror again if it fails is not necessary.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-14 12:19:13 +02:00
Marvin Scholz and Anton Khirnov
3eab2c1af1
fftools/cmdutils: Use av_err2str
...
av_err2str which is a wrapper for av_strerror already calls
strerror_r if available and if not has a fallback for the other
error codes that would be handled by that, so manually calling
strerror again if it fails is not necessary.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-14 12:19:13 +02:00
Marvin Scholz and Anton Khirnov
3ce1616106
ffmpeg: Make find_stream_info behave like a normal per-file option
...
Currently it would essentially change the find_stream_info setting for
the file it was specified for and all following files, which is unusual
and somewhat unexpected behaviour for a per-file option and not even
documented to behave like this.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-13 10:19:13 +02:00
Marvin Scholz and Anton Khirnov
cc48454561
fftools/ffmpeg: Remove unused frame_bits_per_raw_sample variable
...
Unused since the bits_per_raw_sample was made a per-output-stream
option in 4258893961
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-02 11:59:25 +02:00
Marvin Scholz and Anton Khirnov
793953f44a
fftools/ffmpeg: Remove unused do_deinterlace variable
...
Unused since removal of the -deinterlace option in
d013453caa
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-02 11:59:25 +02:00
Marvin Scholz and Anton Khirnov
1c8e95bd99
fftools: Remove unused videotoolbox_init declaration
...
The code that defined videotoolbox_init was removed in
4b54818981
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-02 11:59:25 +02:00
Marvin Scholz and Anton Khirnov
d2cf6d1665
fftools: Remove unused qsv declarations
...
The code that uses these was removed in
ecee3b07cd
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2022-10-02 11:59:25 +02:00
Marvin Scholz and Jan Ekström
564d7946de
configure: properly require libx264 if enabled
...
When libx264 can not be found even though it is enabled, it should error
out properly instead of silently disabling it.
2022-07-24 17:41:21 +03:00
Marvin Scholz and Anton Khirnov
c6f4e10111
avformat: do not use AVIO_FLAG_* with avio_alloc_context
...
The documentation states that here 0 should be used for read-only and
1 for a writable buffer. AVIO_FLAG_WRITE however is 2, while it works
due to the way the flag is handled internally, it is still wrong
according to the documentation.
Additionally it makes it seem as if the AVIO_FLAG_* values could be used
here, which is actually not true, as when AVIO_FLAG_READ would be used
here it would create a writable buffer as AVIO_FLAG_READ is defined as 1.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2021-12-04 14:06:30 +01:00