~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavcodec/h264_cabac.c

  • Committer: Henrik Rydgård
  • Date: 2014-01-03 10:44:32 UTC
  • Revision ID: git-v1:87c6c126784b1718bfa448ecf2e6a9fef781eb4e
Update our ffmpeg snapshot to a clone of the official repository.

This is because Maxim's at3plus support has been officially merged!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1684
1684
        }
1685
1685
    }
1686
1686
 
1687
 
 
1688
1687
#define STORE_BLOCK(type) \
1689
1688
    do { \
1690
1689
        uint8_t *ctx = coeff_abs_level1_ctx[node_ctx] + abs_level_m1_ctx_base; \
1728
1727
        } \
1729
1728
    } while ( coeff_count );
1730
1729
 
1731
 
        if (h->pixel_shift) {
1732
 
            STORE_BLOCK(int32_t)
1733
 
        } else {
1734
 
            STORE_BLOCK(int16_t)
1735
 
        }
 
1730
    if (h->pixel_shift) {
 
1731
        STORE_BLOCK(int32_t)
 
1732
    } else {
 
1733
        STORE_BLOCK(int16_t)
 
1734
    }
1736
1735
#ifdef CABAC_ON_STACK
1737
1736
            h->cabac.range     = cc.range     ;
1738
1737
            h->cabac.low       = cc.low       ;