diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2009-01-16 17:20:17 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2009-01-16 17:20:17 +0000 |
commit | e685e8eadae23d4f6790c03072f001d9c0e19833 (patch) | |
tree | cdc17f6b07a836d8bc699e9543e87d045780b77d /libavcodec/cavsdec.c | |
parent | 2b3242253d9a8701f3ca1f3be88e5dd2d96c8dd6 (diff) | |
download | ffmpeg-e685e8eadae23d4f6790c03072f001d9c0e19833.tar.gz |
rename vector_t to cavs_vector
Originally committed as revision 16641 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cavsdec.c')
-rw-r--r-- | libavcodec/cavsdec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 18dcb57fff..6f0b1cef2f 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -59,9 +59,9 @@ static inline void store_mvs(AVSContext *h) { h->col_mv[(h->mby*h->mb_width + h->mbx)*4 + 3] = h->mv[MV_FWD_X3]; } -static inline void mv_pred_direct(AVSContext *h, vector_t *pmv_fw, - vector_t *col_mv) { - vector_t *pmv_bw = pmv_fw + MV_BWD_OFFS; +static inline void mv_pred_direct(AVSContext *h, cavs_vector *pmv_fw, + cavs_vector *col_mv) { + cavs_vector *pmv_bw = pmv_fw + MV_BWD_OFFS; int den = h->direct_den[col_mv->ref]; int m = col_mv->x >> 31; @@ -77,8 +77,8 @@ static inline void mv_pred_direct(AVSContext *h, vector_t *pmv_fw, pmv_bw->y = m-(((den+(den*col_mv->y*pmv_bw->dist^m)-m-1)>>14)^m); } -static inline void mv_pred_sym(AVSContext *h, vector_t *src, enum block_t size) { - vector_t *dst = src + MV_BWD_OFFS; +static inline void mv_pred_sym(AVSContext *h, cavs_vector *src, enum block_t size) { + cavs_vector *dst = src + MV_BWD_OFFS; /* backward mv is the scaled and negated forward mv */ dst->x = -((src->x * h->sym_factor + 256) >> 9); |