aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-07-06 10:53:33 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-06 11:44:01 -0700
commitd69243d39b773b64614792487cd93f6ceb237b25 (patch)
treed17a727170ec02ed9f94f1e42617e3084e864e0b /libavutil
parentd6902070c52151ec1e8154ce9b22283a1d0bc192 (diff)
downloadffmpeg-d69243d39b773b64614792487cd93f6ceb237b25.tar.gz
samplefmt: Add doxygen categories
Categorize the enum and functions as "audio-related". Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/samplefmt.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libavutil/samplefmt.h b/libavutil/samplefmt.h
index 33cbdedf5f..8347fac29c 100644
--- a/libavutil/samplefmt.h
+++ b/libavutil/samplefmt.h
@@ -25,6 +25,17 @@
#include "attributes.h"
/**
+ * @addtogroup lavu_audio
+ * @{
+ *
+ * @defgroup lavu_sampfmts Audio sample formats
+ *
+ * Audio sample format enumeration and related convenience functions.
+ * @{
+ *
+ */
+
+/**
* Audio Sample Formats
*
* @par
@@ -40,6 +51,7 @@
* The data layout as used in av_samples_fill_arrays() and elsewhere in Libav
* (such as AVFrame in libavcodec) is as follows:
*
+ * @par
* For planar sample formats, each audio channel is in a separate data plane,
* and linesize is the buffer size, in bytes, for a single plane. All data
* planes must be the same size. For packed sample formats, only the first data
@@ -142,6 +154,15 @@ int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
enum AVSampleFormat sample_fmt, int align);
/**
+ * @}
+ *
+ * @defgroup lavu_sampmanip Samples manipulation
+ *
+ * Functions that manipulate audio samples
+ * @{
+ */
+
+/**
* Fill channel data pointers and linesize for samples with sample
* format sample_fmt.
*
@@ -217,4 +238,8 @@ int av_samples_copy(uint8_t **dst, uint8_t * const *src, int dst_offset,
int av_samples_set_silence(uint8_t **audio_data, int offset, int nb_samples,
int nb_channels, enum AVSampleFormat sample_fmt);
+/**
+ * @}
+ * @}
+ */
#endif /* AVUTIL_SAMPLEFMT_H */