标题:qtopia-2.2.0中关于yuv2rgb.cpp中的问题
作者:dropping
日期:2009-10-28 23:03
内容:
const int32_t Inverse_Table_6_9[8][4] = {
{117504, 138453, 13954, 34903}, /* no sequence_display_extension */
{117504, 138453, 13954, 34903}, /* ITU-R Rec. 709 (1990) */
{104597, 132201, 25675, 53279}, /* unspecified */
{104597, 132201, 25675, 53279}, /* reserved */
{104448, 132798, 24759, 53109}, /* FCC */
{104597, 132201, 25675, 53279}, /* ITU-R Rec. 624-4 System B, G */
{104597, 132201, 25675, 53279}, /* SMPTE 170M */
{117579, 136230, 16907, 35559}/* SMPTE 240M (1987) */
};
c_this->matrix_coefficients=6;
int crv = Inverse_Table_6_9[0];
int cbu = Inverse_Table_6_9[1];
int cgu = -Inverse_Table_6_9[2];
int cgv = -Inverse_Table_6_9[3];
表中的{104597, 132201, 25675, 53279}, /* SMPTE 170M */这组参数是什么意思?怎么使用?有人知道吗?和yuv转RGB公式如何对应上?
谢谢了~~