Mercurial > libavcodec.hg
comparison dsputil.c @ 1324:7d328fd9d8a5 libavcodec
the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>)
author | michaelni |
---|---|
date | Sat, 21 Jun 2003 01:11:31 +0000 |
parents | 449f6e32b425 |
children | 2114c1e206e8 |
comparison
equal
deleted
inserted
replaced
1323:e9da5a651eab | 1324:7d328fd9d8a5 |
---|---|
2858 #endif //CONFIG_ENCODERS | 2858 #endif //CONFIG_ENCODERS |
2859 | 2859 |
2860 if(avctx->idct_algo==FF_IDCT_INT){ | 2860 if(avctx->idct_algo==FF_IDCT_INT){ |
2861 c->idct_put= ff_jref_idct_put; | 2861 c->idct_put= ff_jref_idct_put; |
2862 c->idct_add= ff_jref_idct_add; | 2862 c->idct_add= ff_jref_idct_add; |
2863 c->idct = j_rev_dct; | |
2863 c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; | 2864 c->idct_permutation_type= FF_LIBMPEG2_IDCT_PERM; |
2864 }else{ //accurate/default | 2865 }else{ //accurate/default |
2865 c->idct_put= simple_idct_put; | 2866 c->idct_put= simple_idct_put; |
2866 c->idct_add= simple_idct_add; | 2867 c->idct_add= simple_idct_add; |
2868 c->idct = simple_idct; | |
2867 c->idct_permutation_type= FF_NO_IDCT_PERM; | 2869 c->idct_permutation_type= FF_NO_IDCT_PERM; |
2868 } | 2870 } |
2869 | 2871 |
2870 c->get_pixels = get_pixels_c; | 2872 c->get_pixels = get_pixels_c; |
2871 c->diff_pixels = diff_pixels_c; | 2873 c->diff_pixels = diff_pixels_c; |