~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to ffmpeg/libavcodec/arm/dsputil_init_armv5te.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:23:28 UTC
  • mfrom: (0.4.7 sid)
  • mto: This revision was merged to the branch mainline in revision 76.
  • Revision ID: package-import@ubuntu.com-20120112222328-8jqdyodym3p84ygu
Tags: 2:1.0~rc4.dfsg1+svn34540-1
* New upstream snapshot
* upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
void av_cold ff_dsputil_init_armv5te(DSPContext* c, AVCodecContext *avctx)
31
31
{
32
 
    if (!avctx->lowres && (avctx->idct_algo == FF_IDCT_AUTO ||
33
 
                           avctx->idct_algo == FF_IDCT_SIMPLEARMV5TE)) {
 
32
    if (!avctx->lowres && avctx->bits_per_raw_sample <= 8 &&
 
33
        (avctx->idct_algo == FF_IDCT_AUTO ||
 
34
         avctx->idct_algo == FF_IDCT_SIMPLEARMV5TE)) {
34
35
        c->idct_put              = ff_simple_idct_put_armv5te;
35
36
        c->idct_add              = ff_simple_idct_add_armv5te;
36
37
        c->idct                  = ff_simple_idct_armv5te;