diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 16:08:20 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-12 12:05:54 +0200 |
commit | 0a6b1a9f21d5970a0439e32303535ed85f07673e (patch) | |
tree | 9eae12c19021024467e1c42b1c72d4952f2c431d /libavcodec/cavs.h | |
parent | be898457081ac2610ad4184272e9254e8922ff59 (diff) | |
download | ffmpeg-0a6b1a9f21d5970a0439e32303535ed85f07673e.tar.gz |
Replace int_fast integer types with their sized standard posix counterparts.
The _fast integer types provide no realworld benefits, but may introduce
portability issues and are just plain ugly.
Diffstat (limited to 'libavcodec/cavs.h')
-rw-r--r-- | libavcodec/cavs.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libavcodec/cavs.h b/libavcodec/cavs.h index 32479ced58..eda76a8d8e 100644 --- a/libavcodec/cavs.h +++ b/libavcodec/cavs.h @@ -233,15 +233,16 @@ extern const struct dec_2dvlc ff_cavs_chroma_dec[5]; extern const uint8_t ff_cavs_chroma_qp[64]; extern const uint8_t ff_cavs_scan3x3[4]; extern const uint8_t ff_cavs_partition_flags[30]; -extern const int_fast8_t ff_left_modifier_l[8]; -extern const int_fast8_t ff_top_modifier_l[8]; -extern const int_fast8_t ff_left_modifier_c[7]; -extern const int_fast8_t ff_top_modifier_c[7]; +extern const int8_t ff_left_modifier_l[8]; +extern const int8_t ff_top_modifier_l[8]; +extern const int8_t ff_left_modifier_c[7]; +extern const int8_t ff_top_modifier_c[7]; extern const cavs_vector ff_cavs_intra_mv; extern const cavs_vector ff_cavs_un_mv; extern const cavs_vector ff_cavs_dir_mv; -static inline void modify_pred(const int_fast8_t *mod_table, int *mode) { +static inline void modify_pred(const int8_t *mod_table, int *mode) +{ *mode = mod_table[*mode]; if(*mode < 0) { av_log(NULL, AV_LOG_ERROR, "Illegal intra prediction mode\n"); |