Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavcodec/
Dituh263enc.c268 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()
Dh264_loopfilter.c259 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 …]
Drv30.c173 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()
Dmpeg4videoenc.c137 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 …]
Dvc1_block.c415 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 …]
Dh264_picture.c86 dst->qscale_table = src->qscale_table; in ff_h264_ref_picture()
Dh263.c161 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()
Dmpegpicture.h50 int8_t *qscale_table; member
Dmpegutils.c104 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()
Dmpegpicture.c278 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()
Dmpegutils.h144 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
Dmjpegdec.h104 int8_t *qscale_table; member
Dmpeg4videodec.c73 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 …]
Dmpegvideo_xvmc.c198 s->current_picture.qscale_table[mb_xy] = s->qscale; in ff_xvmc_decode_mb()
Dh264_slice.c234 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()
Dh264_cavlc.c792 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()
Dh264dec.c843 b->delta_qp = p->qscale_table[mb_xy] - par->qp; in h264_export_enc_params()
939 out->qscale_table, in finalize_frame()
Dh264dec.h133 int8_t *qscale_table; member
Drv40.c388 q = s->current_picture_ptr->qscale_table[mb_pos]; in rv40_loop_filter()
Dh264_cabac.c2055 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()
Dintrax8.c829 pict->qscale_table[mb_xy] = w->quant; in ff_intrax8_decode_picture()
Dh264_mvpred.h831 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in decode_mb_skip()
Dmpegvideo_enc.c220 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/
Dframe.h622 int8_t *qscale_table; member
Dframe.c65 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()

12