Revision 44965991 libavcodec/cabac.h

View differences:

libavcodec/cabac.h
376 376
#define BYTE        "16"
377 377
#define BYTEEND     "20"
378 378
#endif
379
#if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
379
#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE)
380 380
    int bit;
381 381

  
382 382
#ifndef BRANCHLESS_CABAC_DECODER
......
680 680

  
681 681
//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!)
682 682
//FIXME use some macros to avoid duplicatin get_cabac (cant be done yet as that would make optimization work hard)
683
#if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
683
#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX_AVAILABLE)
684 684
static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *significant_coeff_ctx_base, int *index){
685 685
    void *end= significant_coeff_ctx_base + max_coeff - 1;
686 686
    int minusstart= -(int)significant_coeff_ctx_base;

Also available in: Unified diff