/third_party/ffmpeg/libavcodec/ |
D | ituh263enc.c | 268 int8_t * const qscale_table = s->current_picture.qscale_table; in ff_clean_h263_qscales() local 273 if(qscale_table[ s->mb_index2xy[i] ] - qscale_table[ s->mb_index2xy[i-1] ] >2) in ff_clean_h263_qscales() 274 qscale_table[ s->mb_index2xy[i] ]= qscale_table[ s->mb_index2xy[i-1] ]+2; in ff_clean_h263_qscales() 277 if(qscale_table[ s->mb_index2xy[i] ] - qscale_table[ s->mb_index2xy[i+1] ] >2) in ff_clean_h263_qscales() 278 qscale_table[ s->mb_index2xy[i] ]= qscale_table[ s->mb_index2xy[i+1] ]+2; in ff_clean_h263_qscales() 285 …if(qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i-1]] && (s->mb_type[mb_xy]&CANDIDATE_MB_TYP… in ff_clean_h263_qscales()
|
D | h264_loopfilter.c | 259 int qp = h->cur_pic.qscale_table[mb_xy]; in h264_filter_mb_fast_internal() 260 int qp0 = h->cur_pic.qscale_table[mb_xy - 1]; in h264_filter_mb_fast_internal() 261 int qp1 = h->cur_pic.qscale_table[sl->top_mb_xy]; in h264_filter_mb_fast_internal() 529 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbn_xy] + 1) >> 1; in filter_mb_dir() 533 …p_avg[0] = (sl->chroma_qp[0] + get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mbn_xy]) + 1) >… in filter_mb_dir() 534 …p_avg[1] = (sl->chroma_qp[1] + get_chroma_qp(h->ps.pps, 1, h->cur_pic.qscale_table[mbn_xy]) + 1) >… in filter_mb_dir() 594 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbm_xy] + 1) >> 1; in filter_mb_dir() 598 …p_avg[0] = (sl->chroma_qp[0] + get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mbm_xy]) + 1) >… in filter_mb_dir() 599 …p_avg[1] = (sl->chroma_qp[1] + get_chroma_qp(h->ps.pps, 1, h->cur_pic.qscale_table[mbm_xy]) + 1) >… in filter_mb_dir() 679 qp = h->cur_pic.qscale_table[mb_xy]; in filter_mb_dir() [all …]
|
D | rv30.c | 173 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter() 175 left_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - 1]]; in rv30_loop_filter() 215 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter() 217 … top_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - s->mb_stride]]; in rv30_loop_filter()
|
D | mpeg4videoenc.c | 137 int8_t *const qscale_table = s->current_picture.qscale_table; in decide_ac_pred() local 153 if (s->mb_y == 0 || s->qscale == qscale_table[xy] || n == 2 || n == 3) { in decide_ac_pred() 165 …n][s->idsp.idct_permutation[i]] = level - ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->qscale); in decide_ac_pred() 175 if (s->mb_x == 0 || s->qscale == qscale_table[xy] || n == 1 || n == 3) { in decide_ac_pred() 187 …][s->idsp.idct_permutation[i << 3]] = level - ROUNDED_DIV(ac_val[i] * qscale_table[xy], s->qscale); in decide_ac_pred() 217 int8_t *const qscale_table = s->current_picture.qscale_table; in ff_clean_mpeg4_qscales() local 228 odd += qscale_table[mb_xy] & 1; in ff_clean_mpeg4_qscales() 238 if ((qscale_table[mb_xy] & 1) != odd) in ff_clean_mpeg4_qscales() 239 qscale_table[mb_xy]++; in ff_clean_mpeg4_qscales() 240 if (qscale_table[mb_xy] > 31) in ff_clean_mpeg4_qscales() [all …]
|
D | vc1_block.c | 415 q1 = FFABS(s->current_picture.qscale_table[mb_pos]); in ff_vc1_pred_dc() 431 q2 = FFABS(s->current_picture.qscale_table[mb_pos - 1]); in ff_vc1_pred_dc() 436 q2 = FFABS(s->current_picture.qscale_table[mb_pos - s->mb_stride]); in ff_vc1_pred_dc() 446 q2 = FFABS(s->current_picture.qscale_table[off]); in ff_vc1_pred_dc() 783 q1 = s->current_picture.qscale_table[mb_pos]; in vc1_decode_i_block_adv() 790 q2 = s->current_picture.qscale_table[mb_pos - 1]; in vc1_decode_i_block_adv() 795 q2 = s->current_picture.qscale_table[mb_pos - s->mb_stride]; in vc1_decode_i_block_adv() 992 q1 = s->current_picture.qscale_table[mb_pos]; in vc1_decode_intra_block() 994 q2 = s->current_picture.qscale_table[mb_pos - 1]; in vc1_decode_intra_block() 996 q2 = s->current_picture.qscale_table[mb_pos - s->mb_stride]; in vc1_decode_intra_block() [all …]
|
D | h264_picture.c | 86 dst->qscale_table = src->qscale_table; in ff_h264_ref_picture()
|
D | h263.c | 161 qp_tt = s->current_picture.qscale_table[xy - s->mb_stride]; in ff_h263_loop_filter() 184 qp_dt = s->current_picture.qscale_table[xy - 1 - s->mb_stride]; in ff_h263_loop_filter() 206 qp_lc = s->current_picture.qscale_table[xy - 1]; in ff_h263_loop_filter()
|
D | mpegpicture.h | 50 int8_t *qscale_table; member
|
D | mpegutils.c | 104 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2], in ff_print_debug_info2() argument 211 qscale_table[x + y * mb_stride]); in ff_print_debug_info2() 293 uint64_t c = (qscale_table[mb_index] * 128 / 31) * in ff_print_debug_info2()
|
D | mpegpicture.c | 278 pic->qscale_table = pic->qscale_table_buf->data + 2 * mb_stride + 1; in ff_alloc_picture() 353 dst->qscale_table = src->qscale_table; in ff_update_picture_tables()
|
D | mpegutils.h | 144 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
|
D | mjpegdec.h | 104 int8_t *qscale_table; member
|
D | mpeg4videodec.c | 73 int8_t *const qscale_table = s->current_picture.qscale_table; in ff_mpeg4_pred_ac() local 84 if (s->mb_x == 0 || s->qscale == qscale_table[xy] || in ff_mpeg4_pred_ac() 92 … block[s->idsp.idct_permutation[i << 3]] += ROUNDED_DIV(ac_val[i] * qscale_table[xy], s->qscale); in ff_mpeg4_pred_ac() 99 if (s->mb_y == 0 || s->qscale == qscale_table[xy] || in ff_mpeg4_pred_ac() 107 … block[s->idsp.idct_permutation[i]] += ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->qscale); in ff_mpeg4_pred_ac() 732 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_a() 927 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_b() 946 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_b() 959 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_b() 1326 if (s->current_picture.qscale_table[xy] != s->qscale) in mpeg4_decode_partitioned_mb() [all …]
|
D | mpegvideo_xvmc.c | 198 s->current_picture.qscale_table[mb_xy] = s->qscale; in ff_xvmc_decode_mb()
|
D | h264_slice.c | 234 pic->qscale_table = pic->qscale_table_buf->data + 2 * h->mb_stride + 1; in alloc_picture() 2337 int qp = h->cur_pic.qscale_table[mb_xy]; in fill_filter_caches() 2340 ((qp + h->cur_pic.qscale_table[left_xy[LTOP]] + 1) >> 1) <= qp_thresh) && in fill_filter_caches() 2342 ((qp + h->cur_pic.qscale_table[top_xy] + 1) >> 1) <= qp_thresh)) { in fill_filter_caches() 2346 ((qp + h->cur_pic.qscale_table[left_xy[LBOT]] + 1) >> 1) <= qp_thresh) && in fill_filter_caches() 2348 ((qp + h->cur_pic.qscale_table[top_xy - h->mb_stride] + 1) >> 1) <= qp_thresh)) in fill_filter_caches() 2496 sl->chroma_qp[0] = get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mb_xy]); in loop_filter() 2497 sl->chroma_qp[1] = get_chroma_qp(h->ps.pps, 1, h->cur_pic.qscale_table[mb_xy]); in loop_filter()
|
D | h264_cavlc.c | 792 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cavlc() 1183 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cavlc()
|
D | h264dec.c | 843 b->delta_qp = p->qscale_table[mb_xy] - par->qp; in h264_export_enc_params() 939 out->qscale_table, in finalize_frame()
|
D | h264dec.h | 133 int8_t *qscale_table; member
|
D | rv40.c | 388 q = s->current_picture_ptr->qscale_table[mb_pos]; in rv40_loop_filter()
|
D | h264_cabac.c | 2055 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cabac() 2486 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cabac()
|
D | intrax8.c | 829 pict->qscale_table[mb_xy] = w->quant; in ff_intrax8_decode_picture()
|
D | h264_mvpred.h | 831 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in decode_mb_skip()
|
D | mpegvideo_enc.c | 220 int8_t * const qscale_table = s->current_picture.qscale_table; in ff_init_qscale_tab() local 226 qscale_table[s->mb_index2xy[i]] = av_clip(qp, s->avctx->qmin, in ff_init_qscale_tab() 2222 s->qscale = s->current_picture_ptr->qscale_table[mb_xy]; in encode_mb_internal() 3353 s->current_picture.qscale_table[xy] = best_s.qscale; in encode_thread()
|
/third_party/ffmpeg/libavutil/ |
D | frame.h | 622 int8_t *qscale_table; member
|
D | frame.c | 65 f->qscale_table = buf->data; in av_frame_set_qp_table() 414 dst->qscale_table = NULL; in frame_copy_props() 421 dst->qscale_table = dst->qp_table_buf->data; in frame_copy_props()
|