/third_party/ffmpeg/libavcodec/ |
H A D | h263.c | 139 const int chroma_qp= s->chroma_qscale_table[qp_tc]; in ff_h263_loop_filter() local 143 s->h263dsp.h263_v_loop_filter(dest_cb, uvlinesize, chroma_qp); in ff_h263_loop_filter() 144 s->h263dsp.h263_v_loop_filter(dest_cr, uvlinesize, chroma_qp); in ff_h263_loop_filter() 157 const int chroma_qp= s->chroma_qscale_table[qp_dt]; in ff_h263_loop_filter() local 159 s->h263dsp.h263_h_loop_filter(dest_cb - 8 * uvlinesize, uvlinesize, chroma_qp); in ff_h263_loop_filter() 160 s->h263dsp.h263_h_loop_filter(dest_cr - 8 * uvlinesize, uvlinesize, chroma_qp); in ff_h263_loop_filter() 181 const int chroma_qp= s->chroma_qscale_table[qp_lc]; in ff_h263_loop_filter() local 183 s->h263dsp.h263_h_loop_filter(dest_cb, uvlinesize, chroma_qp); in ff_h263_loop_filter() 184 s->h263dsp.h263_h_loop_filter(dest_cr, uvlinesize, chroma_qp); in ff_h263_loop_filter()
|
H A D | h264_loopfilter.c | 531 chroma_qp_avg[0] = (sl->chroma_qp[0] + get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mbn_xy]) + 1) >> 1; in filter_mb_dir() 532 chroma_qp_avg[1] = (sl->chroma_qp[1] + get_chroma_qp(h->ps.pps, 1, h->cur_pic.qscale_table[mbn_xy]) + 1) >> 1; in filter_mb_dir() 593 //ff_tlog(h->avctx, "filter mb:%d/%d dir:%d edge:%d, QPy:%d, QPc:%d, QPcn:%d\n", mb_x, mb_y, dir, edge, qp, h->chroma_qp[0], h->cur_pic.qscale_table[mbn_xy]); in filter_mb_dir() 596 chroma_qp_avg[0] = (sl->chroma_qp[0] + get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mbm_xy]) + 1) >> 1; in filter_mb_dir() 597 chroma_qp_avg[1] = (sl->chroma_qp[1] + get_chroma_qp(h->ps.pps, 1, h->cur_pic.qscale_table[mbm_xy]) + 1) >> 1; in filter_mb_dir() 678 //ff_tlog(h->avctx, "filter mb:%d/%d dir:%d edge:%d, QPy:%d, QPc:%d, QPcn:%d\n", mb_x, mb_y, dir, edge, qp, h->chroma_qp[0], h->cur_pic.qscale_table[mbn_xy]); in filter_mb_dir() 685 filter_mb_edgev ( &img_cb[4*edge << h->pixel_shift], uvlinesize, bS, sl->chroma_qp[0], a, b, h, 0); in filter_mb_dir() 686 filter_mb_edgev ( &img_cr[4*edge << h->pixel_shift], uvlinesize, bS, sl->chroma_qp[1], a, b, h, 0); in filter_mb_dir() 688 filter_mb_edgecv( &img_cb[2*edge << h->pixel_shift], uvlinesize, bS, sl->chroma_qp[0], a, b, h, 0); in filter_mb_dir() 689 filter_mb_edgecv( &img_cr[2*edge << h->pixel_shift], uvlinesize, bS, sl->chroma_qp[ in filter_mb_dir() [all...] |
H A D | h264_mb_template.c | 230 qp[0] = sl->chroma_qp[0] + 3; in hl_decode_mb() 231 qp[1] = sl->chroma_qp[1] + 3; in hl_decode_mb() 233 qp[0] = sl->chroma_qp[0]; in hl_decode_mb() 234 qp[1] = sl->chroma_qp[1]; in hl_decode_mb()
|
H A D | h264_cavlc.c | 631 int qscale = p == 0 ? sl->qscale : sl->chroma_qp[p - 1]; in decode_luma_residual() 1118 sl->chroma_qp[0] = get_chroma_qp(h->ps.pps, 0, sl->qscale); in ff_h264_decode_mb_cavlc() 1119 sl->chroma_qp[1] = get_chroma_qp(h->ps.pps, 1, sl->qscale); in ff_h264_decode_mb_cavlc() 1155 const uint32_t *qmul = h->ps.pps->dequant4_coeff[chroma_idx+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[chroma_idx]]; in ff_h264_decode_mb_cavlc()
|
H A D | h264_cabac.c | 1877 int qscale = p == 0 ? sl->qscale : sl->chroma_qp[p - 1]; in decode_cabac_luma_residual() 2423 sl->chroma_qp[0] = get_chroma_qp(h->ps.pps, 0, sl->qscale); in ff_h264_decode_mb_cabac() 2424 sl->chroma_qp[1] = get_chroma_qp(h->ps.pps, 1, sl->qscale); in ff_h264_decode_mb_cabac() 2453 qmul = h->ps.pps->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[c]]; in ff_h264_decode_mb_cabac() 2477 qmul = h->ps.pps->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[c]]; in ff_h264_decode_mb_cabac()
|
H A D | h264_slice.c | 2006 sl->chroma_qp[0] = get_chroma_qp(pps, 0, sl->qscale); in h264_slice_header_parse() 2007 sl->chroma_qp[1] = get_chroma_qp(pps, 1, sl->qscale); in h264_slice_header_parse() 2446 * and more accurate chroma_qp. */ in fill_filter_caches() 2607 sl->chroma_qp[0] = get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mb_xy]); in loop_filter() 2608 sl->chroma_qp[1] = get_chroma_qp(h->ps.pps, 1, h->cur_pic.qscale_table[mb_xy]); in loop_filter() 2622 sl->chroma_qp[0] = get_chroma_qp(h->ps.pps, 0, sl->qscale); in loop_filter() 2623 sl->chroma_qp[1] = get_chroma_qp(h->ps.pps, 1, sl->qscale); in loop_filter()
|
H A D | h264dec.h | 181 int chroma_qp[2]; // QPc member
|
H A D | h264_mb.c | 625 int qscale = p == 0 ? sl->qscale : sl->chroma_qp[p - 1]; in hl_decode_mb_predict_luma()
|