[FFmpeg-devel] [PATCH] lavc/vaapi: Fix and add Doxygen groups
Timothy Gu
timothygu99 at gmail.com
Fri Jul 5 04:52:52 CEST 2013
---
libavcodec/vaapi.c | 4 +++-
libavcodec/vaapi_h264.c | 5 +++++
libavcodec/vaapi_internal.h | 4 +++-
libavcodec/vaapi_mpeg2.c | 11 +++++++++++
libavcodec/vaapi_mpeg4.c | 11 +++++++++++
libavcodec/vaapi_vc1.c | 11 +++++++++++
6 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vaapi.c b/libavcodec/vaapi.c
index 94959bf..e74010e 100644
--- a/libavcodec/vaapi.c
+++ b/libavcodec/vaapi.c
@@ -25,7 +25,9 @@
#include "vaapi_internal.h"
/**
- * @addtogroup VAAPI_Decoding
+ * @file
+ * @ingroup lavc_codec_hwaccel_vaapi
+ * Shared functions between VA API drivers
*
* @{
*/
diff --git a/libavcodec/vaapi_h264.c b/libavcodec/vaapi_h264.c
index ea0f434..8e05ee9 100644
--- a/libavcodec/vaapi_h264.c
+++ b/libavcodec/vaapi_h264.c
@@ -25,8 +25,11 @@
/**
* @file
+ * @ingroup lavc_codec_hwaccel_vaapi
* This file implements the glue code between FFmpeg's and VA API's
* structures for H.264 decoding.
+ *
+ * @{
*/
/**
@@ -359,3 +362,5 @@ AVHWAccel ff_h264_vaapi_hwaccel = {
.end_frame = vaapi_h264_end_frame,
.decode_slice = vaapi_h264_decode_slice,
};
+
+/* @} */
diff --git a/libavcodec/vaapi_internal.h b/libavcodec/vaapi_internal.h
index 1ac0e9f..7e98c9d 100644
--- a/libavcodec/vaapi_internal.h
+++ b/libavcodec/vaapi_internal.h
@@ -30,7 +30,9 @@
#include "mpegvideo.h"
/**
- * @addtogroup VAAPI_Decoding
+ * @file
+ * @ingroup lavc_codec_hwaccel_vaapi
+ * Private libavcodec VA API header.
*
* @{
*/
diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c
index d626f24..c935095 100644
--- a/libavcodec/vaapi_mpeg2.c
+++ b/libavcodec/vaapi_mpeg2.c
@@ -22,6 +22,15 @@
#include "vaapi_internal.h"
+/**
+ * @file
+ * @ingroup lavc_codec_hwaccel_vaapi
+ * This file implements the glue code between FFmpeg's and VA API's
+ * structures for MPEG-2 decoding.
+ *
+ * @{
+ */
+
/** Reconstruct bitstream f_code */
static inline int mpeg2_get_f_code(MpegEncContext *s)
{
@@ -141,3 +150,5 @@ AVHWAccel ff_mpeg2_vaapi_hwaccel = {
.end_frame = ff_vaapi_mpeg_end_frame,
.decode_slice = vaapi_mpeg2_decode_slice,
};
+
+/* @} */
diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c
index bcc0eba..613cb4a 100644
--- a/libavcodec/vaapi_mpeg4.c
+++ b/libavcodec/vaapi_mpeg4.c
@@ -23,6 +23,15 @@
#include "vaapi_internal.h"
#include "h263.h"
+/**
+ * @file
+ * @ingroup lavc_codec_hwaccel_vaapi
+ * This file implements the glue code between FFmpeg's and VA API's
+ * structures for MPEG-4 decoding.
+ *
+ * @{
+ */
+
/** Reconstruct bitstream intra_dc_vlc_thr */
static int mpeg4_get_intra_dc_vlc_thr(MpegEncContext *s)
{
@@ -167,3 +176,5 @@ AVHWAccel ff_h263_vaapi_hwaccel = {
.decode_slice = vaapi_mpeg4_decode_slice,
};
#endif
+
+/* @} */
diff --git a/libavcodec/vaapi_vc1.c b/libavcodec/vaapi_vc1.c
index b8f0530..873dd63 100644
--- a/libavcodec/vaapi_vc1.c
+++ b/libavcodec/vaapi_vc1.c
@@ -24,6 +24,15 @@
#include "vc1.h"
#include "vc1data.h"
+/**
+ * @file
+ * @ingroup lavc_codec_hwaccel_vaapi
+ * This file implements the glue code between FFmpeg's and VA API's
+ * structures for VC-1 decoding.
+ *
+ * @{
+ */
+
/** Translate FFmpeg MV modes to VA API */
static int get_VAMvModeVC1(enum MVModes mv_mode)
{
@@ -354,3 +363,5 @@ AVHWAccel ff_vc1_vaapi_hwaccel = {
.end_frame = ff_vaapi_mpeg_end_frame,
.decode_slice = vaapi_vc1_decode_slice,
};
+
+/* @} */
--
1.8.1.2
More information about the ffmpeg-devel
mailing list