Lines Matching refs:rd_uv
1028 VP8ModeScore rd_uv; in PickBestUV() local
1031 rd_uv.nz = ReconstructUV(it, &rd_uv, tmp_dst, mode); in PickBestUV()
1034 rd_uv.D = VP8SSE16x8(src, tmp_dst); in PickBestUV()
1035 rd_uv.SD = 0; // TODO: should we call TDisto? it tends to flatten areas. in PickBestUV()
1036 rd_uv.H = VP8FixedCostsUV[mode]; in PickBestUV()
1037 rd_uv.R = VP8GetCostUV(it, &rd_uv); in PickBestUV()
1038 if (mode > 0 && IsFlat(rd_uv.uv_levels[0], kNumBlocks, FLATNESS_LIMIT_UV)) { in PickBestUV()
1039 rd_uv.R += FLATNESS_PENALTY * kNumBlocks; in PickBestUV()
1042 SetRDScore(lambda, &rd_uv); in PickBestUV()
1043 if (mode == 0 || rd_uv.score < rd_best.score) { in PickBestUV()
1044 CopyScore(&rd_best, &rd_uv); in PickBestUV()
1046 memcpy(rd->uv_levels, rd_uv.uv_levels, sizeof(rd->uv_levels)); in PickBestUV()