comparison x86/dnxhd_mmx.c @ 12475:9fef0a8ddd63 libavcodec

Move mm_support() from libavcodec to libavutil, make it a public function and rename it to av_get_cpu_flags().
author stefano
date Wed, 08 Sep 2010 15:07:14 +0000
parents a5ddb39627fd
children
comparison
equal deleted inserted replaced
12474:cf54b8e98e7a 12475:9fef0a8ddd63
50 ); 50 );
51 } 51 }
52 52
53 void ff_dnxhd_init_mmx(DNXHDEncContext *ctx) 53 void ff_dnxhd_init_mmx(DNXHDEncContext *ctx)
54 { 54 {
55 if (mm_support() & AV_CPU_FLAG_SSE2) { 55 if (av_get_cpu_flags() & AV_CPU_FLAG_SSE2) {
56 ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2; 56 ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2;
57 } 57 }
58 } 58 }