Lines Matching refs:rd_best
989 VP8ModeScore* rd_best = rd; in PickBestIntra16() local
1019 if (mode == 0 || rd_cur->score < rd_best->score) { in PickBestIntra16()
1020 SwapModeScore(&rd_cur, &rd_best); in PickBestIntra16()
1024 if (rd_best != rd) { in PickBestIntra16()
1025 memcpy(rd, rd_best, sizeof(*rd)); in PickBestIntra16()
1058 VP8ModeScore rd_best; in PickBestIntra4() local
1064 InitScore(&rd_best); in PickBestIntra4()
1065 rd_best.H = 211; // '211' is the value of VP8BitCost(0, 145) in PickBestIntra4()
1066 SetRDScore(dqm->lambda_mode_, &rd_best); in PickBestIntra4()
1115 memcpy(rd_best.y_ac_levels[it->i4_], tmp_levels, in PickBestIntra4()
1116 sizeof(rd_best.y_ac_levels[it->i4_])); in PickBestIntra4()
1120 AddScore(&rd_best, &rd_i4); in PickBestIntra4()
1121 if (rd_best.score >= rd->score) { in PickBestIntra4()
1137 CopyScore(rd, &rd_best); in PickBestIntra4()
1140 memcpy(rd->y_ac_levels, rd_best.y_ac_levels, sizeof(rd->y_ac_levels)); in PickBestIntra4()
1154 VP8ModeScore rd_best; in PickBestUV() local
1158 InitScore(&rd_best); in PickBestUV()
1175 if (mode == 0 || rd_uv.score < rd_best.score) { in PickBestUV()
1176 CopyScore(&rd_best, &rd_uv); in PickBestUV()
1186 AddScore(rd, &rd_best); in PickBestUV()