Home
last modified time | relevance | path

Searched refs:Q (Results 1 – 12 of 12) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dquantize.c438 int Q; in vp8cx_init_quantizer() local
443 for (Q = 0; Q < QINDEX_RANGE; Q++) in vp8cx_init_quantizer()
446 quant_val = vp8_dc_quant(Q, cpi->common.y1dc_delta_q); in vp8cx_init_quantizer()
447 cpi->Y1quant_fast[Q][0] = (1 << 16) / quant_val; in vp8cx_init_quantizer()
448 invert_quant(cpi->sf.improved_quant, cpi->Y1quant[Q] + 0, in vp8cx_init_quantizer()
449 cpi->Y1quant_shift[Q] + 0, quant_val); in vp8cx_init_quantizer()
450 cpi->Y1zbin[Q][0] = ((qzbin_factors[Q] * quant_val) + 64) >> 7; in vp8cx_init_quantizer()
451 cpi->Y1round[Q][0] = (qrounding_factors[Q] * quant_val) >> 7; in vp8cx_init_quantizer()
452 cpi->common.Y1dequant[Q][0] = quant_val; in vp8cx_init_quantizer()
453 cpi->zrun_zbin_boost_y1[Q][0] = (quant_val * zbin_boost[0]) >> 7; in vp8cx_init_quantizer()
[all …]
Dratectrl.c114 #define GFQ_ADJUSTMENT vp8_gf_boost_qadjustment[Q]
325 static int estimate_bits_at_q(int frame_kind, int Q, int MBs, in estimate_bits_at_q() argument
328 int Bpm = (int)(.5 + correction_factor * vp8_bits_per_mb[frame_kind][Q]); in estimate_bits_at_q()
352 int Q = cpi->oxcf.key_q; in calc_iframe_target_size() local
354 target = estimate_bits_at_q(INTRA_FRAME, Q, cpi->common.MBs, in calc_iframe_target_size()
377 int Q = (cpi->common.frame_flags & FRAMEFLAGS_KEY) in calc_iframe_target_size() local
391 kf_boost = kf_boost * kf_boost_qadjustment[Q] / 100; in calc_iframe_target_size()
442 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in calc_gf_params() local
542 if (Boost > kf_gf_boost_qlimits[Q] && (cpi->pass == 0)) in calc_gf_params()
543 Boost = kf_gf_boost_qlimits[Q]; in calc_gf_params()
[all …]
Dfirstpass.c40 #define GFQ_ADJUSTMENT vp8_gf_boost_qadjustment[Q]
954 int Q ) in calc_correction_factor() argument
961 power_term = pt_low + (Q * 0.01); in calc_correction_factor()
983 int Q; in estimate_max_q() local
1044 for (Q = cpi->twopass.maxq_min_limit; Q < cpi->twopass.maxq_max_limit; Q++) in estimate_max_q()
1050 calc_correction_factor(err_per_mb, 150.0, 0.40, 0.90, Q); in estimate_max_q()
1053 vp8_bits_per_mb[INTER_FRAME][Q] + overhead_bits_per_mb; in estimate_max_q()
1072 (Q < cpi->cq_target_quality) ) in estimate_max_q()
1074 Q = cpi->cq_target_quality; in estimate_max_q()
1091 return Q; in estimate_max_q()
[all …]
Donyx_if.c569 static void cyclic_background_refresh(VP8_COMP *cpi, int Q, int lf_adjustment) in cyclic_background_refresh() argument
577 cpi->cyclic_refresh_q = Q / 2; in cyclic_background_refresh()
622 feature_data[MB_LVL_ALT_Q][1] = (cpi->cyclic_refresh_q - Q); in cyclic_background_refresh()
3322 int Q; in encode_frame_to_data_rate() local
3663 Q = cpi->active_worst_quality; in encode_frame_to_data_rate()
3670 cpi->active_best_quality = kf_low_motion_minq[Q]; in encode_frame_to_data_rate()
3672 cpi->active_best_quality = kf_high_motion_minq[Q]; in encode_frame_to_data_rate()
3688 cpi->active_best_quality = kf_high_motion_minq[Q]; in encode_frame_to_data_rate()
3701 Q = cpi->avg_frame_qindex; in encode_frame_to_data_rate()
3706 (Q < cpi->cq_target_quality) ) in encode_frame_to_data_rate()
[all …]
Dquantize.h21 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/
Ddequantize_arm.c16 extern void vp8_dequantize_b_loop_neon(short *Q, short *DQC, short *DQ);
20 extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ);
28 short *Q = d->qcoeff; in vp8_dequantize_b_neon() local
30 vp8_dequantize_b_loop_neon(Q, DQC, DQ); in vp8_dequantize_b_neon()
38 short *Q = d->qcoeff; in vp8_dequantize_b_v6() local
40 vp8_dequantize_b_loop_v6(Q, DQC, DQ); in vp8_dequantize_b_v6()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/
Ddequantizeb_neon.c14 int16_t *Q, in vp8_dequantize_b_loop_neon() argument
19 qQ = vld2q_s16(Q); in vp8_dequantize_b_loop_neon()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Ddequantize.c21 short *Q = d->qcoeff; in vp8_dequantize_b_c() local
25 DQ[i] = Q[i] * DQC[i]; in vp8_dequantize_b_c()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddecodeframe.c42 int Q; in vp8cx_init_de_quantizer() local
45 for (Q = 0; Q < QINDEX_RANGE; Q++) in vp8cx_init_de_quantizer()
47 pc->Y1dequant[Q][0] = (short)vp8_dc_quant(Q, pc->y1dc_delta_q); in vp8cx_init_de_quantizer()
48 pc->Y2dequant[Q][0] = (short)vp8_dc2quant(Q, pc->y2dc_delta_q); in vp8cx_init_de_quantizer()
49 pc->UVdequant[Q][0] = (short)vp8_dc_uv_quant(Q, pc->uvdc_delta_q); in vp8cx_init_de_quantizer()
51 pc->Y1dequant[Q][1] = (short)vp8_ac_yquant(Q); in vp8cx_init_de_quantizer()
52 pc->Y2dequant[Q][1] = (short)vp8_ac2quant(Q, pc->y2ac_delta_q); in vp8cx_init_de_quantizer()
53 pc->UVdequant[Q][1] = (short)vp8_ac_uv_quant(Q, pc->uvac_delta_q); in vp8cx_init_de_quantizer()
1191 int Q, q_update; in vp8_decode_frame() local
1193 Q = vp8_read_literal(bc, 7); /* AC 1st order Q = default */ in vp8_decode_frame()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Ddequantize_v6.asm16 ;void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ);
17 ; r0 short *Q,
23 ldr r3, [r0] ;load Q
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ppc/
Dloopfilter_filters_altivec.asm520 vsubsbs v6, v6, v10 ;# subtract from Q and add to P
540 vsubsbs v5, v5, v10 ;# subtract from Q and add to P
560 vsubsbs v4, v4, v10 ;# subtract from Q and add to P
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
DCHANGELOG543 Further adjustment of RD behaviour with Q and Zbin.