Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Dmodel_rd.h174 int64_t rate_sum = 0; in model_rd_for_sb() local
200 rate_sum += rate; in model_rd_for_sb()
205 assert(rate_sum >= 0); in model_rd_for_sb()
210 rate_sum = AOMMIN(rate_sum, INT_MAX); in model_rd_for_sb()
211 *out_rate_sum = (int)rate_sum; in model_rd_for_sb()
225 int64_t rate_sum = 0; in model_rd_for_sb_with_curvfit() local
248 rate_sum += rate; in model_rd_for_sb_with_curvfit()
256 if (skip_txfm_sb) *skip_txfm_sb = rate_sum == 0; in model_rd_for_sb_with_curvfit()
258 *out_rate_sum = (int)rate_sum; in model_rd_for_sb_with_curvfit()
Dcompound_type.c709 int rate_sum, skip_txfm_sb; in av1_handle_inter_intra_mode() local
728 cpi, bsize, x, xd, 0, 0, &rate_sum, &dist_sum, &skip_txfm_sb, in av1_handle_inter_intra_mode()
731 RDCOST(x->rdmult, tmp_rate_mv + rate_overhead + rate_sum, dist_sum); in av1_handle_inter_intra_mode()
990 int64_t *comp_model_dist, int rate_sum, in backup_stats() argument
995 comp_model_rate[cur_type] = rate_sum; in backup_stats()
1017 int rate_sum, tmp_skip_txfm_sb; 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()
1247 int rate_sum, tmp_skip_txfm_sb; in av1_compound_type_rd() local
[all …]
/external/libopus/src/
Dopus_multistream_encoder.c777 opus_int32 rate_sum=0; in rate_allocation() local
794 rate_sum += rate[i]; in rate_allocation()
796 return rate_sum; in rate_allocation()
832 opus_int32 rate_sum; in opus_multistream_encode_native() local
875 rate_sum = rate_allocation(st, bitrates, frame_size); in opus_multistream_encode_native()
881 max_data_bytes = IMIN(max_data_bytes, 3*rate_sum/(3*8*Fs/frame_size)); in opus_multistream_encode_native()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rd.h163 int64_t *rate_sum, int64_t *dist_sum);
Dvp9_rd.c511 int64_t *rate_sum, int64_t *dist_sum) { in vp9_model_rd_from_var_lapndz_vec() argument
525 *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()
2917 int rate_sum = 0; in handle_inter_mode() local
2921 rate_sum = INT_MAX; in handle_inter_mode()
2938 model_rd_for_sb(cpi, bsize, x, xd, &rate_sum, &dist_sum, &tmp_skip_sb, in handle_inter_mode()
2941 rd = RDCOST(x->rdmult, x->rddiv, rate_sum, dist_sum); in handle_inter_mode()
2949 tmp_rate_sum = rate_sum; in handle_inter_mode()