Revision 2cab6401 libavcodec/h264.c

View differences:

libavcodec/h264.c
91 91
    if(for_deblock && (h->slice_num == 1 || h->slice_table[mb_xy] == h->slice_table[top_xy]) && !FRAME_MBAFF)
92 92
        return;
93 93

  
94
    //wow what a mess, why didn't they simplify the interlacing&intra stuff, i can't imagine that these complex rules are worth it
94
    /* Wow, what a mess, why didn't they simplify the interlacing & intra
95
     * stuff, I can't imagine that these complex rules are worth it. */
95 96

  
96 97
    topleft_xy = top_xy - 1;
97 98
    topright_xy= top_xy + 1;
......
1589 1590
    return h->pps.chroma_qp_table[t][qscale & 0xff];
1590 1591
}
1591 1592

  
1592
//FIXME need to check that this does not overflow signed 32 bit for low qp, i am not sure, it's very close
1593
//FIXME need to check that this does not overflow signed 32 bit for low qp, I am not sure, it's very close
1593 1594
//FIXME check that gcc inlines this (and optimizes intra & separate_dc stuff away)
1594 1595
static inline int quantize_c(DCTELEM *block, uint8_t *scantable, int qscale, int intra, int separate_dc){
1595 1596
    int i;

Also available in: Unified diff