Searched refs:kV2R (Results 1 – 2 of 2) sorted by relevance
159 static const float kV2R = 1.402f; variable167 setrow(fMat + 0, 1, 0, kV2R); in setYUV2RGB()
42 constexpr int32_t kV2R = -102; variable48 constexpr int32_t kB2R = kV2R * 128 + kY2GB;486 bgr_buf[2] = std::clamp((int32_t)(-(v * kV2R) + tmp_y + kB2R) >> 6, 0, 255); in ConvertYUV420SPToBGR()491 bgr_buf[5] = std::clamp((int32_t)(-(v * kV2R) + tmp_y + kB2R) >> 6, 0, 255); in ConvertYUV420SPToBGR()510 bgr_buf[2] = std::clamp((int32_t)(-(v * kV2R) + tmp_y + kB2R) >> 6, 0, 255); in ConvertYUV420SPToBGR()