Mercurial > libavcodec.hg
comparison armv4l/mpegvideo_arm.c @ 876:c76442f7d0b2 libavcodec
* oops fixed bad initialization of ff vals.
- put FF_LIBMPEG2_IDCT_PERM into CVS - so it will work for now
author | kabi |
---|---|
date | Tue, 19 Nov 2002 10:08:31 +0000 |
parents | 8cc0d241da37 |
children | af969e91f422 |
comparison
equal
deleted
inserted
replaced
875:2c350f59233a | 876:c76442f7d0b2 |
---|---|
42 void MPV_common_init_armv4l(MpegEncContext *s) | 42 void MPV_common_init_armv4l(MpegEncContext *s) |
43 { | 43 { |
44 int i; | 44 int i; |
45 const int idct_algo= s->avctx->idct_algo; | 45 const int idct_algo= s->avctx->idct_algo; |
46 | 46 |
47 ff_put_pixels_clamped = s->avctx->dsp.put_pixels_clamped; | 47 ff_put_pixels_clamped = s->dsp.put_pixels_clamped; |
48 ff_add_pixels_clamped = s->avctx->dsp.put_pixels_clamped; | 48 ff_add_pixels_clamped = s->dsp.put_pixels_clamped; |
49 | 49 |
50 if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_ARM){ | 50 if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_ARM){ |
51 s->idct_put= arm_idct_put; | 51 s->idct_put= arm_idct_put; |
52 s->idct_add= arm_idct_add; | 52 s->idct_add= arm_idct_add; |
53 s->idct_permutation_type= FF_NO_IDCT_PERM; | 53 s->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM;/* FF_NO_IDCT_PERM */ |
54 } | 54 } |
55 } | 55 } |