void ff_init_cabac_states(CABACContext *c){
    int i, j;
    for(i=0; i<64; i++){
        for(j=0; j<4; j++){
            ff_h264_lps_range[j*2*64+2*i+0]=
            ff_h264_lps_range[j*2*64+2*i+1]= lps_range[i][j];
        }
        ff_h264_mlps_state[128+2*i+0]=
        h264_mps_state[2 * i + 0] = 2 * mps_state[i] + 0;
        ff_h264_mlps_state[128+2*i+1]=
        h264_mps_state[2 * i + 1] = 2 * mps_state[i] + 1;
        if( i ){
            ff_h264_mlps_state[128-2*i-1]= 2*lps_state[i]+0;
            ff_h264_mlps_state[128-2*i-2]= 2*lps_state[i]+1;
        }else{
            ff_h264_mlps_state[128-2*i-1]= 1;
            ff_h264_mlps_state[128-2*i-2]= 0;
        }
    }
}
['void ff_init_cabac_states(CABACContext *c){\n    int i, j;\n    for(i=0; i<64; i++){\n        for(j=0; j<4; j++){\n            ff_h264_lps_range[j*2*64+2*i+0]=\n            ff_h264_lps_range[j*2*64+2*i+1]= lps_range[i][j];\n        }\n        ff_h264_mlps_state[128+2*i+0]=\n        h264_mps_state[2 * i + 0] = 2 * mps_state[i] + 0;\n        ff_h264_mlps_state[128+2*i+1]=\n        h264_mps_state[2 * i + 1] = 2 * mps_state[i] + 1;\n        if( i ){\n            ff_h264_mlps_state[128-2*i-1]= 2*lps_state[i]+0;\n            ff_h264_mlps_state[128-2*i-2]= 2*lps_state[i]+1;\n        }else{\n            ff_h264_mlps_state[128-2*i-1]= 1;\n            ff_h264_mlps_state[128-2*i-2]= 0;\n        }\n    }\n}']