Searched refs:kV2G (Results 1 – 2 of 2) sorted by relevance
161 static const float kV2G = -0.71414f; variable168 setrow(fMat + 5, 1, kU2G, kV2G); in setYUV2RGB()
43 constexpr int32_t kV2G = 52; variable47 constexpr int32_t kB2G = kU2G * 128 + kV2G * 128 + kY2GB;484 bgr_buf[1] = std::clamp((int32_t)(-(u * kU2G + v * kV2G) + tmp_y + kB2G) >> 6, 0, 255); in ConvertYUV420SPToBGR()490 bgr_buf[4] = std::clamp((int32_t)(-(u * kU2G + v * kV2G) + tmp_y + kB2G) >> 6, 0, 255); in ConvertYUV420SPToBGR()509 bgr_buf[1] = std::clamp((int32_t)(-(u * kU2G + v * kV2G) + tmp_y + kB2G) >> 6, 0, 255); in ConvertYUV420SPToBGR()