openMSX
|
#include "yuv2rgb.hh"
#include "RawFrame.hh"
#include "Math.hh"
#include "PixelFormat.hh"
#include "xrange.hh"
#include <cassert>
#include <cstdint>
Go to the source code of this file.
Classes | |
struct | openmsx::yuv2rgb::Coefs |
Namespaces | |
openmsx | |
This file implemented 3 utility functions: | |
openmsx::yuv2rgb | |
Functions | |
void | openmsx::yuv2rgb::convert (const th_ycbcr_buffer &input, RawFrame &output) |
Variables | |
constexpr int | openmsx::yuv2rgb::PREC = 15 |
constexpr int | openmsx::yuv2rgb::COEF_Y = int(1.164 * (1 << PREC) + 0.5) |
constexpr int | openmsx::yuv2rgb::COEF_RV = int(1.596 * (1 << PREC) + 0.5) |
constexpr int | openmsx::yuv2rgb::COEF_GU = int(0.391 * (1 << PREC) + 0.5) |
constexpr int | openmsx::yuv2rgb::COEF_GV = int(0.813 * (1 << PREC) + 0.5) |
constexpr int | openmsx::yuv2rgb::COEF_BU = int(2.018 * (1 << PREC) + 0.5) |