~siretart/libav/merge.raring.libav-0.8.6

« back to all changes in this revision

Viewing changes to libavcodec/arm/dsputil_iwmmxt.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:30:00 UTC
  • mfrom: (1.4.1)
  • mto: (1.3.11 sid) (26.1.1 quantal-security)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20120112223000-s1reiy1e28hnix42
Tags: upstream-0.8~beta2
ImportĀ upstreamĀ versionĀ 0.8~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
void ff_dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx)
156
156
{
157
157
    int mm_flags = AV_CPU_FLAG_IWMMXT; /* multimedia extension flags */
158
 
    const int high_bit_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
 
158
    const int high_bit_depth = avctx->bits_per_raw_sample > 8;
159
159
 
160
160
    if (avctx->dsp_mask) {
161
161
        if (avctx->dsp_mask & AV_CPU_FLAG_FORCE)