Searched refs:kU2G (Results 1 – 2 of 2) sorted by relevance
160 static const float kU2G = -0.34414f; variable168 setrow(fMat + 5, 1, kU2G, kV2G); in setYUV2RGB()
41 constexpr int32_t kU2G = 25; 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()