Home
last modified time | relevance | path

Searched refs:qindex (Results 1 – 25 of 39) sorted by relevance

12

/external/libvpx/libvpx/vp9/common/
Dvp9_quant_common.c164 int16_t vp9_dc_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) { in vp9_dc_quant() argument
167 case VPX_BITS_8: return dc_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
168 case VPX_BITS_10: return dc_qlookup_10[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
169 case VPX_BITS_12: return dc_qlookup_12[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
176 return dc_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
180 int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) { in vp9_ac_quant() argument
183 case VPX_BITS_8: return ac_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
184 case VPX_BITS_10: return ac_qlookup_10[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
185 case VPX_BITS_12: return ac_qlookup_12[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
192 return ac_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
Dvp9_quant_common.h26 int16_t vp9_dc_quant(int qindex, int delta, vpx_bit_depth_t bit_depth);
27 int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth);
/external/libaom/libaom/av1/common/
Dquant_common.h41 int16_t av1_dc_quant_Q3(int qindex, int delta, aom_bit_depth_t bit_depth);
42 int16_t av1_ac_quant_Q3(int qindex, int delta, aom_bit_depth_t bit_depth);
43 int16_t av1_dc_quant_QTX(int qindex, int delta, aom_bit_depth_t bit_depth);
44 int16_t av1_ac_quant_QTX(int qindex, int delta, aom_bit_depth_t bit_depth);
50 static INLINE int aom_get_qmlevel(int qindex, int first, int last) { in aom_get_qmlevel() argument
51 return first + (qindex * (last + 1 - first)) / QINDEX_RANGE; in aom_get_qmlevel()
54 const qm_val_t *av1_iqmatrix(struct AV1Common *cm, int qindex, int comp,
56 const qm_val_t *av1_qmatrix(struct AV1Common *cm, int qindex, int comp,
Dquant_common.c193 int16_t av1_dc_quant_Q3(int qindex, int delta, aom_bit_depth_t bit_depth) { in av1_dc_quant_Q3() argument
194 const int q_clamped = clamp(qindex + delta, 0, MAXQ); in av1_dc_quant_Q3()
205 int16_t av1_ac_quant_Q3(int qindex, int delta, aom_bit_depth_t bit_depth) { in av1_ac_quant_Q3() argument
206 const int q_clamped = clamp(qindex + delta, 0, MAXQ); in av1_ac_quant_Q3()
220 int16_t av1_dc_quant_QTX(int qindex, int delta, aom_bit_depth_t bit_depth) { in av1_dc_quant_QTX() argument
221 return av1_dc_quant_Q3(qindex, delta, bit_depth); in av1_dc_quant_QTX()
224 int16_t av1_ac_quant_QTX(int qindex, int delta, aom_bit_depth_t bit_depth) { in av1_ac_quant_QTX() argument
225 return av1_ac_quant_Q3(qindex, delta, bit_depth); in av1_ac_quant_QTX()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c284 const int qindex = vp9_get_qindex(&cm->seg, segment_id, cm->base_qindex); in vp9_init_plane_quantizers() local
285 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); in vp9_init_plane_quantizers()
289 x->plane[0].quant = quants->y_quant[qindex]; in vp9_init_plane_quantizers()
290 x->plane[0].quant_fp = quants->y_quant_fp[qindex]; in vp9_init_plane_quantizers()
291 x->plane[0].round_fp = quants->y_round_fp[qindex]; in vp9_init_plane_quantizers()
292 x->plane[0].quant_shift = quants->y_quant_shift[qindex]; in vp9_init_plane_quantizers()
293 x->plane[0].zbin = quants->y_zbin[qindex]; in vp9_init_plane_quantizers()
294 x->plane[0].round = quants->y_round[qindex]; in vp9_init_plane_quantizers()
295 xd->plane[0].dequant = cpi->y_dequant[qindex]; in vp9_init_plane_quantizers()
302 x->plane[i].quant = quants->uv_quant[qindex]; in vp9_init_plane_quantizers()
[all …]
Dvp9_rd.c176 int vp9_compute_rd_mult_based_on_qindex(const VP9_COMP *cpi, int qindex) { in vp9_compute_rd_mult_based_on_qindex() argument
178 const int q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth); in vp9_compute_rd_mult_based_on_qindex()
182 if (qindex < 128) in vp9_compute_rd_mult_based_on_qindex()
184 else if (qindex < 190) in vp9_compute_rd_mult_based_on_qindex()
189 if (qindex < 64) in vp9_compute_rd_mult_based_on_qindex()
191 else if (qindex <= 128) in vp9_compute_rd_mult_based_on_qindex()
193 else if (qindex < 190) in vp9_compute_rd_mult_based_on_qindex()
224 int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) { in vp9_compute_rd_mult() argument
225 int rdmult = vp9_compute_rd_mult_based_on_qindex(cpi, qindex); in vp9_compute_rd_mult()
237 static int compute_rd_thresh_factor(int qindex, vpx_bit_depth_t bit_depth) { in compute_rd_thresh_factor() argument
[all …]
Dvp9_ratectrl.c162 double vp9_convert_qindex_to_q(int qindex, vpx_bit_depth_t bit_depth) { in vp9_convert_qindex_to_q() argument
166 case VPX_BITS_8: return vp9_ac_quant(qindex, 0, bit_depth) / 4.0; in vp9_convert_qindex_to_q()
167 case VPX_BITS_10: return vp9_ac_quant(qindex, 0, bit_depth) / 16.0; in vp9_convert_qindex_to_q()
170 return vp9_ac_quant(qindex, 0, bit_depth) / 64.0; in vp9_convert_qindex_to_q()
173 return vp9_ac_quant(qindex, 0, bit_depth) / 4.0; in vp9_convert_qindex_to_q()
188 int vp9_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex, in vp9_rc_bits_per_mb() argument
190 const double q = vp9_convert_qindex_to_q(qindex, bit_depth); in vp9_rc_bits_per_mb()
1002 int qindex = rc->last_boosted_qindex; in rc_pick_q_and_bounds_one_pass_cbr() local
1003 double last_boosted_q = vp9_convert_qindex_to_q(qindex, cm->bit_depth); in rc_pick_q_and_bounds_one_pass_cbr()
1006 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr()
[all …]
Dvp9_rd.h137 int vp9_compute_rd_mult_based_on_qindex(const struct VP9_COMP *cpi, int qindex);
139 int vp9_compute_rd_mult(const struct VP9_COMP *cpi, int qindex);
145 void vp9_initialize_me_consts(struct VP9_COMP *cpi, MACROBLOCK *x, int qindex);
201 BLOCK_SIZE bsize, int qindex, int qdelta);
Dvp9_ratectrl.h211 double vp9_convert_qindex_to_q(int qindex, vpx_bit_depth_t bit_depth);
283 int vp9_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex,
303 int qindex, double rate_target_ratio,
Dvp9_quantize.h56 int vp9_qindex_to_quantizer(int qindex);
/external/libaom/libaom/av1/encoder/
Dav1_quantize.c688 const int qindex = av1_get_qindex(&cm->seg, segment_id, current_qindex); in av1_init_plane_quantizers() local
689 const int rdmult = av1_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); in av1_init_plane_quantizers()
695 x->plane[0].quant_QTX = quants->y_quant[qindex]; in av1_init_plane_quantizers()
696 x->plane[0].quant_fp_QTX = quants->y_quant_fp[qindex]; in av1_init_plane_quantizers()
697 x->plane[0].round_fp_QTX = quants->y_round_fp[qindex]; in av1_init_plane_quantizers()
698 x->plane[0].quant_shift_QTX = quants->y_quant_shift[qindex]; in av1_init_plane_quantizers()
699 x->plane[0].zbin_QTX = quants->y_zbin[qindex]; in av1_init_plane_quantizers()
700 x->plane[0].round_QTX = quants->y_round[qindex]; in av1_init_plane_quantizers()
701 x->plane[0].dequant_QTX = cpi->dequants.y_dequant_QTX[qindex]; in av1_init_plane_quantizers()
706 xd->plane[0].dequant_Q3 = cpi->dequants.y_dequant_Q3[qindex]; in av1_init_plane_quantizers()
[all …]
Dratectrl.c140 double av1_convert_qindex_to_q(int qindex, aom_bit_depth_t bit_depth) { in av1_convert_qindex_to_q() argument
143 case AOM_BITS_8: return av1_ac_quant_Q3(qindex, 0, bit_depth) / 4.0; in av1_convert_qindex_to_q()
144 case AOM_BITS_10: return av1_ac_quant_Q3(qindex, 0, bit_depth) / 16.0; in av1_convert_qindex_to_q()
145 case AOM_BITS_12: return av1_ac_quant_Q3(qindex, 0, bit_depth) / 64.0; in av1_convert_qindex_to_q()
152 int av1_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex, in av1_rc_bits_per_mb() argument
154 const double q = av1_convert_qindex_to_q(qindex, bit_depth); in av1_rc_bits_per_mb()
714 int qindex = rc->last_boosted_qindex; in rc_pick_q_and_bounds_one_pass_cbr() local
715 double last_boosted_q = av1_convert_qindex_to_q(qindex, bit_depth); in rc_pick_q_and_bounds_one_pass_cbr()
718 active_best_quality = AOMMAX(qindex + delta_qindex, rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr()
856 const int qindex = cq_level; in rc_pick_q_and_bounds_one_pass_vbr() local
[all …]
Drd.c350 int av1_compute_rd_mult_based_on_qindex(const AV1_COMP *cpi, int qindex) { in av1_compute_rd_mult_based_on_qindex() argument
351 const int q = av1_dc_quant_Q3(qindex, 0, cpi->common.seq_params.bit_depth); in av1_compute_rd_mult_based_on_qindex()
365 int av1_compute_rd_mult(const AV1_COMP *cpi, int qindex) { in av1_compute_rd_mult() argument
366 int64_t rdmult = av1_compute_rd_mult_based_on_qindex(cpi, qindex); in av1_compute_rd_mult()
409 static int compute_rd_thresh_factor(int qindex, aom_bit_depth_t bit_depth) { in compute_rd_thresh_factor() argument
412 case AOM_BITS_8: q = av1_dc_quant_Q3(qindex, 0, AOM_BITS_8) / 4.0; break; in compute_rd_thresh_factor()
413 case AOM_BITS_10: q = av1_dc_quant_Q3(qindex, 0, AOM_BITS_10) / 16.0; break; in compute_rd_thresh_factor()
414 case AOM_BITS_12: q = av1_dc_quant_Q3(qindex, 0, AOM_BITS_12) / 64.0; break; in compute_rd_thresh_factor()
423 void av1_initialize_me_consts(const AV1_COMP *cpi, MACROBLOCK *x, int qindex) { in av1_initialize_me_consts() argument
426 x->sadperbit16 = sad_per_bit16lut_8[qindex]; in av1_initialize_me_consts()
[all …]
Dratectrl.h156 double av1_convert_qindex_to_q(int qindex, aom_bit_depth_t bit_depth);
228 int av1_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex,
252 int qindex, double rate_target_ratio,
Drd.h388 int av1_compute_rd_mult_based_on_qindex(const struct AV1_COMP *cpi, int qindex);
390 int av1_compute_rd_mult(const struct AV1_COMP *cpi, int qindex);
397 int qindex);
455 int av1_get_intra_cost_penalty(int qindex, int qdelta,
Dpartition_strategy.c48 const int dc_q = av1_dc_quant_QTX(x->qindex, 0, xd->bd) >> (xd->bd - 8); in get_res_var_features()
285 const int dc_q = av1_dc_quant_QTX(x->qindex, 0, xd->bd) >> (xd->bd - 8); in simple_motion_search_prune_part_features()
504 const int dc_q = av1_dc_quant_QTX(x->qindex, 0, xd->bd) >> (xd->bd - 8); in firstpass_simple_motion_search_features()
587 const int dc_q = av1_dc_quant_QTX(x->qindex, 0, xd->bd) >> (xd->bd - 8); in av1_get_max_min_partition_features()
Dav1_quantize.h107 int av1_qindex_to_quantizer(int qindex);
Drdopt.h74 int bsh, int visible_w, int visible_h, int qindex);
Dfirstpass.c365 const int qindex = find_fp_qindex(seq_params->bit_depth); in av1_first_pass() local
391 av1_set_quantizer(cm, qindex); in av1_first_pass()
471 xd->lossless[xd->mi[0]->segment_id] = (qindex == 0); in av1_first_pass()
/external/swiftshader/third_party/LLVM/docs/
Ddoxygen.css20 DIV.qindex {
49 A.qindex {
54 A.qindex:visited {
59 A.qindex:hover {
379 A.qindex {}
/external/tinyxml/docs/
Ddoxygen.css18 DIV.qindex {
47 A.qindex {
52 A.qindex:visited {
57 A.qindex:hover {
/external/ImageMagick/www/api/MagickWand/
Ddoxygen.css18 DIV.qindex {
47 A.qindex {
52 A.qindex:visited {
57 A.qindex:hover {
/external/ImageMagick/www/api/MagickCore/
Ddoxygen.css18 DIV.qindex {
47 A.qindex {
52 A.qindex:visited {
57 A.qindex:hover {
/external/skia/tools/doxygen/
Dcustomdoxygen.css42 div.qindex, div.navtab{
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c1424 const int qindex = vp9_get_qindex(&cm->seg, i, cm->base_qindex); in setup_segmentation_dequant() local
1426 vp9_dc_quant(qindex, cm->y_dc_delta_q, cm->bit_depth); in setup_segmentation_dequant()
1427 cm->y_dequant[i][1] = vp9_ac_quant(qindex, 0, cm->bit_depth); in setup_segmentation_dequant()
1429 vp9_dc_quant(qindex, cm->uv_dc_delta_q, cm->bit_depth); in setup_segmentation_dequant()
1431 vp9_ac_quant(qindex, cm->uv_ac_delta_q, cm->bit_depth); in setup_segmentation_dequant()
1434 const int qindex = cm->base_qindex; in setup_segmentation_dequant() local
1437 cm->y_dequant[0][0] = vp9_dc_quant(qindex, cm->y_dc_delta_q, cm->bit_depth); in setup_segmentation_dequant()
1438 cm->y_dequant[0][1] = vp9_ac_quant(qindex, 0, cm->bit_depth); in setup_segmentation_dequant()
1440 vp9_dc_quant(qindex, cm->uv_dc_delta_q, cm->bit_depth); in setup_segmentation_dequant()
1442 vp9_ac_quant(qindex, cm->uv_ac_delta_q, cm->bit_depth); in setup_segmentation_dequant()

12