Revision a82688b0
libavcodec/h264.c | ||
---|---|---|
2712 | 2712 |
tprintf(h->s.avctx, "call filter_mb\n"); |
2713 | 2713 |
backup_mb_border(h, dest_y, dest_cb, dest_cr, linesize, uvlinesize, simple); |
2714 | 2714 |
fill_caches(h, mb_type, 1); //FIXME don't fill stuff which isn't used by filter_mb |
2715 |
h->chroma_qp[0] = get_chroma_qp(h, 0, s->current_picture.qscale_table[mb_xy]); |
|
2716 |
h->chroma_qp[1] = get_chroma_qp(h, 1, s->current_picture.qscale_table[mb_xy]); |
|
2715 | 2717 |
filter_mb_fast(h, mb_x, mb_y, dest_y, dest_cb, dest_cr, linesize, uvlinesize); |
2716 | 2718 |
} |
2717 | 2719 |
} |
... | ... | |
4611 | 4613 |
|
4612 | 4614 |
// In deblocking, the quantizer is 0 |
4613 | 4615 |
s->current_picture.qscale_table[mb_xy]= 0; |
4614 |
h->chroma_qp[0] = get_chroma_qp(h, 0, 0); |
|
4615 |
h->chroma_qp[1] = get_chroma_qp(h, 1, 0); |
|
4616 | 4616 |
// All coeffs are present |
4617 | 4617 |
memset(h->non_zero_count[mb_xy], 16, 16); |
4618 | 4618 |
|
... | ... | |
5756 | 5756 |
h->chroma_pred_mode_table[mb_xy] = 0; |
5757 | 5757 |
// In deblocking, the quantizer is 0 |
5758 | 5758 |
s->current_picture.qscale_table[mb_xy]= 0; |
5759 |
h->chroma_qp[0] = get_chroma_qp(h, 0, 0); |
|
5760 |
h->chroma_qp[1] = get_chroma_qp(h, 1, 0); |
|
5761 | 5759 |
// All coeffs are present |
5762 | 5760 |
memset(h->non_zero_count[mb_xy], 16, 16); |
5763 | 5761 |
s->current_picture.mb_type[mb_xy]= mb_type; |
Also available in: Unified diff