Mercurial > libavcodec.hg
diff cavs.h @ 5240:1701ce572fed libavcodec
setting intra prediction modes to default values
in inter macroblocks is now in its own inline
function
author | stefang |
---|---|
date | Sat, 07 Jul 2007 06:27:44 +0000 |
parents | 5760ab0250aa |
children | 74b6423a5a0d |
line wrap: on
line diff
--- a/cavs.h Sat Jul 07 06:15:05 2007 +0000 +++ b/cavs.h Sat Jul 07 06:27:44 2007 +0000 @@ -325,6 +325,11 @@ } } +static inline void set_intra_mode_default(AVSContext *h) { + h->pred_mode_Y[3] = h->pred_mode_Y[6] = INTRA_L_LP; + h->top_pred_Y[h->mbx*2+0] = h->top_pred_Y[h->mbx*2+1] = INTRA_L_LP; +} + static inline void set_mvs(vector_t *mv, enum block_t size) { switch(size) { case BLK_16X16: