/* * Copyright 2021 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
// BT.709 full range YUV to RGB reference // R = Y + V * 1.5748 // G = Y - U * 0.18732 - V * 0.46812 // B = Y + U * 1.8556 // KR = 0.2126 // KB = 0.0722
// // Y contribution to R,G,B. Scale and bias. // #define YG 16320 /* round(1.000 * 64 * 256 * 256 / 257) */ // #define YB 32 /* 64 / 2 */ // // // U and V contributions to R,G,B. // #define UB 113 /* round(1.77200 * 64) */ // #define UG 22 /* round(0.34414 * 64) */ // #define VG 46 /* round(0.71414 * 64) */ // #define VR 90 /* round(1.40200 * 64) */ // // // Bias values to round, and subtract 128 from U and V. // #define BB (-UB * 128 + YB) // #define BG (UG * 128 + VG * 128 + YB) // #define BR (-VR * 128 + YB)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.