Lines Matching refs:sad_cost
281 WORD32 sad_cost = 0;
298 sad_cost = sad;
299 sad_cost += mode_bits_cost[mode];
302 if(sad_cost < best_nsad_cost)
305 best_nsad_cost = sad_cost;
310 if(sad_cost < best_asad_cost)
313 best_asad_cost = sad_cost;
355 WORD32 sad_cost = 0;
408 sad_cost = sad;
409 sad_cost += mode_bits_cost[mode];
410 if(sad_cost < best_asad_cost)
413 best_asad_cost = sad_cost;
437 sad_cost = sad;
438 sad_cost += mode_bits_cost[mode];
439 if(sad_cost < best_asad_cost)
442 best_asad_cost = sad_cost;