Mercurial > libavcodec.hg
comparison h264.c @ 6190:2aa536e36c89 libavcodec
Add and use DECLARE_ASM_CONST for constants used in assembler code.
Should make it easier to work around compilation problems with e.g. ICC.
author | reimar |
---|---|
date | Sun, 27 Jan 2008 20:50:16 +0000 |
parents | 11d2976cddc4 |
children | 52ccab2531bd |
comparison
equal
deleted
inserted
replaced
6189:8b087434f31b | 6190:2aa536e36c89 |
---|---|
5301 ctx += 2; | 5301 ctx += 2; |
5302 | 5302 |
5303 return ctx + 4 * cat; | 5303 return ctx + 4 * cat; |
5304 } | 5304 } |
5305 | 5305 |
5306 static const attribute_used uint8_t last_coeff_flag_offset_8x8[63] = { | 5306 DECLARE_ASM_CONST(1, const uint8_t, last_coeff_flag_offset_8x8[63]) = { |
5307 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 5307 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
5308 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, | 5308 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, |
5309 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, | 5309 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, |
5310 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8 | 5310 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8 |
5311 }; | 5311 }; |