Searched refs:rd_stats_dst (Results 1 – 1 of 1) sorted by relevance
149 static INLINE void av1_merge_rd_stats(RD_STATS *rd_stats_dst, in av1_merge_rd_stats() argument151 assert(rd_stats_dst->rate != INT_MAX && rd_stats_src->rate != INT_MAX); in av1_merge_rd_stats()152 rd_stats_dst->rate = (int)AOMMIN( in av1_merge_rd_stats()153 ((int64_t)rd_stats_dst->rate + (int64_t)rd_stats_src->rate), INT_MAX); in av1_merge_rd_stats()154 if (!rd_stats_dst->zero_rate) in av1_merge_rd_stats()155 rd_stats_dst->zero_rate = rd_stats_src->zero_rate; in av1_merge_rd_stats()156 rd_stats_dst->dist += rd_stats_src->dist; in av1_merge_rd_stats()157 rd_stats_dst->sse += rd_stats_src->sse; in av1_merge_rd_stats()158 rd_stats_dst->skip &= rd_stats_src->skip; in av1_merge_rd_stats()163 rd_stats_dst->txb_coeff_cost[plane] += rd_stats_src->txb_coeff_cost[plane]; in av1_merge_rd_stats()[all …]