Home
last modified time | relevance | path

Searched refs:rate_sum (Results 1 – 6 of 6) sorted by relevance

/external/libaom/av1/encoder/
Dmodel_rd.h169 int64_t rate_sum = 0; in model_rd_for_sb() local
195 rate_sum += rate; in model_rd_for_sb()
200 assert(rate_sum >= 0); in model_rd_for_sb()
205 rate_sum = AOMMIN(rate_sum, INT_MAX); in model_rd_for_sb()
206 *out_rate_sum = (int)rate_sum; in model_rd_for_sb()
220 int64_t rate_sum = 0; in model_rd_for_sb_with_curvfit() local
243 rate_sum += rate; in model_rd_for_sb_with_curvfit()
251 if (skip_txfm_sb) *skip_txfm_sb = rate_sum == 0; in model_rd_for_sb_with_curvfit()
253 *out_rate_sum = (int)rate_sum; in model_rd_for_sb_with_curvfit()
Dcompound_type.c692 int rate_sum; in handle_wedge_inter_intra_mode() local
713 cpi, bsize, x, xd, 0, 0, &rate_sum, &dist_sum, &skip_txfm_sb, in handle_wedge_inter_intra_mode()
716 RDCOST(x->rdmult, *tmp_rate_mv + *rate_overhead + rate_sum, dist_sum); in handle_wedge_inter_intra_mode()
1003 int64_t *comp_model_dist, int rate_sum, in backup_stats() argument
1008 comp_model_rate[cur_type] = rate_sum; in backup_stats()
1053 int rate_sum; in masked_compound_type_rd() local
1139 cpi, bsize, x, xd, 0, 0, &rate_sum, &dist_sum, &tmp_skip_txfm_sb, in masked_compound_type_rd()
1141 rd = RDCOST(x->rdmult, *rs2 + *out_rate_mv + rate_sum, dist_sum); in masked_compound_type_rd()
1170 comp_model_dist, rate_sum, dist_sum, &rd_stats, comp_rs2, in masked_compound_type_rd()
1306 int rate_sum; in av1_compound_type_rd() local
[all …]
/external/libopus/src/
Dopus_multistream_encoder.c778 opus_int32 rate_sum=0; in rate_allocation() local
795 rate_sum += rate[i]; in rate_allocation()
797 return rate_sum; in rate_allocation()
833 opus_int32 rate_sum; in opus_multistream_encode_native() local
876 rate_sum = rate_allocation(st, bitrates, frame_size); in opus_multistream_encode_native()
882 max_data_bytes = IMIN(max_data_bytes, 3*rate_sum/(3*8*Fs/frame_size)); in opus_multistream_encode_native()
/external/libvpx/vp9/encoder/
Dvp9_rd.h172 int64_t *rate_sum, int64_t *dist_sum);
Dvp9_rd.c562 int64_t *rate_sum, int64_t *dist_sum) { in vp9_model_rd_from_var_lapndz_vec() argument
576 *rate_sum += rate; in vp9_model_rd_from_var_lapndz_vec()
Dvp9_rdopt.c171 int64_t rate_sum = 0; in model_rd_for_sb() local
264 rate_sum += rate; in model_rd_for_sb()
273 rate_sum += rate; in model_rd_for_sb()
278 &rate_sum, &dist_sum); in model_rd_for_sb()
284 *out_rate_sum = (int)rate_sum; in model_rd_for_sb()
2941 int rate_sum = 0; in handle_inter_mode() local
2945 rate_sum = INT_MAX; in handle_inter_mode()
2962 model_rd_for_sb(cpi, bsize, x, xd, &rate_sum, &dist_sum, &tmp_skip_sb, in handle_inter_mode()
2965 rd = RDCOST(x->rdmult, x->rddiv, rate_sum, dist_sum); in handle_inter_mode()
2973 tmp_rate_sum = rate_sum; in handle_inter_mode()