Mercurial > libavcodec.hg
comparison motion_est.c @ 4757:e511820c4a97 libavcodec
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)
author | gpoirier |
---|---|
date | Sat, 31 Mar 2007 22:39:43 +0000 |
parents | a96d905dcbaa |
children | efeca638ad20 |
comparison
equal
deleted
inserted
replaced
4756:460afa3ac889 | 4757:e511820c4a97 |
---|---|
101 return ((c->avctx->flags&CODEC_FLAG_QPEL) ? FLAG_QPEL : 0) | 101 return ((c->avctx->flags&CODEC_FLAG_QPEL) ? FLAG_QPEL : 0) |
102 + (direct ? FLAG_DIRECT : 0) | 102 + (direct ? FLAG_DIRECT : 0) |
103 + (chroma ? FLAG_CHROMA : 0); | 103 + (chroma ? FLAG_CHROMA : 0); |
104 } | 104 } |
105 | 105 |
106 /*! \brief compares two blocks, which may be full macroblocks or may be | |
107 partitions thereof. | |
108 */ | |
106 static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby, | 109 static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby, |
107 const int size, const int h, int ref_index, int src_index, | 110 const int size, const int h, int ref_index, int src_index, |
108 me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags){ | 111 me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags){ |
109 MotionEstContext * const c= &s->me; | 112 MotionEstContext * const c= &s->me; |
110 const int stride= c->stride; | 113 const int stride= c->stride; |