summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2007-03-31 22:39:43 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-03-31 22:39:43 +0000
commitbb21f1762aee4a7f3890b0daf524a44e7db1c565 (patch)
tree0b0571d9cf47581c7a16d1f63b83ec2f16e8879d /libavcodec/motion_est.c
parent91c5172d262ad65dae0a17727b46c3f6caa1b04a (diff)
Add doxy comments, based on Loren's explanations posted here:
Date: Mar 30, 2007 9:00 PM Subject: Re: [Ffmpeg-devel] Motion Estimation in snow.c for Waevelet encoded frames (DWT) Originally committed as revision 8579 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 2e8b1d34bc..cb9731c3e2 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -103,6 +103,9 @@ static int get_flags(MotionEstContext *c, int direct, int chroma){
+ (chroma ? FLAG_CHROMA : 0);
}
+/*! \brief compares two blocks, which may be full macroblocks or may be
+ partitions thereof.
+ */
static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby,
const int size, const int h, int ref_index, int src_index,
me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags){