Home
last modified time | relevance | path

Searched refs:qscale_table (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dituh263enc.c274 int8_t * const qscale_table = s->current_picture.qscale_table; in ff_clean_h263_qscales() local
279 if(qscale_table[ s->mb_index2xy[i] ] - qscale_table[ s->mb_index2xy[i-1] ] >2) in ff_clean_h263_qscales()
280 qscale_table[ s->mb_index2xy[i] ]= qscale_table[ s->mb_index2xy[i-1] ]+2; in ff_clean_h263_qscales()
283 if(qscale_table[ s->mb_index2xy[i] ] - qscale_table[ s->mb_index2xy[i+1] ] >2) in ff_clean_h263_qscales()
284 qscale_table[ s->mb_index2xy[i] ]= qscale_table[ s->mb_index2xy[i+1] ]+2; in ff_clean_h263_qscales()
291 …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()
Dh264_loopfilter.c257 int qp = h->cur_pic.qscale_table[mb_xy]; in h264_filter_mb_fast_internal()
258 int qp0 = h->cur_pic.qscale_table[mb_xy - 1]; in h264_filter_mb_fast_internal()
259 int qp1 = h->cur_pic.qscale_table[sl->top_mb_xy]; in h264_filter_mb_fast_internal()
527 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbn_xy] + 1) >> 1; in filter_mb_dir()
531 …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()
532 …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()
592 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbm_xy] + 1) >> 1; in filter_mb_dir()
596 …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()
597 …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()
677 qp = h->cur_pic.qscale_table[mb_xy]; in filter_mb_dir()
[all …]
Dmpeg4videoenc.c144 int8_t *const qscale_table = s->current_picture.qscale_table; in decide_ac_pred() local
160 if (s->mb_y == 0 || s->qscale == qscale_table[xy] || n == 2 || n == 3) { in decide_ac_pred()
172 …n][s->idsp.idct_permutation[i]] = level - ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->qscale); in decide_ac_pred()
182 if (s->mb_x == 0 || s->qscale == qscale_table[xy] || n == 1 || n == 3) { in decide_ac_pred()
194 …][s->idsp.idct_permutation[i << 3]] = level - ROUNDED_DIV(ac_val[i] * qscale_table[xy], s->qscale); in decide_ac_pred()
224 int8_t *const qscale_table = s->current_picture.qscale_table; in ff_clean_mpeg4_qscales() local
235 odd += qscale_table[mb_xy] & 1; in ff_clean_mpeg4_qscales()
245 if ((qscale_table[mb_xy] & 1) != odd) in ff_clean_mpeg4_qscales()
246 qscale_table[mb_xy]++; in ff_clean_mpeg4_qscales()
247 if (qscale_table[mb_xy] > 31) in ff_clean_mpeg4_qscales()
[all …]
Drv30.c175 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter()
177 left_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - 1]]; in rv30_loop_filter()
217 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter()
219 … top_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - s->mb_stride]]; in rv30_loop_filter()
Dvc1_block.c416 q1 = FFABS(s->current_picture.qscale_table[mb_pos]); in ff_vc1_pred_dc()
432 q2 = FFABS(s->current_picture.qscale_table[mb_pos - 1]); in ff_vc1_pred_dc()
437 q2 = FFABS(s->current_picture.qscale_table[mb_pos - s->mb_stride]); in ff_vc1_pred_dc()
447 q2 = FFABS(s->current_picture.qscale_table[off]); in ff_vc1_pred_dc()
776 q1 = s->current_picture.qscale_table[mb_pos]; in vc1_decode_i_block_adv()
783 q2 = s->current_picture.qscale_table[mb_pos - 1]; in vc1_decode_i_block_adv()
788 q2 = s->current_picture.qscale_table[mb_pos - s->mb_stride]; in vc1_decode_i_block_adv()
981 q1 = s->current_picture.qscale_table[mb_pos]; in vc1_decode_intra_block()
983 q2 = s->current_picture.qscale_table[mb_pos - 1]; in vc1_decode_intra_block()
985 q2 = s->current_picture.qscale_table[mb_pos - s->mb_stride]; in vc1_decode_intra_block()
[all …]
Dh263.c131 qp_tt = s->current_picture.qscale_table[xy - s->mb_stride]; in ff_h263_loop_filter()
154 qp_dt = s->current_picture.qscale_table[xy - 1 - s->mb_stride]; in ff_h263_loop_filter()
176 qp_lc = s->current_picture.qscale_table[xy - 1]; in ff_h263_loop_filter()
Dmpegpicture.c295 pic->qscale_table = pic->qscale_table_buf->data + 2 * mb_stride + 1; in ff_alloc_picture()
363 dst->qscale_table = src->qscale_table; in ff_update_picture_tables()
Dmpegutils.c104 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2], in ff_print_debug_info2() argument
210 qscale_table[x + y * mb_stride]); in ff_print_debug_info2()
Dh264_picture.c61 dst->qscale_table = src->qscale_table; in h264_copy_picture_params()
Dmpegpicture.h51 int8_t *qscale_table; member
Dmpegutils.h138 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
Dmjpegdec.h114 int8_t *qscale_table; member
Dmpeg4videodec.c146 int8_t *const qscale_table = s->current_picture.qscale_table; in ff_mpeg4_pred_ac() local
157 if (s->mb_x == 0 || s->qscale == qscale_table[xy] || in ff_mpeg4_pred_ac()
165 … block[s->idsp.idct_permutation[i << 3]] += ROUNDED_DIV(ac_val[i] * qscale_table[xy], s->qscale); in ff_mpeg4_pred_ac()
172 if (s->mb_y == 0 || s->qscale == qscale_table[xy] || in ff_mpeg4_pred_ac()
180 … block[s->idsp.idct_permutation[i]] += ROUNDED_DIV(ac_val[i + 8] * qscale_table[xy], s->qscale); in ff_mpeg4_pred_ac()
801 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_a()
996 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_b()
1015 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_b()
1028 s->current_picture.qscale_table[xy] = s->qscale; in mpeg4_decode_partition_b()
1396 if (s->current_picture.qscale_table[xy] != s->qscale) in mpeg4_decode_partitioned_mb()
[all …]
Dmpegvideo_dec.c509 p->qscale_table, p->motion_val, in ff_print_debug_info()
537 b->delta_qp = p->qscale_table[mb_xy] * mult; in ff_mpv_export_qp_table()
Dmpegvideo_xvmc.c198 s->current_picture.qscale_table[mb_xy] = s->qscale; in ff_xvmc_decode_mb()
Dh264_slice.c246 pic->qscale_table = pic->qscale_table_buf->data + 2 * h->mb_stride + 1; in alloc_picture()
2448 int qp = h->cur_pic.qscale_table[mb_xy]; in fill_filter_caches()
2451 ((qp + h->cur_pic.qscale_table[left_xy[LTOP]] + 1) >> 1) <= qp_thresh) && in fill_filter_caches()
2453 ((qp + h->cur_pic.qscale_table[top_xy] + 1) >> 1) <= qp_thresh)) { in fill_filter_caches()
2457 ((qp + h->cur_pic.qscale_table[left_xy[LBOT]] + 1) >> 1) <= qp_thresh) && in fill_filter_caches()
2459 ((qp + h->cur_pic.qscale_table[top_xy - h->mb_stride] + 1) >> 1) <= qp_thresh)) 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()
Dh264_cavlc.c785 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cavlc()
1176 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cavlc()
Dh264dec.c838 b->delta_qp = p->qscale_table[mb_xy] - par->qp; in h264_export_enc_params()
939 out->qscale_table, in finalize_frame()
Dh264dec.h114 int8_t *qscale_table; member
Drv40.c394 q = s->current_picture_ptr->qscale_table[mb_pos]; in rv40_loop_filter()
Dh264_cabac.c2064 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cabac()
2495 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cabac()
Dintrax8.c795 pict->qscale_table[mb_xy] = w->quant; in ff_intrax8_decode_picture()
Dmpegvideo_enc.c238 int8_t * const qscale_table = s->current_picture.qscale_table; in ff_init_qscale_tab() local
244 qscale_table[s->mb_index2xy[i]] = av_clip(qp, s->avctx->qmin, in ff_init_qscale_tab()
2054 s->qscale = s->current_picture_ptr->qscale_table[mb_xy]; in encode_mb_internal()
3198 s->current_picture.qscale_table[xy] = best_s.qscale; in encode_thread()
Dh264_mvpred.h830 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in decode_mb_skip()
Drv34.c1227 s->current_picture_ptr->qscale_table[mb_pos] = s->qscale; in rv34_decode_inter_macroblock()
1329 s->current_picture_ptr->qscale_table[mb_pos] = s->qscale; in rv34_decode_intra_macroblock()

12