From 4c0bad513a10f6373a113df3879cceff02e74c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 16 Nov 2011 20:28:10 +0100 Subject: [PATCH] swr: start doxycommenting the API. --- libswresample/swresample_internal.h | 75 ++++++++++++++++------------- 1 file changed, 41 insertions(+), 34 deletions(-) diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index d69df6a7bc..4ee7034d36 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -24,50 +24,56 @@ #include "swresample.h" typedef struct AudioData{ - uint8_t *ch[SWR_CH_MAX]; - uint8_t *data; - int ch_count; - int bps; - int count; - int planar; + uint8_t *ch[SWR_CH_MAX]; ///< samples buffer per channel + uint8_t *data; ///< samples buffer + int ch_count; ///< number of channels + int bps; ///< bytes per sample + int count; ///< number of samples + int planar; ///< 1 if planar audio, 0 otherwise } AudioData; -typedef struct SwrContext { //FIXME find unused fields - const AVClass *av_class; - int log_level_offset; - void *log_ctx; - enum AVSampleFormat in_sample_fmt; - enum AVSampleFormat int_sample_fmt; ///