Mercurial > libavcodec.hg
comparison arm/dsputil_init_arm.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 | a6ff6fb10ff5 |
children | 9fef0a8ddd63 |
comparison
equal
deleted
inserted
replaced
12455:14f85520cd02 | 12456:a5ddb39627fd |
---|---|
73 ff_add_pixels_clamped(block, dest, line_size); | 73 ff_add_pixels_clamped(block, dest, line_size); |
74 } | 74 } |
75 | 75 |
76 int mm_support(void) | 76 int mm_support(void) |
77 { | 77 { |
78 return HAVE_IWMMXT * FF_MM_IWMMXT; | 78 return HAVE_IWMMXT * AV_CPU_FLAG_IWMMXT; |
79 } | 79 } |
80 | 80 |
81 void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx) | 81 void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx) |
82 { | 82 { |
83 ff_put_pixels_clamped = c->put_pixels_clamped; | 83 ff_put_pixels_clamped = c->put_pixels_clamped; |