Mercurial > libavcodec.hg
comparison cabac.h @ 5127:4dbe6578f811 libavcodec
misc spelling fixes
author | diego |
---|---|
date | Tue, 12 Jun 2007 09:29:25 +0000 |
parents | ce36118abbbb |
children | 2b72f9bc4f06 |
comparison
equal
deleted
inserted
replaced
5126:7982b376b58a | 5127:4dbe6578f811 |
---|---|
681 return (val^mask)-mask; | 681 return (val^mask)-mask; |
682 #endif | 682 #endif |
683 } | 683 } |
684 | 684 |
685 //FIXME the x86 code from this file should be moved into i386/h264 or cabac something.c/h (note ill kill you if you move my code away from under my fingers before iam finished with it!) | 685 //FIXME the x86 code from this file should be moved into i386/h264 or cabac something.c/h (note ill kill you if you move my code away from under my fingers before iam finished with it!) |
686 //FIXME use some macros to avoid duplicatin get_cabac (cant be done yet as that would make optimization work hard) | 686 //FIXME use some macros to avoid duplicatin get_cabac (cannot be done yet as that would make optimization work hard) |
687 #if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS) | 687 #if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS) |
688 static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *significant_coeff_ctx_base, int *index){ | 688 static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *significant_coeff_ctx_base, int *index){ |
689 void *end= significant_coeff_ctx_base + max_coeff - 1; | 689 void *end= significant_coeff_ctx_base + max_coeff - 1; |
690 int minusstart= -(int)significant_coeff_ctx_base; | 690 int minusstart= -(int)significant_coeff_ctx_base; |
691 int minusindex= 4-(int)index; | 691 int minusindex= 4-(int)index; |