Mercurial > libavcodec.hg
comparison x86/cavsdsp_mmx.c @ 12456:a5ddb39627fd libavcodec
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
author | stefano |
---|---|
date | Sat, 04 Sep 2010 09:59:08 +0000 |
parents | fe78a4548d12 |
children | 9fef0a8ddd63 |
comparison
equal
deleted
inserted
replaced
12455:14f85520cd02 | 12456:a5ddb39627fd |
---|---|
472 | 472 |
473 void ff_cavsdsp_init_mmx(CAVSDSPContext *c, AVCodecContext *avctx) | 473 void ff_cavsdsp_init_mmx(CAVSDSPContext *c, AVCodecContext *avctx) |
474 { | 474 { |
475 int mm_flags = mm_support(); | 475 int mm_flags = mm_support(); |
476 | 476 |
477 if (mm_flags & FF_MM_MMX2) ff_cavsdsp_init_mmx2 (c, avctx); | 477 if (mm_flags & AV_CPU_FLAG_MMX2) ff_cavsdsp_init_mmx2 (c, avctx); |
478 if (mm_flags & FF_MM_3DNOW) ff_cavsdsp_init_3dnow(c, avctx); | 478 if (mm_flags & AV_CPU_FLAG_3DNOW) ff_cavsdsp_init_3dnow(c, avctx); |
479 } | 479 } |